strips: continue refactoring, add spacing option

This commit is contained in:
jean-emmanuel 2017-06-05 23:18:03 +02:00
parent a60710e246
commit 1304ce2586
9 changed files with 318 additions and 144 deletions

View file

@ -155,13 +155,12 @@
"id": "fader_1",
"label": false,
"unit": "",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -186,14 +185,16 @@
"width": "auto",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -339,13 +340,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -369,14 +369,16 @@
"linkId": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -522,13 +524,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -552,14 +553,16 @@
"linkId": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -705,13 +708,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -735,14 +737,16 @@
"linkId": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -888,13 +892,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -918,14 +921,16 @@
"linkId": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -1071,13 +1076,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -1101,14 +1105,16 @@
"linkId": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -1252,13 +1258,12 @@
"id": "fader_7",
"label": false,
"unit": "",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -1283,7 +1288,8 @@
"spring": false,
"width": "auto",
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"height": "auto",
@ -1291,7 +1297,8 @@
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -1437,13 +1444,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -1467,14 +1473,16 @@
"linkId": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -1568,7 +1576,6 @@
"color": "auto",
"noPip": true,
"compact": true,
"angle": 360,
"css": "",
"snap": false,
"logScale": false,
@ -1584,7 +1591,8 @@
"value": "",
"linkId": "",
"spring": false,
"touchAddress": ""
"touchAddress": "",
"angle": 270
},
{
"type": "knob",
@ -1620,13 +1628,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -1650,14 +1657,16 @@
"value": "",
"origin": "auto",
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -1803,13 +1812,12 @@
"label": false,
"unit": "",
"width": "auto",
"height": "100%",
"alignRight": false,
"horizontal": false,
"noPip": false,
"compact": true,
"color": "auto",
"css": "padding:4rem",
"css": "flex:1",
"snap": false,
"range": {
"min": -70,
@ -1833,20 +1841,23 @@
"linkId": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
"meterAddress": "",
"height": "auto"
}
],
"width": "auto",
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
}
],
"height": "auto",
"top": 0,
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
},
{
"type": "strip",
@ -1960,12 +1971,14 @@
"left": "auto",
"top": "auto",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
}
],
"id": "strip_12",
"stretch": false,
"variables": {}
"variables": {},
"spacing": 0
}
],
"id": ""

View file

