mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-28 19:13:16 +01:00
19 lines
506 B
CSS
Executable File
19 lines
506 B
CSS
Executable File
.shade {
|
|
background-color: rgba(var(--theme-accent), 0.4);
|
|
position: fixed;
|
|
top: -1em;
|
|
left: -1em;
|
|
width: calc(100% + 2em);
|
|
height: calc(100% + 2em);
|
|
transition: opacity var(--animation-speed-fast) ease-in-out, background-color var(--animation-speed-fast) ease-in-out;
|
|
z-index: var(--z-index-shade);
|
|
}
|
|
|
|
.is-background-image-show .shade {
|
|
background-color: rgba(var(--black), 0.5);
|
|
}
|
|
|
|
.is-edge:not(.is-background-image-show) .shade {
|
|
background-color: rgba(var(--theme-accent), 0.05);
|
|
}
|