From 041b419ba42e834bf3922d3c104dd65da379353a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 22 Mar 2017 08:46:16 +0100 Subject: Gtk+-3.22 Submarine themes: re-work borders for frames fix for firefox lcation entry --- .../Green-Submarine/gtk-3.0/gtk-widgets.css | 57 +++++++--------------- .../Green-Submarine/gtk-3.0/mate-applications.css | 15 ++++-- 2 files changed, 29 insertions(+), 43 deletions(-) (limited to 'desktop-themes/Green-Submarine') diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css index ae9cc18b..02bfe898 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -48,7 +48,6 @@ window { *:active { /* background-color: alpha(shade(@theme_selected_bg_color, 1.90), 0.015);*/ - } *:hover:active:disabled { @@ -246,10 +245,6 @@ statusbar { font-size: smaller; } -statusbar frame { - border-style: none; -} - .dnd { border-width: 1px; border-style: solid; @@ -901,26 +896,20 @@ scale.vertical.color.marks-after.fine-tune slider { * Frames * **********/ -frame { - padding: 2px; +.frame, +frame > border { /* firefox location entry */ + padding: 0px; border-width: 1px; border-radius: 4px; border-style: solid; - border-color: shade (@theme_bg_color, 0.85); - border-top-color: shade(@notebook_border, 1.25); - border-left-color: shade(@notebook_border, 1.25); - border-right-color: shade(@notebook_border, 1.25); - border-bottom-color: shade(@notebook_border, 1.25); + border-color: shade (@theme_bg_color, 0.85); color: mix(@theme_selected_bg_color, @theme_fg_color, 0.70); } -/* only render frames in a GtkScrolledWindow */ -scrolledwindow.frame { - border-width: 1px; - border-radius: 0; - border-style: solid; - border-color: shade (@theme_bg_color, 0.85); - padding: 0px; +.frame.flat, +frame > border.flat, +overlay > frame > border { + border-style: none; } /*********** @@ -3464,11 +3453,6 @@ notebook.frame { border-radius: 4px 4px 0px 0px; } -notebook.frame frame { - border-style: none; - border-width: 0px; -} - /* pavu-control */ window.background > box.vertical > notebook:not(.frame), window.background.csd > box.vertical > notebook:not(.frame), @@ -4925,20 +4909,9 @@ messagedialog { padding: 0; } -/* ie. mate-keyboard-properties option window or pluma preferences */ -dialog notebook.frame box.vertical > box.vertical > scrolledwindow.frame, -dialog notebook.frame box.vertical > box.vertical > box.horizontal box.vertical > scrolledwindow.frame { - border-color: @notebook_border; - border-style: solid; - border-width: 1px; - border-radius: 2px; -} - /* ie. caja properties-window notes tab */ -dialog notebook.frame scrolledwindow.frame { +dialog notebook.frame > stack > scrolledwindow.frame { border-style: none; - border-width: 0px; - border-radius: 0px; } /* credits in GtkAbout windows */ @@ -6624,10 +6597,16 @@ undershoot.right { * GtkStack * ************/ -stack .horizontal .vertical frame { +stack > .horizontal > .vertical > frame > border { background-color: shade (@theme_bg_color, 1.1); - border-width: 1px; - border-color: @notebook_border; + border-radius: 4px; +} + +stacksidebar.sidebar, +stacksidebar.sidebar > scrolledwindow, +stacksidebar.sidebar > scrolledwindow > viewport.frame, +stacksidebar.sidebar > scrolledwindow > viewport.frame list { + border-radius: 4px 0px 0px 4px; } stacksidebar.sidebar list row.activatable:hover { 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 975fe944..100615f1 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -255,6 +255,10 @@ paned.horizontal > box.vertical.caja-side-pane > notebook scrolledwindow.frame { /* eventbars, ie. search results */ .caja-notebook box.vertical frame { background-color: shade (@theme_bg_color, 1.02); +} + +/* needed as this is used for firefox locationbar */ +.caja-notebook box.vertical > frame > border { border-style: none; border-radius: 0px; } @@ -264,7 +268,7 @@ paned.horizontal > box.vertical.caja-side-pane > notebook scrolledwindow.frame { border-color: @notebook_border; border-width: 1px; border-style: solid; - border-radius: 4px; + border-radius: 4px 4px 0px 0px; } .caja-notebook #caja-extra-view-widget button.flat { @@ -704,17 +708,20 @@ na-tray-applet > widget > box { .mate-panel-applet-slider frame { background-color: rgba(0,0,0,0.5); - border-image: none; - border-style: none; - border-radius:4px; padding: 1px; margin: 0px; + border-radius:4px; 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); } +.mate-panel-applet-slider frame border { + border-image: none; + border-style: none; +} + .mate-panel-applet-slider frame frame { background-color:transparent; box-shadow: none; -- cgit v1.2.1