From b676cca770d69b8b0ee10106abdfdf25c65122cc Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Sat, 20 May 2017 15:16:27 -0400 Subject: [PATCH] Tweak style for switching windows directly Styles changed for Gnome Shell >= 3.18 --- common/gnome-shell/3.18/gnome-shell-dark.css | 4 +++- common/gnome-shell/3.18/gnome-shell.css | 4 +++- common/gnome-shell/3.18/sass/_common.scss | 14 +++++++++----- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/common/gnome-shell/3.18/gnome-shell-dark.css b/common/gnome-shell/3.18/gnome-shell-dark.css index 69438bb1f..1cedcdaf6 100644 --- a/common/gnome-shell/3.18/gnome-shell-dark.css +++ b/common/gnome-shell/3.18/gnome-shell-dark.css @@ -598,7 +598,9 @@ StScrollBar { height: 96px; } .cycler-highlight { - border: 5px solid #5294e2; } + border-radius: 3px 3px 0 0; + border: 3px solid #5294e2; + background-color: rgba(82, 148, 226, 0.35); } .workspace-switcher { background: transparent; diff --git a/common/gnome-shell/3.18/gnome-shell.css b/common/gnome-shell/3.18/gnome-shell.css index 5d8c325e0..a2e072b50 100644 --- a/common/gnome-shell/3.18/gnome-shell.css +++ b/common/gnome-shell/3.18/gnome-shell.css @@ -598,7 +598,9 @@ StScrollBar { height: 96px; } .cycler-highlight { - border: 5px solid #5294e2; } + border-radius: 3px 3px 0 0; + border: 3px solid #5294e2; + background-color: rgba(82, 148, 226, 0.35); } .workspace-switcher { background: transparent; diff --git a/common/gnome-shell/3.18/sass/_common.scss b/common/gnome-shell/3.18/sass/_common.scss index 297ea3db1..11a8921aa 100644 --- a/common/gnome-shell/3.18/sass/_common.scss +++ b/common/gnome-shell/3.18/sass/_common.scss @@ -814,7 +814,11 @@ StScrollBar { // //Window Cycler // -.cycler-highlight { border: 5px solid $selected_bg_color; } +.cycler-highlight { + border-radius: 3px 3px 0 0; + border: 3px solid $selected_bg_color; + background-color: transparentize($selected_bg_color, .65); +} // // Workspace Switcher @@ -1294,17 +1298,17 @@ StScrollBar { > StIcon { icon-size: 18px; border-radius: 0px; - color: transparent; + color: transparent; background-color: transparent; background-image: url('#{$asset_path}/misc/message-close.svg'); } &:hover > StIcon { - color: transparent; + color: transparent; background-color: transparent; background-image: url('#{$asset_path}/misc/message-close-hover.svg'); } &:active > StIcon { - color: transparent; + color: transparent; background-color: transparent; background-image: url('#{$asset_path}/misc/message-close-active.svg'); } @@ -2106,7 +2110,7 @@ $legacy_icon_size: 24px; &:active, &:checked { @include button(osd-active); } &:grayed { @include button(osd-insensitive); } -} +} .keyboard-subkeys { //long press on a key popup color: $osd_fg_color;