mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
style(next): buttons: style disabled buttons
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
--cmd-button-hover-background-color: #ffffff37;
|
||||
--cmd-button-hover-text-color: white;
|
||||
--cmd-button-shadow-color: #00000080;
|
||||
--cmd-button-disabled-opacity: .5;
|
||||
|
||||
--muted-text-color: #bbb;
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
--cmd-button-hover-background-color: #00000016;
|
||||
--cmd-button-hover-text-color: #000;
|
||||
--cmd-button-shadow-color: #00000040;
|
||||
--cmd-button-disabled-opacity: .5;
|
||||
|
||||
--muted-text-color: #666;
|
||||
|
||||
|
||||
@@ -40,6 +40,13 @@ button.btn.btn-success:active {
|
||||
transform: scale(.95);
|
||||
}
|
||||
|
||||
button.btn.btn-primary:disabled,
|
||||
button.btn.btn-secondary:disabled,
|
||||
button.btn.btn-sm:disabled,
|
||||
button.btn.btn-success:disabled {
|
||||
opacity: var(--cmd-button-disabled-opacity);
|
||||
}
|
||||
|
||||
button.btn + button.btn {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user