mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
style/refactor: make the current badge style to be global
This commit is contained in:
parent
0a06c60cb7
commit
88d1af7210
@ -26,6 +26,10 @@
|
||||
--bs-body-color: var(--main-text-color) !important;
|
||||
--bs-body-bg: var(--main-background-color) !important;
|
||||
--ck-mention-list-max-height: 500px;
|
||||
|
||||
--tn-bs-badge-background: var(--accented-background-color);
|
||||
--bs-badge-color: var(--menu-text-color);
|
||||
--bs-badge-font-weight: normal;
|
||||
}
|
||||
|
||||
.table {
|
||||
@ -192,6 +196,11 @@ samp {
|
||||
font-family: var(--monospace-font-family) !important;
|
||||
}
|
||||
|
||||
.badge {
|
||||
margin-left: 8px;
|
||||
background: var(--tn-bs-badge-background);
|
||||
}
|
||||
|
||||
.input-group-text {
|
||||
background-color: var(--accented-background-color) !important;
|
||||
color: var(--muted-text-color) !important;
|
||||
|
@ -63,13 +63,6 @@ const TPL = /*html*/`
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.note-type-dropdown .badge {
|
||||
margin-left: 8px;
|
||||
background: var(--accented-background-color);
|
||||
font-weight: normal;
|
||||
color: var(--menu-text-color);
|
||||
}
|
||||
</style>
|
||||
<button type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-sm dropdown-toggle select-button note-type-button">
|
||||
<span class="note-type-desc"></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user