diff options
author | raveit65 <[email protected]> | 2014-09-12 22:41:59 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2014-09-12 22:41:59 +0200 |
commit | 22ce1eecbda120a8d341b3178fe8c89bf1105084 (patch) | |
tree | 26837236516ec3641cbb7bca365f1d59128efa76 /desktop-themes/ContrastHigh | |
parent | a7f4ecb1a26ae864f28b75ed65e32261e07deefa (diff) | |
download | mate-themes-22ce1eecbda120a8d341b3178fe8c89bf1105084.tar.bz2 mate-themes-22ce1eecbda120a8d341b3178fe8c89bf1105084.tar.xz |
ContrastHigh, GTK3-3.14: adjust to GTK3-3.13 changes
https://git.gnome.org/browse/gtk+/commit/?id=4e077d4638b4ecfaf67afbab5082b9d47499af4f
https://bugzilla.redhat.com/show_bug.cgi?id=1136994
- GtkCheckButton
- GtkRadioButton
Diffstat (limited to 'desktop-themes/ContrastHigh')
-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 * |