fonts: woff2 roboto
docs: cleanup
This commit is contained in:
parent
f181f600dd
commit
4beddbe383
37 changed files with 131 additions and 1060 deletions
|
|
@ -33,6 +33,7 @@ class ColorPicker extends UiWidget {
|
|||
closable: true,
|
||||
title: '',
|
||||
hide: true,
|
||||
html: true,
|
||||
content: html`
|
||||
<div class="color-picker-modal">
|
||||
${this.rgb.container}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
@import 'reset';
|
||||
|
||||
@import 'mixins';
|
||||
|
||||
@import 'themes/default';
|
||||
@import 'ui';
|
||||
|
||||
@import 'widgets';
|
||||
|
||||
|
||||
input,
|
||||
textarea,
|
||||
{
|
||||
|
|
@ -53,7 +52,7 @@ body {
|
|||
white-space:nowrap;
|
||||
opacity:1;
|
||||
cursor: default;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-family: $font, sans-serif;
|
||||
font-size:11rem;
|
||||
line-height:100%;
|
||||
font-weight: 500;
|
||||
|
|
@ -62,29 +61,6 @@ body {
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.error-stack {
|
||||
> span {
|
||||
background: none!important;
|
||||
|
|
@ -99,7 +75,7 @@ body {
|
|||
}
|
||||
overflow:auto;
|
||||
white-space:pre;
|
||||
font-family: monospace;
|
||||
font-family: $font-mono;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
|
|
@ -114,5 +90,3 @@ body {
|
|||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
@import 'themes/default';
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
$font: 'Roboto';
|
||||
$font-mono: 'Roboto Mono';
|
||||
|
||||
$base: rgb(25, 31, 42)!default;
|
||||
$accent: rgb(82, 168, 255)!default;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,10 +25,10 @@ osc-inspector-field {
|
|||
}
|
||||
|
||||
textarea, input {
|
||||
font-family: mono;
|
||||
font-family: $font-mono;
|
||||
|
||||
line-height: $field-height - 8rem;
|
||||
padding: 5rem 6rem 3rem;
|
||||
padding: 4rem 6rem;
|
||||
flex: 1;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
|
|
@ -164,7 +164,7 @@ osc-inspector-checkbox {
|
|||
|
||||
osc-inspector-select {
|
||||
position: relative;
|
||||
font-family: mono;
|
||||
font-family: $font-mono;
|
||||
line-height: inherit;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
|
|
@ -216,7 +216,7 @@ osc-inspector-color {
|
|||
box-shadow: 0;
|
||||
outline: 0;
|
||||
position: relative;
|
||||
font-family: mono;
|
||||
font-family: $font-mono;
|
||||
line-height: inherit;
|
||||
overflow: hidden;
|
||||
height: $field-height;
|
||||
|
|
|
|||
|
|
@ -1,107 +0,0 @@
|
|||
|
||||
.widget {
|
||||
height:auto;
|
||||
overflow: hidden;
|
||||
position:relative;
|
||||
vertical-align:top;
|
||||
box-shadow: 1rem 0 0 0 var(--color-border),
|
||||
0 1rem 0 0 var(--color-border),
|
||||
1rem 1rem 0 0 var(--color-border),
|
||||
0 0 0 1rem var(--color-light) inset;
|
||||
border-left:1rem solid var(--color-border);
|
||||
border-top:1rem solid var(--color-border);
|
||||
-webkit-tap-highlight-color:transparent;
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
--default-bg: var(--color-fg);
|
||||
background: var(--default-bg);
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
text-transform: uppercase;
|
||||
contain: style size layout;
|
||||
color: var(--color-text);
|
||||
--color-glass-1: var(--color-custom);
|
||||
--color-glass-2: var(--color-track);
|
||||
|
||||
&.absolute-position {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
&.no-label {
|
||||
> .label {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
|
||||
> .label ~ div {
|
||||
border-top-left-radius:0;
|
||||
border-top-right-radius:0;
|
||||
border-bottom-right-radius:inherit;
|
||||
border-bottom-left-radius:inherit;
|
||||
min-height: 0;
|
||||
}
|
||||
&.no-label > .label ~ div {
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.label {
|
||||
text-overflow:ellipsis;
|
||||
overflow:hidden;
|
||||
text-align:center;
|
||||
height:30rem;
|
||||
max-height:30rem;
|
||||
padding:0 6rem;
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
white-space: pre;
|
||||
// justify-content: space-around;
|
||||
align-items: center;
|
||||
&.accent {
|
||||
color:var(--color-accent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.glass-effect {
|
||||
position: relative;
|
||||
&:after {
|
||||
content:"";
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
background: radial-gradient(ellipse farthest-side at center top, var(--color-glass-1), var(--color-glass-2));
|
||||
background-size: 150% 150%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center top;
|
||||
opacity: var(--glass-opacity);
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@import 'widgets/fader';
|
||||
@import 'widgets/knob';
|
||||
|
||||
@import 'widgets/matrices';
|
||||
@import 'widgets/patchbay';
|
||||
@import 'widgets/pads';
|
||||
|
||||
@import 'widgets/plots';
|
||||
|
||||
|
||||
@import 'widgets/toggle';
|
||||
@import 'widgets/push';
|
||||
@import 'widgets/switch';
|
||||
@import 'widgets/menu';
|
||||
|
||||
@import 'widgets/panel';
|
||||
|
||||
@import 'widgets/inputs';
|
||||
|
||||
@import 'widgets/maths';
|
||||
Loading…
Add table
Add a link
Reference in a new issue