From c39167d98e1fb4d48ea5e40e5839335f6eda16b1 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 10 Aug 2015 21:13:01 +0200 Subject: Gtk+-3.18 submarine themes: style yelp toolbar when use without headerbar --- .../Blue-Submarine/gtk-3.0/gnome-mdi.css | 31 ++++++++++++++++++++++ .../Green-Submarine/gtk-3.0/gnome-mdi.css | 31 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) (limited to 'desktop-themes') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gnome-mdi.css b/desktop-themes/Blue-Submarine/gtk-3.0/gnome-mdi.css index db443c2a..e75c41ed 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gnome-mdi.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gnome-mdi.css @@ -848,3 +848,34 @@ DConfDirView.view { background-color: shade (@theme_bg_color, 1.08); } +/* yelp without headerbar, since gtk+-3.18 */ + +YelpWindow .horizontal.toolbar.primary-toolbar { + padding: 3px; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button { + padding: 6px; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:focus { + box-shadow: none; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:hover { + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:first-child { + border-radius: 5px 0px 0px 5px; + border-right-width: 0px; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:last-child { + border-radius: 0px 5px 5px 0px; + border-left-width: 0px; +} + diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gnome-mdi.css b/desktop-themes/Green-Submarine/gtk-3.0/gnome-mdi.css index 9d775acf..d659fefa 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gnome-mdi.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gnome-mdi.css @@ -857,3 +857,34 @@ DConfDirView.view { background-color: shade (@theme_bg_color, 1.08); } +/* yelp without headerbar, since gtk+-3.18 */ + +YelpWindow .horizontal.toolbar.primary-toolbar { + padding: 3px; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button { + padding: 6px; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:focus { + box-shadow: none; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:hover { + 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); +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:first-child { + border-radius: 5px 0px 0px 5px; + border-right-width: 0px; +} + +YelpWindow .horizontal.toolbar.primary-toolbar .button.image-button:last-child { + border-radius: 0px 5px 5px 0px; + border-left-width: 0px; +} + -- cgit v1.2.1