mirror of
https://github.com/knadh/listmonk.git
synced 2025-03-01 00:35:28 +08:00
Fix button focus/active styles on the UI.
This commit is contained in:
parent
69de02ab6d
commit
9760d19b4d
1 changed files with 6 additions and 1 deletions
|
@ -464,6 +464,7 @@ body.is-noscroll {
|
|||
padding: 30px 20px;
|
||||
}
|
||||
.modal .modal-card-foot {
|
||||
background: none;
|
||||
justify-content: flex-end;
|
||||
border-top: 0;
|
||||
}
|
||||
|
@ -491,13 +492,17 @@ body.is-noscroll {
|
|||
.button {
|
||||
&.is-primary {
|
||||
background: $primary;
|
||||
font-weight: bold;
|
||||
|
||||
&:hover {
|
||||
&:hover, &:active {
|
||||
background: darken($primary, 15%);
|
||||
}
|
||||
&:disabled {
|
||||
background: $grey-light;
|
||||
}
|
||||
&:focus:not(:active), &.is-focused:not(:active) {
|
||||
box-shadow: 0 0 0 0.2em rgba($primary, 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.is-small) {
|
||||
|
|
Loading…
Reference in a new issue