Skip to content

Commit

Permalink
ogey
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce authored Feb 18, 2023
1 parent 057979b commit f9f1487
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions Helium/gtk-4.0/_tauos.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1441,45 +1441,42 @@ $colors: (
}

&:hover {
background: state-color($headerbar_bg_color, 1);
box-shadow: inset 0px rem(-1px) 0px 0px $headerbar_fg_color;
box-shadow: inset 0px -2px 0px 0px $headerbar_fg_color;
}

&:active,
&:focus-within {
background: state-color($headerbar_bg_color, 2);
box-shadow: inset 0px rem(-2px) 0px 0px $headerbar_fg_color;
background: state-color($headerbar_bg_color, 1);
box-shadow: inset 0px -2px 0px 0px $headerbar_fg_color;
}

&.tf-error {
color: $error_bg_color;
box-shadow: inset 0px rem(-1px) 0px 0px $error_bg_color;
box-shadow: inset 0px -1px 0px 0px $error_bg_color;

&:hover {
background: state-color($error_bg_color, 1);
box-shadow: inset 0px rem(-1px) 0px 0px $error_bg_color;
box-shadow: inset 0px -2px 0px 0px $error_bg_color;
}

&:active,
&:focus-within {
background: state-color($error_bg_color, 2);
box-shadow: inset 0px rem(-2px) 0px 0px $error_bg_color;
background: state-color($error_bg_color, 1);
box-shadow: inset 0px -2px 0px 0px $error_bg_color;
}
}

&.tf-success {
color: $success_bg_color;
box-shadow: inset 0px rem(-1px) 0px 0px $success_bg_color;
box-shadow: inset 0px -1px 0px 0px $success_bg_color;

&:hover {
background: state-color($success_bg_color, 1);
box-shadow: inset 0px rem(-1px) 0px 0px $success_bg_color;
box-shadow: inset 0px -2px 0px 0px $success_bg_color;
}

&:active,
&:focus-within {
background: state-color($success_bg_color, 2);
box-shadow: inset 0px rem(-2px) 0px 0px $success_bg_color;
background: state-color($success_bg_color, 1);
box-shadow: inset 0px -2px 0px 0px $success_bg_color;
}
}
}
Expand Down

0 comments on commit f9f1487

Please sign in to comment.