From 477ac2b085f172a1eb66a00997e63f2d066ac776 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 13 Sep 2015 20:28:25 +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 | 32 ++--- 2 files changed, 55 insertions(+), 128 deletions(-) (limited to 'desktop-themes/Green-Submarine') 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 8e01d9fc..5eeadd24 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,54 +468,6 @@ 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; -}*/ - -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; @@ -618,70 +582,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, @@ -717,8 +651,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 805e0321..3c0cc70e 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css @@ -181,8 +181,11 @@ NemoWindow .sidebar .scrollbar.trough { } /* the small line between sidebar and view */ -NemoWindow * { - -GtkPaned-handle-size: 3px; +NemoWindow GtkPaned.horizontal { + border-color: shade(@theme_bg_color, 0.80); + border-style: solid; + border-width: 0px 1px 0px 0px; + -GtkPaned-handle-size: 4px; } NemoWindow .sidebar .frame { @@ -236,21 +239,6 @@ NemoWindow FMTreeView .view row:hover { padding: 4px; } -/* disabled, looks uggly -NemoWindow > GtkTable > .pane-separator, -NemoWindow .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; -}*/ - /* to avoid unexpected light backgrounds */ NemoToolbar.vertical { background-color: @theme_bg_dark_color; @@ -706,6 +694,16 @@ NemoWindow .notebook tab .button GtkImage:active:hover { * 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, -- cgit v1.2.1