update
This commit is contained in:
19
.obsidian/snippets/compact_tabs.css
vendored
19
.obsidian/snippets/compact_tabs.css
vendored
@@ -1,4 +1,9 @@
|
||||
|
||||
* {
|
||||
/* --tab-background-active: var(--color-base-30); */
|
||||
}
|
||||
|
||||
|
||||
/* --------------compact tabs--------------------*/
|
||||
.workspace .mod-root .workspace-tab-header {
|
||||
width: unset;
|
||||
@@ -18,3 +23,17 @@ body {
|
||||
--tab-outline-color: unset;
|
||||
}
|
||||
|
||||
/* highlight active tab */
|
||||
.workspace .mod-root .workspace-tab-header.is-active {
|
||||
filter: brightness(1.5) saturate(1) contrast(1.2);
|
||||
border-width: 2px;
|
||||
/* background-color: red; */
|
||||
}
|
||||
.workspace .mod-root .workspace-tab-header:not(.is-active) {
|
||||
/* filter: brightness(1.5) saturate(1) contrast(1.2); */
|
||||
/* background-color: green; */
|
||||
}
|
||||
|
||||
.workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner-title {
|
||||
/* filter: brightness(0.5); */
|
||||
}
|
||||
|
Reference in New Issue
Block a user