@imposium-hub/components 2.13.7 → 2.13.8-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/advanced-number-field/AdvancedNumberField.d.ts +9 -0
- package/dist/cjs/components/advanced-number-field/AdvancedNumberField.js +2 -2
- package/dist/cjs/components/advanced-number-field/AdvancedNumberField.js.map +1 -1
- package/dist/cjs/components/button-group-field/ButtonGroupField.d.ts +9 -0
- package/dist/cjs/components/button-group-field/ButtonGroupField.js +38 -20
- package/dist/cjs/components/button-group-field/ButtonGroupField.js.map +1 -1
- package/dist/cjs/components/checkbox-field/CheckboxField.d.ts +8 -0
- package/dist/cjs/components/checkbox-field/CheckboxField.js +2 -2
- package/dist/cjs/components/checkbox-field/CheckboxField.js.map +1 -1
- package/dist/cjs/components/color-field/ColorField.d.ts +8 -0
- package/dist/cjs/components/color-field/ColorField.js +2 -2
- package/dist/cjs/components/color-field/ColorField.js.map +1 -1
- package/dist/cjs/components/controlled-list/ControlledList.d.ts +6 -2
- package/dist/cjs/components/controlled-list/ControlledList.js +22 -6
- package/dist/cjs/components/controlled-list/ControlledList.js.map +1 -1
- package/dist/cjs/components/field-wrapper/FieldWrapper.d.ts +11 -0
- package/dist/cjs/components/field-wrapper/FieldWrapper.js +25 -6
- package/dist/cjs/components/field-wrapper/FieldWrapper.js.map +1 -1
- package/dist/cjs/components/number-field/NumberField.d.ts +9 -0
- package/dist/cjs/components/number-field/NumberField.js +2 -5
- package/dist/cjs/components/number-field/NumberField.js.map +1 -1
- package/dist/cjs/components/select-field/SelectField.d.ts +8 -0
- package/dist/cjs/components/select-field/SelectField.js +2 -2
- package/dist/cjs/components/select-field/SelectField.js.map +1 -1
- package/dist/cjs/components/slider-field/SliderField.d.ts +9 -0
- package/dist/cjs/components/slider-field/SliderField.js +2 -2
- package/dist/cjs/components/slider-field/SliderField.js.map +1 -1
- package/dist/cjs/constants/copy.d.ts +3 -0
- package/dist/cjs/constants/copy.js +4 -1
- package/dist/cjs/constants/copy.js.map +1 -1
- package/dist/cjs/constants/icons.d.ts +2 -0
- package/dist/cjs/constants/icons.js +3 -1
- package/dist/cjs/constants/icons.js.map +1 -1
- package/dist/cjs/constants/variables.d.ts +4 -0
- package/dist/cjs/constants/variables.js +13 -1
- package/dist/cjs/constants/variables.js.map +1 -1
- package/dist/cjs/index.d.ts +6 -2
- package/dist/cjs/index.js +9 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/advanced-number-field/AdvancedNumberField.d.ts +9 -0
- package/dist/esm/components/advanced-number-field/AdvancedNumberField.js +2 -2
- package/dist/esm/components/advanced-number-field/AdvancedNumberField.js.map +1 -1
- package/dist/esm/components/button-group-field/ButtonGroupField.d.ts +9 -0
- package/dist/esm/components/button-group-field/ButtonGroupField.js +38 -20
- package/dist/esm/components/button-group-field/ButtonGroupField.js.map +1 -1
- package/dist/esm/components/checkbox-field/CheckboxField.d.ts +8 -0
- package/dist/esm/components/checkbox-field/CheckboxField.js +2 -2
- package/dist/esm/components/checkbox-field/CheckboxField.js.map +1 -1
- package/dist/esm/components/color-field/ColorField.d.ts +8 -0
- package/dist/esm/components/color-field/ColorField.js +2 -2
- package/dist/esm/components/color-field/ColorField.js.map +1 -1
- package/dist/esm/components/controlled-list/ControlledList.d.ts +6 -2
- package/dist/esm/components/controlled-list/ControlledList.js +24 -7
- package/dist/esm/components/controlled-list/ControlledList.js.map +1 -1
- package/dist/esm/components/field-wrapper/FieldWrapper.d.ts +11 -0
- package/dist/esm/components/field-wrapper/FieldWrapper.js +24 -6
- package/dist/esm/components/field-wrapper/FieldWrapper.js.map +1 -1
- package/dist/esm/components/number-field/NumberField.d.ts +9 -0
- package/dist/esm/components/number-field/NumberField.js +2 -5
- package/dist/esm/components/number-field/NumberField.js.map +1 -1
- package/dist/esm/components/select-field/SelectField.d.ts +8 -0
- package/dist/esm/components/select-field/SelectField.js +2 -2
- package/dist/esm/components/select-field/SelectField.js.map +1 -1
- package/dist/esm/components/slider-field/SliderField.d.ts +9 -0
- package/dist/esm/components/slider-field/SliderField.js +2 -2
- package/dist/esm/components/slider-field/SliderField.js.map +1 -1
- package/dist/esm/constants/copy.d.ts +3 -0
- package/dist/esm/constants/copy.js +3 -0
- package/dist/esm/constants/copy.js.map +1 -1
- package/dist/esm/constants/icons.d.ts +2 -0
- package/dist/esm/constants/icons.js +4 -2
- package/dist/esm/constants/icons.js.map +1 -1
- package/dist/esm/constants/variables.d.ts +4 -0
- package/dist/esm/constants/variables.js +11 -0
- package/dist/esm/constants/variables.js.map +1 -1
- package/dist/esm/index.d.ts +6 -2
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/styles.css +130 -13
- package/dist/styles.less +369 -209
- package/less/components/button.less +5 -1
- package/less/components/controlled-list.less +122 -13
- package/less/components/dropdown.less +3 -0
- package/less/components/font-picker.less +18 -14
- package/less/components/form-field.less +224 -182
- package/package.json +3 -1
- package/src/components/advanced-number-field/AdvancedNumberField.tsx +33 -4
- package/src/components/button-group-field/ButtonGroupField.tsx +110 -39
- package/src/components/checkbox-field/CheckboxField.tsx +36 -3
- package/src/components/color-field/ColorField.tsx +29 -4
- package/src/components/config-variable-button/ConfigVariableButton.tsx +144 -0
- package/src/components/controlled-list/ControlledList.tsx +68 -14
- package/src/components/field-wrapper/FieldWrapper.tsx +80 -6
- package/src/components/font-field/FontField.tsx +78 -0
- package/src/components/icon-toggle/IconToggle.tsx +63 -0
- package/src/components/number-field/NumberField.tsx +34 -8
- package/src/components/select-field/SelectField.tsx +29 -4
- package/src/components/slider-field/SliderField.tsx +32 -2
- package/src/components/text-area-autocomplete/TextAreaAutocomplete.tsx +80 -0
- package/src/components/variables-dropdown/VariableDropdown.tsx +98 -0
- package/src/constants/copy.ts +4 -0
- package/src/constants/fonts.ts +296 -0
- package/src/constants/icons.tsx +6 -1
- package/src/constants/variables.ts +16 -0
- package/src/index.ts +11 -2
package/dist/styles.less
CHANGED
|
@@ -732,7 +732,7 @@ body{
|
|
|
732
732
|
@buttonMargin:2px;
|
|
733
733
|
|
|
734
734
|
.imposium-btn{
|
|
735
|
-
|
|
735
|
+
|
|
736
736
|
display: inline-block;
|
|
737
737
|
box-sizing: border-box;
|
|
738
738
|
border-radius:2px;
|
|
@@ -769,6 +769,10 @@ body{
|
|
|
769
769
|
pointer-events:none;
|
|
770
770
|
}
|
|
771
771
|
|
|
772
|
+
&.icon-toggle {
|
|
773
|
+
padding-top: 4px;
|
|
774
|
+
}
|
|
775
|
+
|
|
772
776
|
.loading-icon{
|
|
773
777
|
|
|
774
778
|
svg{
|
|
@@ -1020,28 +1024,137 @@ body{
|
|
|
1020
1024
|
}
|
|
1021
1025
|
}
|
|
1022
1026
|
}
|
|
1027
|
+
.override_variable {
|
|
1023
1028
|
|
|
1024
|
-
|
|
1029
|
+
&.color,
|
|
1030
|
+
&.text,
|
|
1031
|
+
&.number {
|
|
1032
|
+
.controlled-list {
|
|
1033
|
+
.item {
|
|
1034
|
+
margin-top: unset;
|
|
1035
|
+
margin-bottom: unset;
|
|
1036
|
+
color: rgba(223, 223, 223, 0.4);
|
|
1037
|
+
width: 100%;
|
|
1038
|
+
.buttons {
|
|
1039
|
+
right: 0px;
|
|
1040
|
+
top: 0px !important;
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1025
1045
|
|
|
1026
|
-
|
|
1046
|
+
&.text, &.number {
|
|
1047
|
+
.item {
|
|
1048
|
+
width: fit-content;
|
|
1049
|
+
input {
|
|
1050
|
+
opacity: 0.6;
|
|
1051
|
+
cursor: default;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1027
1055
|
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1056
|
+
&.boolean {
|
|
1057
|
+
min-width: unset !important;
|
|
1058
|
+
|
|
1059
|
+
.item.checkbox {
|
|
1060
|
+
margin-top: unset;
|
|
1061
|
+
margin-bottom: unset;
|
|
1062
|
+
background: #1d1d1d;
|
|
1063
|
+
color: rgba(223, 223, 223, 0.4);
|
|
1064
|
+
font-size: 12px;
|
|
1065
|
+
box-sizing: border-box;
|
|
1066
|
+
vertical-align: top;
|
|
1067
|
+
font-family: 'Roboto Condensed', sans-serif;
|
|
1068
|
+
appearance: none;
|
|
1069
|
+
display: flex;
|
|
1070
|
+
border: 1px solid #353535;
|
|
1071
|
+
border-radius: 2px;
|
|
1072
|
+
width: 18px;
|
|
1073
|
+
height: 18px;
|
|
1074
|
+
padding: 2px;
|
|
1075
|
+
|
|
1076
|
+
svg {
|
|
1077
|
+
margin-left: 1px;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.buttons svg {
|
|
1081
|
+
margin-left: 2px;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
&:hover {
|
|
1085
|
+
.buttons {
|
|
1086
|
+
top: -2px;
|
|
1087
|
+
right: -3px;
|
|
1088
|
+
background: unset;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
&.textarea {
|
|
1095
|
+
.item {
|
|
1096
|
+
margin: 0;
|
|
1097
|
+
|
|
1098
|
+
.buttons {
|
|
1099
|
+
right: 0px;
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1034
1103
|
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1104
|
+
&.number,
|
|
1105
|
+
&.text,
|
|
1106
|
+
&.color {
|
|
1107
|
+
.item {
|
|
1108
|
+
background-color: @backgroundDark;
|
|
1109
|
+
|
|
1110
|
+
p {
|
|
1111
|
+
padding: 0 4px;
|
|
1112
|
+
white-space: nowrap;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.controlled-list {
|
|
1121
|
+
|
|
1122
|
+
width: 100%;
|
|
1123
|
+
|
|
1124
|
+
.item {
|
|
1125
|
+
position: relative;
|
|
1126
|
+
width: 100%;
|
|
1127
|
+
height: @inputHeight;
|
|
1128
|
+
margin-top: @fieldMargin / 2;
|
|
1129
|
+
margin-bottom: @fieldMargin / 2;
|
|
1130
|
+
|
|
1131
|
+
&.icon-toggle {
|
|
1132
|
+
color: rgba(223, 223, 223, 0.4);
|
|
1133
|
+
position: absolute !important;
|
|
1134
|
+
width: 100% !important;
|
|
1135
|
+
height: 96% !important;
|
|
1136
|
+
margin-top: unset;
|
|
1137
|
+
svg {
|
|
1138
|
+
padding-bottom: 1px;
|
|
1139
|
+
}
|
|
1140
|
+
.buttons {
|
|
1141
|
+
right: -1px;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
&:hover {
|
|
1146
|
+
.imposium-btn {
|
|
1147
|
+
background: unset;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.buttons {
|
|
1038
1151
|
display: block;
|
|
1039
1152
|
}
|
|
1040
1153
|
}
|
|
1041
1154
|
|
|
1042
|
-
.buttons{
|
|
1155
|
+
.buttons {
|
|
1043
1156
|
display: none;
|
|
1044
|
-
position:absolute;
|
|
1157
|
+
position: absolute;
|
|
1045
1158
|
right: 10px;
|
|
1046
1159
|
top: 2px;
|
|
1047
1160
|
}
|
|
@@ -1322,6 +1435,9 @@ body{
|
|
|
1322
1435
|
border-radius: 2px;
|
|
1323
1436
|
transition: transform 190ms @easeOutQuint, opacity 160ms @easeOutQuart;
|
|
1324
1437
|
z-index: 2147483647;
|
|
1438
|
+
&.variables {
|
|
1439
|
+
border: unset;
|
|
1440
|
+
}
|
|
1325
1441
|
}
|
|
1326
1442
|
|
|
1327
1443
|
|
|
@@ -1333,158 +1449,160 @@ body{
|
|
|
1333
1449
|
font-weight: normal;
|
|
1334
1450
|
font-size:80px;
|
|
1335
1451
|
}
|
|
1452
|
+
@labelWidth: 100px;
|
|
1453
|
+
@inputHeight: 20px;
|
|
1454
|
+
@labelHeight: 20px;
|
|
1455
|
+
@fieldMargin: 4px;
|
|
1456
|
+
@labelPadding: 4px;
|
|
1457
|
+
@inputPadding: 30px;
|
|
1336
1458
|
|
|
1337
|
-
|
|
1338
|
-
@inputHeight:20px;
|
|
1339
|
-
@labelHeight:20px;
|
|
1340
|
-
@fieldMargin:4px;
|
|
1341
|
-
@labelPadding:5px;
|
|
1342
|
-
@inputPadding:30px;
|
|
1343
|
-
|
|
1344
|
-
.inputMixin{
|
|
1459
|
+
.inputMixin {
|
|
1345
1460
|
display: inline-block;
|
|
1346
|
-
background
|
|
1347
|
-
border:none;
|
|
1348
|
-
color
|
|
1349
|
-
font-size
|
|
1350
|
-
box-sizing:border-box;
|
|
1461
|
+
background: @inputBackground;
|
|
1462
|
+
border: none;
|
|
1463
|
+
color: @textDefault;
|
|
1464
|
+
font-size: @fontSizeSmall;
|
|
1465
|
+
box-sizing: border-box;
|
|
1351
1466
|
vertical-align: top;
|
|
1352
|
-
height
|
|
1353
|
-
width:100%;
|
|
1467
|
+
height: @inputHeight;
|
|
1468
|
+
width: 100%;
|
|
1354
1469
|
font-family: 'Roboto Condensed', sans-serif;
|
|
1355
1470
|
border-radius: 0;
|
|
1356
|
-
appearance:none;
|
|
1357
|
-
|
|
1358
|
-
&:hover{
|
|
1359
|
-
background:darken(@inputBackground, 3%);
|
|
1471
|
+
appearance: none;
|
|
1472
|
+
|
|
1473
|
+
&:hover {
|
|
1474
|
+
background: darken(@inputBackground, 3%);
|
|
1360
1475
|
}
|
|
1361
1476
|
|
|
1362
|
-
&:focus{
|
|
1363
|
-
background:darken(@inputBackground, 3%);
|
|
1477
|
+
&:focus {
|
|
1478
|
+
background: darken(@inputBackground, 3%);
|
|
1364
1479
|
}
|
|
1365
1480
|
|
|
1366
|
-
&:disabled{
|
|
1367
|
-
|
|
1368
|
-
color:fadeout(@textDefault, 60%);
|
|
1369
|
-
background
|
|
1481
|
+
&:disabled {
|
|
1482
|
+
|
|
1483
|
+
color: fadeout(@textDefault, 60%);
|
|
1484
|
+
background: @inputBackground;
|
|
1370
1485
|
pointer-events: none;
|
|
1371
|
-
|
|
1372
|
-
|
|
1486
|
+
|
|
1487
|
+
&:focus {
|
|
1488
|
+
background: @inputBackground;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
&:hover {
|
|
1492
|
+
background: @inputBackground;
|
|
1373
1493
|
}
|
|
1374
|
-
&:hover{
|
|
1375
|
-
background:@inputBackground;
|
|
1376
|
-
}
|
|
1377
1494
|
}
|
|
1378
1495
|
}
|
|
1379
1496
|
|
|
1380
|
-
.form-field{
|
|
1381
|
-
|
|
1382
|
-
width:100%;
|
|
1383
|
-
position:relative;
|
|
1497
|
+
.form-field {
|
|
1498
|
+
|
|
1499
|
+
width: 100%;
|
|
1500
|
+
position: relative;
|
|
1384
1501
|
display: inline-block;
|
|
1385
1502
|
vertical-align: top;
|
|
1386
|
-
margin-bottom
|
|
1387
|
-
|
|
1388
|
-
input,
|
|
1503
|
+
margin-bottom: @fieldMargin;
|
|
1504
|
+
|
|
1505
|
+
input,
|
|
1506
|
+
textarea {
|
|
1389
1507
|
.inputMixin;
|
|
1390
|
-
padding:4px;
|
|
1508
|
+
padding: 4px;
|
|
1391
1509
|
}
|
|
1392
1510
|
|
|
1393
1511
|
.caret {
|
|
1394
|
-
|
|
1395
|
-
|
|
1512
|
+
top: -2px;
|
|
1513
|
+
}
|
|
1396
1514
|
|
|
1397
1515
|
select {
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1516
|
+
.inputMixin;
|
|
1517
|
+
padding: 4px 15px 4px 4px;
|
|
1518
|
+
}
|
|
1401
1519
|
|
|
1402
1520
|
input[type=number] {
|
|
1403
1521
|
-moz-appearance: textfield;
|
|
1404
1522
|
}
|
|
1405
|
-
|
|
1406
|
-
textarea{
|
|
1407
|
-
height
|
|
1408
|
-
resize:none;
|
|
1409
|
-
padding-right:25px;
|
|
1523
|
+
|
|
1524
|
+
textarea {
|
|
1525
|
+
height: @inputHeight * 3;
|
|
1526
|
+
resize: none;
|
|
1527
|
+
padding-right: 25px;
|
|
1410
1528
|
}
|
|
1411
1529
|
|
|
1412
|
-
&.invalid{
|
|
1530
|
+
&.invalid {
|
|
1413
1531
|
color: @danger;
|
|
1414
1532
|
}
|
|
1415
1533
|
|
|
1416
|
-
label{
|
|
1417
|
-
font-size
|
|
1418
|
-
line-height:21px;
|
|
1534
|
+
label {
|
|
1535
|
+
font-size: @fontSizeSmall;
|
|
1536
|
+
line-height: 21px;
|
|
1419
1537
|
display: inline-block;
|
|
1420
1538
|
vertical-align: top;
|
|
1421
|
-
height
|
|
1422
|
-
text-align:right;
|
|
1423
|
-
padding-right
|
|
1539
|
+
height: @labelHeight;
|
|
1540
|
+
text-align: right;
|
|
1541
|
+
padding-right: @labelPadding;
|
|
1424
1542
|
box-sizing: border-box;
|
|
1425
1543
|
width: @labelWidth;
|
|
1426
|
-
|
|
1427
|
-
&.label-top{
|
|
1428
|
-
width:unset;
|
|
1544
|
+
|
|
1545
|
+
&.label-top {
|
|
1546
|
+
width: unset;
|
|
1429
1547
|
text-align: left;
|
|
1430
|
-
padding-right
|
|
1431
|
-
padding-left
|
|
1548
|
+
padding-right: @labelPadding/2;
|
|
1549
|
+
padding-left: @labelPadding/2;
|
|
1432
1550
|
}
|
|
1433
1551
|
}
|
|
1434
1552
|
|
|
1435
|
-
.form-field-content{
|
|
1436
|
-
width:calc(100% - @labelWidth);
|
|
1553
|
+
.form-field-content {
|
|
1554
|
+
width: calc(100% - @labelWidth);
|
|
1437
1555
|
display: inline-block;
|
|
1438
1556
|
vertical-align: top;
|
|
1439
|
-
box-sizing:border-box;
|
|
1557
|
+
box-sizing: border-box;
|
|
1440
1558
|
|
|
1441
|
-
&.label-top{
|
|
1442
|
-
padding-left
|
|
1443
|
-
padding-right
|
|
1444
|
-
width:100%;
|
|
1559
|
+
&.label-top {
|
|
1560
|
+
padding-left: @labelPadding/2;
|
|
1561
|
+
padding-right: @labelPadding/2;
|
|
1562
|
+
width: 100%;
|
|
1445
1563
|
|
|
1446
|
-
.form-field-buttons{
|
|
1447
|
-
top
|
|
1564
|
+
.form-field-buttons {
|
|
1565
|
+
top: @labelHeight;
|
|
1448
1566
|
}
|
|
1449
1567
|
}
|
|
1450
1568
|
}
|
|
1451
1569
|
|
|
1452
|
-
.form-field-buttons{
|
|
1453
|
-
position:absolute;
|
|
1454
|
-
height
|
|
1455
|
-
top:0px;
|
|
1456
|
-
right:0px;
|
|
1457
|
-
background
|
|
1570
|
+
.form-field-buttons {
|
|
1571
|
+
position: absolute;
|
|
1572
|
+
height: @inputHeight;
|
|
1573
|
+
top: 0px;
|
|
1574
|
+
right: 0px;
|
|
1575
|
+
background: @inputBackground;
|
|
1458
1576
|
z-index: 1000;
|
|
1459
1577
|
}
|
|
1460
1578
|
|
|
1461
|
-
&.no-label{
|
|
1462
|
-
.form-field-content{
|
|
1463
|
-
width:calc(100% - @labelPadding);
|
|
1464
|
-
margin-left
|
|
1579
|
+
&.no-label {
|
|
1580
|
+
.form-field-content {
|
|
1581
|
+
width: calc(100% - @labelPadding);
|
|
1582
|
+
margin-left: @labelPadding;
|
|
1465
1583
|
}
|
|
1466
1584
|
}
|
|
1467
1585
|
}
|
|
1468
1586
|
|
|
1469
|
-
.filterable-cell-wrapper .form-field-buttons{
|
|
1470
|
-
position:absolute;
|
|
1587
|
+
.filterable-cell-wrapper .form-field-buttons {
|
|
1588
|
+
position: absolute;
|
|
1471
1589
|
height: 18px;
|
|
1472
|
-
top:4px;
|
|
1473
|
-
right:0px;
|
|
1474
|
-
background
|
|
1590
|
+
top: 4px;
|
|
1591
|
+
right: 0px;
|
|
1592
|
+
background: @inputBackground;
|
|
1475
1593
|
z-index: 1000;
|
|
1476
1594
|
}
|
|
1477
1595
|
|
|
1478
|
-
.checkbox-field{
|
|
1479
|
-
|
|
1480
|
-
.checkbox{
|
|
1596
|
+
.checkbox-field {
|
|
1597
|
+
|
|
1598
|
+
.checkbox {
|
|
1481
1599
|
.inputMixin;
|
|
1482
|
-
display:flex;
|
|
1600
|
+
display: flex;
|
|
1483
1601
|
border: 1px solid @backgroundLight;
|
|
1484
1602
|
border-radius: 2px;
|
|
1485
|
-
width:18px;
|
|
1486
|
-
height:18px;
|
|
1487
|
-
padding:2px;
|
|
1603
|
+
width: 18px;
|
|
1604
|
+
height: 18px;
|
|
1605
|
+
padding: 2px;
|
|
1488
1606
|
cursor: pointer;
|
|
1489
1607
|
|
|
1490
1608
|
.fa-check {
|
|
@@ -1493,100 +1611,139 @@ body{
|
|
|
1493
1611
|
}
|
|
1494
1612
|
}
|
|
1495
1613
|
|
|
1496
|
-
.button-group-field{
|
|
1614
|
+
.button-group-field {
|
|
1615
|
+
.override_variable {
|
|
1616
|
+
cursor: not-allowed;
|
|
1617
|
+
|
|
1618
|
+
&:hover {
|
|
1619
|
+
.item {
|
|
1620
|
+
.buttons {
|
|
1621
|
+
display: block;
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1497
1625
|
|
|
1498
|
-
|
|
1626
|
+
.item {
|
|
1627
|
+
top: 20px;
|
|
1628
|
+
position: absolute;
|
|
1629
|
+
background-color: transparent;
|
|
1630
|
+
width: 100%;
|
|
1631
|
+
|
|
1632
|
+
.buttons {
|
|
1633
|
+
display: none;
|
|
1634
|
+
height: 20px;
|
|
1635
|
+
float: right;
|
|
1636
|
+
padding-right: 5px;
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
.button-group {
|
|
1499
1642
|
|
|
1500
1643
|
.inputMixin;
|
|
1501
1644
|
|
|
1502
|
-
&:hover{
|
|
1503
|
-
background
|
|
1645
|
+
&:hover {
|
|
1646
|
+
background: @inputBackground;
|
|
1504
1647
|
}
|
|
1505
|
-
|
|
1506
|
-
.button-group-option{
|
|
1507
|
-
height:100%;
|
|
1648
|
+
|
|
1649
|
+
.button-group-option {
|
|
1650
|
+
height: 100%;
|
|
1508
1651
|
user-select: none;
|
|
1509
1652
|
display: inline-block;
|
|
1510
|
-
text-align:center;
|
|
1653
|
+
text-align: center;
|
|
1511
1654
|
cursor: pointer;
|
|
1512
1655
|
padding-top: 1px;
|
|
1513
1656
|
box-sizing: border-box;
|
|
1514
|
-
color:darken(@textDefault, 30%);
|
|
1657
|
+
color: darken(@textDefault, 30%);
|
|
1515
1658
|
background: #373737;
|
|
1516
|
-
|
|
1517
|
-
|
|
1659
|
+
|
|
1660
|
+
&:hover {
|
|
1661
|
+
background: darken(@inputBackground, 5%);
|
|
1518
1662
|
}
|
|
1519
1663
|
|
|
1520
|
-
&.active{
|
|
1521
|
-
cursor:auto;
|
|
1522
|
-
background:unset;
|
|
1523
|
-
color:unset;
|
|
1664
|
+
&.active {
|
|
1665
|
+
cursor: auto;
|
|
1666
|
+
background: unset;
|
|
1667
|
+
color: unset;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
&.disabled {
|
|
1671
|
+
cursor: not-allowed;
|
|
1672
|
+
background: unset;
|
|
1673
|
+
user-select: none;
|
|
1524
1674
|
}
|
|
1525
1675
|
|
|
1526
|
-
&.disabled svg {
|
|
1527
|
-
color: gray;
|
|
1528
|
-
}
|
|
1529
1676
|
}
|
|
1530
1677
|
}
|
|
1531
1678
|
}
|
|
1532
1679
|
|
|
1533
|
-
.text-area-field{
|
|
1680
|
+
.text-area-field {
|
|
1534
1681
|
|
|
1535
|
-
.form-field-buttons{
|
|
1536
|
-
right:10px;
|
|
1537
|
-
background:none;
|
|
1682
|
+
.form-field-buttons {
|
|
1683
|
+
right: 10px;
|
|
1684
|
+
background: none;
|
|
1538
1685
|
}
|
|
1539
1686
|
}
|
|
1540
1687
|
|
|
1541
|
-
.select-field{
|
|
1688
|
+
.select-field {
|
|
1689
|
+
&.override_variable {
|
|
1690
|
+
.form-field-buttons {
|
|
1691
|
+
display: none;
|
|
1692
|
+
}
|
|
1542
1693
|
|
|
1543
|
-
|
|
1694
|
+
.item {
|
|
1695
|
+
width: fit-content !important;
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
select {
|
|
1544
1700
|
line-height: 12px;
|
|
1545
1701
|
}
|
|
1546
1702
|
}
|
|
1547
1703
|
|
|
1548
|
-
.text-field{
|
|
1704
|
+
.text-field {
|
|
1549
1705
|
|
|
1550
|
-
.controlled-input{
|
|
1551
|
-
padding-right:25px;
|
|
1706
|
+
.controlled-input {
|
|
1707
|
+
padding-right: 25px;
|
|
1552
1708
|
}
|
|
1553
1709
|
}
|
|
1554
1710
|
|
|
1555
|
-
@sliderValWidth:30px;
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
input{
|
|
1559
|
-
width:calc(100% - @sliderValWidth);
|
|
1560
|
-
margin:0px;
|
|
1711
|
+
@sliderValWidth: 30px;
|
|
1712
|
+
|
|
1713
|
+
.slider-field {
|
|
1561
1714
|
|
|
1562
|
-
|
|
1563
|
-
|
|
1715
|
+
input {
|
|
1716
|
+
width: calc(100% - @sliderValWidth);
|
|
1717
|
+
margin: 0px;
|
|
1718
|
+
|
|
1719
|
+
&.toggle {
|
|
1720
|
+
width: calc(100% - @sliderValWidth - 18px);
|
|
1564
1721
|
}
|
|
1565
1722
|
}
|
|
1566
1723
|
|
|
1567
|
-
.val{
|
|
1724
|
+
.val {
|
|
1568
1725
|
display: inline-block;
|
|
1569
1726
|
vertical-align: top;
|
|
1570
|
-
width
|
|
1571
|
-
text-align:right;
|
|
1572
|
-
padding:2px;
|
|
1727
|
+
width: @sliderValWidth;
|
|
1728
|
+
text-align: right;
|
|
1729
|
+
padding: 2px;
|
|
1573
1730
|
line-height: 14px;
|
|
1574
|
-
border-top:2px solid @inputBackground;
|
|
1575
|
-
border-right:2px solid @inputBackground;
|
|
1576
|
-
border-bottom:2px solid @inputBackground;
|
|
1577
|
-
height
|
|
1578
|
-
box-sizing:border-box;
|
|
1579
|
-
background:lighten(@inputBackground, 4%);
|
|
1731
|
+
border-top: 2px solid @inputBackground;
|
|
1732
|
+
border-right: 2px solid @inputBackground;
|
|
1733
|
+
border-bottom: 2px solid @inputBackground;
|
|
1734
|
+
height: @inputHeight;
|
|
1735
|
+
box-sizing: border-box;
|
|
1736
|
+
background: lighten(@inputBackground, 4%);
|
|
1580
1737
|
}
|
|
1581
1738
|
|
|
1582
|
-
.checkbox{
|
|
1739
|
+
.checkbox {
|
|
1583
1740
|
.inputMixin;
|
|
1584
1741
|
line-height: 10px;
|
|
1585
1742
|
border: 1px solid @backgroundLight;
|
|
1586
1743
|
border-radius: 2px;
|
|
1587
|
-
width:18px;
|
|
1588
|
-
height:18px;
|
|
1589
|
-
padding:2px;
|
|
1744
|
+
width: 18px;
|
|
1745
|
+
height: 18px;
|
|
1746
|
+
padding: 2px;
|
|
1590
1747
|
cursor: pointer;
|
|
1591
1748
|
|
|
1592
1749
|
.fa-check {
|
|
@@ -1595,70 +1752,71 @@ body{
|
|
|
1595
1752
|
}
|
|
1596
1753
|
}
|
|
1597
1754
|
|
|
1598
|
-
.color-field{
|
|
1599
|
-
|
|
1600
|
-
.form-field-content{
|
|
1601
|
-
|
|
1602
|
-
&.label-top{
|
|
1603
|
-
|
|
1604
|
-
.picker{
|
|
1605
|
-
top
|
|
1606
|
-
|
|
1607
|
-
|
|
1755
|
+
.color-field {
|
|
1756
|
+
|
|
1757
|
+
.form-field-content {
|
|
1758
|
+
|
|
1759
|
+
&.label-top {
|
|
1760
|
+
|
|
1761
|
+
.picker {
|
|
1762
|
+
top: @inputHeight + @labelHeight;
|
|
1763
|
+
|
|
1764
|
+
&.picker-left {
|
|
1765
|
+
left: 0px;
|
|
1608
1766
|
top: -200px;
|
|
1609
1767
|
}
|
|
1610
1768
|
|
|
1611
|
-
&.picker-right{
|
|
1612
|
-
right:0px;
|
|
1769
|
+
&.picker-right {
|
|
1770
|
+
right: 0px;
|
|
1613
1771
|
top: -200px;
|
|
1614
1772
|
}
|
|
1615
1773
|
}
|
|
1616
1774
|
}
|
|
1617
1775
|
|
|
1618
|
-
.swatch{
|
|
1776
|
+
.swatch {
|
|
1619
1777
|
display: inline-block;
|
|
1620
|
-
height
|
|
1621
|
-
width:100%;
|
|
1778
|
+
height: @inputHeight;
|
|
1779
|
+
width: 100%;
|
|
1622
1780
|
}
|
|
1623
|
-
|
|
1624
|
-
.picker{
|
|
1625
|
-
position:absolute;
|
|
1626
|
-
top:@inputHeight + 3px;
|
|
1627
|
-
z-index:15000;
|
|
1628
1781
|
|
|
1629
|
-
|
|
1630
|
-
|
|
1782
|
+
.picker {
|
|
1783
|
+
position: absolute;
|
|
1784
|
+
top: @inputHeight + 3px;
|
|
1785
|
+
z-index: 15000;
|
|
1786
|
+
|
|
1787
|
+
&.picker-left {
|
|
1788
|
+
left: @labelWidth
|
|
1631
1789
|
}
|
|
1632
1790
|
|
|
1633
|
-
&.picker-right{
|
|
1634
|
-
right:0px;
|
|
1791
|
+
&.picker-right {
|
|
1792
|
+
right: 0px;
|
|
1635
1793
|
}
|
|
1636
1794
|
|
|
1637
|
-
.sketch-picker{
|
|
1638
|
-
|
|
1639
|
-
background
|
|
1795
|
+
.sketch-picker {
|
|
1796
|
+
|
|
1797
|
+
background: @backgroundLight !important;
|
|
1640
1798
|
|
|
1641
|
-
input{
|
|
1642
|
-
box-shadow:none !important;
|
|
1799
|
+
input {
|
|
1800
|
+
box-shadow: none !important;
|
|
1643
1801
|
}
|
|
1644
|
-
|
|
1645
|
-
span{
|
|
1646
|
-
color
|
|
1802
|
+
|
|
1803
|
+
span {
|
|
1804
|
+
color: @textDefault !important;
|
|
1647
1805
|
}
|
|
1648
1806
|
|
|
1649
|
-
label{
|
|
1650
|
-
width:unset;
|
|
1807
|
+
label {
|
|
1808
|
+
width: unset;
|
|
1651
1809
|
}
|
|
1652
1810
|
|
|
1653
|
-
.flexbox-fix{
|
|
1654
|
-
border-top:none !important;
|
|
1811
|
+
.flexbox-fix {
|
|
1812
|
+
border-top: none !important;
|
|
1655
1813
|
}
|
|
1656
1814
|
}
|
|
1657
1815
|
}
|
|
1658
1816
|
}
|
|
1659
1817
|
}
|
|
1660
1818
|
|
|
1661
|
-
.caret{
|
|
1819
|
+
.caret {
|
|
1662
1820
|
display: block;
|
|
1663
1821
|
width: 18px;
|
|
1664
1822
|
height: 100%;
|
|
@@ -1667,11 +1825,10 @@ body{
|
|
|
1667
1825
|
box-sizing: border-box;
|
|
1668
1826
|
user-select: none;
|
|
1669
1827
|
pointer-events: none;
|
|
1670
|
-
color:lighten(@inputBackground, 10%);
|
|
1671
|
-
|
|
1672
|
-
|
|
1828
|
+
color: lighten(@inputBackground, 10%);
|
|
1829
|
+
position: absolute;
|
|
1830
|
+
left: -18px;
|
|
1673
1831
|
}
|
|
1674
|
-
|
|
1675
1832
|
@headerHeight: 50px;
|
|
1676
1833
|
@defaultBGColor: #212124;
|
|
1677
1834
|
@defaultBorderColor: #494949;
|
|
@@ -3232,18 +3389,19 @@ h3{
|
|
|
3232
3389
|
// }
|
|
3233
3390
|
}
|
|
3234
3391
|
}
|
|
3235
|
-
|
|
3236
3392
|
#font-picker {
|
|
3237
3393
|
position: relative;
|
|
3238
3394
|
display: inline-block;
|
|
3239
|
-
width:
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3395
|
+
width: 100%;
|
|
3396
|
+
box-sizing: border-box;
|
|
3397
|
+
-webkit-appearance: none;
|
|
3398
|
+
-moz-appearance: none;
|
|
3399
|
+
appearance: none;
|
|
3400
|
+
box-shadow: none;
|
|
3401
|
+
|
|
3402
|
+
ul {
|
|
3403
|
+
width: inherit !important;
|
|
3404
|
+
}
|
|
3247
3405
|
|
|
3248
3406
|
* {
|
|
3249
3407
|
box-sizing: border-box;
|
|
@@ -3271,8 +3429,9 @@ h3{
|
|
|
3271
3429
|
height: 20px;
|
|
3272
3430
|
padding: 0 4px;
|
|
3273
3431
|
background: #1d1d1d;
|
|
3274
|
-
|
|
3275
|
-
&:hover,
|
|
3432
|
+
|
|
3433
|
+
&:hover,
|
|
3434
|
+
&:focus {
|
|
3276
3435
|
background: #151515;
|
|
3277
3436
|
}
|
|
3278
3437
|
|
|
@@ -3343,8 +3502,10 @@ h3{
|
|
|
3343
3502
|
height: 100%;
|
|
3344
3503
|
padding-left: 3px;
|
|
3345
3504
|
white-space: nowrap;
|
|
3346
|
-
|
|
3347
|
-
&:hover,
|
|
3505
|
+
|
|
3506
|
+
&:hover,
|
|
3507
|
+
&:focus,
|
|
3508
|
+
&.active-font {
|
|
3348
3509
|
background: #2d8ceb;
|
|
3349
3510
|
}
|
|
3350
3511
|
}
|
|
@@ -3363,7 +3524,6 @@ h3{
|
|
|
3363
3524
|
max-height: 200px;
|
|
3364
3525
|
}
|
|
3365
3526
|
}
|
|
3366
|
-
|
|
3367
3527
|
.contextmenu {
|
|
3368
3528
|
background: #161616;
|
|
3369
3529
|
position: absolute;
|