diff options
author | raveit65 <[email protected]> | 2015-02-09 21:42:05 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-02-09 21:42:05 +0100 |
commit | 511a9875eb0b6969f82af47d8a7e11aa7717bc03 (patch) | |
tree | 5215eb7c74a2cde8d7aade983ee05ad8f6f4f7bf /desktop-themes/Menta/gtk-3.0 | |
parent | 5e8ef61dc6feed07ce1958d4dad799e31f6f533d (diff) | |
download | mate-themes-511a9875eb0b6969f82af47d8a7e11aa7717bc03.tar.bz2 mate-themes-511a9875eb0b6969f82af47d8a7e11aa7717bc03.tar.xz |
Menta themes GTK3: adjust flat buttons in caja, pluma and m-c-c
- adjust transition timings
- adjust GtkComboBox in primary toolbar
Diffstat (limited to 'desktop-themes/Menta/gtk-3.0')
-rw-r--r-- | desktop-themes/Menta/gtk-3.0/gtk-main.css | 5 | ||||
-rw-r--r-- | desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 27 | ||||
-rw-r--r-- | desktop-themes/Menta/gtk-3.0/mate-applications.css | 150 |
3 files changed, 156 insertions, 26 deletions
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-main.css b/desktop-themes/Menta/gtk-3.0/gtk-main.css index 78d9bdf6..45cadb5b 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-main.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-main.css @@ -177,6 +177,11 @@ @define-color selection_menu_active shade(@selection_menu_fg, 0.60); /************** + * MATE Apps * + **************/ +@define-color cluebar_color shade (@theme_base_color, 0.9); + +/************** * GNOME Apps * **************/ @define-color entry_tag_bg shade(@theme_selected_bg_color, 0.89); diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 14d2c24a..8f172fe1 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -1028,7 +1028,7 @@ GtkComboBox.combobox-entry .button { } .button { - transition: all 200ms ease-out; + transition: all 400ms ease-out; -GtkButton-image-spacing: 4; -GtkButton-interior-focus: true; -GtkButton-default-border: 0; @@ -1040,6 +1040,25 @@ GtkComboBox.combobox-entry .button { text-shadow: 0 1px @button_text_shadow; } +.button.default { + text-shadow: none; + color: @theme_selected_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; +} + /* We may want a background for focused buttons, but in the meantime let's remove it too */ .primary-toolbar .button, .primary-toolbar .button:insensitive { @@ -1764,7 +1783,7 @@ GtkComboBox.combobox-entry .button:hover, GtkComboBox.combobox-entry .button:active, GtkComboBox.combobox-entry .button:active:hover { color: shade (@theme_selected_bg_color, 0.80); - transition: all 200ms ease-in; + transition: all 400ms ease-in; } GtkComboBox .button { @@ -2026,8 +2045,8 @@ GtkTreeMenu .menuitem, } .menu .menuitem { - -GtkMenuItem-arrow-scaling: 0.4; - transition: all 100ms ease-out; + -GtkMenuItem-arrow-scaling: 0.6; + transition: all 150ms ease-out; padding: 4px; } diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index 4fdc75d9..2ebef196 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -60,7 +60,58 @@ CajaPlacesTreeView:hover { CajaPlacesTreeView:selected:hover { } -@define-color cluebar_color shade (@theme_base_color, 0.9); +/* Caja places bar */ +CajaWindow .button.flat { + background-color: transparent; + background-image: linear-gradient(to bottom, + @button_gradient_color_a, + @button_gradient_color_b); + border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; + padding: 2px 5px; +} + +CajaWindow .button.flat:hover { + background-color: transparent; + background-image: linear-gradient(to bottom, + @button_hover_gradient_color_a, + @button_hover_gradient_color_b); + border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; + padding: 2px 5px; +} + +/* some overrides for button.flat */ +/* zoom button */ +CajaWindow .primary-toolbar .button.flat { + background-color: transparent; + background-image: linear-gradient(to bottom, + shade (@theme_bg_color, 1.0), + shade (@theme_bg_color, 0.96)); +} + +/* zoom button */ +CajaWindow .primary-toolbar .button.flat:hover { + background-color: transparent; + background-image: linear-gradient(to bottom, + @button_gradient_color_a, + @button_gradient_color_b); + border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; +} + +/* ComboBox views */ +CajaWindow .toolbar GtkComboBox .button { + background-image: linear-gradient(to bottom, + shade (@theme_bg_color, 1.0), + shade (@theme_bg_color, 0.96)); + padding: 4px 4px; +} + +CajaWindow .toolbar GtkComboBox .button:hover { + background-image: linear-gradient(to bottom, + @button_gradient_color_a, + @button_gradient_color_b); + border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; + padding: 4px 4px; +} CajaWindow * { -GtkPaned-handle-size: 0; @@ -250,7 +301,7 @@ PanelMenuBar.menubar .menu .menuitem:hover { /* desktop-applet, clockapplet, drivemount, character-map, dictionary */ MatePanelApplet .button { - transition: all 300ms ease-out; + transition: all 400ms ease-out; background-image: none; background-color: @theme_bg_color; color: @theme_text_color; @@ -265,7 +316,6 @@ MatePanelApplet .button { MatePanelApplet .button:active:hover, MatePanelApplet .button:active { - transition: all 300ms ease-out; background-image: linear-gradient(to bottom, shade (@theme_selected_bg_color, 0.86), shade (@theme_selected_bg_color, 0.26)); @@ -280,7 +330,6 @@ MatePanelApplet .button:active { } MatePanelApplet .button:hover { - transition: all 300ms ease-out; background-image: linear-gradient(to bottom, @theme_bg_color, shade (@theme_selected_bg_color, 0.86)); @@ -296,7 +345,7 @@ MatePanelApplet .button:hover { /*Wncklist */ WnckTasklist .button { - transition: all 300ms ease-out; + transition: all 400ms ease-out; background-image: linear-gradient(to bottom, shade (@theme_bg_color, 1.0), shade (@theme_bg_color, 0.96)); @@ -313,7 +362,6 @@ WnckTasklist .button { WnckTasklist .button:active:hover, WnckTasklist .button:active { - transition: all 300ms ease-out; background-image: linear-gradient(to bottom, shade (@theme_selected_bg_color, 0.86), shade (@theme_selected_bg_color, 0.26)); @@ -328,7 +376,6 @@ WnckTasklist .button:active { } WnckTasklist .button:hover { - transition: all 300ms ease-out; background-image: linear-gradient(to bottom, @theme_bg_color, shade (@theme_selected_bg_color, 0.86)); @@ -342,9 +389,13 @@ WnckTasklist .button:hover { -GtkWidget-window-dragging: true; } +/* set normal menubar button */ +PanelMenuBar.menubar .menuitem:hover { + transition: all 200ms ease-out; +} + /* set selected menubar button */ PanelMenuBar.menubar .menuitem:hover { - transition: all 300ms ease-out; background-image: linear-gradient(to bottom, shade (@theme_selected_bg_color, 0.86), shade (@theme_selected_bg_color, 0.26)); @@ -356,10 +407,14 @@ PanelMenuBar.menubar .menuitem:hover { border-radius: 5px; } +/* set normal menubar menuitem */ +PanelMenuBar.menubar .menu .menuitem { + transition: all 150ms ease-out; +} + /* set selected menubar menuitem */ PanelMenuBar.menubar .menu .menuitem:active:hover, PanelMenuBar.menubar .menu .menuitem:hover { - transition: all 200ms ease-out; background-color: @theme_selected_bg_color; background-image: linear-gradient(to bottom, shade (@theme_selected_bg_color, 1.0), @@ -442,28 +497,79 @@ NaTrayApplet { } /**************** + * Mate-Terminal * + ****************/ + +TerminalWindow GtkNotebook.notebook tab { + padding: 2px; + border-color: transparent; + border-width: 0px; + background-image: none; + background-color: transparent; +} + +TerminalWindow GtkNotebook.notebook tab.top, +.notebook tab.bottom { + padding: 2px; +} + +/**************** * Pluma * ****************/ /* pluma line numbers */ - PlumaView { background-color: shade (@theme_bg_color, 1.07); } -/**************** - * Mate-Terminal * - ****************/ +/*FIXME normaly this isn't the right entry for adjusting +the sidebar entry hover color*/ +PlumaWindow .view row:hover { + background-color: shade (@theme_selected_bg_color, 1.15); + color: shade (@theme_selected_bg_color, 0.35); +} -TerminalWindow GtkNotebook.notebook tab { - padding: 2px; - border-color: transparent; - border-width: 0px; - background-image: none; - background-color: transparent; +/* Pluma status bar */ +PlumaWindow .button.flat { + border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; + padding: 2px 5px; } -TerminalWindow GtkNotebook.notebook tab.top, -.notebook tab.bottom { - padding: 2px; +PlumaWindow .button.flat:hover { + background-color: transparent; + background-image: linear-gradient(to bottom, + @button_gradient_color_a, + @button_gradient_color_b); + border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; + padding: 2px 5px; +} + +/* surpress styling of close button */ +PlumaWindow .notebook tab .button.flat, +PlumaWindow .notebook tab .button.flat:hover { + 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; +} + +/*********************** + * Mate-Control-Center * + ***********************/ + +ShellWindow .button.flat { + border-image: none; } + +/* button hover of applications */ +ShellWindow .button.flat:hover { + background-color: transparent; + background-image: linear-gradient(to bottom, + @button_hover_gradient_color_a, + @button_hover_gradient_color_b); + border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch; +} + |