diff options
-rw-r--r-- | desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css | 121 |
1 files changed, 74 insertions, 47 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 1c9bb5cd..2fee4e6b 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -1004,53 +1004,73 @@ column-header:first-child .button { border-left-width: 0; } -/******************* - * Checks & Radios * - *******************/ -.check, -.radio { - border-width: 1px; - border-style: solid; - border-color: @theme_check_radio_border; - color: @theme_active_color; - - background-color: @theme_check_radio_bg; -} +/***************************************************************************************************** + * Check and Radio items * + * Related to recent gtk3 development, to reveal checkboxes as part of the dialogue * + * of some of the applications whose notification icons appear in the system tray * + * the reference section of the HighContrast theme is used. * + * https://git.gnome.org/browse/gnome-themes-standard/tree/themes/HighContrast/gtk-3.0/gtk.css#n1398 * + *****************************************************************************************************/ + +GtkCheckButton.text-button, GtkRadioButton.text-button { + padding: 1px; + outline-offset: 0; } + +.check { + color: rgba(0, 0, 0, 0.1); + background-image: none; + -gtk-icon-source: -gtk-icontheme("checkbox-symbolic"); } + .check:hover { + color: #7f7f7f; } + .check:checked, .check:active { + -gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic"); + color: #000; } + .check:checked:hover, .check:active:hover { + color: #7f7f7f; } + .check:checked:insensitive, .check:active:insensitive { + color: #7f7f7f; } + .check:checked:insensitive:backdrop, .check:active:insensitive:backdrop { + color: #7f7f7f; } + .check:checked:backdrop, .check:active:backdrop { + color: #000; } + .check:insensitive { + color: rgba(127, 127, 127, 0.1); } + .check:insensitive:backdrop { + color: transparent; } + .check:inconsistent { + -gtk-icon-source: -gtk-icontheme("checkbox-mixed-symbolic"); } + .check:backdrop { + color: rgba(0, 0, 0, 0.1); } + .check:backdrop:selected { + color: rgba(255, 255, 255, 0.1); } -.check:insensitive, -.radio:insensitive { - border-color: @theme_button_insensitive_border; - color: @theme_button_insensitive_fg; - background-color: @theme_button_insensitive_bg; -} - -.menuitem.check, -.menuitem.radio { - background-color: transparent; - color: transparent; - border-color: transparent; -} - -.menuitem.radio:active, -.menuitem.check:active, -.menuitem.radio:inconsistent, -.menuitem.check:inconsistent { - color: @theme_active_color; -} - -.menuitem.radio:active:hover, -.menuitem.check:active:hover, -.menuitem.radio:inconsistent:hover, -.menuitem.check:inconsistent:hover { - color: @theme_base_color; -} - -.menuitem.radio:active:insensitive, -.menuitem.check:active:insensitive, -.menuitem.radio:inconsistent:insensitive, -.menuitem.check:inconsistent:insensitive { - color: @theme_button_insensitive_fg; -} +.radio { + color: rgba(0, 0, 0, 0.1); + background-image: none; + -gtk-icon-source: -gtk-icontheme("radio-symbolic"); } + .radio:hover { + color: #7f7f7f; } + .radio:checked, .radio:active { + -gtk-icon-source: -gtk-icontheme("radio-checked-symbolic"); + color: #000; } + .radio:checked:hover, .radio:active:hover { + color: #7f7f7f; } + .radio:checked:insensitive, .radio:active:insensitive { + color: #7f7f7f; } + .radio:checked:insensitive:backdrop, .radio:active:insensitive:backdrop { + color: #7f7f7f; } + .radio:checked:backdrop, .radio:active:backdrop { + color: #000; } + .radio:insensitive { + color: rgba(127, 127, 127, 0.1); } + .radio:insensitive:backdrop { + color: transparent; } + .radio:inconsistent { + -gtk-icon-source: -gtk-icontheme("radio-mixed-symbolic"); } + .radio:backdrop { + color: rgba(0, 0, 0, 0.1); } + .radio:backdrop:selected { + color: rgba(255, 255, 255, 0.1); } /********* * Views * @@ -1214,6 +1234,12 @@ GtkProgressBar.osd.progressbar { color: @theme_base_color; } +/**************************************************************************************** + * Give and take related to recent gtk3 development, * + * to achieve full size of the icon menu of some of the applications whose notification * + * icons appear in the system tray, the "shadow" is disabled. * + ****************************************************************************************/ +/* .window-frame { border-color: darker(@theme_bg_color); border-radius: 7px 7px 0 0; @@ -1222,13 +1248,14 @@ GtkProgressBar.osd.progressbar { box-shadow: 0 2px 8px 3px alpha(black, 0.7); - /* this is used for the resize cursor area */ + * this is used for the resize cursor area margin: 10px; } .window-frame:backdrop { box-shadow: 0 2px 5px 1px alpha(black, 0.7); } +*/ /**************** * App-specific * |