# HG changeset patch # User IBBoard # Date 1510605968 0 # Node ID aa6a1c6e24ad8dcb0a1a841420758fb272d2ef1c # Parent 486bdc94db573b94307c8512c86182090eb2a5e8 Reduce jump between focus and backdrop for "suggested action" button diff -r 486bdc94db57 -r aa6a1c6e24ad gtk-3.20/gtk.css --- a/gtk-3.20/gtk.css Mon Nov 13 20:45:16 2017 +0000 +++ b/gtk-3.20/gtk.css Mon Nov 13 20:46:08 2017 +0000 @@ -2086,7 +2086,7 @@ .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:active, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:checked, headerbar:not(.selection-mode) button.suggested-action:active, headerbar:not(.selection-mode) button.suggested-action:checked { color: white; outline-color: rgba(255, 255, 255, 0.3); border-color: #2b3a1d; background-image: image(#4f6a34); box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } -.titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop, headerbar:not(.selection-mode) button.suggested-action:backdrop, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop { border-color: #5E7F3E; background-image: image(#5E7F3E); text-shadow: none; -gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); } +.titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop, headerbar:not(.selection-mode) button.suggested-action:backdrop, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop { border-color: #5E7F3E; background-image: image(#5E7F3E); text-shadow: none; -gtk-icon-shadow: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); border-color: #2b3a1d; } .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action:backdrop, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop label, .titlebar:not(headerbar) headerbar:not(.selection-mode) button.suggested-action.flat:backdrop, headerbar:not(.selection-mode) button.suggested-action:backdrop label, headerbar:not(.selection-mode) button.suggested-action:backdrop, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop label, headerbar:not(.selection-mode) button.suggested-action.flat:backdrop { color: #dfe5d8; } diff -r 486bdc94db57 -r aa6a1c6e24ad gtk-3.20/gtk.scss --- a/gtk-3.20/gtk.scss Mon Nov 13 20:45:16 2017 +0000 +++ b/gtk-3.20/gtk.scss Mon Nov 13 20:46:08 2017 +0000 @@ -337,6 +337,7 @@ &:backdrop, &.flat:backdrop { @include button(backdrop, $selected_bg_color, white); + border-color: $selected_bg_border; &:active, &:checked { @include button(backdrop-active, $selected_bg_color, $insensitive_dark_fg_color); }