nice editor there

This commit is contained in:
bordun 2020-02-25 12:31:22 +01:00
parent 2edccfbb79
commit 42c99aaece
17 changed files with 130 additions and 80 deletions

View file

@ -3,6 +3,7 @@
--alpha-fill-off: 0;
--alpha-fill-on: .75;
--widget-padding: -1rem;
--color-text-on: var(--color-foreground);
inner {
@ -41,7 +42,7 @@
--alpha-fill:var(--alpha-fill-on);
label {
color: var(--color-foreground)
color: var(--color-text-on)
}
}
@ -50,7 +51,9 @@
.switch-container {
--alpha-fill: 0.75;
--alpha-fill-on: 0.75;
--alpha-fill: var(--alpha-fill-off);
--color-text-on: var(--color-foreground);
inner {
@ -80,10 +83,12 @@
justify-content: center;
text-overflow: clip;
overflow: hidden;
@include pseudo-fill($z: -1);
&.on {
@include pseudo-fill($z: -1);
color: var(--color-foreground);
--alpha-fill: var(--alpha-fill-on);
color: var(--color-text-on);
}
}

View file

@ -167,8 +167,6 @@
padding-bottom: 1rem;
position: relative;
color: var(--color-text);
&.main {
:last-child, .tools {
width:var(--nav-height);
@ -191,9 +189,11 @@
div {
--color-stroke:var(--color-widget);
// --color-stroke:var(--color-widget);
--color-fill:var(--color-widget);
color: var(--color-text);
line-height:calc(var(--nav-height) - 1rem);
display:flex;
min-width:0;