[gnome-shell/wip/jimmac/window-thumbnail-close-and-label] theme: legible thumbnail close button
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/jimmac/window-thumbnail-close-and-label] theme: legible thumbnail close button
- Date: Thu, 4 Feb 2021 19:07:24 +0000 (UTC)
commit 37379b588acd7935efc838120a6599e4c344bb38
Author: Jakub Steiner <jimmac gmail com>
Date: Thu Feb 4 18:04:09 2021 +0100
theme: legible thumbnail close button
- prominent close button
- legible yet stylish thumbnail labels
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3669
data/theme/gnome-shell-sass/widgets/_window-picker.scss | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_window-picker.scss
b/data/theme/gnome-shell-sass/widgets/_window-picker.scss
index d157b91ab9..cbdca6166a 100644
--- a/data/theme/gnome-shell-sass/widgets/_window-picker.scss
+++ b/data/theme/gnome-shell-sass/widgets/_window-picker.scss
@@ -3,8 +3,7 @@
$window_picker_spacing: $base_spacing; // 6px
$window_picker_padding: $base_padding * 2; // 12px
-$window_thumbnail_chrome_color: transparentize($osd_fg_color, 0.4);
-$window_thumbnail_chrome_border: transparentize($osd_bg_color, 0.7);
+$window_thumbnail_label_color: transparentize($osd_bg_color, 0.4);
$window_close_button_size: 30px;
$window_close_button_padding: 3px;
@@ -17,18 +16,16 @@ $window_close_button_padding: 3px;
// Window titles
.window-caption {
- color: $osd_bg_color;
- background-color: $window_thumbnail_chrome_color;
+ color: $osd_fg_color;
+ background-color: $osd_bg_color;
border-radius: 99px;
- border: 1px solid $window_thumbnail_chrome_border;
padding: $base_padding $base_padding * 2;
}
// Close button
.window-close {
- background-color: $window_thumbnail_chrome_color;
- color: $osd_bg_color;
- border: 1px solid $window_thumbnail_chrome_border;
+ background-color: $osd_bg_color;
+ color: $osd_fg_color;
border-radius: $window_close_button_size * 0.5 + $window_close_button_padding * 2;
padding: $window_close_button_padding;
height: $window_close_button_size;
@@ -38,10 +35,10 @@ $window_close_button_padding: 3px;
& StIcon { icon-size: 24px; }
&:hover {
- background-color: lighten($window_thumbnail_chrome_color, 5%);
+ background-color: lighten($osd_bg_color, 5%);
}
&:active {
- background-color: darken($window_thumbnail_chrome_color, 5%);
+ background-color: darken($osd_bg_color, 5%);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]