From 277f51e4bb1f5c338a26f2ce1022410718c462b0 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 12 Feb 2015 03:35:35 +0100 Subject: Traditional themes GTk3: adjust flat buttons, fix m-c-c --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 19 ++++++++++ .../TraditionalGreen/gtk-3.0/mate-applications.css | 44 +++++++++++++++++----- .../TraditionalOk/gtk-3.0/gtk-widgets.css | 19 ++++++++++ .../TraditionalOk/gtk-3.0/mate-applications.css | 44 +++++++++++++++++----- .../TraditionalOkTest/gtk-3.0/gtk-widgets.css | 19 ++++++++++ .../gtk-3.0/mate-applications.css | 39 ++++++++++++++++--- 6 files changed, 159 insertions(+), 25 deletions(-) mode change 100755 => 100644 desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index e0cd8909..7f446a70 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -482,6 +482,25 @@ GtkScrolledWindow GtkViewport.frame { padding: 5px 8px 6px; } +.button.default { + text-shadow: none; + color: @theme_fg_color; +} + +.button.flat { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0); + text-shadow: none; + icon-shadow: none; + border-image: none; +} + +.button.flat.hover { + border-radius: 3px; +} + GtkComboBox GtkToggleButton.button, GtkComboBoxText GtkToggleButton.button, .toolbar.horizontal GtkComboBox GtkToggleButton.button, diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css index 1654f01a..7a506d71 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css @@ -58,6 +58,17 @@ PanelMenuBar.menubar .menuitem:hover { padding: 3px 5px; } +/* set menubar menuitem */ +PanelMenuBar.menubar .menu .menuitem { + background-image: none; + color: @theme_text_color; + border-style: solid; + border-width: 1px; + border-radius: 3px; + border-color: alpha(@theme_bg_color, 0.1); + padding: 3px 5px; +} + /* set selected menubar menuitem */ PanelMenuBar.menubar .menu .menuitem:checked:hover, PanelMenuBar.menubar .menu .menuitem:active:hover, @@ -88,12 +99,10 @@ MatePanelApplet .button { /* Due to a bug somewhere in gtk or cairo, a padding of zero (or even one) doesn't work always!!! */ padding: 0px; - border-radius: 3px; border-width: 1px; border-style: solid; text-shadow: none; - color: @theme_fg_color; background-image: -gtk-gradient (linear, left top, @@ -132,7 +141,6 @@ WnckTasklist .button { border-width: 1px; border-style: solid; text-shadow: none; - color: @theme_fg_color; background-color: transparent; background-image: -gtk-gradient (linear, @@ -207,17 +215,17 @@ WnckPager { } /* prelight of WnckPager */ -MatePanelApplet *:hover { +WnckPager:hover { background-image: linear-gradient(to bottom, - shade (@theme_selected_bg_color, 2.86), - shade (@theme_selected_bg_color, 1.0)); + shade (@theme_selected_bg_color, 1.86), + shade (@theme_selected_bg_color, 0.8)); background-color: @theme_base_color; } /* Classic icon style */ -/*.mate-panel-menu-bar { +.mate-panel-menu-bar { -PanelMenuBar-icon-visible: true; -}*/ +} NaTrayApplet { background-image: none; @@ -225,6 +233,22 @@ NaTrayApplet { padding: 0; color: @theme_fg_color; text-shadow: none; -/* -NaTrayApplet-icon-padding: 12; - -NaTrayApplet-icon-size: 16;*/ + -NaTrayApplet-icon-padding: 12; + -NaTrayApplet-icon-size: 16; } + +/*********************** + * Mate-Control-Center * + ***********************/ + +ShellWindow .button.flat { + border-image: none; + padding: 3px; +} + +/* button hover of applications */ +ShellWindow GtkScrolledWindow .button.flat:hover { + background-color: transparent; + padding: 3px; +} + diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index 220837c0..92619b80 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -482,6 +482,25 @@ GtkScrolledWindow GtkViewport.frame { padding: 5px 8px 6px; } +.button.default { + text-shadow: none; + color: @theme_fg_color; +} + +.button.flat { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0); + text-shadow: none; + icon-shadow: none; + border-image: none; +} + +.button.flat.hover { + border-radius: 3px; +} + GtkComboBox GtkToggleButton.button, GtkComboBoxText GtkToggleButton.button, .toolbar.horizontal GtkComboBox GtkToggleButton.button, diff --git a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css index 1654f01a..05a95f8b 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css @@ -58,6 +58,17 @@ PanelMenuBar.menubar .menuitem:hover { padding: 3px 5px; } +/* set menubar menuitem */ +PanelMenuBar.menubar .menu .menuitem { + background-image: none; + color: @theme_text_color; + border-style: solid; + border-width: 1px; + border-radius: 3px; + border-color: alpha(@theme_bg_color, 0.1); + padding: 3px 5px; +} + /* set selected menubar menuitem */ PanelMenuBar.menubar .menu .menuitem:checked:hover, PanelMenuBar.menubar .menu .menuitem:active:hover, @@ -88,12 +99,10 @@ MatePanelApplet .button { /* Due to a bug somewhere in gtk or cairo, a padding of zero (or even one) doesn't work always!!! */ padding: 0px; - border-radius: 3px; border-width: 1px; border-style: solid; text-shadow: none; - color: @theme_fg_color; background-image: -gtk-gradient (linear, left top, @@ -132,7 +141,6 @@ WnckTasklist .button { border-width: 1px; border-style: solid; text-shadow: none; - color: @theme_fg_color; background-color: transparent; background-image: -gtk-gradient (linear, @@ -148,6 +156,7 @@ WnckTasklist .button:checked:hover, WnckTasklist .button:checked, WnckTasklist .button:active:hover, WnckTasklist .button:active { + padding: 0px; border-style: solid; background-color: transparent; background-image: linear-gradient(to bottom, @@ -160,6 +169,7 @@ WnckTasklist .button:active { } WnckTasklist .button:hover { + padding: 0px; border-style: solid; background-color: transparent; background-image: linear-gradient(to bottom, @@ -207,17 +217,17 @@ WnckPager { } /* prelight of WnckPager */ -MatePanelApplet *:hover { +WnckPager:hover { background-image: linear-gradient(to bottom, - shade (@theme_selected_bg_color, 2.86), + shade (@theme_selected_bg_color, 1.86), shade (@theme_selected_bg_color, 1.0)); background-color: @theme_base_color; } /* Classic icon style */ -/*.mate-panel-menu-bar { +.mate-panel-menu-bar { -PanelMenuBar-icon-visible: true; -}*/ +} NaTrayApplet { background-image: none; @@ -225,6 +235,22 @@ NaTrayApplet { padding: 0; color: @theme_fg_color; text-shadow: none; -/* -NaTrayApplet-icon-padding: 12; - -NaTrayApplet-icon-size: 16;*/ + -NaTrayApplet-icon-padding: 12; + -NaTrayApplet-icon-size: 16; +} + +/*********************** + * Mate-Control-Center * + ***********************/ + +ShellWindow .button.flat { + border-image: none; + padding: 3px; } + +/* button hover of applications */ +ShellWindow GtkScrolledWindow .button.flat:hover { + background-color: transparent; + padding: 3px; +} + diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index 5d4bb49c..5165f228 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -482,6 +482,25 @@ GtkScrolledWindow GtkViewport.frame { padding: 5px 8px 6px; } +.button.default { + text-shadow: none; + color: @theme_fg_color; +} + +.button.flat { + border-color: transparent; + background-color: transparent; + background-image: none; + box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0); + text-shadow: none; + icon-shadow: none; + border-image: none; +} + +.button.flat.hover { + border-radius: 3px; +} + GtkComboBox GtkToggleButton.button, GtkComboBoxText GtkToggleButton.button, .toolbar.horizontal GtkComboBox GtkToggleButton.button, diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css old mode 100755 new mode 100644 index a48c711b..24016bf5 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css @@ -60,6 +60,17 @@ PanelMenuBar.menubar .menuitem:hover { to (@menubar_menuitem_hover_gradient_d)); } +/* set menubar menuitem */ +PanelMenuBar.menubar .menu .menuitem { + background-image: none; + color: @theme_text_color; + border-style: solid; + border-width: 1px; + border-radius: 3px; + border-color: alpha(@theme_bg_color, 0.1); + padding: 3px 5px; +} + /* set selected menubar menuitem */ PanelMenuBar.menubar .menu .menuitem:checked:hover, PanelMenuBar.menubar .menu .menuitem:active:hover, @@ -209,17 +220,17 @@ WnckPager { } /* prelight of WnckPager */ -MatePanelApplet *:hover { +WnckPager:hover { background-image: linear-gradient(to bottom, - shade (@theme_selected_bg_color, 2.86), + shade (@theme_selected_bg_color, 1.86), shade (@theme_selected_bg_color, 1.0)); background-color: @theme_base_color; } /* Classic icon style */ -/*.mate-panel-menu-bar { +.mate-panel-menu-bar { -PanelMenuBar-icon-visible: true; -}*/ +} NaTrayApplet { background-image: none; @@ -227,8 +238,8 @@ NaTrayApplet { padding: 0; color: @theme_fg_color; text-shadow: none; -/* -NaTrayApplet-icon-padding: 12; - -NaTrayApplet-icon-size: 16;*/ + -NaTrayApplet-icon-padding: 12; + -NaTrayApplet-icon-size: 16; } /********* @@ -248,3 +259,19 @@ TerminalWindow .entry { background-color: @theme_base_color; color: @theme_fg_color; } + +/*********************** + * Mate-Control-Center * + ***********************/ + +ShellWindow .button.flat { + border-image: none; + padding: 3px; +} + +/* button hover of applications */ +ShellWindow GtkScrolledWindow .button.flat:hover { + background-color: transparent; + padding: 3px; +} + -- cgit v1.2.1