From 05a29967c42b046c9c58600f0a8b661ee8a6ae3d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 12 Feb 2015 01:02:07 +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 | 20 ++++++++++ .../BlueMenta/gtk-3.0/mate-applications.css | 34 +++++++++------- .../BlueMenta/gtk-3.0/other-applications.css | 3 +- desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 20 ++++++++++ desktop-themes/Menta/gtk-3.0/mate-applications.css | 45 ++++++++++++---------- .../Menta/gtk-3.0/other-applications.css | 3 +- 6 files changed, 90 insertions(+), 35 deletions(-) diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index f1d1b3b3..5f07585f 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -3314,6 +3314,26 @@ GtkTreeView row:nth-child(even):backdrop:hover { background-color: shade (@theme_base_color, 0.96); } +.sidebar GtkTreeView row:backdrop:selected { + background-color: @theme_selected_bg_color; + border-style: solid; + border-width: 1px 0 1px 0; + border-top-color: @borders; + border-bottom-color: shade (@theme_base_color, 0.96); + box-shadow: inset 0 1px 0 alpha (@borders, 0.3), inset 0 -1px 0 @borders; +} + +/* ie. pluma open dialog */ +.sidebar GtkTreeView row:hover { + background-color: shade (@theme_selected_bg_color, 1.15); + color: shade (@theme_selected_bg_color, 0.35); +} + +.sidebar GtkTreeView row:active: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 2a49c1a2..10dec9fc 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -113,10 +113,24 @@ 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; +} + +CajaWindow CajaPlacesSidebar row:active:hover, +CajaWindow CajaPlacesSidebar row:selected:hover, +CajaWindow CajaHistorySidebar row:active:hover, +CajaWindow CajaHistorySidebar row:selected:hover, +CajaWindow FMTreeView row:active:hover, +CajaWindow FMTreeView row:selected:hover { + color: shade (@theme_selected_fg_color, 1.00); } CajaWindow .rubberband, @@ -124,13 +138,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); @@ -139,16 +147,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 a7b16c01..27768eb8 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -3316,6 +3316,26 @@ GtkTreeView row:nth-child(even):backdrop:hover { background-color: shade (@theme_base_color, 0.96); } +.sidebar GtkTreeView row:backdrop:selected { + background-color: @theme_selected_bg_color; + border-style: solid; + border-width: 1px 0 1px 0; + border-top-color: @borders; + border-bottom-color: shade (@theme_base_color, 0.96); + box-shadow: inset 0 1px 0 alpha (@borders, 0.3), inset 0 -1px 0 @borders; +} + +/* ie. pluma open dialog */ +.sidebar GtkTreeView row:hover { + background-color: shade (@theme_selected_bg_color, 1.15); + color: shade (@theme_selected_bg_color, 0.35); +} + +.sidebar GtkTreeView row:active: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 b117b407..e255ff51 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -115,10 +115,24 @@ 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; +} + +CajaWindow CajaPlacesSidebar row:active:hover, +CajaWindow CajaPlacesSidebar row:selected:hover, +CajaWindow CajaHistorySidebar row:active:hover, +CajaWindow CajaHistorySidebar row:selected:hover, +CajaWindow FMTreeView row:active:hover, +CajaWindow FMTreeView row:selected:hover { + color: shade (@theme_selected_fg_color, 1.00); } CajaWindow .rubberband, @@ -126,14 +140,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); @@ -142,16 +149,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); } @@ -280,7 +287,6 @@ MatePanelApplet .button { background-image: none; background-color: @theme_bg_color; color: @theme_text_color; - border-image: none; border-style: solid; border-width: 0px; @@ -326,11 +332,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; } @@ -365,7 +370,7 @@ WnckTasklist .button:hover { } /* set normal menubar button */ -PanelMenuBar.menubar .menuitem:hover { +PanelMenuBar.menubar .menuitem { transition: all 200ms ease-out; } @@ -447,8 +452,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