mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-10 04:21:07 +00:00
fixed special buttons foreground color, plus adjusted backdrop selected color
This commit is contained in:
parent
9d17a971ad
commit
6c1ab52306
10 changed files with 348 additions and 335 deletions
|
|
@ -630,7 +630,11 @@ button {
|
|||
}
|
||||
|
||||
@at-root %button_basic_flat,
|
||||
&.flat { &:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }}
|
||||
&.flat {
|
||||
&:backdrop, &:disabled, &:backdrop:disabled { @include button(undecorated); }
|
||||
&:disabled, &:backdrop:disabled { background-color: $insensitive_bg_color;}
|
||||
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
@include button(insensitive);
|
||||
|
|
@ -756,6 +760,7 @@ button {
|
|||
|
||||
&:disabled {
|
||||
@include button(insensitive);
|
||||
background-color: $insensitive_bg_color;
|
||||
background-image: none;
|
||||
border-color: transparent;
|
||||
box-shadow: none;
|
||||
|
|
@ -772,7 +777,7 @@ button {
|
|||
@each $b_type, $b_color in (suggested-action, $suggested_bg_color),
|
||||
(destructive-action, $destructive_color) {
|
||||
&.#{$b_type} {
|
||||
@include button(normal, $b_color, white);
|
||||
@include button(normal, $b_color, if(lightness($b_color)>50%, black, white));
|
||||
|
||||
&.flat {
|
||||
@include button(undecorated);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue