mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 23:29:02 +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-color: var(--main-text-color) !important;
|
||||||
--bs-body-bg: var(--main-background-color) !important;
|
--bs-body-bg: var(--main-background-color) !important;
|
||||||
--ck-mention-list-max-height: 500px;
|
--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 {
|
.table {
|
||||||
@ -192,6 +196,11 @@ samp {
|
|||||||
font-family: var(--monospace-font-family) !important;
|
font-family: var(--monospace-font-family) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badge {
|
||||||
|
margin-left: 8px;
|
||||||
|
background: var(--tn-bs-badge-background);
|
||||||
|
}
|
||||||
|
|
||||||
.input-group-text {
|
.input-group-text {
|
||||||
background-color: var(--accented-background-color) !important;
|
background-color: var(--accented-background-color) !important;
|
||||||
color: var(--muted-text-color) !important;
|
color: var(--muted-text-color) !important;
|
||||||
|
@ -63,13 +63,6 @@ const TPL = /*html*/`
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-type-dropdown .badge {
|
|
||||||
margin-left: 8px;
|
|
||||||
background: var(--accented-background-color);
|
|
||||||
font-weight: normal;
|
|
||||||
color: var(--menu-text-color);
|
|
||||||
}
|
|
||||||
</style>
|
</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">
|
<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>
|
<span class="note-type-desc"></span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user