1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

add workaround for unreadable webkit buttons

This commit is contained in:
Horst3180 2015-07-15 12:27:03 +02:00
parent 6ca46961b2
commit 5ba146d937
14 changed files with 60 additions and 0 deletions

View File

@ -417,6 +417,12 @@ $_dot_color: $selected_bg_color;
@include button(active); @include button(active);
transition-duration: 50ms; transition-duration: 50ms;
} }
//Webkitgtk workaround start
&:active { color: $fg_color; }
&:active:hover, &:checked { color: $selected_fg_color; }
//Webkitgtk workaround end
&.flat:insensitive { &.flat:insensitive {
@include button(undecorated); @include button(undecorated);
} }

View File

@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #D3DAE3; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #D3DAE3; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkFlowBox .grid-child {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -417,6 +417,12 @@ $_dot_color: $selected_bg_color;
@include button(active); @include button(active);
transition-duration: 50ms; transition-duration: 50ms;
} }
//Webkitgtk workaround start
&:active { color: $fg_color; }
&:active:hover, &:checked { color: $selected_fg_color; }
//Webkitgtk workaround end
&.flat:insensitive { &.flat:insensitive {
@include button(undecorated); @include button(undecorated);
} }

View File

@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #D3DAE3; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #D3DAE3; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;

View File

@ -282,6 +282,10 @@ GtkTextView {
border-color: #5294E2; border-color: #5294E2;
background-color: #5294E2; background-color: #5294E2;
transition-duration: 50ms; } transition-duration: 50ms; }
.button:active {
color: #5c616c; }
.button:active:hover, .button:checked {
color: #ffffff; }
.button.flat:insensitive { .button.flat:insensitive {
border-color: transparent; border-color: transparent;
background-color: transparent; background-color: transparent;