aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0
diff options
context:
space:
mode:
authorHorst31802015-07-15 12:27:03 +0200
committerHorst31802015-07-15 12:27:03 +0200
commit5ba146d937acad414ac4539f8cf12c4dedbf033c (patch)
tree815cbc592c5df5daeb0b2de3ed9bf69ca26eb9fb /common/gtk-3.0
parent6ca46961b2975c5baaf098ed7dee7bd502e142c4 (diff)
downloadsolarc-theme-5ba146d937acad414ac4539f8cf12c4dedbf033c.tar.gz
solarc-theme-5ba146d937acad414ac4539f8cf12c4dedbf033c.tar.xz
solarc-theme-5ba146d937acad414ac4539f8cf12c4dedbf033c.zip
add workaround for unreadable webkit buttons
Diffstat (limited to 'common/gtk-3.0')
-rw-r--r--common/gtk-3.0/3.14/_common.scss6
-rw-r--r--common/gtk-3.0/3.14/gtk-contained-dark.css4
-rw-r--r--common/gtk-3.0/3.14/gtk-contained-darker.css4
-rw-r--r--common/gtk-3.0/3.14/gtk-contained-solid-dark.css4
-rw-r--r--common/gtk-3.0/3.14/gtk-contained-solid-darker.css4
-rw-r--r--common/gtk-3.0/3.14/gtk-contained-solid.css4
-rw-r--r--common/gtk-3.0/3.14/gtk-contained.css4
-rw-r--r--common/gtk-3.0/3.16/_common.scss6
-rw-r--r--common/gtk-3.0/3.16/gtk-contained-dark.css4
-rw-r--r--common/gtk-3.0/3.16/gtk-contained-darker.css4
-rw-r--r--common/gtk-3.0/3.16/gtk-contained-solid-dark.css4
-rw-r--r--common/gtk-3.0/3.16/gtk-contained-solid-darker.css4
-rw-r--r--common/gtk-3.0/3.16/gtk-contained-solid.css4
-rw-r--r--common/gtk-3.0/3.16/gtk-contained.css4
14 files changed, 60 insertions, 0 deletions
diff --git a/common/gtk-3.0/3.14/_common.scss b/common/gtk-3.0/3.14/_common.scss
index b691ee0..5d10ef0 100644
--- a/common/gtk-3.0/3.14/_common.scss
+++ b/common/gtk-3.0/3.14/_common.scss
@@ -417,6 +417,12 @@ $_dot_color: $selected_bg_color;
@include button(active);
transition-duration: 50ms;
}
+
+ //Webkitgtk workaround start
+ &:active { color: $fg_color; }
+ &:active:hover, &:checked { color: $selected_fg_color; }
+ //Webkitgtk workaround end
+
&.flat:insensitive {
@include button(undecorated);
}
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 3c3c731..5e5e9be 100644
--- a/common/gtk-3.0/3.14/gtk-contained-dark.css
+++ b/common/gtk-3.0/3.14/gtk-contained-dark.css
@@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #D3DAE3; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
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 b1968f4..bda733e 100644
--- a/common/gtk-3.0/3.14/gtk-contained-darker.css
+++ b/common/gtk-3.0/3.14/gtk-contained-darker.css
@@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
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 7fc06fa..979e46e 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
@@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #D3DAE3; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
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 c3a5dd2..9bce4a7 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
@@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
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 c145f9e..a4d2886 100644
--- a/common/gtk-3.0/3.14/gtk-contained-solid.css
+++ b/common/gtk-3.0/3.14/gtk-contained-solid.css
@@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
diff --git a/common/gtk-3.0/3.14/gtk-contained.css b/common/gtk-3.0/3.14/gtk-contained.css
index fe29c2e..1a5e28e 100644
--- a/common/gtk-3.0/3.14/gtk-contained.css
+++ b/common/gtk-3.0/3.14/gtk-contained.css
@@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
diff --git a/common/gtk-3.0/3.16/_common.scss b/common/gtk-3.0/3.16/_common.scss
index 5a38722..444a4aa 100644
--- a/common/gtk-3.0/3.16/_common.scss
+++ b/common/gtk-3.0/3.16/_common.scss
@@ -417,6 +417,12 @@ $_dot_color: $selected_bg_color;
@include button(active);
transition-duration: 50ms;
}
+
+ //Webkitgtk workaround start
+ &:active { color: $fg_color; }
+ &:active:hover, &:checked { color: $selected_fg_color; }
+ //Webkitgtk workaround end
+
&.flat:insensitive {
@include button(undecorated);
}
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 715df3c..477b983 100644
--- a/common/gtk-3.0/3.16/gtk-contained-dark.css
+++ b/common/gtk-3.0/3.16/gtk-contained-dark.css
@@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #D3DAE3; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
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 a4f6013..bd9b13c 100644
--- a/common/gtk-3.0/3.16/gtk-contained-darker.css
+++ b/common/gtk-3.0/3.16/gtk-contained-darker.css
@@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
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 866c82c..500a8d1 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
@@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #D3DAE3; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css
index 5907ea6..975abe6 100644
--- a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css
+++ b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css
@@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
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 06290ec..de26107 100644
--- a/common/gtk-3.0/3.16/gtk-contained-solid.css
+++ b/common/gtk-3.0/3.16/gtk-contained-solid.css
@@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;
diff --git a/common/gtk-3.0/3.16/gtk-contained.css b/common/gtk-3.0/3.16/gtk-contained.css
index 213ba89..876dda5 100644
--- a/common/gtk-3.0/3.16/gtk-contained.css
+++ b/common/gtk-3.0/3.16/gtk-contained.css
@@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2;
background-color: #5294E2;
transition-duration: 50ms; }
+ .button:active {
+ color: #5c616c; }
+ .button:active:hover, .button:checked {
+ color: #ffffff; }
.button.flat:insensitive {
border-color: transparent;
background-color: transparent;