From 2cf6296376f8115ae37826a3e2374fec6ecd2cf6 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 14 Apr 2016 14:22:35 +0200 Subject: 3.14: fix fallback menu button transition --- common/gtk-3.0/3.14/gtk-dark.css | 6 +++--- common/gtk-3.0/3.14/gtk-darker.css | 6 +++--- common/gtk-3.0/3.14/gtk-solid-dark.css | 6 +++--- common/gtk-3.0/3.14/gtk-solid-darker.css | 6 +++--- common/gtk-3.0/3.14/gtk-solid.css | 6 +++--- common/gtk-3.0/3.14/gtk.css | 6 +++--- common/gtk-3.0/3.14/sass/_common.scss | 6 +++++- 7 files changed, 23 insertions(+), 19 deletions(-) (limited to 'common/gtk-3.0/3.14') diff --git a/common/gtk-3.0/3.14/gtk-dark.css b/common/gtk-3.0/3.14/gtk-dark.css index d66c8cd..185e859 100644 --- a/common/gtk-3.0/3.14/gtk-dark.css +++ b/common/gtk-3.0/3.14/gtk-dark.css @@ -2607,9 +2607,9 @@ GtkVolumeButton.button { .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:active:hover, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover { - border-color: transparent; - background-color: transparent; - background-image: none; } + background-image: none; + background-color: rgba(47, 52, 63, 0); + border-color: rgba(47, 52, 63, 0); } .header-bar .left GtkMenuButton.button.titlebutton:first-child:hover, .header-bar .left GtkMenuButton.button.titlebutton:first-child:backdrop:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover, diff --git a/common/gtk-3.0/3.14/gtk-darker.css b/common/gtk-3.0/3.14/gtk-darker.css index bd6c52e..99a0992 100644 --- a/common/gtk-3.0/3.14/gtk-darker.css +++ b/common/gtk-3.0/3.14/gtk-darker.css @@ -2610,9 +2610,9 @@ GtkVolumeButton.button { .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:active:hover, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover { - border-color: transparent; - background-color: transparent; - background-image: none; } + background-image: none; + background-color: rgba(47, 52, 63, 0); + border-color: rgba(47, 52, 63, 0); } .header-bar .left GtkMenuButton.button.titlebutton:first-child:hover, .header-bar .left GtkMenuButton.button.titlebutton:first-child:backdrop:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover, diff --git a/common/gtk-3.0/3.14/gtk-solid-dark.css b/common/gtk-3.0/3.14/gtk-solid-dark.css index 005fa7e..7282ea1 100644 --- a/common/gtk-3.0/3.14/gtk-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-solid-dark.css @@ -2607,9 +2607,9 @@ GtkVolumeButton.button { .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:active:hover, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover { - border-color: transparent; - background-color: transparent; - background-image: none; } + background-image: none; + background-color: rgba(47, 52, 63, 0); + border-color: rgba(47, 52, 63, 0); } .header-bar .left GtkMenuButton.button.titlebutton:first-child:hover, .header-bar .left GtkMenuButton.button.titlebutton:first-child:backdrop:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover, diff --git a/common/gtk-3.0/3.14/gtk-solid-darker.css b/common/gtk-3.0/3.14/gtk-solid-darker.css index f25dd32..1841e8e 100644 --- a/common/gtk-3.0/3.14/gtk-solid-darker.css +++ b/common/gtk-3.0/3.14/gtk-solid-darker.css @@ -2610,9 +2610,9 @@ GtkVolumeButton.button { .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:active:hover, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover { - border-color: transparent; - background-color: transparent; - background-image: none; } + background-image: none; + background-color: rgba(47, 52, 63, 0); + border-color: rgba(47, 52, 63, 0); } .header-bar .left GtkMenuButton.button.titlebutton:first-child:hover, .header-bar .left GtkMenuButton.button.titlebutton:first-child:backdrop:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover, diff --git a/common/gtk-3.0/3.14/gtk-solid.css b/common/gtk-3.0/3.14/gtk-solid.css index fb5dd35..5a47258 100644 --- a/common/gtk-3.0/3.14/gtk-solid.css +++ b/common/gtk-3.0/3.14/gtk-solid.css @@ -2610,9 +2610,9 @@ GtkVolumeButton.button { .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:active:hover, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover { - border-color: transparent; - background-color: transparent; - background-image: none; } + background-image: none; + background-color: rgba(231, 232, 235, 0); + border-color: rgba(231, 232, 235, 0); } .header-bar .left GtkMenuButton.button.titlebutton:first-child:hover, .header-bar .left GtkMenuButton.button.titlebutton:first-child:backdrop:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover, diff --git a/common/gtk-3.0/3.14/gtk.css b/common/gtk-3.0/3.14/gtk.css index d0f2631..18a4ed5 100644 --- a/common/gtk-3.0/3.14/gtk.css +++ b/common/gtk-3.0/3.14/gtk.css @@ -2610,9 +2610,9 @@ GtkVolumeButton.button { .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:active:hover, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop, .titlebar.selection-mode .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover { - border-color: transparent; - background-color: transparent; - background-image: none; } + background-image: none; + background-color: rgba(231, 232, 235, 0); + border-color: rgba(231, 232, 235, 0); } .header-bar .left GtkMenuButton.button.titlebutton:first-child:hover, .header-bar .left GtkMenuButton.button.titlebutton:first-child:backdrop:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:hover, .header-bar .left:dir(rtl) GtkMenuButton.button.titlebutton:last-child:backdrop:hover, diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index e8e7e2b..a38742e 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -2757,7 +2757,11 @@ GtkVolumeButton.button { padding: 8px; } color: $header_fg; &, &:hover, &:active:hover, - &:backdrop, &:backdrop:hover { @include button(undecorated); } + &:backdrop, &:backdrop:hover { + background-image: none; + background-color: transparentize($header_bg, 1); + border-color: transparentize($header_bg, 1); + } &:hover, &:backdrop:hover { @include button(header-hover); } &:active:hover, &:checked { @include button(header-active); } -- cgit v1.2.3