move some cumulative-overlay-specific styling out of shared css

This commit is contained in:
Damien Elmes 2021-03-21 20:18:05 +10:00
parent 9dc6e059f2
commit 95ccfc1ed3
2 changed files with 14 additions and 14 deletions

View File

@ -3,6 +3,20 @@
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
--> -->
<style lang="scss"> <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 { .cumulative-overlay {
pointer-events: none; pointer-events: none;
fill: var(--area-fill); fill: var(--area-fill);

View File

@ -3,20 +3,6 @@
@use '../sass/core'; @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; overscroll-behavior: none;
} }