move some cumulative-overlay-specific styling out of shared css
This commit is contained in:
parent
9dc6e059f2
commit
95ccfc1ed3
@ -3,6 +3,20 @@
|
||||
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
-->
|
||||
<style lang="scss">
|
||||
:global(:root) {
|
||||
--area-fill: #000000;
|
||||
--area-fill-opacity: 0.03;
|
||||
--area-stroke: #000000;
|
||||
--area-stroke-opacity: 0.08;
|
||||
}
|
||||
|
||||
:global(:root[class*="night-mode"]) {
|
||||
--area-fill: #ffffff;
|
||||
--area-fill-opacity: 0.08;
|
||||
--area-stroke: #000000;
|
||||
--area-stroke-opacity: 0.18;
|
||||
}
|
||||
|
||||
.cumulative-overlay {
|
||||
pointer-events: none;
|
||||
fill: var(--area-fill);
|
||||
|
@ -3,20 +3,6 @@
|
||||
|
||||
@use '../sass/core';
|
||||
|
||||
:root {
|
||||
--area-fill: #000000;
|
||||
--area-fill-opacity: 0.03;
|
||||
--area-stroke: #000000;
|
||||
--area-stroke-opacity: 0.08;
|
||||
}
|
||||
|
||||
:root[class*="night-mode"] {
|
||||
--area-fill: #ffffff;
|
||||
--area-fill-opacity: 0.08;
|
||||
--area-stroke: #000000;
|
||||
--area-stroke-opacity: 0.18;
|
||||
}
|
||||
|
||||
* {
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user