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
|
|
@ -4107,8 +4107,8 @@ infobar {
|
|||
border-style: none;
|
||||
|
||||
&.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%));
|
||||
border-bottom: 1px solid lighten($borders_color, 5%);
|
||||
}
|
||||
|
||||
|
|
@ -4118,8 +4118,12 @@ infobar {
|
|||
&.error {
|
||||
&:backdrop > revealer > box, & > revealer > box {
|
||||
label, & { color: $fg_color; }
|
||||
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;
|
||||
border-bottom: 1px solid lighten($borders_color, 5%);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue