nice editor there
This commit is contained in:
parent
216951a6ea
commit
76c7e7b8a6
17 changed files with 130 additions and 80 deletions
|
|
@ -53,7 +53,7 @@ $text: white;
|
|||
--alpha-scrollbar-on: 0.5;
|
||||
--scrollbar-size:12rem;
|
||||
|
||||
--color-text: #{transparentize($text, .4)};
|
||||
--color-text: #{mix($base, $text, 40)};
|
||||
|
||||
--color-widget: var(--color-accent);
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ osc-inspector-field {
|
|||
flex-direction: row;
|
||||
line-height: $field-height;
|
||||
margin-top: 4rem;
|
||||
position: relative;
|
||||
|
||||
label {
|
||||
width: 90rem;
|
||||
|
|
@ -53,6 +54,15 @@ osc-inspector-field {
|
|||
}
|
||||
|
||||
|
||||
.computed-value {
|
||||
position: absolute;
|
||||
right: 94rem;
|
||||
text-align: right;
|
||||
pointer-events: none;
|
||||
opacity: 0.5;
|
||||
font-style: italic;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -215,7 +225,7 @@ osc-inspector-select {
|
|||
position: relative;
|
||||
font-family: mono;
|
||||
line-height: inherit;
|
||||
padding: 0;
|
||||
padding: 4rem;
|
||||
overflow: hidden;
|
||||
height: $field-height;
|
||||
width: $field-height;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue