From 2181e6a48f424e6aa7d8cc237b2c2f1801cf6e39 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 12 Feb 2015 00:50:53 +0100 Subject: Menta themes GTK3: adjust all variants of caja sidebar - fix nemo hover color in sidebars --- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 6 +++ .../BlueMenta/gtk-3.0/mate-applications.css | 40 +++++++++-------- .../BlueMenta/gtk-3.0/other-applications.css | 3 +- desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 6 +++ desktop-themes/Menta/gtk-3.0/mate-applications.css | 51 +++++++++++----------- .../Menta/gtk-3.0/other-applications.css | 3 +- 6 files changed, 64 insertions(+), 45 deletions(-) diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 45122104..2b4c592e 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -3504,6 +3504,12 @@ GtkTreeView row:nth-child(even):backdrop:hover { color: shade (@theme_selected_bg_color, 0.35); } +.sidebar GtkTreeView row:active:hover, +.sidebar GtkTreeView row:checked:hover, +.sidebar GtkTreeView row:selected:hover { + color: shade (@theme_selected_fg_color, 1.00); +} + column-header.button, column-header .button { color: @theme_fg_color; diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css index 2d0ea1e7..e36d5787 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -113,17 +113,27 @@ CajaWindow * { -GtkPaned-handle-size: 0; } -/*FIXME normaly this isn't the right entry for adjusting -the sidebar background color*/ -CajaWindow .view { +/* caja sidebar */ +CajaWindow FMTreeView .view, +CajaWindow CajaNotesViewer .view, +CajaWindow CajaPlacesSidebar .view, +CajaWindow CajaHistorySidebar .view, +CajaWindow CajaInformationPanel GtkVBox, +CajaWindow CajaEmblemSidebar GtkViewport { background-color: shade (@theme_bg_color, 1.08); + color: @theme_fg_color; } -/*FIXME normaly this isn't the right entry for adjusting -the sidebar entry hover color*/ -CajaWindow .view row:hover { - background-color: shade (@theme_selected_bg_color, 1.15); - color: shade (@theme_selected_bg_color, 0.35); +CajaWindow CajaPlacesSidebar row:active:hover, +CajaWindow CajaPlacesSidebar row:checked:hover, +CajaWindow CajaPlacesSidebar row:selected:hover, +CajaWindow CajaHistorySidebar row:active:hover, +CajaWindow CajaHistorySidebar row:checked:hover, +CajaWindow CajaHistorySidebar row:selected:hover, +CajaWindow FMTreeView row:active:hover, +CajaWindow FMTreeView row:checked:hover, +CajaWindow FMTreeView row:selected:hover { + color: shade (@theme_selected_fg_color, 1.00); } CajaWindow .rubberband, @@ -131,13 +141,7 @@ CajaWindow .view.rubberband { background-color: alpha (@theme_selected_bg_color, 0.35); } -/* sidebar */ -CajaWindow .sidebar .view { - background-color: shade (@theme_bg_color, 1.08); - color: @theme_fg_color; -} - -CajaWindow .sidebar .frame { +CajaWindow CajaPlacesSidebar .frame { border-right-width: 1px; border-style: solid; border-color: shade (@theme_bg_color, 0.90); @@ -146,16 +150,16 @@ CajaWindow .sidebar .frame { border-bottom: none; } -CajaWindow .sidebar row:selected { +CajaWindow CajaPlacesSidebar row:selected { color: @theme_selected_fg_color; } -CajaWindow .sidebar row:backdrop:selected { +CajaWindow CajaPlacesSidebar row:backdrop:selected { color: @theme_fg_color; text-shadow: none; } -CajaWindow .sidebar row:hover { +CajaWindow CajaPlacesSidebar row:hover { background-color: shade (@theme_bg_color, 0.97); } diff --git a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css index f906af74..6eb14bf0 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css @@ -102,7 +102,8 @@ NemoWindow .sidebar row:backdrop:selected { } NemoWindow .sidebar row:hover { - background-color: shade (@theme_bg_color, 0.97); + background-color: shade (@theme_selected_bg_color, 1.15); + color: shade (@theme_selected_bg_color, 0.35); } /* desktop mode */ diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index df193e2f..231eff30 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -3506,6 +3506,12 @@ GtkTreeView row:nth-child(even):backdrop:hover { color: shade (@theme_selected_bg_color, 0.35); } +.sidebar GtkTreeView row:active:hover, +.sidebar GtkTreeView row:checked:hover, +.sidebar GtkTreeView row:selected:hover { + color: shade (@theme_selected_fg_color, 1.00); +} + column-header.button, column-header .button { color: @theme_fg_color; diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index 167560f0..1649f28c 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -115,17 +115,27 @@ CajaWindow * { -GtkPaned-handle-size: 0; } -/*FIXME normaly this isn't the right entry for adjusting -the sidebar background color*/ -CajaWindow .view { +/* caja sidebar */ +CajaWindow FMTreeView .view, +CajaWindow CajaNotesViewer .view, +CajaWindow CajaPlacesSidebar .view, +CajaWindow CajaHistorySidebar .view, +CajaWindow CajaInformationPanel GtkVBox, +CajaWindow CajaEmblemSidebar GtkViewport { background-color: shade (@theme_bg_color, 1.08); + color: @theme_fg_color; } -/*FIXME normaly this isn't the right entry for adjusting -the sidebar entry hover color*/ -CajaWindow .view row:hover { - background-color: shade (@theme_selected_bg_color, 1.15); - color: shade (@theme_selected_bg_color, 0.35); +CajaWindow CajaPlacesSidebar row:active:hover, +CajaWindow CajaPlacesSidebar row:checked:hover, +CajaWindow CajaPlacesSidebar row:selected:hover, +CajaWindow CajaHistorySidebar row:active:hover, +CajaWindow CajaHistorySidebar row:checked:hover, +CajaWindow CajaHistorySidebar row:selected:hover, +CajaWindow FMTreeView row:active:hover, +CajaWindow FMTreeView row:checked:hover, +CajaWindow FMTreeView row:selected:hover { + color: shade (@theme_selected_fg_color, 1.00); } CajaWindow .rubberband, @@ -133,14 +143,7 @@ CajaWindow .view.rubberband { background-color: alpha (@theme_selected_bg_color, 0.35); } -/* sidebar */ - -CajaWindow .sidebar .view { - background-color: shade (@theme_bg_color, 1.08); - color: @theme_fg_color; -} - -CajaWindow .sidebar .frame { +CajaWindow CajaPlacesSidebar .frame { border-right-width: 1px; border-style: solid; border-color: shade (@theme_bg_color, 0.90); @@ -149,16 +152,16 @@ CajaWindow .sidebar .frame { border-bottom: none; } -CajaWindow .sidebar row:selected { +CajaWindow CajaPlacesSidebar row:selected { color: @theme_selected_fg_color; } -CajaWindow .sidebar row:backdrop:selected { +CajaWindow CajaPlacesSidebar row:backdrop:selected { color: @theme_fg_color; text-shadow: none; } -CajaWindow .sidebar row:hover { +CajaWindow CajaPlacesSidebar row:hover { background-color: shade (@theme_bg_color, 0.97); } @@ -287,7 +290,6 @@ MatePanelApplet .button { background-image: none; background-color: @theme_bg_color; color: @theme_text_color; - border-image: none; border-style: solid; border-width: 0px; @@ -335,11 +337,10 @@ WnckTasklist .button { shade (@theme_bg_color, 0.96)); background-color: @theme_base_color; color: @theme_text_color; - border-image: none; border-style: solid; border-width: 0px; - border-radius: 0px; + border-radius: 5px; text-shadow: none; -GtkWidget-window-dragging: true; } @@ -376,7 +377,7 @@ WnckTasklist .button:hover { } /* set normal menubar button */ -PanelMenuBar.menubar .menuitem:hover { +PanelMenuBar.menubar .menuitem { transition: all 200ms ease-out; } @@ -459,8 +460,8 @@ WnckPager { } NaTrayApplet { -/* -NaTrayApplet-icon-padding: 12; - -NaTrayApplet-icon-size: 16;*/ + -NaTrayApplet-icon-padding: 12px; + -NaTrayApplet-icon-size: 16; } /* Classic icon style */ diff --git a/desktop-themes/Menta/gtk-3.0/other-applications.css b/desktop-themes/Menta/gtk-3.0/other-applications.css index f906af74..6eb14bf0 100644 --- a/desktop-themes/Menta/gtk-3.0/other-applications.css +++ b/desktop-themes/Menta/gtk-3.0/other-applications.css @@ -102,7 +102,8 @@ NemoWindow .sidebar row:backdrop:selected { } NemoWindow .sidebar row:hover { - background-color: shade (@theme_bg_color, 0.97); + background-color: shade (@theme_selected_bg_color, 1.15); + color: shade (@theme_selected_bg_color, 0.35); } /* desktop mode */ -- cgit v1.2.1