From 20edae5eed73564156896ab9b1c9756e4ea8c4a5 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 14 Oct 2016 12:30:45 +0200 Subject: gnome-shell: reduce dash padding (fix #561) --- common/gnome-shell/3.16/sass/_common.scss | 32 +++++++++---------------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to 'common/gnome-shell/3.16/sass/_common.scss') diff --git a/common/gnome-shell/3.16/sass/_common.scss b/common/gnome-shell/3.16/sass/_common.scss index f74fc58..8b947f7 100644 --- a/common/gnome-shell/3.16/sass/_common.scss +++ b/common/gnome-shell/3.16/sass/_common.scss @@ -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; -- cgit v1.2.3