mirror of
https://github.com/zadam/trilium.git
synced 2026-02-20 12:44:25 +01:00
client/ui/cards: automatically determine the opacity of the background color of nested card sections
This commit is contained in:
parent
be12658864
commit
62ddf3a11b
@ -24,7 +24,7 @@
|
||||
|
||||
&.tn-card-section-nested {
|
||||
padding-left: calc(30px * var(--tn-card-section-nesting-level));
|
||||
opacity: .5;
|
||||
background-color: color-mix(in srgb, var(--card-background-color) calc(100% / (var(--tn-card-section-nesting-level) + 1)) , transparent);
|
||||
}
|
||||
|
||||
&.tn-action:hover {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user