diff options
author | raveit65 <[email protected]> | 2015-02-10 16:55:04 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-02-10 16:56:01 +0100 |
commit | 5bf52df284965f3e14ab543a99979a8f3812babc (patch) | |
tree | e709623f9d4d9a6b0f77bc1ef51826c4000d53a2 /desktop-themes/ContrastHigh/gtk-3.0 | |
parent | c64aa718766a26e167657160924476be9a5365b6 (diff) | |
download | mate-themes-5bf52df284965f3e14ab543a99979a8f3812babc.tar.bz2 mate-themes-5bf52df284965f3e14ab543a99979a8f3812babc.tar.xz |
ContrastHigh GTK3: adjust flat buttons in m-c-c
- add arrows to scrollbars
- adjust metacity theme
- rework mate-panel settings
- change line numbers bg in pluma
- use round corners for GtkStatusbar frames in pluma, caja
- use round corners for notebook frames
Diffstat (limited to 'desktop-themes/ContrastHigh/gtk-3.0')
-rw-r--r-- | desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css | 142 | ||||
-rw-r--r-- | desktop-themes/ContrastHigh/gtk-3.0/gtk.css | 30 | ||||
-rw-r--r-- | desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css | 164 |
3 files changed, 238 insertions, 98 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 4b62d3be..03444022 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -1,26 +1,3 @@ -/* common color definitions */ - -@define-color warning_color #faad3d; -@define-color warning_bg_color @warning_color; -@define-color warning_fg_color black; - -@define-color question_color #8aadd4; -@define-color question_bg_color @question_color; -@define-color question_fg_color white; - -@define-color error_color #ed3636; -@define-color error_bg_color @error_color; -@define-color error_fg_color white; - -@define-color error_color #cc0000; -@define-color success_color #4e9a06; - -/* fallback mode */ -@define-color os_chrome_bg_color black; -@define-color os_chrome_fg_color #ccc; -@define-color os_chrome_selected_bg_color #333; -@define-color os_chrome_selected_fg_color white; - * { -GtkRange-stepper-size: 2; -GtkScale-slider-length: 28; @@ -289,10 +266,7 @@ GtkLevelBar.vertical { } /* ie. mate-control-center */ -.button.flat, -.button.flat:hover, -.button.flat:active:hover, -.button.flat:checked:hover { +.button.flat { padding: 0px; border-color: transparent; background-color: transparent; @@ -304,6 +278,10 @@ GtkLevelBar.vertical { border-image: none; } +.button.flat.hover { + border-radius: 3px; +} + .button:active, .button:checked { background-color: @theme_button_active_bg; @@ -927,6 +905,10 @@ GtkSwitch.trough:active:insensitive { border-color: @theme_notebook_border; border-style: solid; background-color: @theme_notebook_bg; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; } .notebook GtkScrolledWindow { @@ -1035,30 +1017,108 @@ GtkScrolledWindow GtkViewport.frame { border-style: none; } +/************** + * Scrollbars * + **************/ + .scrollbar { -GtkRange-slider-width: 17; -GtkRange-stepper-size: 17; -GtkRange-trough-border: 0; - -GtkScrollbar-has-backward-stepper: false; - -GtkScrollbar-has-forward-stepper: false; + -GtkScrollbar-has-backward-stepper: true; + -GtkScrollbar-has-forward-stepper: true; -GtkScrollbar-min-slider-length: 64; } -.scrollbar.trough { +.scrollbars-junction { + background-image: linear-gradient(to bottom, + shade (@theme_internal_bg, 1.0), + shade (@theme_internal_bg, 1.0)); background-color: @theme_internal_bg; + border-width: 0px; + border-color: @theme_internal_bg; + border-radius: 0px; + border-image: linear-gradient(to bottom, + shade (@theme_internal_bg, 1.0), + shade (@theme_internal_bg, 1.0)); + box-shadow: none; +} - border-width: 0; - border-color: transparent; +.scrollbar.trough, +.scrollbar.trough.vertical, +.sidebar .scrollbar.trough, +.osd .scrollbar.trough { + background-image: none; + background-color: @theme_internal_bg; + border-left-width: 1px; + border-style: solid; + border-color: @theme_internal_bg; border-radius: 0; + border-image: none; } -.scrollbars-junction { +.scrollbar.trough.horizontal { + background-image: none; background-color: @theme_internal_bg; + border-top-width: 1px; + border-style: solid; + border-color: @theme_internal_bg; + border-radius: 0; + border-image: none; } -.scrollbar.slider { - background-color: @theme_slider_bg; +.scrollbar.button, +.scrollbar.button:active, +.scrollbar.button:active:hover, +.scrollbar.button:insensitive { + border-style: none; + border-image: none; + border-radius: 0; + background-image: none; + background-color: transparent; +} + +.scrollbar.button:active, +.scrollbar.button:active:hover { + background-color: alpha(shade(@scrollbar_trough, 0.8), 0.5); +} + +.scrollbar.button.top:hover { + box-shadow: inset 0 -1px mix(@theme_slider_bg, @scrollbar_trough, 0.8); +} + +.scrollbar.button.bottom:hover { + box-shadow: inset 0 1px mix(@theme_slider_bg, @scrollbar_trough, 0.8); +} + +.scrollbar.button.right:hover { + box-shadow: inset 1px 0 mix(@theme_slider_bg, @scrollbar_trough, 0.8); +} +.scrollbar.button.left:hover { + box-shadow: inset -1px 0 mix(@theme_slider_bg, @scrollbar_trough, 0.8); +} + +.scrollbar.button { + color: @theme_fg_color; +} + +.scrollbar.button:hover { + color: @theme_fg_color; +} + +.scrollbar.button:insensitive { + color: @theme_insensitive_color; +} + +.scrollbar.button:active { + color: @theme_fg_color; +} + +.scrollbar.slider, +.sidebar .scrollbar.slider, +.osd .scrollbar.slider { + background-color: @theme_slider_bg; border-style: solid; border-radius: 12px; border-width: 3px; @@ -1066,7 +1126,15 @@ GtkScrolledWindow GtkViewport.frame { } .scrollbar.slider:hover, -.scrollbar.slider:active:hover { +.scrollbar.slider:active:hover, +.scrollbar.slider.vertical:hover, +.scrollbar.slider.vertical:active:hover, +.scrollbar.slider.horizontal:hover, +.scrollbar.slider.horizontal:active:hover, +.sidebar .scrollbar.slider:hover, +.sidebar .scrollbar.slider:hover:active, +.osd .scrollbar.slider:hover, +.osd .scrollbar.slider:active { background-color: @theme_fg_color; border-width: 3px; border-color: transparent; @@ -1079,7 +1147,7 @@ GtkScrolledWindow GtkViewport.frame { border-color: transparent; border-width: 5px; } - + /****************** * Column headers * ******************/ diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk.css index a63ee7e1..55c749eb 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk.css @@ -1,4 +1,5 @@ @define-color theme_base_color #fff; +@define-color theme_bg_color @theme_base_color; @define-color theme_fg_color #000; @define-color theme_active_color #555753; @define-color theme_border_color @theme_active_color; @@ -116,6 +117,35 @@ @define-color osd_trough_bg alpha(@osd_button_fg, 0.10); +@define-color scrollbar_trough shade(@theme_bg_color, 0.98); + +/************************ + * Info, Warnings, etc. * + ************************/ + +@define-color warning_color #faad3d; +@define-color warning_bg_color @warning_color; +@define-color warning_fg_color black; + +@define-color question_color #8aadd4; +@define-color question_bg_color @question_color; +@define-color question_fg_color white; + +@define-color error_color #ed3636; +@define-color error_bg_color @error_color; +@define-color error_fg_color white; + +@define-color error_color #cc0000; +@define-color success_color #4e9a06; + +/***************** + * fallback mode * + *****************/ + +@define-color os_chrome_bg_color black; +@define-color os_chrome_fg_color #ccc; +@define-color os_chrome_selected_bg_color #333; +@define-color os_chrome_selected_fg_color white; * { /* Pidgin */ diff --git a/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css b/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css index 8f9c5eef..d86dc723 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css @@ -60,38 +60,38 @@ PanelAppletFrame, MatePanelAppletFrameDBus, MatePanelAppletContainer, MatePanelApplet { - background-image: none; - background-color: @os_chrome_bg_color; - padding: 0; - color: @os_chrome_fg_color; - text-shadow: none; + background-image: none; + background-color: @theme_base_color; + padding: 0; + color: @theme_fg_color; + text-shadow: none; } MatePanelApplet { - border-width: 0; + border-width: 0; } PanelSeparator { - border-width: 0; - background-image: none; - color: shade (@theme_fg_color, 1.65); - text-shadow: none; + border-width: 0; + background-image: none; + color: @theme_fg_color; + text-shadow: none; } .mate-panel-menu-bar .menuitem, MatePanelApplet > GtkMenuBar.menubar .menuitem { - color: @os_chrome_fg_color; + color: @theme_fg_color; } .mate-panel-menu-bar .menuitem:hover, MatePanelApplet > GtkMenuBar.menubar .menuitem:hover { - color: @os_chrome_selected_fg_color; - background-color: @os_chrome_selected_bg_color; + color: @theme_base_color; + background-color: @theme_active_color; } .mate-panel-menu-bar .menuitem *:hover, MatePanelApplet > GtkMenuBar.menubar .menuitem *:hover { - text-shadow: 0 1px @os_chrome_bg_color; + text-shadow: none; } /* dropdown menus from applets */ @@ -112,23 +112,21 @@ MatePanelApplet > GtkMenuBar.menubar .menu .menuitem { .mate-panel-menu-bar .menu .menuitem:hover, MatePanelApplet > GtkMenuBar.menubar .menu .menuitem:hover { - color: @os_chrome_selected_fg_color; - background-color: @os_chrome_selected_bg_color; + color: @theme_base_color; + background-color: @theme_active_color; } /* desktop-applet, clockapplet, drivemount, character-map, dictionary */ MatePanelApplet .button { - padding: 4px; - - border-radius: 0px; - border-width: 0px; - border-style: solid; - text-shadow: none; - - color: @os_chrome_fg_color; + padding: 4px; + border-radius: 0px; + border-width: 0px; + border-style: solid; + text-shadow: none; + color: @theme_fg_color; background-image: none; - background-color: @os_chrome_bg_color; + background-color: @theme_base_color; } MatePanelApplet .button:checked:hover, @@ -137,7 +135,7 @@ MatePanelApplet .button:active:hover, MatePanelApplet .button:active { border-image: none; background-image: none; - background-color: @os_chrome_selected_bg_color; + background-color: @theme_active_color; border-width: 0; border-radius: 0; } @@ -145,35 +143,35 @@ MatePanelApplet .button:active { MatePanelApplet .button:hover { border-image: none; background-image: none; - background-color: @os_chrome_selected_bg_color; + background-color: @theme_fg_color; + border-color: @theme_fg_color; + color: @theme_base_color; border-width: 0; border-radius: 0; } MatePanelApplet *:hover { - color: @os_chrome_selected_fg_color; + color: @theme_base_color; } MatePanelApplet *:checked, MatePanelApplet *:hover:checked, MatePanelApplet *:active, MatePanelApplet *:hover:active { - color: @os_chrome_selected_fg_color; - text-shadow: 0 1px @os_chrome_bg_color; + color: @theme_base_color; + text-shadow: none; } /*Wncklist */ WnckTasklist .button { - padding: 4px; - - border-radius: 0px; - border-width: 0px; - border-style: solid; - text-shadow: none; - - color: @os_chrome_fg_color; + padding: 4px; + border-radius: 0px; + border-width: 0px; + border-style: solid; + text-shadow: none; + color: @theme_fg_color; background-image: none; - background-color: @os_chrome_bg_color; + background-color: @theme_base_color; } WnckTasklist .button:checked:hover, @@ -182,7 +180,7 @@ WnckTasklist .button:active:hover, WnckTasklist .button:active { border-image: none; background-image: none; - background-color: @os_chrome_selected_bg_color; + background-color: @theme_active_color; border-width: 0; border-radius: 0; } @@ -190,7 +188,9 @@ WnckTasklist .button:active { WnckTasklist .button:hover { border-image: none; background-image: none; - background-color: @os_chrome_selected_bg_color; + background-color: @theme_fg_color; + border-color: @theme_fg_color; + color: @theme_base_color; border-width: 0; border-radius: 0; } @@ -198,37 +198,37 @@ WnckTasklist .button:hover { ClockBox, .mate-panel-menu-bar.menubar, MatePanelApplet > GtkMenuBar.menubar { - font: normal; + font: bold; } WnckPager { - background-image: none; - border-color: transparent; - background-color: shade(@theme_base_color, 0.9); - text-shadow: none; + background-image: none; + border-color: transparent; + background-color: shade(@theme_base_color, 0.9); + text-shadow: none; } /* prelight of WnckPager */ -MatePanelApplet *:hover { - background-image: linear-gradient(to bottom, - shade (@theme_selected_bg_color, 2.86), - shade (@theme_selected_bg_color, 1.0)); - background-color: @theme_base_color; +WnckPager:hover { + background-image: linear-gradient(to bottom, + shade (@theme_active_color, 2.86), + shade (@theme_active_color, 1.0)); + background-color: transparent; } /* Classic icon style */ -/*.mate-panel-menu-bar { - -PanelMenuBar-icon-visible: true; -}*/ +.mate-panel-menu-bar { + -PanelMenuBar-icon-visible: true; +} NaTrayApplet { - background-image: none; - background-color: @theme_base_color; - padding: 0; - color: @theme_fg_color; - text-shadow: none; -/* -NaTrayApplet-icon-padding: 12; - -NaTrayApplet-icon-size: 16;*/ + background-image: none; + background-color: @theme_base_color; + padding: 0; + color: @theme_fg_color; + text-shadow: none; + -NaTrayApplet-icon-padding: 12; + -NaTrayApplet-icon-size: 16; } /**************** @@ -242,3 +242,45 @@ TerminalWindow .entry { color: @theme_fg_color; } +/**************** + * Pluma * + ****************/ + +/* pluma line numbers */ +PlumaView { + background-color: @theme_slider_bg; + color: @theme_base_color; +} + +PlumaWindow GtkStatusbar .frame, +CajaWindow GtkStatusbar .frame { + border-radius: 3px; +} + +/* Pluma status bar */ +PlumaWindow .button.flat { + border-radius: 5px; + padding: 2px 5px; +} + +PlumaWindow .button.flat:hover { + border-radius: 5px; + padding: 2px 5px; +} + +/*********************** + * Mate-Control-Center * + ***********************/ + +ShellWindow .button.flat { + border-image: none; +} + +/* button hover of applications */ +ShellWindow GtkScrolledWindow .button.flat:hover { + background-color: @theme_fg_color; + border-color: @theme_fg_color; + color: @theme_base_color; + border-radius: 12px; +} + |