[gtk/revert-theme-change] Revert "Refresh checks and radios"
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/revert-theme-change] Revert "Refresh checks and radios"
- Date: Mon, 4 Nov 2019 22:48:40 +0000 (UTC)
commit b7dfb7836fcebeb14520db65105d8f658045113f
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Nov 4 22:47:00 2019 +0000
Revert "Refresh checks and radios"
This reverts commit f261b41d47d20b2354d0389f709ea0a466214a90.
The commit broke the theme:
Theme parsing error: gtk-contained.css:1176:74: Not a valid image
gtk/theme/Adwaita/_common.scss | 60 ++++++++++----------------------
gtk/theme/Adwaita/_drawing.scss | 52 ---------------------------
gtk/theme/Adwaita/gtk-contained-dark.css | 47 +++++++++----------------
gtk/theme/Adwaita/gtk-contained.css | 47 +++++++++----------------
4 files changed, 53 insertions(+), 153 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 97e84d8105..551269167a 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2932,44 +2932,20 @@ radio {
border: 1px solid;
-gtk-icon-source: none;
- & {
- // for unchecked
- border: 1px solid;
- $_c: if($variant=='light', white, $bg_color);
-
- @each $state, $t in ("", "normal"),
- (":hover", "hover"),
- (":hover:backdrop", "backdrop-hover"),
- (":active", "active"),
- (":disabled", "insensitive"),
- (":backdrop", "backdrop"),
- (":backdrop:disabled", 'backdrop-insensitive') {
- &#{$state} {
- @include check($t, $_c);
- }
- }
- }
+ @include button(normal-alt, $edge: $shadow_color);
+ &:hover { @include button(hover-alt, $c:$checkradio_bg_color, $tc:$checkradio_fg_color, $edge:
$shadow_color); }
+ &:hover:not(:checked) { @include button(hover-alt, $edge: $shadow_color); }
+ &:active { @include button(active, $c:$checkradio_bg_color, $tc:$checkradio_fg_color); }
+ &:checked { @include button(normal-alt, $c:$checkradio_bg_color, $tc:$checkradio_fg_color, $edge:
$shadow_color); }
+ &:disabled { @include button(insensitive); }
+ &:backdrop {
+ @include button(backdrop);
- & {
- // for checked
- @each $t in (':checked:not(:indeterminate)'), (':indeterminate') {
- &#{$t} {
- @each $state, $t in ("", "normal"),
- (":hover", "hover"),
- (":hover:backdrop", "backdrop-hover"),
- (":disabled", "insensitive"),
- (":backdrop", "backdrop"),
- (":backdrop:disabled", 'backdrop-insensitive') {
- &#{$state} {
- @include check($t, $checkradio_bg_color, $checkradio_fg_color, $checked: true);
- }
- }
- }
- }
+ transition: $backdrop_transition;
+
+ &:disabled { @include button(backdrop-insensitive); }
}
- &:backdrop { transition: $backdrop_transition; }
-
@if $variant == 'light' {
// the borders of the light variant versions of checks and radios are too similar in luminosity to the
selected background
// color, hence we need special casing.
@@ -2998,12 +2974,6 @@ radio {
color: inherit;
border-color: currentColor;
}
- &:indeterminate, &:checked {
- &:hover {
- color: $checkradio_fg_color;
- border-color: darken($checkradio_bg_color, if($variant=='light', 15%, 30%));
- }
- }
}
}
@@ -3061,7 +3031,15 @@ treeview.view radio {
@if $variant == 'light' { border-color: $selected_borders_color; }
}
+
+ &:disabled {
+ color: $insensitive_fg_color;
+
+ &:backdrop { color: $backdrop_insensitive_color; }
+ }
}
+
+ &:backdrop { &:selected, & { color: $backdrop_fg_color; }}
}
treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a workaround
diff --git a/gtk/theme/Adwaita/_drawing.scss b/gtk/theme/Adwaita/_drawing.scss
index 83077850de..b65ad8b970 100644
--- a/gtk/theme/Adwaita/_drawing.scss
+++ b/gtk/theme/Adwaita/_drawing.scss
@@ -581,56 +581,4 @@
box-shadow: none; //
}
-/***************************
- * Check and Radio buttons *
- ***************************/
- @mixin check($t, $c:white, $tc:$checkradio_fg_color, $checked: false) {
- // Check/Radio drawing function
- //
- // $t: check/radio type,
- // $c: base button color for colored* types
- // $tc: optional text color for colored* types
- // $checked: bool to chose between checked/unchecked
- //
- // possible $t values:
- // normal, hover, active, insensitive, backdrop, backdrop-insensitive
-
- $_border_color: if($checked, $c, $alt_borders_color);
- $_dim_border_color: transparentize($_border_color, if($variant == 'light', 0.3, 0.7));
-
- @if $t==normal {
- background-clip: if($checked, border-box, padding-box);
- background-image: linear-gradient(to bottom, lighten($c, 5%) 20%, $c 90%);
- border-color: $_border_color;
- box-shadow: 0 1px transparentize(black, 0.95);
- color: $tc;
- }
-
- @if $t==hover {
- -gtk-icon-effect: highlight;
- background-image: if($c == white, darken($c, 5%), linear-gradient(to bottom, lighten($c, 9%) 10%,
lighten($c, 4%) 90%));
- }
-
- @if $t==active {
- box-shadow: inset 0 1px 1px 0px if($variant == 'light', rgba(0, 0, 0, 0.2), black);
- }
-
- @if $t==insensitive {
- box-shadow: none;
- color: transparentize($tc, 0.3);
- }
-
- @if $t==backdrop {
- -gtk-icon-effect: dim;
- background-image: if($checked, image($checkradio_bg_color), image($backdrop_bg_color));
- box-shadow: none;
- color: $tc;
- }
-
- @if $t==backdrop-insensitive {
- -gtk-icon-effect: dim;
- box-shadow: none;
- color: transparentize($tc, 0.3);
- }
-}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 910d7608fb..ae481e2b52 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1,4 +1,3 @@
-/*************************** Check and Radio buttons * */
* { padding: 0; -GtkToolButton-icon-spacing: 4; -GtkTextView-error-underline-color: #cc0000;
-GtkScrolledWindow-scrollbar-spacing: 0; -GtkToolItemGroup-expander-size: 11; -GtkWidget-text-handle-width:
20; -GtkWidget-text-handle-height: 24; -GtkDialog-button-spacing: 4; -GtkDialog-action-area-border: 0;
outline-color: alpha(currentColor,0.3); outline-style: dashed; outline-offset: -3px; outline-width: 1px;
-gtk-outline-radius: 3px; -gtk-secondary-caret-color: #15539e; }
/*************** Base States * */
@@ -1147,7 +1146,7 @@ checkbutton.text-button label:not(:only-child):first-child, radiobutton.text-but
checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button
label:not(:only-child):last-child { margin-right: 4px; }
-check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px solid; -gtk-icon-source: none; }
+check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px solid; -gtk-icon-source: none;
color: #eeeeec; outline-color: rgba(238, 238, 236, 0.3); border-color: #070707; text-shadow: 0 -1px rgba(0,
0, 0, 0.834353); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.834353); background-image: linear-gradient(to
bottom, #2d2d2d 20%, #262626 90%); box-shadow: inset 0 1px rgba(255, 255, 255, 0.02), 0 1px rgba(0, 0, 0,
0.1), 0 1px 2px rgba(0, 0, 0, 0.07); }
check:only-child, radio:only-child { margin: 0; }
@@ -1155,41 +1154,25 @@ popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margi
popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; }
-check, radio { border: 1px solid; }
+check:hover, radio:hover { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #092444;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.02), 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.07);
background-image: linear-gradient(to bottom, #15539e 20%, #13498c 90%); }
-check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, #424242 20%,
#353535 90%); border-color: #070707; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; }
+check:hover:not(:checked), radio:hover:not(:checked) { color: #eeeeec; outline-color: rgba(238, 238, 236,
0.3); border-color: #070707; box-shadow: inset 0 1px rgba(255, 255, 255, 0.02), 0 1px rgba(0, 0, 0, 0.1), 0
1px 2px rgba(0, 0, 0, 0.07); background-image: linear-gradient(to bottom, #353535 20%, #2b2b2b 90%); }
-check:hover, radio:hover { -gtk-icon-effect: highlight; background-image: linear-gradient(to bottom, #4c4c4c
10%, #3f3f3f 90%); }
+check:active, radio:active { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #0f3b71;
background-image: image(#103e75); box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none;
-gtk-icon-shadow: none; }
-check:active, radio:active { box-shadow: inset 0 1px 1px 0px black; }
+check:checked, radio:checked { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color:
#092444; text-shadow: 0 -1px rgba(0, 0, 0, 0.719216); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.719216);
background-image: linear-gradient(to bottom, #134c90 20%, #114583 90%); box-shadow: inset 0 1px rgba(255,
255, 255, 0.02), 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.07); }
-check:disabled, radio:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); }
+check:disabled, radio:disabled { border-color: #1b1b1b; background-image: image(#323232); text-shadow: none;
-gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
-check:backdrop, radio:backdrop { -gtk-icon-effect: dim; background-image: image(#353535); box-shadow: none;
color: #ffffff; }
+check:disabled label, check:disabled, radio:disabled label, radio:disabled { color: #919190; }
-check:backdrop:disabled, radio:backdrop:disabled { -gtk-icon-effect: dim; box-shadow: none; color: rgba(255,
255, 255, 0.7); }
+check:backdrop, radio:backdrop { border-color: #202020; background-image: image(#353535); text-shadow: none;
-gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); transition: 200ms ease-out; }
-check:checked:not(:indeterminate), radio:checked:not(:indeterminate) { background-clip: border-box;
background-image: linear-gradient(to bottom, #185fb4 20%, #15539e 90%); border-color: #15539e; box-shadow: 0
1px rgba(0, 0, 0, 0.05); color: #ffffff; }
+check:backdrop label, check:backdrop, radio:backdrop label, radio:backdrop { color: #919190; }
-check:checked:not(:indeterminate):hover, radio:checked:not(:indeterminate):hover { -gtk-icon-effect:
highlight; background-image: linear-gradient(to bottom, #1b68c6 10%, #185cb0 90%); }
+check:backdrop:disabled, radio:backdrop:disabled { border-color: #202020; background-image: image(#323232);
text-shadow: none; -gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
-check:checked:not(:indeterminate):disabled, radio:checked:not(:indeterminate):disabled { box-shadow: none;
color: rgba(255, 255, 255, 0.7); }
-
-check:checked:not(:indeterminate):backdrop, radio:checked:not(:indeterminate):backdrop { -gtk-icon-effect:
dim; background-image: image(#15539e); box-shadow: none; color: #ffffff; }
-
-check:checked:not(:indeterminate):backdrop:disabled, radio:checked:not(:indeterminate):backdrop:disabled {
-gtk-icon-effect: dim; box-shadow: none; color: rgba(255, 255, 255, 0.7); }
-
-check:indeterminate, radio:indeterminate { background-clip: border-box; background-image: linear-gradient(to
bottom, #185fb4 20%, #15539e 90%); border-color: #15539e; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color:
#ffffff; }
-
-check:indeterminate:hover, radio:indeterminate:hover { -gtk-icon-effect: highlight; background-image:
linear-gradient(to bottom, #1b68c6 10%, #185cb0 90%); }
-
-check:indeterminate:disabled, radio:indeterminate:disabled { box-shadow: none; color: rgba(255, 255, 255,
0.7); }
-
-check:indeterminate:backdrop, radio:indeterminate:backdrop { -gtk-icon-effect: dim; background-image:
image(#15539e); box-shadow: none; color: #ffffff; }
-
-check:indeterminate:backdrop:disabled, radio:indeterminate:backdrop:disabled { -gtk-icon-effect: dim;
box-shadow: none; color: rgba(255, 255, 255, 0.7); }
-
-check:backdrop, radio:backdrop { transition: 200ms ease-out; }
+check:backdrop:disabled label, check:backdrop:disabled, radio:backdrop:disabled label,
radio:backdrop:disabled { color: #5b5b5b; }
.osd check, .osd radio { color: #eeeeec; border-color: rgba(0, 0, 0, 0.7); background-color: transparent;
background-image: image(rgba(38, 38, 38, 0.9)); background-clip: padding-box; box-shadow: inset 0 1px
rgba(255, 255, 255, 0.1); text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; outline-color: rgba(238,
238, 236, 0.3); }
@@ -1205,8 +1188,6 @@ menu menuitem check, menu menuitem radio { margin: 0; }
menu menuitem check, menu menuitem check:hover, menu menuitem check:disabled, menu menuitem radio, menu
menuitem radio:hover, menu menuitem radio:disabled { min-height: 14px; min-width: 14px; background-image:
none; background-color: transparent; box-shadow: none; -gtk-icon-shadow: none; color: inherit; border-color:
currentColor; }
-menu menuitem check:indeterminate:hover, menu menuitem check:checked:hover, menu menuitem
radio:indeterminate:hover, menu menuitem radio:checked:hover { color: #ffffff; border-color: #030c17; }
-
check { border-radius: 3px; }
check:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")),
-gtk-recolor(url("assets/check-symbolic.symbolic.png"))); }
@@ -1231,6 +1212,12 @@ menu menuitem radio:checked:not(:backdrop), menu menuitem radio:indeterminate:no
treeview.view check:selected:focus, treeview.view check:selected, treeview.view radio:selected:focus,
treeview.view radio:selected { color: #ffffff; }
+treeview.view check:selected:disabled, treeview.view radio:selected:disabled { color: #919190; }
+
+treeview.view check:selected:disabled:backdrop, treeview.view radio:selected:disabled:backdrop { color:
#5b5b5b; }
+
+treeview.view check:backdrop:selected, treeview.view check:backdrop, treeview.view radio:backdrop:selected,
treeview.view radio:backdrop { color: #919190; }
+
/************ GtkScale * */
scale trough, scale fill, progressbar trough { border: 1px solid #1b1b1b; border-radius: 3px;
background-color: #282828; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index d736c2c002..bd81969eb8 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1,4 +1,3 @@
-/*************************** Check and Radio buttons * */
* { padding: 0; -GtkToolButton-icon-spacing: 4; -GtkTextView-error-underline-color: #cc0000;
-GtkScrolledWindow-scrollbar-spacing: 0; -GtkToolItemGroup-expander-size: 11; -GtkWidget-text-handle-width:
20; -GtkWidget-text-handle-height: 24; -GtkDialog-button-spacing: 4; -GtkDialog-action-area-border: 0;
outline-color: alpha(currentColor,0.3); outline-style: dashed; outline-offset: -3px; outline-width: 1px;
-gtk-outline-radius: 3px; -gtk-secondary-caret-color: #3584e4; }
/*************** Base States * */
@@ -1161,7 +1160,7 @@ checkbutton.text-button label:not(:only-child):first-child, radiobutton.text-but
checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button
label:not(:only-child):last-child { margin-right: 4px; }
-check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px solid; -gtk-icon-source: none; }
+check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px solid; -gtk-icon-source: none;
color: #2e3436; outline-color: rgba(46, 52, 54, 0.3); border-color: #bfb8b1; text-shadow: 0 1px rgba(255,
255, 255, 0.769231); -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.769231); background-image:
linear-gradient(to bottom, white 20%, #f6f5f4 90%); box-shadow: inset 0 1px white, 0 1px rgba(0, 0, 0, 0.1),
0 1px 2px rgba(0, 0, 0, 0.07); }
check:only-child, radio:only-child { margin: 0; }
@@ -1169,41 +1168,25 @@ popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margi
popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; }
-check, radio { border: 1px solid; }
+check:hover, radio:hover { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #15539e;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.07);
background-image: linear-gradient(to bottom, #5d9de9 10%, #478fe6 90%); }
-check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, white 20%, white
90%); border-color: #bfb8b1; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #ffffff; }
+check:hover:not(:checked), radio:hover:not(:checked) { color: #2e3436; outline-color: rgba(46, 52, 54, 0.3);
border-color: #bfb8b1; box-shadow: inset 0 1px white, 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0,
0.07); background-image: linear-gradient(to bottom, white 10%, white 90%); }
-check:hover, radio:hover { -gtk-icon-effect: highlight; background-image: #f2f2f2; }
+check:active, radio:active { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #1b6acb;
background-image: image(#1961b9); box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none;
-gtk-icon-shadow: none; }
-check:active, radio:active { box-shadow: inset 0 1px 1px 0px rgba(0, 0, 0, 0.2); }
+check:checked, radio:checked { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color:
#15539e; text-shadow: 0 -1px rgba(0, 0, 0, 0.559216); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.559216);
background-image: linear-gradient(to bottom, #4b92e7 20%, #3584e4 90%); box-shadow: inset 0 1px rgba(255,
255, 255, 0.2), 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.07); }
-check:disabled, radio:disabled { box-shadow: none; color: rgba(255, 255, 255, 0.7); }
+check:disabled, radio:disabled { border-color: #cdc7c2; background-image: image(#faf9f8); text-shadow: none;
-gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
-check:backdrop, radio:backdrop { -gtk-icon-effect: dim; background-image: image(#f6f5f4); box-shadow: none;
color: #ffffff; }
+check:disabled label, check:disabled, radio:disabled label, radio:disabled { color: #929595; }
-check:backdrop:disabled, radio:backdrop:disabled { -gtk-icon-effect: dim; box-shadow: none; color: rgba(255,
255, 255, 0.7); }
+check:backdrop, radio:backdrop { border-color: #d5d0cc; background-image: image(#f6f5f4); text-shadow: none;
-gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); transition: 200ms ease-out; }
-check:checked:not(:indeterminate), radio:checked:not(:indeterminate) { background-clip: border-box;
background-image: linear-gradient(to bottom, #4b92e7 20%, #3584e4 90%); border-color: #3584e4; box-shadow: 0
1px rgba(0, 0, 0, 0.05); color: #ffffff; }
+check:backdrop label, check:backdrop, radio:backdrop label, radio:backdrop { color: #929595; }
-check:checked:not(:indeterminate):hover, radio:checked:not(:indeterminate):hover { -gtk-icon-effect:
highlight; background-image: linear-gradient(to bottom, #5d9de9 10%, #478fe6 90%); }
+check:backdrop:disabled, radio:backdrop:disabled { border-color: #d5d0cc; background-image: image(#faf9f8);
text-shadow: none; -gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
-check:checked:not(:indeterminate):disabled, radio:checked:not(:indeterminate):disabled { box-shadow: none;
color: rgba(255, 255, 255, 0.7); }
-
-check:checked:not(:indeterminate):backdrop, radio:checked:not(:indeterminate):backdrop { -gtk-icon-effect:
dim; background-image: image(#3584e4); box-shadow: none; color: #ffffff; }
-
-check:checked:not(:indeterminate):backdrop:disabled, radio:checked:not(:indeterminate):backdrop:disabled {
-gtk-icon-effect: dim; box-shadow: none; color: rgba(255, 255, 255, 0.7); }
-
-check:indeterminate, radio:indeterminate { background-clip: border-box; background-image: linear-gradient(to
bottom, #4b92e7 20%, #3584e4 90%); border-color: #3584e4; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color:
#ffffff; }
-
-check:indeterminate:hover, radio:indeterminate:hover { -gtk-icon-effect: highlight; background-image:
linear-gradient(to bottom, #5d9de9 10%, #478fe6 90%); }
-
-check:indeterminate:disabled, radio:indeterminate:disabled { box-shadow: none; color: rgba(255, 255, 255,
0.7); }
-
-check:indeterminate:backdrop, radio:indeterminate:backdrop { -gtk-icon-effect: dim; background-image:
image(#3584e4); box-shadow: none; color: #ffffff; }
-
-check:indeterminate:backdrop:disabled, radio:indeterminate:backdrop:disabled { -gtk-icon-effect: dim;
box-shadow: none; color: rgba(255, 255, 255, 0.7); }
-
-check:backdrop, radio:backdrop { transition: 200ms ease-out; }
+check:backdrop:disabled label, check:backdrop:disabled, radio:backdrop:disabled label,
radio:backdrop:disabled { color: #d4cfca; }
row:selected check, row:selected radio { border-color: #185fb4; }
@@ -1221,8 +1204,6 @@ menu menuitem check, menu menuitem radio { margin: 0; }
menu menuitem check, menu menuitem check:hover, menu menuitem check:disabled, menu menuitem radio, menu
menuitem radio:hover, menu menuitem radio:disabled { min-height: 14px; min-width: 14px; background-image:
none; background-color: transparent; box-shadow: none; -gtk-icon-shadow: none; color: inherit; border-color:
currentColor; }
-menu menuitem check:indeterminate:hover, menu menuitem check:checked:hover, menu menuitem
radio:indeterminate:hover, menu menuitem radio:checked:hover { color: #ffffff; border-color: #185fb4; }
-
check { border-radius: 3px; }
check:checked { -gtk-icon-source: image(-gtk-recolor(url("assets/check-symbolic.svg")),
-gtk-recolor(url("assets/check-symbolic.symbolic.png"))); }
@@ -1247,6 +1228,12 @@ menu menuitem radio:checked:not(:backdrop), menu menuitem radio:indeterminate:no
treeview.view check:selected:focus, treeview.view check:selected, treeview.view radio:selected:focus,
treeview.view radio:selected { color: #ffffff; border-color: #185fb4; }
+treeview.view check:selected:disabled, treeview.view radio:selected:disabled { color: #929595; }
+
+treeview.view check:selected:disabled:backdrop, treeview.view radio:selected:disabled:backdrop { color:
#d4cfca; }
+
+treeview.view check:backdrop:selected, treeview.view check:backdrop, treeview.view radio:backdrop:selected,
treeview.view radio:backdrop { color: #929595; }
+
/************ GtkScale * */
scale trough, scale fill, progressbar trough { border: 1px solid #cdc7c2; border-radius: 3px;
background-color: #e1dedb; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]