1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

gnome-shell: reduce dash padding (fix #561)

This commit is contained in:
Horst3180 2016-10-14 12:30:45 +02:00
parent a9ce9d56ae
commit 20edae5eed
6 changed files with 58 additions and 134 deletions

View File

@ -1116,16 +1116,14 @@ StScrollBar {
color: #BAC3CF;
background-color: rgba(53, 57, 69, 0.95);
border-color: rgba(0, 0, 0, 0.4);
padding: 6px 1px 6px 0px;
padding: 4px 0;
border-radius: 0 3px 3px 0; }
#dash:rtl {
border-radius: 3px 0 0 3px; }
.right #dash, #dash:rtl {
padding: 6px 0px 6px 1px; }
.bottom #dash {
padding: 1px 6px 0px 6px; }
.top #dash {
padding: 0px 6px 1px 6px; }
padding: 4px 0; }
.top #dash, .bottom #dash {
padding: 0; }
#dash .placeholder {
background-image: url("common-assets/dash/dash-placeholder.svg");
background-size: contain;
@ -1134,14 +1132,11 @@ StScrollBar {
width: 24px;
height: 24px; }
.dash-item-container > StWidget {
padding: 0px 4px 0px 5px; }
.right .dash-item-container > StWidget, .dash-item-container > StWidget:rtl {
padding: 0px 5px 0px 4px; }
.bottom .dash-item-container > StWidget {
padding: 4px 0px 5px 0px; }
.top .dash-item-container > StWidget {
padding: 5px 0px 4px 0px; }
.dash-item-container > StWidget, .dash-item-container > StWidget:rtl, .right .dash-item-container > StWidget {
padding: 4px 8px; }
.top .dash-item-container > StWidget, .bottom .dash-item-container > StWidget {
padding: 6px; }
.dash-label {
border-radius: 3px;
@ -1154,12 +1149,6 @@ StScrollBar {
-y-offset: 3px;
-x-offset: 0; }
#dash .app-well-app .overview-icon,
.right #dash .app-well-app .overview-icon,
.bottom #dash .app-well-app .overview-icon,
.top #dash .app-well-app .overview-icon {
padding: 10px; }
#dash .app-well-app:hover .overview-icon,
.right #dash .app-well-app:hover .overview-icon,
.bottom #dash .app-well-app:hover .overview-icon,
@ -1176,7 +1165,7 @@ StScrollBar {
#dash .app-well-app-running-dot {
width: 11px;
height: 2px;
margin-bottom: 6px;
margin-bottom: 2px;
background-color: #5294e2; }
#dashtodockContainer .app-well-app-running-dot {
@ -1197,7 +1186,6 @@ StScrollBar {
background-image: url("common-assets/dash/running4.svg"); }
.show-apps .overview-icon {
padding: 11px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 2px;
border: 0px solid; }

View File

@ -1116,16 +1116,14 @@ StScrollBar {
color: #BAC3CF;
background-color: rgba(53, 57, 69, 0.95);
border-color: rgba(0, 0, 0, 0.4);
padding: 6px 1px 6px 0px;
padding: 4px 0;
border-radius: 0 3px 3px 0; }
#dash:rtl {
border-radius: 3px 0 0 3px; }
.right #dash, #dash:rtl {
padding: 6px 0px 6px 1px; }
.bottom #dash {
padding: 1px 6px 0px 6px; }
.top #dash {
padding: 0px 6px 1px 6px; }
padding: 4px 0; }
.top #dash, .bottom #dash {
padding: 0; }
#dash .placeholder {
background-image: url("common-assets/dash/dash-placeholder.svg");
background-size: contain;
@ -1134,14 +1132,11 @@ StScrollBar {
width: 24px;
height: 24px; }
.dash-item-container > StWidget {
padding: 0px 4px 0px 5px; }
.right .dash-item-container > StWidget, .dash-item-container > StWidget:rtl {
padding: 0px 5px 0px 4px; }
.bottom .dash-item-container > StWidget {
padding: 4px 0px 5px 0px; }
.top .dash-item-container > StWidget {
padding: 5px 0px 4px 0px; }
.dash-item-container > StWidget, .dash-item-container > StWidget:rtl, .right .dash-item-container > StWidget {
padding: 4px 8px; }
.top .dash-item-container > StWidget, .bottom .dash-item-container > StWidget {
padding: 6px; }
.dash-label {
border-radius: 3px;
@ -1154,12 +1149,6 @@ StScrollBar {
-y-offset: 3px;
-x-offset: 0; }
#dash .app-well-app .overview-icon,
.right #dash .app-well-app .overview-icon,
.bottom #dash .app-well-app .overview-icon,
.top #dash .app-well-app .overview-icon {
padding: 10px; }
#dash .app-well-app:hover .overview-icon,
.right #dash .app-well-app:hover .overview-icon,
.bottom #dash .app-well-app:hover .overview-icon,
@ -1176,7 +1165,7 @@ StScrollBar {
#dash .app-well-app-running-dot {
width: 11px;
height: 2px;
margin-bottom: 6px;
margin-bottom: 2px;
background-color: #5294e2; }
#dashtodockContainer .app-well-app-running-dot {
@ -1197,7 +1186,6 @@ StScrollBar {
background-image: url("common-assets/dash/running4.svg"); }
.show-apps .overview-icon {
padding: 11px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 2px;
border: 0px solid; }

View File

@ -1419,21 +1419,16 @@ StScrollBar {
color: $osd_fg_color;
background-color: $dark_sidebar_bg;
border-color: rgba(0,0,0,0.4);
padding: 6px 1px 6px 0px;
padding: 4px 0;
border-radius: 0 3px 3px 0;
&:rtl { border-radius: 3px 0 0 3px; }
.right &,
&:rtl {
padding: 6px 0px 6px 1px;
}
.bottom & {
padding: 1px 6px 0px 6px;
}
.top & {
padding: 0px 6px 1px 6px;
}
&:rtl { padding: 4px 0; }
.top &, .bottom & { padding: 0; }
.placeholder {
background-image: url("common-assets/dash/dash-placeholder.svg");
background-size: contain;
@ -1447,11 +1442,10 @@ StScrollBar {
}
.dash-item-container > StWidget {
padding: 0px 4px 0px 5px;
.right &, &:rtl { padding: 0px 5px 0px 4px; }
.bottom & { padding: 4px 0px 5px 0px; }
.top & { padding: 5px 0px 4px 0px; }
&, &:rtl, .right & { padding: 4px 8px; }
.top &, .bottom & { padding: 6px; }
}
//osd tooltip
@ -1472,13 +1466,6 @@ StScrollBar {
// Dash Buttons
#dash .app-well-app {
.overview-icon,
.right & .overview-icon,
.bottom & .overview-icon,
.top & .overview-icon {
padding: 10px;
}
&:hover .overview-icon,
.right &:hover .overview-icon,
.bottom &:hover .overview-icon,
@ -1497,7 +1484,7 @@ StScrollBar {
&-running-dot {
width: 11px;
height: 2px;
margin-bottom: 6px;
margin-bottom: 2px;
background-color: $selected_bg_color;
}
}
@ -1519,7 +1506,6 @@ StScrollBar {
.show-apps {
.overview-icon {
padding: 11px;
background-color: transparentize(black, 0.5);
border-radius: 2px;
border: 0px solid;

View File

@ -1214,16 +1214,14 @@ StScrollBar {
color: #BAC3CF;
background-color: rgba(53, 57, 69, 0.95);
border-color: rgba(0, 0, 0, 0.4);
padding: 6px 1px 6px 0px;
padding: 4px 0;
border-radius: 0 3px 3px 0; }
#dash:rtl {
border-radius: 3px 0 0 3px; }
.right #dash, #dash:rtl {
padding: 6px 0px 6px 1px; }
.bottom #dash {
padding: 1px 6px 0px 6px; }
.top #dash {
padding: 0px 6px 1px 6px; }
padding: 4px 0; }
.top #dash, .bottom #dash {
padding: 0; }
#dash .placeholder {
background-image: url("common-assets/dash/dash-placeholder.svg");
background-size: contain;
@ -1232,14 +1230,11 @@ StScrollBar {
width: 24px;
height: 24px; }
.dash-item-container > StWidget {
padding: 0px 4px 0px 5px; }
.right .dash-item-container > StWidget, .dash-item-container > StWidget:rtl {
padding: 0px 5px 0px 4px; }
.bottom .dash-item-container > StWidget {
padding: 4px 0px 5px 0px; }
.top .dash-item-container > StWidget {
padding: 5px 0px 4px 0px; }
.dash-item-container > StWidget, .dash-item-container > StWidget:rtl, .right .dash-item-container > StWidget {
padding: 4px 8px; }
.top .dash-item-container > StWidget, .bottom .dash-item-container > StWidget {
padding: 6px; }
.dash-label {
border-radius: 3px;
@ -1252,12 +1247,6 @@ StScrollBar {
-y-offset: 3px;
-x-offset: 0; }
#dash .app-well-app .overview-icon,
.right #dash .app-well-app .overview-icon,
.bottom #dash .app-well-app .overview-icon,
.top #dash .app-well-app .overview-icon {
padding: 10px; }
#dash .app-well-app:hover .overview-icon,
.right #dash .app-well-app:hover .overview-icon,
.bottom #dash .app-well-app:hover .overview-icon,
@ -1274,7 +1263,7 @@ StScrollBar {
#dash .app-well-app-running-dot {
width: 11px;
height: 2px;
margin-bottom: 6px;
margin-bottom: 2px;
background-color: #5294e2; }
#dashtodockContainer .app-well-app-running-dot {
@ -1295,7 +1284,6 @@ StScrollBar {
background-image: url("common-assets/dash/running4.svg"); }
.show-apps .overview-icon {
padding: 11px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 2px;
border: 0px solid; }

View File

@ -1214,16 +1214,14 @@ StScrollBar {
color: #BAC3CF;
background-color: rgba(53, 57, 69, 0.95);
border-color: rgba(0, 0, 0, 0.4);
padding: 6px 1px 6px 0px;
padding: 4px 0;
border-radius: 0 3px 3px 0; }
#dash:rtl {
border-radius: 3px 0 0 3px; }
.right #dash, #dash:rtl {
padding: 6px 0px 6px 1px; }
.bottom #dash {
padding: 1px 6px 0px 6px; }
.top #dash {
padding: 0px 6px 1px 6px; }
padding: 4px 0; }
.top #dash, .bottom #dash {
padding: 0; }
#dash .placeholder {
background-image: url("common-assets/dash/dash-placeholder.svg");
background-size: contain;
@ -1232,14 +1230,11 @@ StScrollBar {
width: 24px;
height: 24px; }
.dash-item-container > StWidget {
padding: 0px 4px 0px 5px; }
.right .dash-item-container > StWidget, .dash-item-container > StWidget:rtl {
padding: 0px 5px 0px 4px; }
.bottom .dash-item-container > StWidget {
padding: 4px 0px 5px 0px; }
.top .dash-item-container > StWidget {
padding: 5px 0px 4px 0px; }
.dash-item-container > StWidget, .dash-item-container > StWidget:rtl, .right .dash-item-container > StWidget {
padding: 4px 8px; }
.top .dash-item-container > StWidget, .bottom .dash-item-container > StWidget {
padding: 6px; }
.dash-label {
border-radius: 3px;
@ -1252,12 +1247,6 @@ StScrollBar {
-y-offset: 3px;
-x-offset: 0; }
#dash .app-well-app .overview-icon,
.right #dash .app-well-app .overview-icon,
.bottom #dash .app-well-app .overview-icon,
.top #dash .app-well-app .overview-icon {
padding: 10px; }
#dash .app-well-app:hover .overview-icon,
.right #dash .app-well-app:hover .overview-icon,
.bottom #dash .app-well-app:hover .overview-icon,
@ -1274,7 +1263,7 @@ StScrollBar {
#dash .app-well-app-running-dot {
width: 11px;
height: 2px;
margin-bottom: 6px;
margin-bottom: 2px;
background-color: #5294e2; }
#dashtodockContainer .app-well-app-running-dot {
@ -1295,7 +1284,6 @@ StScrollBar {
background-image: url("common-assets/dash/running4.svg"); }
.show-apps .overview-icon {
padding: 11px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 2px;
border: 0px solid; }

View File

@ -1583,21 +1583,16 @@ StScrollBar {
color: $osd_fg_color;
background-color: $dark_sidebar_bg;
border-color: rgba(0,0,0,0.4);
padding: 6px 1px 6px 0px;
padding: 4px 0;
border-radius: 0 3px 3px 0;
&:rtl { border-radius: 3px 0 0 3px; }
.right &,
&:rtl {
padding: 6px 0px 6px 1px;
}
.bottom & {
padding: 1px 6px 0px 6px;
}
.top & {
padding: 0px 6px 1px 6px;
}
&:rtl { padding: 4px 0; }
.top &, .bottom & { padding: 0; }
.placeholder {
background-image: url("common-assets/dash/dash-placeholder.svg");
background-size: contain;
@ -1611,11 +1606,10 @@ StScrollBar {
}
.dash-item-container > StWidget {
padding: 0px 4px 0px 5px;
.right &, &:rtl { padding: 0px 5px 0px 4px; }
.bottom & { padding: 4px 0px 5px 0px; }
.top & { padding: 5px 0px 4px 0px; }
&, &:rtl, .right & { padding: 4px 8px; }
.top &, .bottom & { padding: 6px; }
}
//osd tooltip
@ -1636,13 +1630,6 @@ StScrollBar {
// Dash Buttons
#dash .app-well-app {
.overview-icon,
.right & .overview-icon,
.bottom & .overview-icon,
.top & .overview-icon {
padding: 10px;
}
&:hover .overview-icon,
.right &:hover .overview-icon,
.bottom &:hover .overview-icon,
@ -1661,7 +1648,7 @@ StScrollBar {
&-running-dot {
width: 11px;
height: 2px;
margin-bottom: 6px;
margin-bottom: 2px;
background-color: $selected_bg_color;
}
}
@ -1683,7 +1670,6 @@ StScrollBar {
.show-apps {
.overview-icon {
padding: 11px;
background-color: transparentize(black, 0.5);
border-radius: 2px;
border: 0px solid;