mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-10 04:21:07 +00:00
Added gtk2; changed selected background
This commit is contained in:
parent
1ea52cab6b
commit
9d17a971ad
7 changed files with 725 additions and 290 deletions
|
|
@ -1363,8 +1363,8 @@ infobar {
|
|||
}
|
||||
|
||||
&.action:hover > revealer > box {
|
||||
background-color: if($variant == 'light', desaturate(lighten(invert($selected_bg_color), 47%), 30%),
|
||||
desaturate(darken(invert($selected_bg_color), 42%), 70%));
|
||||
//background-color: if($variant == 'light', desaturate(lighten(invert($selected_bg_color), 47%), 30%),
|
||||
// desaturate(darken(invert($selected_bg_color), 42%), 70%));
|
||||
}
|
||||
|
||||
&.info,
|
||||
|
|
@ -1373,8 +1373,15 @@ infobar {
|
|||
&.error {
|
||||
> revealer > box {
|
||||
border-bottom: 1px solid lighten($borders_color, 5%);
|
||||
background-color: if($variant == 'light', desaturate(lighten(invert($selected_bg_color), 45%), 30%),
|
||||
desaturate(darken(invert($selected_bg_color), 40%), 70%));
|
||||
//background-color: if($variant == 'light', desaturate(lighten(invert($selected_bg_color), 45%), 30%),
|
||||
// desaturate(darken(invert($selected_bg_color), 40%), 70%));
|
||||
|
||||
$_bg_info_bar: desaturate(invert($selected_bg_color), 30%);
|
||||
|
||||
@if $variant == 'light' { $_bg_info_bar: if(lightness($_bg_info_bar) < 50%, lighten($_bg_info_bar, 30%), $_bg_info_bar);}
|
||||
@else {$_bg_info_bar: if(lightness($_bg_info_bar) > 50%, darken($_bg_info_bar, 30%), $_bg_info_bar);}
|
||||
|
||||
background-color: $_bg_info_bar;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2536,7 +2543,7 @@ treeview.view radio {
|
|||
&:focus, & {
|
||||
color: $checkradio_fg_color;
|
||||
|
||||
@if $variant == 'light' { border-color: $selected_borders_color; }
|
||||
//@if $variant == 'light' { border-color: $selected_borders_color; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2583,7 +2590,7 @@ treeview.view radio:selected { &:selected, &:focus, & { @extend %radio; }} // Th
|
|||
background-color: $selected_bg_color;
|
||||
|
||||
&:disabled {
|
||||
background-color: transparent;
|
||||
background-color: mix($insensitive_bg_color, $insensitive_fg_color, 60%);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue