1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-30 12:54:31 +01:00

button hover colors

This commit is contained in:
Kyle Spearrin 2018-01-31 22:30:49 -05:00
parent 9dafe671ae
commit 777d848d06

View File

@ -11,13 +11,31 @@
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
&:hover:not([disabled]), &:focus:not([disabled]) { &.primary {
color: $button-color-primary;
}
&.danger {
color: $button-color-danger;
}
&:hover:not([disabled]) {
cursor: pointer; cursor: pointer;
background-color: darken($button-backgound-color, 1.5%); background-color: darken($button-backgound-color, 1.5%);
border-color: darken($button-border-color, 17%); 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]) { &:focus:not([disabled]) {
cursor: pointer;
background-color: darken($button-backgound-color, 6%); background-color: darken($button-backgound-color, 6%);
border-color: darken($button-border-color, 25%); border-color: darken($button-border-color, 25%);
outline: 0; outline: 0;
@ -28,14 +46,6 @@
cursor: default; cursor: default;
} }
&.primary {
color: $button-color-primary;
}
&.danger {
color: $button-color-danger;
}
&.block { &.block {
display: block; display: block;
width: 100%; width: 100%;