@ -30,7 +30,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_1",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -77,9 +79,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -90,7 +91,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_1",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -120,7 +125,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -151,7 +159,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_2",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -198,9 +208,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -211,7 +220,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_2",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -241,7 +254,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -272,7 +288,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_3",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -319,9 +337,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -332,7 +349,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_3",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -362,7 +383,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -393,7 +417,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_4",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -440,9 +466,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -453,7 +478,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_4",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -483,7 +512,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -514,7 +546,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_5",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -561,9 +595,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -574,7 +607,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_5",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -604,7 +641,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -635,7 +675,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_6",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -682,9 +724,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -695,7 +736,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_6",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -725,7 +770,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -756,7 +804,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_7",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -803,9 +853,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -816,7 +865,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_7",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -846,7 +899,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -877,7 +933,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_8",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -924,9 +982,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -937,7 +994,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_8",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -967,7 +1028,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -998,7 +1062,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_9",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -1045,9 +1111,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -1058,7 +1123,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_9",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -1088,7 +1157,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -1119,7 +1191,9 @@
"angle": 270,
"origin": "auto",
"address": "/knob_10",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"label": false,
@ -1166,9 +1240,8 @@
"linkId": "",
"unit": "",
"width": "auto",
"height": "100%",
"horizontal": false,
"css": "",
"css": "flex:1",
"precision": 2,
"color": "auto",
"logScale": false,
@ -1179,7 +1252,11 @@
"compact": false,
"origin": "auto",
"address": "/fader_10",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": "",
"height": "auto"
},
{
"label": "Mute",
@ -1209,10 +1286,14 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
}
],
"label": "Strips"
"label": "Strips",
"id": ""
},
{
"widgets": [
@ -1236,7 +1317,8 @@
"split": false,
"preArgs": [],
"address": "/rgb_1",
"value": ""
"value": "",
"touchAddress": ""
},
{
"label": "Relative XY",
@ -1265,7 +1347,9 @@
"logScaleY": false,
"preArgs": [],
"address": "/xy_1",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
}
],
"id": "strip_11",
@ -1275,7 +1359,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -1297,7 +1384,8 @@
"split": false,
"preArgs": [],
"address": "/rgb_2",
"value": ""
"value": "",
"touchAddress": ""
},
{
"label": "Relative XY",
@ -1326,7 +1414,9 @@
"logScaleY": false,
"preArgs": [],
"address": "/xy_2",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
}
],
"id": "strip_12",
@ -1336,7 +1426,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -1358,7 +1451,8 @@
"split": false,
"preArgs": [],
"address": "/rgb_3",
"value": ""
"value": "",
"touchAddress": ""
},
{
"label": "Relative XY",
@ -1387,7 +1481,9 @@
"logScaleY": false,
"preArgs": [],
"address": "/xy_3",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
}
],
"id": "strip_13",
@ -1397,7 +1493,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -1419,7 +1518,8 @@
"split": false,
"preArgs": [],
"address": "/rgb_4",
"value": ""
"value": "",
"touchAddress": ""
},
{
"label": "Relative XY",
@ -1448,7 +1548,9 @@
"logScaleY": false,
"preArgs": [],
"address": "/xy_4",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
}
],
"id": "strip_14",
@ -1458,7 +1560,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -1480,7 +1585,8 @@
"split": false,
"preArgs": [],
"address": "/rgb_5",
"value": ""
"value": "",
"touchAddress": ""
},
{
"label": "Relative XY",
@ -1509,7 +1615,9 @@
"logScaleY": false,
"preArgs": [],
"address": "/xy_5",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
}
],
"id": "strip_15",
@ -1519,7 +1627,10 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
},
{
"type": "strip",
@ -1541,7 +1652,8 @@
"split": false,
"preArgs": [],
"address": "/rgb_6",
"value": ""
"value": "",
"touchAddress": ""
},
{
"label": "Relative XY",
@ -1570,7 +1682,9 @@
"logScaleY": false,
"preArgs": [],
"address": "/xy_6",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
}
],
"id": "strip_16",
@ -1580,10 +1694,14 @@
"height": "auto",
"horizontal": false,
"css": "",
"color": "auto"
"color": "auto",
"stretch": false,
"spacing": 0,
"variables": {}
}
],
"label": "Pads"
"label": "Pads",
"id": ""
},
{
"label": "Multiple tabs",
@ -1627,7 +1745,10 @@
"compact": false,
"origin": "auto",
"address": "/fader_12",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
},
{
"type": "fader",
@ -1657,7 +1778,10 @@
"compact": false,
"origin": "auto",
"address": "/fader_13",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
},
{
"type": "fader",
@ -1687,7 +1811,10 @@
"compact": false,
"origin": "auto",
"address": "/fader_14",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
},
{
"type": "fader",
@ -1717,14 +1844,20 @@
"compact": false,
"origin": "auto",
"address": "/fader_25",
"value": ""
"value": "",
"spring": false,
"touchAddress": "",
"meterAddress": ""
}
],
"tabs": [],
"id": "panel_1",
"label": "auto",
"color": "auto",
"scroll": true
"scroll": true,
"layout": "",
"spacing": 0,
"variables": {}
},
{
"type": "panel",
@ -1814,7 +1947,8 @@
"norelease": false,
"address": "/fader_20"
}
]
],
"id": ""
},
{
"label": "Tab 2",
@ -1845,7 +1979,9 @@
"angle": 270,
"origin": "auto",
"address": "/fader_21",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"type": "knob",
@ -1873,7 +2009,9 @@
"angle": 270,
"origin": "auto",
"address": "/fader_22",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"type": "knob",
@ -1901,7 +2039,9 @@
"angle": 270,
"origin": "auto",
"address": "/fader_23",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
},
{
"type": "knob",
@ -1929,22 +2069,31 @@
"angle": 270,
"origin": "auto",
"address": "/fader_24",
"value": ""
"value": "",
"spring": false,
"touchAddress": ""
}
]
],
"id": ""
},
{
"label": "Unnamed"
"label": "Unnamed",
"id": ""
}
],
"id": "panel_2",
"label": "auto",
"color": "auto",
"scroll": true
"scroll": true,
"layout": "",
"spacing": 0,
"variables": {}
}
]
],
"id": ""
}
]
],
"id": ""
},
{
"label": "Multiwidgets",
@ -1977,7 +2126,10 @@
"origin": "auto",
"meter": false,
"address": "/multifader_1",
"value": ""
"value": "",
"start": 0,
"snap": true,
"split": false
},
{
"type": "multipush",
@ -2001,7 +2153,10 @@
"traversing": true,
"norelease": false,
"address": "/multipush_1",
"value": ""
"value": "",
"start": 0,
"style": "style",
"split": false
},
{
"type": "multitoggle",
@ -2024,8 +2179,11 @@
"preArgs": [],
"traversing": true,
"address": "/multitoggle_1",
"value": ""
"value": "",
"start": 0,
"split": false
}
]
],
"id": ""
}
]

