From 166d7be1b74c2005035cb123512fa92d1258fc25 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 14 Jul 2015 12:38:07 +0200 Subject: fix wingpanel v0.4.x indicator popovers --- common/gtk-3.0/3.14/_applications.scss | 28 ++++++++++++++++++++++ common/gtk-3.0/3.14/gtk-contained-dark.css | 20 ++++++++++++++++ common/gtk-3.0/3.14/gtk-contained-darker.css | 20 ++++++++++++++++ common/gtk-3.0/3.14/gtk-contained-solid-dark.css | 20 ++++++++++++++++ common/gtk-3.0/3.14/gtk-contained-solid-darker.css | 20 ++++++++++++++++ common/gtk-3.0/3.14/gtk-contained-solid.css | 20 ++++++++++++++++ common/gtk-3.0/3.14/gtk-contained.css | 20 ++++++++++++++++ common/gtk-3.0/3.16/_applications.scss | 28 ++++++++++++++++++++++ common/gtk-3.0/3.16/gtk-contained-dark.css | 20 ++++++++++++++++ common/gtk-3.0/3.16/gtk-contained-darker.css | 20 ++++++++++++++++ common/gtk-3.0/3.16/gtk-contained-solid-dark.css | 20 ++++++++++++++++ common/gtk-3.0/3.16/gtk-contained-solid-darker.css | 20 ++++++++++++++++ common/gtk-3.0/3.16/gtk-contained-solid.css | 20 ++++++++++++++++ common/gtk-3.0/3.16/gtk-contained.css | 20 ++++++++++++++++ 14 files changed, 296 insertions(+) diff --git a/common/gtk-3.0/3.14/_applications.scss b/common/gtk-3.0/3.14/_applications.scss index 8b47a33..db21334 100644 --- a/common/gtk-3.0/3.14/_applications.scss +++ b/common/gtk-3.0/3.14/_applications.scss @@ -635,6 +635,34 @@ MarlinViewWindow *:selected:focus { .panel .menu .spinner, .menu .spinner { opacity: 1 } // Fixes sound indicator buttons +// +// Wingpanel Popover +// +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + + text-shadow: none; + icon-shadow: none; + + .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; + + GtkLabel, GtkImage { padding: 0 3px; } + + &:hover, &:active { + background-color: if($variant == 'light', transparentize(black, 0.96), transparentize(white, 0.95)); + border: solid if($variant == 'light', transparentize(black, 0.92), transparentize(white, 0.93)); + border-width: 1px 0; + } + *:insensitive { color: $insensitive_fg_color; } + } +} + // // Pantheon Terminal // diff --git a/common/gtk-3.0/3.14/gtk-contained-dark.css b/common/gtk-3.0/3.14/gtk-contained-dark.css index dbb32a7..2ac0e45 100644 --- a/common/gtk-3.0/3.14/gtk-contained-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-dark.css @@ -2912,6 +2912,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(255, 255, 255, 0.05); + border: solid rgba(255, 255, 255, 0.07); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(211, 218, 227, 0.45); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.14/gtk-contained-darker.css b/common/gtk-3.0/3.14/gtk-contained-darker.css index 4f272c8..7ca8af5 100644 --- a/common/gtk-3.0/3.14/gtk-contained-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-darker.css @@ -2913,6 +2913,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css index e1bcbcd..7b7786c 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css @@ -2912,6 +2912,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(255, 255, 255, 0.05); + border: solid rgba(255, 255, 255, 0.07); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(211, 218, 227, 0.45); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css index 3a9bbdd..f82c0d9 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css @@ -2913,6 +2913,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.14/gtk-contained-solid.css b/common/gtk-3.0/3.14/gtk-contained-solid.css index 3a8b881..6db6891 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid.css @@ -2912,6 +2912,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.14/gtk-contained.css b/common/gtk-3.0/3.14/gtk-contained.css index efcc9b2..041c699 100644 --- a/common/gtk-3.0/3.14/gtk-contained.css +++ b/common/gtk-3.0/3.14/gtk-contained.css @@ -2912,6 +2912,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.16/_applications.scss b/common/gtk-3.0/3.16/_applications.scss index 5166251..dc5b3cb 100644 --- a/common/gtk-3.0/3.16/_applications.scss +++ b/common/gtk-3.0/3.16/_applications.scss @@ -679,6 +679,34 @@ MarlinViewWindow *:selected:focus { .panel .menu .spinner, .menu .spinner { opacity: 1 } // Fixes sound indicator buttons +// +// Wingpanel Popover +// +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + + text-shadow: none; + icon-shadow: none; + + .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; + + GtkLabel, GtkImage { padding: 0 3px; } + + &:hover, &:active { + background-color: if($variant == 'light', transparentize(black, 0.96), transparentize(white, 0.95)); + border: solid if($variant == 'light', transparentize(black, 0.92), transparentize(white, 0.93)); + border-width: 1px 0; + } + *:insensitive { color: $insensitive_fg_color; } + } +} + // // Pantheon Terminal // diff --git a/common/gtk-3.0/3.16/gtk-contained-dark.css b/common/gtk-3.0/3.16/gtk-contained-dark.css index a4fb9bf..8f86c8f 100644 --- a/common/gtk-3.0/3.16/gtk-contained-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-dark.css @@ -2878,6 +2878,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(255, 255, 255, 0.05); + border: solid rgba(255, 255, 255, 0.07); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(211, 218, 227, 0.45); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.16/gtk-contained-darker.css b/common/gtk-3.0/3.16/gtk-contained-darker.css index 2d1c978..9090a8d 100644 --- a/common/gtk-3.0/3.16/gtk-contained-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-darker.css @@ -2879,6 +2879,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css index 4fe868f..948d640 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css @@ -2878,6 +2878,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(255, 255, 255, 0.05); + border: solid rgba(255, 255, 255, 0.07); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(211, 218, 227, 0.45); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css index dd734d5..e1f2f5a 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css @@ -2879,6 +2879,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.16/gtk-contained-solid.css b/common/gtk-3.0/3.16/gtk-contained-solid.css index 1432e45..f932850 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid.css @@ -2878,6 +2878,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { diff --git a/common/gtk-3.0/3.16/gtk-contained.css b/common/gtk-3.0/3.16/gtk-contained.css index 7c41813..896781c 100644 --- a/common/gtk-3.0/3.16/gtk-contained.css +++ b/common/gtk-3.0/3.16/gtk-contained.css @@ -2878,6 +2878,26 @@ MarlinViewWindow *:selected:focus { .menu .spinner { opacity: 1; } +WingpanelWidgetsIndicatorPopover.popover { + padding: 0; + text-shadow: none; + icon-shadow: none; } + WingpanelWidgetsIndicatorPopover.popover .menuitem { + padding: 5px; + outline-color: transparent; + text-shadow: none; + icon-shadow: none; + border: solid transparent; + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem GtkLabel, WingpanelWidgetsIndicatorPopover.popover .menuitem GtkImage { + padding: 0 3px; } + WingpanelWidgetsIndicatorPopover.popover .menuitem:hover, WingpanelWidgetsIndicatorPopover.popover .menuitem:active { + background-color: rgba(0, 0, 0, 0.04); + border: solid rgba(0, 0, 0, 0.08); + border-width: 1px 0; } + WingpanelWidgetsIndicatorPopover.popover .menuitem *:insensitive { + color: rgba(92, 97, 108, 0.55); } + PantheonTerminalPantheonTerminalWindow.background { background-color: transparent; } PantheonTerminalPantheonTerminalWindow.background .notebook.header.top { -- cgit v1.2.3