From 85cb3304f8e292ee9eaa0d576a7469d9a00de43b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 13 Sep 2015 21:19:36 +0200 Subject: GTK3 Green-Submarine: some improvements for nautilus, nemo and dconf-editor --- .../Green-Submarine/gtk-3.0/gnome-applications.css | 151 ++++++--------------- .../Green-Submarine/gtk-3.0/other-applications.css | 53 ++++++++ 2 files changed, 93 insertions(+), 111 deletions(-) (limited to 'desktop-themes/Green-Submarine/gtk-3.0') diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css index 0d5cc34f..529b7a3c 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css @@ -1,12 +1,4 @@ -/* -GeditWindow GtkLayout, -GeditWindow GtkExpander, -GeditWindow GtkAspectFrame, -GeditPanel -GeditDocumentsPanel -*/ - EphyWindow { background-image: -gtk-gradient (linear, left top, left bottom, @@ -14,18 +6,6 @@ EphyWindow { to (shade(@theme_bg_dark_color, 0.92))); } -/* FIXME fg color need to change too -GeditWindow GtkPaned { - background-image: -gtk-gradient (linear, - left top, left bottom, - from (shade(@theme_bg_dark_color, 0.95)), - to (shade(@theme_bg_dark_color, 0.90))); - box-shadow: inset 0px 2px shade(@theme_highlight_color, 1.00), - inset 0px 1px @theme_mdi_border_color; - -} -*/ - /* gedit line numbers */ GeditView { background-color: shade (@bg_color, 1.07); @@ -255,6 +235,16 @@ TerminalScreen { color: @selected_fg_color; } +/************* + * rhythmbox * + *************/ + +.primary-toolbar.toolbar.horizontal RBHeader.horizontal GtkVolumeButton.button.flat, +.primary-toolbar.toolbar.horizontal RBHeader.horizontal GtkVolumeButton.button.flat:active, +.primary-toolbar.toolbar.horizontal RBHeader.horizontal GtkVolumeButton.button.flat:hover { + padding: 0px 8px; +} + RBDisplayPageTree.frame { border-width: 0px 1px 1px 0px; } @@ -290,6 +280,10 @@ RBSource .toolbar .button *:checked:hover { text-shadow: 0 1px @theme_shadow_color; } +/************ + * Nautilus * + ************/ + .info, .question, NautilusFloatingBar, @@ -312,6 +306,24 @@ NautilusQueryEditor.info { inset 0px -1px alpha(#fff, 0.06); } +/* avoid unwanted background color */ +NautilusQueryEditor .search-bar .linked.raised .button:focus:checked:first-child, +NautilusQueryEditor .search-bar .linked.raised .button:focus:checked:last-child { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); +} + +/* remove right shadow */ +NautilusQueryEditor .search-bar .linked.raised .button.text-button:hover:first-child, +NautilusQueryEditor .search-bar .linked.raised .button.text-button:checked:first-child { + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px alpha(shade(@theme_selected_bg_color, 0.94), 0.80), + inset 0px -1px shade(@selected_bg_color, 0.93); +} + NautilusSearchBar .entry, NautilusSearchBar .entry:focus { -GtkEntry-inner-border: 1; @@ -456,60 +468,12 @@ NautilusWindow .sidebar .frame { border-bottom-width: 0; } -/* disabled, looks uggly -NautilusWindow > GtkTable > .pane-separator, -NautilusWindow .pane-separator { - background-color: @sidebar_background; - background-image: -gtk-gradient (linear, - left top, right top, - from (@sidebar_background), - color-stop(0.50, @sidebar_background), - to (shade(@theme_bg_color, 0.60))); - border-style: solid; - border-width: 0px; - border-color: @sidebar_background; - border-image: none; -}*/ - /* arrow/button in pathbar */ .toolbar .raised.linked .button:first-child { padding-left: 4px; padding-right: 1px; } -NautilusWindow .primary-toolbar.toolbar .button:active, -NautilusWindow .primary-toolbar.toolbar .button:active:hover, -NautilusWindow .primary-toolbar.toolbar .button:checked, -NautilusWindow .primary-toolbar.toolbar .button:checked:hover { - padding: 2px 4px; - background-color: transparent; - background-image: none; - border-width: 1px; - border-style: solid; - border-radius: 5px; - border-image: none; - border-color: transparent; - box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), - inset 1px 0px shade(@selected_bg_color, 0.97), - inset 0px -1px shade(@selected_bg_color, 0.93), - inset -1px 0px shade(@selected_bg_color, 0.93); -} - -NautilusWindow .primary-toolbar .toolbar .button:hover, -NautilusWindow .primary-toolbar.toolbar .button:hover { - background-color: transparent; - padding: 2px 4px; - background-image: none; - border-width: 1px; - border-radius: 5px; - border-style: solid; - border-color: transparent; - box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), - inset 1px 0px shade(@selected_bg_color, 0.97), - inset 0px -1px shade(@selected_bg_color, 0.93), - inset -1px 0px shade(@selected_bg_color, 0.93); -} - /* frame icons nautilus view */ NautilusView.frame { border-top-width: 0; @@ -624,70 +588,40 @@ NautilusWindow .notebook tab .button GtkImage:checked:hover { alpha(black, 0.13); } -/* -.baobab-toolbar.toolbar { - border-color: shade (@bg_color, 0.9); - border-style: solid; - border-width: 0 0 1px 0; - border-radius: 0; -} - -.cell.baobab-level-cell, -.cell.baobab-level-cell:hover, -.cell.baobab-level-cell:selected, -.cell.baobab-level-cell:selected:hover { - border-color: alpha (black, 0.06); - border-width: 1px; - border-style: solid; - background-color: @theme_base_color; -} -*/ - -ApDocView, /* Abiword */ -EogScrollView, /* Eog */ -CheeseThumbView /* Cheese */ -{ - background-color: @chrome_bg_color; - -EogScrollView-shadow-type: none; -} - -/* nautilus */ -.nemo-canvas-item, .nautilus-canvas-item { border-radius: 3px; } /* desktop mode */ -.nemo-desktop.nemo-canvas-item, .nautilus-desktop.nautilus-canvas-item { color: white; text-shadow: 1px 1px black; } -.nemo-desktop.nemo-canvas-item:active, .nautilus-desktop.nautilus-canvas-item:active, -.nemo-desktop.nemo-canvas-item:checked, .nautilus-desktop.nautilus-canvas-item:checked { background-image: none; color: @theme_text_color; } -.nemo-desktop.nemo-canvas-item:selected, .nautilus-desktop.nautilus-canvas-item:selected { color: @theme_selected_fg_color; } -.nemo-desktop.nemo-canvas-item:active, -.nemo-desktop.nemo-canvas-item:checked, -.nemo-desktop.nemo-canvas-item:prelight, -.nemo-desktop.nemo-canvas-item:selected, .nautilus-desktop.nautilus-canvas-item:active, -.nemo-desktop.nemo-canvas-item:checked, .nautilus-desktop.nautilus-canvas-item:prelight, .nautilus-desktop.nautilus-canvas-item:selected { text-shadow: none; } +ApDocView, /* Abiword */ +EogScrollView, /* Eog */ +CheeseThumbView /* Cheese */ +{ + background-color: @chrome_bg_color; + -EogScrollView-shadow-type: none; +} + /* Documents */ gnome_control_center GtkScrolledWindow.frame, GnomeControlCenter GtkScrolledWindow.frame, @@ -723,8 +657,3 @@ RemminaConnectionWindow .toolbar { border-image: none; } -/* dconf editor sidebar */ -DConfDirView.view { - background-color: shade (@theme_bg_color, 1.08); -} - diff --git a/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css index 8356dcbf..83d506c4 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css @@ -678,3 +678,56 @@ NemoWindow .notebook tab .button GtkImage:active:hover { border-radius: 4px; } +/**************** + * Dconf-editor * + ****************/ + +DConfDirView { + -GtkTreeView-expander-size: 12; /* arrow size in list/tree views */ +} + +/* dconf editor sidebar */ +DConfDirView.view, +DConfDirView.view row { + background-color: shade (@theme_bg_color, 1.08); +} + +DConfDirView.view row:selected, +DConfDirView.view row:selected:hover { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (shade(@sidebar_selected_bg, 0.90)), + color-stop (0.40, shade (@sidebar_selected_bg, 0.98)), + to (shade(@sidebar_selected_bg, 1.05))); + color: @theme_selected_fg_color; + border-radius: 6px; + border-style: solid; + border-width: 1px 0px 0px 0px; + border-color: shade (@sidebar_selected_bg, 0.90) #bbb shade (@sidebar_selected_bg, 1.05); + text-shadow: none; +} + +DConfDirView.view row:hover { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (shade(@theme_bg_color, 1.05)), + color-stop (0.40, shade (@theme_bg_color, 1.13)), + to (shade(@theme_bg_color, 1.10))); + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px shade(@selected_bg_color, 0.93), + inset 0px -1px shade(@selected_bg_color, 0.93); + color: shade (@theme_fg_color, 0.90); + border-radius: 6px; + text-shadow: none; +} + +/* the small line between sidebar and view */ +GtkApplicationWindow GtkPaned.horizontal { + -GtkPaned-handle-size: 3px; + border-color: transparent; + background-color: @theme_bg_color; +} + -- cgit v1.2.1