minor fixes

This commit is contained in:
bordun 2020-03-11 10:33:18 +01:00
parent 4f31985930
commit 7fdd836ca7
3 changed files with 8 additions and 6 deletions

View file

@ -5,7 +5,7 @@ var Panel = require('./panel'),
html = require('nanohtml'),
raw = require('nanohtml/raw')
class Root extends StaticProperties(Panel, {scroll: false, label: false, id: 'root'}) {
class Root extends StaticProperties(Panel, {scroll: false, visible: true, label: false, id: 'root'}) {
static description() {
@ -29,7 +29,7 @@ class Root extends StaticProperties(Panel, {scroll: false, label: false, id: 'ro
variables: {type: '*', value: '', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'},
}, [
'label',
'visible', 'label',
'_geometry', 'left', 'top', 'width', 'height', 'expand',
'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff',
], {

View file

@ -40,7 +40,8 @@ $text: white;
--alpha-scrollbar-on: 0.5;
--scrollbar-size:12rem;
--color-text: #{mix($base, $text, 40)};
// --color-text: #{mix($base, $text, 40)};
--color-text: #{transparentize($text, .4)};
--color-widget: var(--color-accent);

View file

@ -63,7 +63,7 @@ osc-inspector-field {
osc-inspector-category {
--alpha-fill: 0.25;
--alpha-fill: 0.5;
margin-top: 2rem;
display: block;
padding: 0 8rem;
@ -144,7 +144,8 @@ osc-inspector-checkbox {
margin-left: 4rem;
i {
color: transparent;
// color: transparent;
opacity: 0.25;
margin-top: -1rem;
margin-left: 1rem;
pointer-events: none;
@ -154,7 +155,7 @@ osc-inspector-checkbox {
z-index: 1;
@include pseudo-fill($z: -1);
i {
color: inherit;
opacity: 1;
}
}