From a06d78bd72a87b84932653d877f1fa0c0da68529 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Fri, 1 Jan 2016 18:10:50 +0100 Subject: GTK3 submarine themes: adjust notebook tabs in pluma text area --- .../Blue-Submarine/gtk-3.0/mate-applications.css | 46 ++++++++++++---------- .../Green-Submarine/gtk-3.0/mate-applications.css | 46 ++++++++++++---------- 2 files changed, 50 insertions(+), 42 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css index 78674dbb..9a737a25 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -1040,33 +1040,37 @@ PlumaWindow .button.flat:hover { padding: 2px 5px; } -/* surpress styling of close button */ -PlumaWindow .notebook tab .button.flat, -PlumaWindow .notebook tab .button.flat:hover { - border-color: transparent; - background-color: transparent; - background-image: none; - box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0); - text-shadow: none; - icon-shadow: none; - border-image: none; +/* notebook text area */ +PlumaWindow .notebook { + border-style: none; + -GtkNotebook-tab-overlap: 1; } -PlumaCloseButton.button.flat, -PlumaCloseButton.button.flat:hover, -PlumaCloseButton:prelight.button.flat, -PlumaCloseButton:prelight.button.flat:hover { - padding: 1px; - -gtk-image-effect: highlight; +PlumaWindow .notebook tab.top { + border-radius: 4px 4px 0px 0px; + border-width: 1px 1px 0px 1px; + border-color: @notebook_border; + border-style: solid; + padding: 5px 4px; } -PlumaWindow .notebook.frame.top, -PlumaWindow .notebook.header.top { - border-width: 0px 0px 0px 0px; +PlumaWindow .notebook.header { + border-radius: 0px; + border-style: none; } -PlumaWindow .notebook tab.top { - padding: 8px 4px 7px 6px; +/* surpress styling of close button */ +PlumaWindow .notebook tab .button.flat { + background-image: none; + box-shadow: none; + padding: 1px; +} + +PlumaWindow .notebook tab .button.flat: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); } /* Printpreview */ diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css index 5b703ac9..a38a6596 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -1042,33 +1042,37 @@ PlumaWindow .button.flat:hover { padding: 2px 5px; } -/* surpress styling of close button */ -PlumaWindow .notebook tab .button.flat, -PlumaWindow .notebook tab .button.flat:hover { - border-color: transparent; - background-color: transparent; - background-image: none; - box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0); - text-shadow: none; - icon-shadow: none; - border-image: none; +/* notebook text area */ +PlumaWindow .notebook { + border-style: none; + -GtkNotebook-tab-overlap: 1; } -PlumaCloseButton.button.flat, -PlumaCloseButton.button.flat:hover, -PlumaCloseButton:prelight.button.flat, -PlumaCloseButton:prelight.button.flat:hover { - padding: 1px; - -gtk-image-effect: highlight; +PlumaWindow .notebook tab.top { + border-radius: 4px 4px 0px 0px; + border-width: 1px 1px 0px 1px; + border-color: @notebook_border; + border-style: solid; + padding: 5px 4px; } -PlumaWindow .notebook.frame.top, -PlumaWindow .notebook.header.top { - border-width: 0px 0px 0px 0px; +PlumaWindow .notebook.header { + border-radius: 0px; + border-style: none; } -PlumaWindow .notebook tab.top { - padding: 8px 4px 7px 6px; +/* surpress styling of close button */ +PlumaWindow .notebook tab .button.flat { + background-image: none; + box-shadow: none; + padding: 1px; +} + +PlumaWindow .notebook tab .button.flat: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); } /* Printpreview */ -- cgit v1.2.1