From 78152b62cf74d705a805fd3df7efcc9ca9d63234 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 11 Aug 2015 12:01:03 +0200 Subject: Gtk-3.18 menta themes: adjust GtkFileChooser --- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 57 ++++++++++++++++-------- desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 36 ++++++++++++++- 2 files changed, 72 insertions(+), 21 deletions(-) diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index abfb1290..b6ca8b29 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -2208,6 +2208,10 @@ GtkFileChooserButton GtkImage:last-child { color: @internal_element_color; } +GtkFileChooserWidget.vertical GtkPaned.horizontal { + -GtkPaned-handle-size: 4px; +} + /************** * Scrollbars * **************/ @@ -2999,27 +3003,40 @@ GtkPlacesSidebar.sidebar .view { background-color: @sidebar_bg; } +.sidebar .frame { + border-style: none; +} + .sidebar:backdrop { background-color: @sidebar_bg; } -/* - GtkPlacesSidebar.sidebar .view .image { - color: #6b6f70; } - GtkPlacesSidebar.sidebar .view .image:selected { - color: #ecf3fb; } - GtkPlacesSidebar.sidebar .view .image:selected:backdrop { - color: #ecf3fb; } - GtkPlacesSidebar.sidebar .view .image:backdrop { - color: #adafb0; } - GtkPlacesSidebar.sidebar .view:backdrop { - color: #8d9091; } -*/ -/* -.sidebar .frame { - border-style: none; +/* dialog open */ +.sidebar.list, +.sidebar.list .button { + background-color: @sidebar_bg; +} + +.sidebar-revealer .sidebar-button.image-button.button { + background-color: transparent; + background-image: none; + border-image:none; + box-shadow: none; +} + +.sidebar.list .button { + padding: 4px 8px 4px 6px; +} + +.sidebar.list .button:hover { + background-color: shade (@theme_selected_bg_color, 1.15); + +} + +.sidebar.list .button .sidebar-label { + padding: 0px 8px; } -*/ + .sidebar row:hover { background-color: shade (@theme_selected_bg_color, 1.15); color: shade (@theme_selected_bg_color, 0.35); @@ -3872,7 +3889,7 @@ GtkIconView.cell:hover:focus { color: @theme_fg_color; } -/* ie. pluma open dialog */ +/* ie. filechooser dialog */ .view row:hover { background-color: shade (@theme_selected_bg_color, 1.55); color: shade (@theme_selected_bg_color, 0.35); @@ -3923,7 +3940,9 @@ row:selected:focus:backdrop { GtkTreeView row:nth-child(even), GtkTreeView row:nth-child(odd) { background-color: shade (@theme_base_color, 1.0); - box-shadow: inset 0 -1px 0 0 alpha (@theme_bg_color, 0.4); +/* since gtk+-3.18, better no shadow */ +/* box-shadow: inset 0 -1px 0 0 alpha (@theme_bg_color, 0.4); */ + box-shadow: none; } GtkTreeView row:nth-child(odd):hover, @@ -3945,7 +3964,7 @@ GtkTreeView row:nth-child(even):backdrop:hover { box-shadow: inset 0 1px 0 alpha (@borders, 0.3), inset 0 -1px 0 @borders; } -/* ie. pluma open dialog */ +/* ie. filechooser dialog */ .sidebar GtkTreeView row:hover { background-color: shade (@theme_selected_bg_color, 1.15); color: shade (@theme_selected_bg_color, 0.35); diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 7566eb63..e5b76004 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -2208,6 +2208,10 @@ GtkFileChooserButton GtkImage:last-child { color: @internal_element_color; } +GtkFileChooserWidget.vertical GtkPaned.horizontal { + -GtkPaned-handle-size: 4px; +} + /************** * Scrollbars * **************/ @@ -3007,6 +3011,32 @@ GtkMessageDialog { border-style: none; } +/* dialog open */ +.sidebar.list, +.sidebar.list .button { + background-color: @sidebar_bg; +} + +.sidebar-revealer .sidebar-button.image-button.button { + background-color: transparent; + background-image: none; + border-image:none; + box-shadow: none; +} + +.sidebar.list .button { + padding: 4px 8px 4px 6px; +} + +.sidebar.list .button:hover { + background-color: shade (@theme_selected_bg_color, 1.15); + +} + +.sidebar.list .button .sidebar-label { + padding: 0px 8px; +} + .sidebar row:hover { background-color: shade (@theme_selected_bg_color, 1.15); color: shade (@theme_selected_bg_color, 0.35); @@ -3863,7 +3893,7 @@ GtkIconView.cell:hover:focus { color: @theme_fg_color; } -/* ie. pluma open dialog */ +/* ie. filechooser dialog */ .view row:hover { background-color: shade (@theme_selected_bg_color, 1.30); color: shade (@theme_selected_bg_color, 0.35); @@ -3918,7 +3948,9 @@ row:selected:focus:backdrop { GtkTreeView row:nth-child(even), GtkTreeView row:nth-child(odd) { background-color: shade (@theme_base_color, 1.0); - box-shadow: inset 0 -1px 0 0 alpha (@theme_bg_color, 0.4); +/* since gtk+-3.18, better no shadow */ +/* box-shadow: inset 0 -1px 0 0 alpha (@theme_bg_color, 0.4); */ + box-shadow: none; } GtkTreeView row:nth-child(odd):hover, -- cgit v1.2.1