View file

@ -22,6 +22,7 @@ module.exports = class Strip extends Panel {
horizontal:false,
stretch:false,
spacing:0,
_children:'children',
@ -38,6 +39,8 @@ module.exports = class Strip extends Panel {
super(options)
this.widget[0].style.setProperty('--spacing', this.getProp('spacing'))
this.container.addClass(this.getProp('horizontal') ? 'horizontal' : 'vertical')
this.container.addClass(this.getProp('stretch') ? 'stretch' : '')

View file

@ -7,7 +7,6 @@
width: 100rem;
height: 120rem;
align-items: center;
flex-shrink: 0;
}

View file

@ -24,6 +24,7 @@
min-height: 0;
min-width: 0;
margin:0!important;
height: auto;
.label {
background:none;
border:0;
@ -92,7 +93,6 @@
overflow: hidden;
.white {
--color-light-fg: var(--color-white);
height:100%;
.light.active:before {
opacity: .5;
background:var(--color-fg);

View file

@ -1,7 +1,6 @@
.xy-container, .rgb-container, .multixy-container {
width:200rem;
height:250rem;
flex-shrink: 0;
.label {
flex-shrink: 0;
box-shadow: 0 -11rem 10rem 10rem var(--color-bg);

View file

@ -73,6 +73,7 @@
.strip-container {
@extend .panel-container-base;
width: 100rem;
height: 100%;
&.horizontal {
@ -84,11 +85,12 @@
> .panel {
display: flex;
flex-direction: column;
align-items: stretch;
padding: calc(var(--spacing) / 2 * 1rem);
> .widget {
// flex:1;
width: auto!important;
max-width: 100%;
width: 100%;
min-height: 0!important;
margin: calc(var(--spacing) / 2 * 1rem);
}
}
}
@ -96,11 +98,13 @@
> .panel {
display: flex;
flex-direction: row;
align-items: stretch;
padding: calc(var(--spacing) / 2 * 1rem);
> .widget {
// flex:1;
height: 100%;
height: auto!important;
max-height: 100%;
min-width: 0!important;
margin: calc(var(--spacing) / 2 * 1rem);
}
left:29rem;
top:-1rem;

View file

@ -1,6 +1,5 @@
.switch-container {
width:100rem;
flex-shrink: 0;
.label {
border-bottom: 1rem solid var(--color-bg);
}

View file

@ -1,7 +1,6 @@
.toggle-container {
width:100rem;
height: 60rem;
flex-shrink: 0;
padding:0!important;
background: var(--color-light-fg);