From 04b91afc84e80273bfe4aedb35ea7ac8b0fceb66 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 21 Sep 2015 20:44:36 +0200 Subject: change osd-button background-clip --- common/gtk-3.0/3.14/gtk-contained-dark.css | 4 +++- common/gtk-3.0/3.14/gtk-contained-darker.css | 4 +++- common/gtk-3.0/3.14/gtk-contained-solid-dark.css | 4 +++- common/gtk-3.0/3.14/gtk-contained-solid-darker.css | 4 +++- common/gtk-3.0/3.14/gtk-contained-solid.css | 4 +++- common/gtk-3.0/3.14/gtk-contained.css | 4 +++- common/gtk-3.0/3.14/sass/_common.scss | 3 ++- 7 files changed, 20 insertions(+), 7 deletions(-) (limited to 'common/gtk-3.0/3.14') 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 11bcbe3..2499318 100644 --- a/common/gtk-3.0/3.14/gtk-contained-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-dark.css @@ -373,6 +373,7 @@ GtkSearchEntry.entry { border-color: rgba(26, 28, 34, 0.35); background-color: rgba(119, 127, 151, 0.45); } .osd .button:active, .osd .button:checked { + background-clip: padding-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.35); @@ -2133,7 +2134,8 @@ GtkScrolledWindow GtkViewport.frame { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.35); - background-color: #5294E2; } + background-color: #5294E2; + background-clip: padding-box; } .app-notification .button:insensitive, .app-notification.frame .button:insensitive { color: #5d626e; 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 c331c7f..15f7519 100644 --- a/common/gtk-3.0/3.14/gtk-contained-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-darker.css @@ -372,6 +372,7 @@ GtkSearchEntry.entry { border-color: rgba(26, 28, 34, 0.35); background-color: rgba(119, 127, 151, 0.45); } .osd .button:active, .osd .button:checked { + background-clip: padding-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.35); @@ -2136,7 +2137,8 @@ GtkScrolledWindow GtkViewport.frame { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.35); - background-color: #5294E2; } + background-color: #5294E2; + background-clip: padding-box; } .app-notification .button:insensitive, .app-notification.frame .button:insensitive { color: #5d626e; 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 1450f38..72b79c0 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 @@ -373,6 +373,7 @@ GtkSearchEntry.entry { border-color: rgba(26, 28, 34, 0.4); background-color: rgba(119, 127, 151, 0.5); } .osd .button:active, .osd .button:checked { + background-clip: padding-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.4); @@ -2133,7 +2134,8 @@ GtkScrolledWindow GtkViewport.frame { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.4); - background-color: #5294E2; } + background-color: #5294E2; + background-clip: padding-box; } .app-notification .button:insensitive, .app-notification.frame .button:insensitive { color: #5d626e; 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 a407c70..8034ed4 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 @@ -372,6 +372,7 @@ GtkSearchEntry.entry { border-color: rgba(26, 28, 34, 0.4); background-color: rgba(119, 127, 151, 0.5); } .osd .button:active, .osd .button:checked { + background-clip: padding-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.4); @@ -2136,7 +2137,8 @@ GtkScrolledWindow GtkViewport.frame { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.4); - background-color: #5294E2; } + background-color: #5294E2; + background-clip: padding-box; } .app-notification .button:insensitive, .app-notification.frame .button:insensitive { color: #5d626e; 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 1ac9775..d119cc4 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid.css @@ -372,6 +372,7 @@ GtkSearchEntry.entry { border-color: rgba(26, 28, 34, 0.4); background-color: rgba(119, 127, 151, 0.5); } .osd .button:active, .osd .button:checked { + background-clip: padding-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.4); @@ -2136,7 +2137,8 @@ GtkScrolledWindow GtkViewport.frame { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.4); - background-color: #5294E2; } + background-color: #5294E2; + background-clip: padding-box; } .app-notification .button:insensitive, .app-notification.frame .button:insensitive { color: #5d626e; diff --git a/common/gtk-3.0/3.14/gtk-contained.css b/common/gtk-3.0/3.14/gtk-contained.css index 3cf97e9..fdf821d 100644 --- a/common/gtk-3.0/3.14/gtk-contained.css +++ b/common/gtk-3.0/3.14/gtk-contained.css @@ -372,6 +372,7 @@ GtkSearchEntry.entry { border-color: rgba(26, 28, 34, 0.35); background-color: rgba(119, 127, 151, 0.45); } .osd .button:active, .osd .button:checked { + background-clip: padding-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.35); @@ -2136,7 +2137,8 @@ GtkScrolledWindow GtkViewport.frame { color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: rgba(26, 28, 34, 0.35); - background-color: #5294E2; } + background-color: #5294E2; + background-clip: padding-box; } .app-notification .button:insensitive, .app-notification.frame .button:insensitive { color: #5d626e; diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index b714c40..9b0430f 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -475,6 +475,7 @@ $_dot_color: $selected_bg_color; @extend %linked; } &:active, &:checked { + background-clip: padding-box; @include button(osd-active); @extend %linked; } @@ -2300,7 +2301,7 @@ GtkScrolledWindow { &:insensitive { @extend %undecorated_button; } } &:hover { @include button(osd-hover); } - &:active, &:checked { @include button(osd-active); } + &:active, &:checked { @include button(osd-active); background-clip: padding-box; } &:insensitive { @include button(osd-insensitive); } } -- cgit v1.2.3