diff --git a/src/gnome-shell/sass/_common-3-28.scss b/src/gnome-shell/sass/_common-3-28.scss index c4c6464..c2f7c54 100644 --- a/src/gnome-shell/sass/_common-3-28.scss +++ b/src/gnome-shell/sass/_common-3-28.scss @@ -800,6 +800,8 @@ $mdborder_color: if($variant == 'light', transparent, rgba($white, 0.15)); &.selected:active { color: rgba(black, 0.75); } + &:insensitive { color: rgba(black, 0.35); } + &:not(:first-child):last-child { border-radius: 0 0 $buttons_radius $buttons_radius; } @@ -814,7 +816,7 @@ $mdborder_color: if($variant == 'light', transparent, rgba($white, 0.15)); padding: 6px; color: $fg_color; transition-duration: $shorter_duration; - border-radius: 100px; + border-radius: $circular_radius; background-image: none; &:ltr { padding-right: 1.5em; padding-left: 0; } @@ -861,6 +863,7 @@ $mdborder_color: if($variant == 'light', transparent, rgba($white, 0.15)); } &.selected:active { color: $fg_color; } + &:insensitive { color: $disabled_fg_color; } } diff --git a/src/gnome-shell/sass/widgets/_popovers.scss b/src/gnome-shell/sass/widgets/_popovers.scss index 5463ddc..8464f23 100644 --- a/src/gnome-shell/sass/widgets/_popovers.scss +++ b/src/gnome-shell/sass/widgets/_popovers.scss @@ -129,6 +129,8 @@ $submenu_item_radius: $buttons_radius; } &.selected:active { color: rgba(black, 0.75); } + + &:insensitive { color: rgba(black, 0.35); } } } diff --git a/src/gnome-shell/shell-3-28/gnome-shell-compact.css b/src/gnome-shell/shell-3-28/gnome-shell-compact.css index bcf004b..9d5c8a5 100644 --- a/src/gnome-shell/shell-3-28/gnome-shell-compact.css +++ b/src/gnome-shell/shell-3-28/gnome-shell-compact.css @@ -983,6 +983,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-menu .popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu .popup-sub-menu .popup-menu-item:not(:first-child):last-child { border-radius: 0 0 12px 12px; } @@ -997,7 +1001,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 6px; color: rgba(0, 0, 0, 0.87); transition-duration: 100ms; - border-radius: 100px; + border-radius: 9999px; background-image: none; } diff --git a/src/gnome-shell/shell-3-28/gnome-shell-dark-compact.css b/src/gnome-shell/shell-3-28/gnome-shell-dark-compact.css index 763c561..46ebae3 100644 --- a/src/gnome-shell/shell-3-28/gnome-shell-dark-compact.css +++ b/src/gnome-shell/shell-3-28/gnome-shell-dark-compact.css @@ -983,6 +983,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-menu .popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu .popup-sub-menu .popup-menu-item:not(:first-child):last-child { border-radius: 0 0 12px 12px; } @@ -997,7 +1001,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 6px; color: rgba(255, 255, 255, 0.9); transition-duration: 100ms; - border-radius: 100px; + border-radius: 9999px; background-image: none; } diff --git a/src/gnome-shell/shell-3-28/gnome-shell-dark.css b/src/gnome-shell/shell-3-28/gnome-shell-dark.css index fd77eaa..e7889ac 100644 --- a/src/gnome-shell/shell-3-28/gnome-shell-dark.css +++ b/src/gnome-shell/shell-3-28/gnome-shell-dark.css @@ -983,6 +983,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-menu .popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu .popup-sub-menu .popup-menu-item:not(:first-child):last-child { border-radius: 0 0 12px 12px; } @@ -997,7 +1001,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 6px; color: rgba(255, 255, 255, 0.9); transition-duration: 100ms; - border-radius: 100px; + border-radius: 9999px; background-image: none; } diff --git a/src/gnome-shell/shell-3-28/gnome-shell.css b/src/gnome-shell/shell-3-28/gnome-shell.css index b51ae7d..6fe1023 100644 --- a/src/gnome-shell/shell-3-28/gnome-shell.css +++ b/src/gnome-shell/shell-3-28/gnome-shell.css @@ -983,6 +983,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-menu .popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu .popup-sub-menu .popup-menu-item:not(:first-child):last-child { border-radius: 0 0 12px 12px; } @@ -997,7 +1001,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { padding: 6px; color: rgba(0, 0, 0, 0.87); transition-duration: 100ms; - border-radius: 100px; + border-radius: 9999px; background-image: none; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell-compact.css b/src/gnome-shell/shell-40-0/gnome-shell-compact.css index ac2fe97..75732da 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-compact.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-compact.css @@ -485,6 +485,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu-ornament { width: 1.2em; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell-dark-compact.css b/src/gnome-shell/shell-40-0/gnome-shell-dark-compact.css index dda2d6a..824b81b 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-dark-compact.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-dark-compact.css @@ -485,6 +485,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu-ornament { width: 1.2em; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell-dark.css b/src/gnome-shell/shell-40-0/gnome-shell-dark.css index ca7b4a1..8196103 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-dark.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-dark.css @@ -485,6 +485,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu-ornament { width: 1.2em; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell.css b/src/gnome-shell/shell-40-0/gnome-shell.css index 3f5ddfe..ceb57f5 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell.css +++ b/src/gnome-shell/shell-40-0/gnome-shell.css @@ -485,6 +485,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { color: rgba(0, 0, 0, 0.75); } +.popup-sub-menu .popup-menu-item:insensitive { + color: rgba(0, 0, 0, 0.35); +} + .popup-menu-ornament { width: 1.2em; }