nightTab/css/shade.css

19 lines
615 B
CSS
Raw Normal View History

2018-12-28 15:26:32 +01:00
.shade {
/* background: linear-gradient(45deg, rgba(0, 0, 0, 0) 0, rgba(var(--accent), 0.6) 100%); */
background-color: rgba(var(--accent), 0.4);
/* background-color: rgba(var(--black), 0.5); */
/* box-shadow: 0 0 5em 0 rgba(var(--accent), 1) inset; */
2018-12-26 08:45:53 +01:00
position: fixed;
top: -1em;
left: -1em;
width: calc(100% + 2em);
height: calc(100% + 2em);
opacity: 0;
transition: opacity var(--animation-speed-fast) ease-in-out, background-color var(--animation-speed-fast) ease-in-out;
2019-01-05 21:57:21 +01:00
z-index: var(--z-index-shade);
2018-12-26 08:45:53 +01:00
}
.is-background-image-show .shade {
background-color: rgba(var(--black), 0.5);
}