# HG changeset patch # User IBBoard # Date 1480452352 0 # Node ID 156b2c122b1f941e690ac975c89a3448b9a42a04 # Parent cf107670260dfaa4a253cc3bdda23ea6be6d22ad Remove border from flat/title buttons when in ":backdrop" diff -r cf107670260d -r 156b2c122b1f gtk-3.20/gtk.css --- a/gtk-3.20/gtk.css Tue Nov 29 20:36:18 2016 +0000 +++ b/gtk-3.20/gtk.css Tue Nov 29 20:45:52 2016 +0000 @@ -4649,6 +4649,10 @@ headerbar button.titlebutton:active, headerbar button.titlebutton:backdrop { color: #fff; } + .titlebar:not(headerbar) button.flat:backdrop, .titlebar:not(headerbar) button.titlebutton:backdrop, + headerbar button.flat:backdrop, + headerbar button.titlebutton:backdrop { + border-color: transparent; } .titlebar:not(headerbar) button:hover, .titlebar:not(headerbar) button.titlebutton:hover, headerbar button:hover, headerbar button.titlebutton:hover { @@ -4671,8 +4675,7 @@ text-shadow: 0 1px rgba(87, 87, 87, 0.5); icon-shadow: 0 1px rgba(87, 87, 87, 0.5); box-shadow: inset 0 1px rgba(87, 87, 87, 0.3), 0 1px #575757; } - .titlebar:not(headerbar) button:backdrop.flat, .titlebar:not(headerbar) button:backdrop, - headerbar button:backdrop.flat, + .titlebar:not(headerbar) button:backdrop, headerbar button:backdrop { color: #dddddd; background-image: none; @@ -4683,17 +4686,13 @@ icon-shadow: none; transition: 200ms ease-out; -gtk-icon-effect: none; } - .titlebar:not(headerbar) button:backdrop.flat:active, .titlebar:not(headerbar) button:backdrop.flat:checked, .titlebar:not(headerbar) button:backdrop:active, .titlebar:not(headerbar) button:backdrop:checked, - headerbar button:backdrop.flat:active, - headerbar button:backdrop.flat:checked, + .titlebar:not(headerbar) button:backdrop:active, .titlebar:not(headerbar) button:backdrop:checked, headerbar button:backdrop:active, headerbar button:backdrop:checked { background-image: none; background-color: #303030; border-color: #303030; } - .titlebar:not(headerbar) button:backdrop.flat:disabled, .titlebar:not(headerbar) button:backdrop.flat.suggested-action:disabled, .titlebar:not(headerbar) button:backdrop:disabled, .titlebar:not(headerbar) button:backdrop.suggested-action:disabled, - headerbar button:backdrop.flat:disabled, - headerbar button:backdrop.flat.suggested-action:disabled, + .titlebar:not(headerbar) button:backdrop:disabled, .titlebar:not(headerbar) button:backdrop.suggested-action:disabled, headerbar button:backdrop:disabled, headerbar button:backdrop.suggested-action:disabled { color: #8d8d8d; diff -r cf107670260d -r 156b2c122b1f gtk-3.20/gtk.scss --- a/gtk-3.20/gtk.scss Tue Nov 29 20:36:18 2016 +0000 +++ b/gtk-3.20/gtk.scss Tue Nov 29 20:45:52 2016 +0000 @@ -220,6 +220,9 @@ &:hover, &:active, &:backdrop { color: $title_fg; } + &:backdrop { + border-color: transparent; + } } &:hover, &.titlebutton:hover { @@ -244,7 +247,6 @@ } &:backdrop { - &.flat, & { color: $fg_dark_color; background-image: none; background-color: $bg_dark_color; @@ -273,7 +275,6 @@ &:active, &:checked { } } - } } &.flat { &:backdrop, &:disabled, &:backdrop:disabled { }}