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:
parent
6ca46961b2
commit
5ba146d937
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user