Skip to content

Commit

Permalink
Improvement: Lightdm - button hover color
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Jan 20, 2022
1 parent 16ac0dc commit 0336d04
Show file tree
Hide file tree
Showing 9 changed files with 205 additions and 205 deletions.
2 changes: 1 addition & 1 deletion gtk-3.0/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $osd_text_color: white;
$osd_bg_color: transparentize(#14171a, 0.2);
$osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5);
$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%);
$osd_borders_color: transparentize(white, 0.85);
$osd_borders_color: transparentize(black, 0.85);

$sidebar_bg_color: mix($bg_color, $base_color, 50%);
$base_hover_color: transparentize($fg_color, 0.95);
Expand Down
2 changes: 1 addition & 1 deletion gtk-3.0/_drawing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
outline-color: transparentize($osd_fg_color, 0.7);
} @else if $t==osd-hover {
//
// active osd button
// hover osd button
//
$_bg: if($c!=$base_color, transparentize($c, 0.3), lighten($osd_bg_color, 12%));
color: white;
Expand Down
2 changes: 1 addition & 1 deletion gtk-3.0/apps/_lightdm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#buttonbox_frame button{
@include button(osd);

&:hover { @include button(osd-hover); }
&:hover { @include button(osd-hover, transparentize(white, 0.65)); }
&:active, &:checked { @include button(osd-active, $selected_bg_color, $selected_fg_color); }
&:disabled { @include button(osd-insensitive, $selected_bg_color, $selected_fg_color); }
&:focus {
Expand Down
Loading

0 comments on commit 0336d04

Please sign in to comment.