1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00
bitwarden-browser/src/scss/buttons.scss

41 lines
936 B
SCSS
Raw Normal View History

2018-01-29 18:14:19 +01:00
@import "variables.scss";
.btn, #vault .footer button, .modal-footer button {
background-color: $button-backgound-color;
border-radius: $border-radius;
padding: 7px 15px;
border: 1px solid $button-border-color;
font-size: $font-size-base;
color: $button-color;
2018-01-31 05:34:45 +01:00
&:hover:not([disabled]), &:focus:not([disabled]) {
2018-01-29 18:14:19 +01:00
cursor: pointer;
background-color: darken($button-backgound-color, 1.5%);
border-color: darken($button-border-color, 17%);
}
2018-01-31 05:34:45 +01:00
&:focus:not([disabled]) {
2018-01-29 18:14:19 +01:00
background-color: darken($button-backgound-color, 6%);
border-color: darken($button-border-color, 25%);
outline: 0;
}
2018-01-31 05:34:45 +01:00
&[disabled] {
2018-01-31 18:52:12 +01:00
opacity: 0.65;
2018-01-31 05:34:45 +01:00
cursor: default;
}
2018-01-29 18:14:19 +01:00
&.primary {
color: $button-color-primary;
}
&.danger {
color: $button-color-danger;
}
&.block {
display: block;
width: 100%;
}
}