mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-28 17:27:50 +01:00
button hover colors
This commit is contained in:
parent
9dafe671ae
commit
777d848d06
@ -11,13 +11,31 @@
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover:not([disabled]), &:focus:not([disabled]) {
|
||||
&.primary {
|
||||
color: $button-color-primary;
|
||||
}
|
||||
|
||||
&.danger {
|
||||
color: $button-color-danger;
|
||||
}
|
||||
|
||||
&:hover:not([disabled]) {
|
||||
cursor: pointer;
|
||||
background-color: darken($button-backgound-color, 1.5%);
|
||||
border-color: darken($button-border-color, 17%);
|
||||
color: darken($button-color, 10%);
|
||||
|
||||
&.primary {
|
||||
color: darken($button-color-primary, 6%);
|
||||
}
|
||||
|
||||
&.danger {
|
||||
color: darken($button-color-danger, 6%);
|
||||
}
|
||||
}
|
||||
|
||||
&:focus:not([disabled]) {
|
||||
cursor: pointer;
|
||||
background-color: darken($button-backgound-color, 6%);
|
||||
border-color: darken($button-border-color, 25%);
|
||||
outline: 0;
|
||||
@ -28,14 +46,6 @@
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
&.primary {
|
||||
color: $button-color-primary;
|
||||
}
|
||||
|
||||
&.danger {
|
||||
color: $button-color-danger;
|
||||
}
|
||||
|
||||
&.block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
Loading…
Reference in New Issue
Block a user