Mercurial > repos > other > Adwaita-Dark-Green
changeset 35:04dc05eaaa71
Fix background of menu button in top-left of title bar
(Also, any other ".titlebar" buttons with popovers)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 01 Jan 2017 19:55:07 +0000 |
parents | 309d91bf7213 |
children | a1961ab3e70e |
files | gtk-3.20/gtk.css gtk-3.20/gtk.scss |
diffstat | 2 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk-3.20/gtk.css Sun Jan 01 19:30:59 2017 +0000 +++ b/gtk-3.20/gtk.css Sun Jan 01 19:55:07 2017 +0000 @@ -4641,13 +4641,15 @@ box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } - .titlebar:not(headerbar) button.flat:hover, .titlebar:not(headerbar) button.flat:active, .titlebar:not(headerbar) button.flat:backdrop, .titlebar:not(headerbar) button.titlebutton:hover, .titlebar:not(headerbar) button.titlebutton:active, .titlebar:not(headerbar) button.titlebutton:backdrop, + .titlebar:not(headerbar) button.flat:hover, .titlebar:not(headerbar) button.flat:active, .titlebar:not(headerbar) button.flat:backdrop, .titlebar:not(headerbar) button.flat:checked, .titlebar:not(headerbar) button.titlebutton:hover, .titlebar:not(headerbar) button.titlebutton:active, .titlebar:not(headerbar) button.titlebutton:backdrop, .titlebar:not(headerbar) button.titlebutton:checked, headerbar button.flat:hover, headerbar button.flat:active, headerbar button.flat:backdrop, + headerbar button.flat:checked, headerbar button.titlebutton:hover, headerbar button.titlebutton:active, - headerbar button.titlebutton:backdrop { + headerbar button.titlebutton:backdrop, + headerbar button.titlebutton:checked { color: #fff; } .titlebar:not(headerbar) button.flat:backdrop, .titlebar:not(headerbar) button.titlebutton:backdrop, headerbar button.flat:backdrop, @@ -4663,11 +4665,13 @@ text-shadow: 0 1px rgba(87, 87, 87, 0.5); -gtk-icon-shadow: 0 1px rgba(87, 87, 87, 0.5); box-shadow: inset 0 1px #575757, 0 1px #575757; } - .titlebar:not(headerbar) button:active, .titlebar:not(headerbar) button:checked, .titlebar:not(headerbar) button.titlebutton:active, .titlebar:not(headerbar) button.titlebutton:active:backdrop, + .titlebar:not(headerbar) button:active, .titlebar:not(headerbar) button:checked, .titlebar:not(headerbar) button.titlebutton:active, .titlebar:not(headerbar) button.titlebutton:active:backdrop, .titlebar:not(headerbar) button.titlebutton:checked, .titlebar:not(headerbar) button.titlebutton:checked:backdrop, headerbar button:active, headerbar button:checked, headerbar button.titlebutton:active, - headerbar button.titlebutton:active:backdrop { + headerbar button.titlebutton:active:backdrop, + headerbar button.titlebutton:checked, + headerbar button.titlebutton:checked:backdrop { color: #fff; outline-color: #575757; border-color: #303030;
--- a/gtk-3.20/gtk.scss Sun Jan 01 19:30:59 2017 +0000 +++ b/gtk-3.20/gtk.scss Sun Jan 01 19:55:07 2017 +0000 @@ -215,7 +215,7 @@ text-shadow: none; -gtk-icon-shadow: none; - &:hover, &:active, &:backdrop { + &:hover, &:active, &:backdrop, &:checked { color: $title_fg; } &:backdrop { @@ -234,7 +234,7 @@ } &:active, - &:checked, &.titlebutton:active, &.titlebutton:active:backdrop { + &:checked, &.titlebutton:active, &.titlebutton:active:backdrop, &.titlebutton:checked, &.titlebutton:checked:backdrop { color: $title_fg; outline-color: $header_button_raised_gradient_color_a; border-color: $header_button_border;