From 0258e0391938cac23621cb844c4d6b6f9e4560d6 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 --- .../TraditionalOkTest/gtk-3.0/gtk-widgets.css | 19 +++++++++++ .../gtk-3.0/mate-applications.css | 39 ++++++++++++++++++---- 2 files changed, 52 insertions(+), 6 deletions(-) mode change 100755 => 100644 desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css (limited to 'desktop-themes/TraditionalOkTest') 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