1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +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;
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%;