diff options
author | Horst3180 | 2015-07-09 14:20:47 +0200 |
---|---|---|
committer | Horst3180 | 2015-07-09 14:25:30 +0200 |
commit | a68987ad7d8eeea4de5e813a0c9e0703d05b65a6 (patch) | |
tree | b17c458ec0d1016e928a4e3aed8578f962f21fd2 /common/gtk-3.0/3.16 | |
parent | df68c96436454764b1d5b28201c306c68dae0d6b (diff) | |
download | solarc-theme-a68987ad7d8eeea4de5e813a0c9e0703d05b65a6.tar.gz solarc-theme-a68987ad7d8eeea4de5e813a0c9e0703d05b65a6.tar.xz solarc-theme-a68987ad7d8eeea4de5e813a0c9e0703d05b65a6.zip |
fix background-clip on buttons and entries
Diffstat (limited to 'common/gtk-3.0/3.16')
-rw-r--r-- | common/gtk-3.0/3.16/_common.scss | 7 | ||||
-rw-r--r-- | common/gtk-3.0/3.16/gtk-contained-dark.css | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.16/gtk-contained-darker.css | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.16/gtk-contained-solid-dark.css | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.16/gtk-contained-solid.css | 5 | ||||
-rw-r--r-- | common/gtk-3.0/3.16/gtk-contained.css | 5 |
6 files changed, 20 insertions, 12 deletions
diff --git a/common/gtk-3.0/3.16/_common.scss b/common/gtk-3.0/3.16/_common.scss index 1b15c33..b4832dc 100644 --- a/common/gtk-3.0/3.16/_common.scss +++ b/common/gtk-3.0/3.16/_common.scss @@ -232,7 +232,10 @@ GtkTextView { // This will get overridden by .view, needed by gedit line numbers border-radius: 0; } - &:focus { @include entry(focus); } + &:focus { + background-clip: border-box; + @include entry(focus); + } &:insensitive { @include entry(insensitive); } @@ -410,6 +413,7 @@ $_dot_color: $selected_bg_color; -gtk-image-effect: highlight; } &:active, &:checked { + background-clip: border-box; @include button(active); transition-duration: 50ms; } @@ -1189,7 +1193,6 @@ GtkComboBox { &:focus { @include entry(header-focus); - background-clip: border-box; &.image { color: $selected_fg_color; } } diff --git a/common/gtk-3.0/3.16/gtk-contained-dark.css b/common/gtk-3.0/3.16/gtk-contained-dark.css index 3c7f2de..1764f6a 100644 --- a/common/gtk-3.0/3.16/gtk-contained-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-dark.css @@ -157,6 +157,7 @@ GtkTextView { border: none; border-radius: 0; } .entry:focus { + background-clip: border-box; color: #D3DAE3; border-color: #5294E2; background-color: #383c45; @@ -275,6 +276,7 @@ GtkTextView { background-color: #3d414b; -gtk-image-effect: highlight; } .button:active, .button:checked { + background-clip: border-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #5294E2; @@ -899,8 +901,7 @@ GtkComboBox { .primary-toolbar .entry:focus, .header-bar .entry:focus { color: #ffffff; border-color: #5294E2; - background-image: linear-gradient(to bottom, #5294E2); - background-clip: border-box; } + background-image: linear-gradient(to bottom, #5294E2); } .primary-toolbar .entry:focus.image, .header-bar .entry:focus.image { color: #ffffff; } .primary-toolbar .entry:insensitive, .header-bar .entry:insensitive { diff --git a/common/gtk-3.0/3.16/gtk-contained-darker.css b/common/gtk-3.0/3.16/gtk-contained-darker.css index 7d59919..2ef74c8 100644 --- a/common/gtk-3.0/3.16/gtk-contained-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-darker.css @@ -157,6 +157,7 @@ GtkTextView { border: none; border-radius: 0; } .entry:focus { + background-clip: border-box; color: #5c616c; border-color: #5294E2; background-color: #ffffff; @@ -275,6 +276,7 @@ GtkTextView { background-color: #fbfbfc; -gtk-image-effect: highlight; } .button:active, .button:checked { + background-clip: border-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #5294E2; @@ -899,8 +901,7 @@ GtkComboBox { .primary-toolbar .entry:focus, .header-bar .entry:focus { color: #ffffff; border-color: #5294E2; - background-image: linear-gradient(to bottom, #5294E2); - background-clip: border-box; } + background-image: linear-gradient(to bottom, #5294E2); } .primary-toolbar .entry:focus.image, .header-bar .entry:focus.image { color: #ffffff; } .primary-toolbar .entry:insensitive, .header-bar .entry:insensitive { diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css index 84f29d8..ca862be 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css @@ -157,6 +157,7 @@ GtkTextView { border: none; border-radius: 0; } .entry:focus { + background-clip: border-box; color: #D3DAE3; border-color: #5294E2; background-color: #383c45; @@ -275,6 +276,7 @@ GtkTextView { background-color: #3d414b; -gtk-image-effect: highlight; } .button:active, .button:checked { + background-clip: border-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #5294E2; @@ -899,8 +901,7 @@ GtkComboBox { .primary-toolbar .entry:focus, .header-bar .entry:focus { color: #ffffff; border-color: #5294E2; - background-image: linear-gradient(to bottom, #5294E2); - background-clip: border-box; } + background-image: linear-gradient(to bottom, #5294E2); } .primary-toolbar .entry:focus.image, .header-bar .entry:focus.image { color: #ffffff; } .primary-toolbar .entry:insensitive, .header-bar .entry:insensitive { diff --git a/common/gtk-3.0/3.16/gtk-contained-solid.css b/common/gtk-3.0/3.16/gtk-contained-solid.css index 0b8785a..e71b521 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid.css @@ -157,6 +157,7 @@ GtkTextView { border: none; border-radius: 0; } .entry:focus { + background-clip: border-box; color: #5c616c; border-color: #5294E2; background-color: #ffffff; @@ -275,6 +276,7 @@ GtkTextView { background-color: #fbfbfc; -gtk-image-effect: highlight; } .button:active, .button:checked { + background-clip: border-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #5294E2; @@ -899,8 +901,7 @@ GtkComboBox { .primary-toolbar .entry:focus, .header-bar .entry:focus { color: #ffffff; border-color: #5294E2; - background-image: linear-gradient(to bottom, #5294E2); - background-clip: border-box; } + background-image: linear-gradient(to bottom, #5294E2); } .primary-toolbar .entry:focus.image, .header-bar .entry:focus.image { color: #ffffff; } .primary-toolbar .entry:insensitive, .header-bar .entry:insensitive { diff --git a/common/gtk-3.0/3.16/gtk-contained.css b/common/gtk-3.0/3.16/gtk-contained.css index 49ad599..a685262 100644 --- a/common/gtk-3.0/3.16/gtk-contained.css +++ b/common/gtk-3.0/3.16/gtk-contained.css @@ -157,6 +157,7 @@ GtkTextView { border: none; border-radius: 0; } .entry:focus { + background-clip: border-box; color: #5c616c; border-color: #5294E2; background-color: #ffffff; @@ -275,6 +276,7 @@ GtkTextView { background-color: #fbfbfc; -gtk-image-effect: highlight; } .button:active, .button:checked { + background-clip: border-box; color: #ffffff; outline-color: rgba(255, 255, 255, 0.3); border-color: #5294E2; @@ -899,8 +901,7 @@ GtkComboBox { .primary-toolbar .entry:focus, .header-bar .entry:focus { color: #ffffff; border-color: #5294E2; - background-image: linear-gradient(to bottom, #5294E2); - background-clip: border-box; } + background-image: linear-gradient(to bottom, #5294E2); } .primary-toolbar .entry:focus.image, .header-bar .entry:focus.image { color: #ffffff; } .primary-toolbar .entry:insensitive, .header-bar .entry:insensitive { |