mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-02 10:55:53 +08:00
style(next): buttons: handle "success" button types
This commit is contained in:
parent
7d88e43555
commit
2bfb253a2a
@ -4,7 +4,8 @@
|
||||
|
||||
button.btn.btn-primary,
|
||||
button.btn.btn-secondary,
|
||||
button.btn.btn-sm {
|
||||
button.btn.btn-sm,
|
||||
button.btn.btn-success {
|
||||
box-shadow: 1px 1px 1px var(--cmd-button-shadow-color);
|
||||
padding: 4px 16px;
|
||||
border: unset;
|
||||
@ -15,20 +16,23 @@
|
||||
|
||||
button.btn.btn-primary,
|
||||
button.btn.btn-secondary,
|
||||
button.btn.btn-sm {
|
||||
button.btn.btn-sm,
|
||||
button.btn.btn-success {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
button.btn.btn-primary:hover,
|
||||
button.btn.btn-secondary:hover,
|
||||
button.btn.btn-sm:hover {
|
||||
button.btn.btn-sm:hover,
|
||||
button.btn.btn-success:hover {
|
||||
background: var(--cmd-button-hover-background-color);
|
||||
color: var(--cmd-button-hover-text-color);
|
||||
}
|
||||
|
||||
button.btn.btn-primary:active,
|
||||
button.btn.btn-secondary:active,
|
||||
button.btn.btn-sm:active {
|
||||
button.btn.btn-sm:active,
|
||||
button.btn.btn-success:active {
|
||||
box-shadow: unset;
|
||||
opacity: .85;
|
||||
background: var(--cmd-button-background-color) !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user