From cfd82ab455ec3c46e1bb2b2d6fda2afc80935135 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 12 Jul 2016 18:58:43 +0200 Subject: GTK+-3.20 Menta themes: style pavu-control fixes https://github.com/mate-desktop/mate-themes/issues/130 --- desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 12 +++++ desktop-themes/Menta/gtk-3.0/mate-applications.css | 10 +++++ .../Menta/gtk-3.0/other-applications.css | 51 ++++++++++++++++++++++ 3 files changed, 73 insertions(+) (limited to 'desktop-themes/Menta') diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 42daa2cc..e02d4c44 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -1932,6 +1932,10 @@ notebook { border-style: none; } +window.background > box.vertical > notebook, /* pavu-control */ +window.background.csd > box.vertical > notebook, +window.background.ssd > box.vertical > notebook, +window.background.solid-csd > box.vertical > notebook, notebook.frame { background-color: shade (@theme_bg_color, 1.1); border-style: solid; @@ -2064,6 +2068,10 @@ paned.horizontal notebook header.top tab { /* tabs ie. preferences windows */ /* horizontal tabs */ +window.background > box.vertical > notebook > header.top tab, /* pavu-control */ +window.background.csd > box.vertical > notebook > header.top tab, +window.background.ssd > box.vertical > notebook > header.top tab, +window.background.solid-csd > box.vertical > notebook > header.top tab, dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab, /* meld preferences */ dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab, dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab, @@ -2078,6 +2086,10 @@ notebook.frame header.bottom tab { border-color: @borders; } +window.background > box.vertical > notebook, /* pavu-control */ +window.background.csd > box.vertical > notebook, +window.background.ssd > box.vertical > notebook, +window.background.solid-csd > box.vertical > notebook, notebook.frame header.top tab { border-radius: 4px 4px 0px 0px; } diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index d5392474..43b50c6a 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -805,3 +805,13 @@ MsdOsdWindow.background.osd .progressbar { border-color: rgba(0,0,0,0.4); } +/***************** + * mate-terminal * + *****************/ + +/* override for pavu-control */ +window.background.mate-terminal > box.vertical > notebook { + border-style: none; + border-width: 0px; +} + diff --git a/desktop-themes/Menta/gtk-3.0/other-applications.css b/desktop-themes/Menta/gtk-3.0/other-applications.css index b51eea5c..3e72bd2f 100644 --- a/desktop-themes/Menta/gtk-3.0/other-applications.css +++ b/desktop-themes/Menta/gtk-3.0/other-applications.css @@ -465,3 +465,54 @@ window.background.yumex-dnf-window > box.vertical > box.vertical > box.horizonta background-color: @theme_bg_color; } +/**************** + * pavu-control * + ****************/ + +window.background > box.vertical > notebook button.flat.toggle, +window.background.csd > box.vertical > notebook button.flat.toggle, +window.background.ssd > box.vertical > notebook button.flat.toggle, +window.background.solid-csd > box.vertical > notebook button.flat.toggle { + border-radius: 4px; + border-width: 2px; + border-style: solid; + border-color: transparent; + background-color: transparent; +} + +window.background > box.vertical > notebook button.flat.toggle:checked, +window.background.csd > box.vertical > notebook button.flat.toggle:checked, +window.background.ssd > box.vertical > notebook button.flat.toggle:checked, +window.background.solid-csd > box.vertical > notebook button.flat.toggle:checked { + border-image: url("borders/button-active-focus.png") 3 4 5 4 / 3px 4px 5px 4px stretch; + background-image: linear-gradient(to bottom, + @button_active_gradient_color_a, + @button_active_gradient_color_b); +} + +window.background > box.vertical > notebook button.flat.toggle:checked:focus, +window.background.csd > box.vertical > notebook button.flat.toggle:checked:focus, +window.background.ssd > box.vertical > notebook button.flat.toggle:checked:focus, +window.background.solid-csd > box.vertical > notebook button.flat.toggle:checked:focus { + border-image: url("borders/button-focus.png") 3 4 4 4 / 3px 4px 4px 4px stretch; + background-image: linear-gradient(to bottom, + @button_active_gradient_color_a, + @button_active_gradient_color_b); +} + +window.background > box.vertical > notebook scrolledwindow, +window.background.csd > box.vertical > notebook scrolledwindow viewport, +window.background.ssd > box.vertical > notebook scrolledwindow viewport, +window.background.solid-csd > box.vertical > notebook scrolledwindow viewport { + border-style: solid; + border-color: @borders; + border-width: 1px; +} + +window.background > box.vertical > notebook scrolledwindow viewport, +window.background.csd > box.vertical > notebook scrolledwindow viewport, +window.background.ssd > box.vertical > notebook scrolledwindow viewport, +window.background.solid-csd > box.vertical > notebook scrolledwindow viewport { + background-color: shade (@theme_bg_color, 1.12); +} + -- cgit v1.2.1