widgets: default sizes

This commit is contained in:
bordun 2020-03-23 16:29:10 +01:00
parent 9b478ddf1d
commit e4f356c205
7 changed files with 48 additions and 5 deletions

View file

@ -94,6 +94,7 @@
@import 'widgets/basics';
@import 'widgets/containers';
@import 'widgets/graphs';
@import 'widgets/frames';
@import 'widgets/indicators';
@import 'widgets/pads';
@import 'widgets/sliders';

View file

@ -1,3 +1,12 @@
.buttons-container,
.menu-container,
.dropdown-container,
.input-container,
.file-container {
width: 90rem;
height: 60rem;
}
.button-container {
--alpha-fill-off: 0;

View file

@ -1,3 +1,21 @@
.panel-container {
width: 200rem;
height: 200rem;
}
.modal-container {
width: 90rem;
height: 60rem;
}
.keyboard-container {
width: 220rem;
height: 90rem;
}
.patchbay-container {
width: 240rem;
height: 160rem;
}
.widget-panel-base {
--widget-padding: 4rem;
@ -488,9 +506,6 @@
}
.patchbay-container {
width: 200rem;
height: 200rem;
--alpha-fill-on: .75;
--alpha-fill-off: 0.25;

View file

@ -3,6 +3,9 @@
.svg-container,
.frame-container {
width: 120rem;
height: 120rem;
inner {
position: relative;
flex: 1;

View file

@ -1,5 +1,8 @@
.led-container {
width: 90rem;
height: 60rem;
--color-led: var(--color-fill);
--alpha-fill-off: 0;
--alpha-fill-on: 1;
@ -29,8 +32,8 @@
.text-container {
width: 100rem;
height:60rem;
width: 90rem;
height: 60rem;
--alpha-fill-on: 75;
inner {

View file

@ -1,3 +1,10 @@
.xy-container,
.multixy-container,
.rgb-container {
width: 200rem;
height: 200rem;
}
.xy-container, .multixy-container {
--alpha-fill-off: 0.05;

View file

@ -27,6 +27,11 @@
text-align: left;
}
&.horizontal {
width: 200rem;
height: 50rem;
}
&.design-default {
--widget-padding: 10rem;
--alpha-stroke: 0.5;