survey-react 1.9.84 → 1.9.85
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/defaultV2.css +272 -160
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +23 -9
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +5 -1
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +5293 -5241
- package/survey.react.js +341 -51
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/defaultV2.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.85
|
3
3
|
* Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -347,7 +347,7 @@ sv-popup {
|
|
347
347
|
max-width: 90vw;
|
348
348
|
}
|
349
349
|
|
350
|
-
.sv-popup--modal {
|
350
|
+
.sv-popup.sv-popup--modal {
|
351
351
|
display: flex;
|
352
352
|
align-items: center;
|
353
353
|
justify-content: center;
|
@@ -355,11 +355,12 @@ sv-popup {
|
|
355
355
|
padding: calc(11 * var(--base-unit, 8px)) calc(15 * var(--base-unit, 8px));
|
356
356
|
box-sizing: border-box;
|
357
357
|
}
|
358
|
-
.sv-popup--modal .sv-popup__container {
|
358
|
+
.sv-popup.sv-popup--modal .sv-popup__container {
|
359
359
|
position: static;
|
360
360
|
}
|
361
|
-
.sv-popup--modal .sv-popup__body-content {
|
361
|
+
.sv-popup.sv-popup--modal .sv-popup__body-content {
|
362
362
|
padding: calc(4 * var(--base-unit, 8px));
|
363
|
+
height: auto;
|
363
364
|
}
|
364
365
|
|
365
366
|
.sv-popup--overlay.sv-popup--overlay {
|
@@ -1159,12 +1160,24 @@ sv-popup {
|
|
1159
1160
|
white-space: nowrap;
|
1160
1161
|
}
|
1161
1162
|
|
1162
|
-
.sv-list__item.sv-list__item--focused
|
1163
|
+
.sv-list__item.sv-list__item--focused:not(.sv-list__item--selected) {
|
1164
|
+
outline: none;
|
1165
|
+
}
|
1166
|
+
.sv-list__item.sv-list__item--focused:not(.sv-list__item--selected) .sv-list__item-body {
|
1167
|
+
border: calc(0.25 * var(--base-unit, 8px)) solid var(--sjs-border-light, var(--border-light, #eaeaea));
|
1168
|
+
border-radius: 3px;
|
1169
|
+
padding-block: calc(0.75 * var(--base-unit, 8px));
|
1170
|
+
padding-inline-end: calc(7.75 * var(--base-unit, 8px));
|
1171
|
+
padding-inline-start: calc(1.75 * var(--base-unit, 8px));
|
1172
|
+
}
|
1173
|
+
.sv-list__item.sv-list__item--focused:not(.sv-list__item--selected) .sv-string-viewer {
|
1174
|
+
margin-inline-start: calc(-0.25 * var(--base-unit, 8px));
|
1175
|
+
}
|
1176
|
+
|
1163
1177
|
.sv-list__item:hover,
|
1164
1178
|
.sv-list__item:focus {
|
1165
1179
|
outline: none;
|
1166
1180
|
}
|
1167
|
-
.sv-list__item.sv-list__item--focused .sv-list__item-body,
|
1168
1181
|
.sv-list__item:hover .sv-list__item-body,
|
1169
1182
|
.sv-list__item:focus .sv-list__item-body {
|
1170
1183
|
background-color: var(--sjs-general-backcolor-dark, rgb(248, 248, 248));
|
@@ -1389,67 +1402,6 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1389
1402
|
padding-right: var(--sv-element-add-padding-right, 0px);
|
1390
1403
|
}
|
1391
1404
|
|
1392
|
-
.svc-logic-question-value,
|
1393
|
-
.sd-element--with-frame:not(.sd-element--collapsed) {
|
1394
|
-
border-radius: calc(0.5 * var(--base-unit, 8px));
|
1395
|
-
box-sizing: border-box;
|
1396
|
-
padding-left: calc(var(--sd-base-padding) + var(--sv-element-add-padding-left, 0px));
|
1397
|
-
padding-right: calc(var(--sd-base-padding) + var(--sv-element-add-padding-right, 0px));
|
1398
|
-
padding-bottom: var(--sd-base-padding);
|
1399
|
-
background: var(--sjs-question-background, var(--background, #fff));
|
1400
|
-
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
|
1401
|
-
}
|
1402
|
-
.svc-logic-question-value > .sd-question__erbox--outside-question,
|
1403
|
-
.sd-element--with-frame:not(.sd-element--collapsed) > .sd-question__erbox--outside-question {
|
1404
|
-
margin-left: calc(-1 * var(--sd-base-padding));
|
1405
|
-
margin-right: calc(-1 * var(--sd-base-padding));
|
1406
|
-
width: calc(100% + 2 * var(--sd-base-padding));
|
1407
|
-
}
|
1408
|
-
.svc-logic-question-value.sd-question--paneldynamic,
|
1409
|
-
.sd-element--with-frame:not(.sd-element--collapsed).sd-question--paneldynamic {
|
1410
|
-
padding-bottom: 0;
|
1411
|
-
}
|
1412
|
-
.svc-logic-question-value.sd-question--paneldynamic > .sd-question__erbox--below-question,
|
1413
|
-
.sd-element--with-frame:not(.sd-element--collapsed).sd-question--paneldynamic > .sd-question__erbox--below-question {
|
1414
|
-
bottom: 0;
|
1415
|
-
margin-top: 0;
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
.sd-element--with-frame > .sd-question__erbox--above-question {
|
1419
|
-
margin-top: calc(-1 * var(--sd-base-vertical-padding));
|
1420
|
-
}
|
1421
|
-
|
1422
|
-
.svc-logic-question-value,
|
1423
|
-
.sd-element:not(.sd-element--collapsed) {
|
1424
|
-
padding-top: var(--sd-base-vertical-padding);
|
1425
|
-
}
|
1426
|
-
|
1427
|
-
.sd-table__cell--detail-panel .sd-element:not(.sd-element--collapsed) {
|
1428
|
-
padding-top: calc(0.5 * var(--base-unit, 8px));
|
1429
|
-
}
|
1430
|
-
|
1431
|
-
.sd-element.sd-element--complex {
|
1432
|
-
padding-top: 0;
|
1433
|
-
}
|
1434
|
-
|
1435
|
-
.sd-element--expanded > .sd-element__header,
|
1436
|
-
.sd-element--collapsed > .sd-element__header {
|
1437
|
-
cursor: pointer;
|
1438
|
-
}
|
1439
|
-
|
1440
|
-
.sd-element--collapsed > .sd-element__header {
|
1441
|
-
padding: calc(2 * var(--base-unit, 8px)) var(--sd-base-padding);
|
1442
|
-
box-sizing: border-box;
|
1443
|
-
background-color: var(--background, #fff);
|
1444
|
-
}
|
1445
|
-
.sd-element--collapsed.sd-element--with-frame > .sd-element__header {
|
1446
|
-
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
|
1447
|
-
border-radius: calc(0.5 * var(--base-unit, 8px));
|
1448
|
-
}
|
1449
|
-
.sd-element--collapsed > .sd-element__header:focus-within, .sd-element--collapsed > .sd-element__header:hover {
|
1450
|
-
background-color: var(--background-dim-light, #f9f9f9);
|
1451
|
-
}
|
1452
|
-
|
1453
1405
|
.sd-element__title {
|
1454
1406
|
outline: none;
|
1455
1407
|
}
|
@@ -1462,80 +1414,6 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1462
1414
|
opacity: 1;
|
1463
1415
|
}
|
1464
1416
|
|
1465
|
-
.sd-element--collapsed:not(.sd-element--with-frame) > .sd-element__header {
|
1466
|
-
margin-left: calc(-1 * var(--sd-base-padding));
|
1467
|
-
width: calc(100% + 2 * var(--sd-base-padding));
|
1468
|
-
}
|
1469
|
-
|
1470
|
-
.sd-element--complex:not(.sd-element--collapsed) > .sd-element__header--location-top {
|
1471
|
-
padding-top: var(--sd-base-vertical-padding);
|
1472
|
-
padding-bottom: var(--sd-base-vertical-padding);
|
1473
|
-
}
|
1474
|
-
.sd-element--complex:not(.sd-element--collapsed) > .sd-element__header--location-top:after {
|
1475
|
-
content: " ";
|
1476
|
-
display: block;
|
1477
|
-
position: relative;
|
1478
|
-
bottom: calc(-1 * var(--sd-base-vertical-padding));
|
1479
|
-
height: 1px;
|
1480
|
-
background: var(--sjs-border-light, var(--border-light, #eaeaea));
|
1481
|
-
}
|
1482
|
-
|
1483
|
-
.sd-element--complex.sd-element--with-frame > .sd-element__header--location-top:after {
|
1484
|
-
content: " ";
|
1485
|
-
left: calc(-1 * var(--sd-base-padding));
|
1486
|
-
width: calc(100% + 2 * var(--sd-base-padding));
|
1487
|
-
}
|
1488
|
-
|
1489
|
-
.sd-element--nested.sd-element--complex > .sd-element__header--location-top {
|
1490
|
-
padding-bottom: calc(0.5 * var(--sd-base-vertical-padding));
|
1491
|
-
}
|
1492
|
-
.sd-element--nested.sd-element--complex > .sd-element__header--location-top:after {
|
1493
|
-
bottom: calc(-0.5 * var(--sd-base-vertical-padding));
|
1494
|
-
}
|
1495
|
-
.sd-element--nested.sd-question--image {
|
1496
|
-
padding-top: var(--sd-base-vertical-padding);
|
1497
|
-
}
|
1498
|
-
.sd-element--nested.sd-panel, .sd-element--nested.sd-question--paneldynamic {
|
1499
|
-
border: 1px solid var(--sjs-border-light, var(--border-light, #eaeaea));
|
1500
|
-
box-sizing: border-box;
|
1501
|
-
padding-left: var(--sd-base-padding);
|
1502
|
-
padding-right: var(--sd-base-padding);
|
1503
|
-
margin-top: var(--sd-base-vertical-padding);
|
1504
|
-
}
|
1505
|
-
.sd-element--nested.sd-panel > .sd-element__header--location-top, .sd-element--nested.sd-question--paneldynamic > .sd-element__header--location-top {
|
1506
|
-
padding-top: calc(0.5 * var(--sd-base-vertical-padding));
|
1507
|
-
padding-bottom: calc(0.5 * var(--sd-base-vertical-padding));
|
1508
|
-
}
|
1509
|
-
.sd-element--nested.sd-panel > .sd-element__header--location-top:after, .sd-element--nested.sd-question--paneldynamic > .sd-element__header--location-top:after {
|
1510
|
-
left: calc(-1 * var(--sd-base-padding));
|
1511
|
-
width: calc(100% + 2 * var(--sd-base-padding));
|
1512
|
-
bottom: calc(-0.5 * var(--sd-base-vertical-padding));
|
1513
|
-
}
|
1514
|
-
.sd-element--nested.sd-panel > .sd-question__erbox--outside-question, .sd-element--nested.sd-question--paneldynamic > .sd-question__erbox--outside-question {
|
1515
|
-
margin-left: calc(-1 * var(--sd-base-padding));
|
1516
|
-
margin-right: calc(-1 * var(--sd-base-padding));
|
1517
|
-
width: calc(100% + 2 * var(--sd-base-padding));
|
1518
|
-
}
|
1519
|
-
.sd-element--nested.sd-panel > .sd-question__erbox--below-question, .sd-element--nested.sd-question--paneldynamic > .sd-question__erbox--below-question {
|
1520
|
-
bottom: 0;
|
1521
|
-
margin-top: 0;
|
1522
|
-
}
|
1523
|
-
.sd-element--nested.sd-panel:not(.sd-element--collapsed) {
|
1524
|
-
padding-bottom: var(--sd-base-padding);
|
1525
|
-
}
|
1526
|
-
|
1527
|
-
.svc-question__content .sd-element {
|
1528
|
-
padding-top: 0;
|
1529
|
-
}
|
1530
|
-
|
1531
|
-
.svc-question__content .sd-element--complex > .sd-element__header--location-top {
|
1532
|
-
padding-bottom: calc(0.5 * var(--sd-base-vertical-padding));
|
1533
|
-
padding-top: 0;
|
1534
|
-
}
|
1535
|
-
.svc-question__content .sd-element--complex > .sd-element__header--location-top:after {
|
1536
|
-
display: none;
|
1537
|
-
}
|
1538
|
-
|
1539
1417
|
.sd-element--invisible {
|
1540
1418
|
opacity: 0.35;
|
1541
1419
|
}
|
@@ -1635,6 +1513,140 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1635
1513
|
transform: rotate(90deg);
|
1636
1514
|
}
|
1637
1515
|
|
1516
|
+
.svc-logic-question-value,
|
1517
|
+
.sd-element--with-frame {
|
1518
|
+
border-radius: calc(0.5 * var(--base-unit, 8px));
|
1519
|
+
box-sizing: border-box;
|
1520
|
+
padding-top: var(--sd-base-padding);
|
1521
|
+
padding-left: calc(var(--sd-base-padding) + var(--sv-element-add-padding-left, 0px));
|
1522
|
+
padding-right: calc(var(--sd-base-padding) + var(--sv-element-add-padding-right, 0px));
|
1523
|
+
padding-bottom: var(--sd-base-padding);
|
1524
|
+
background: var(--sjs-question-background, var(--background, #fff));
|
1525
|
+
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
|
1526
|
+
}
|
1527
|
+
.svc-logic-question-value.sd-question--paneldynamic,
|
1528
|
+
.sd-element--with-frame.sd-question--paneldynamic {
|
1529
|
+
padding-bottom: 0;
|
1530
|
+
}
|
1531
|
+
.svc-logic-question-value.sd-question--paneldynamic > .sd-question__erbox--below-question,
|
1532
|
+
.sd-element--with-frame.sd-question--paneldynamic > .sd-question__erbox--below-question {
|
1533
|
+
bottom: 0;
|
1534
|
+
margin-top: 0;
|
1535
|
+
}
|
1536
|
+
|
1537
|
+
.sd-element--complex > .sd-element__header--location-top {
|
1538
|
+
margin-top: 0;
|
1539
|
+
}
|
1540
|
+
.sd-element--complex > .sd-element__header--location-top:after {
|
1541
|
+
content: " ";
|
1542
|
+
display: block;
|
1543
|
+
position: relative;
|
1544
|
+
height: 1px;
|
1545
|
+
background: var(--sjs-border-light, var(--border-light, #eaeaea));
|
1546
|
+
bottom: 0;
|
1547
|
+
}
|
1548
|
+
.sd-element--complex.sd-element--with-frame {
|
1549
|
+
padding-top: 0;
|
1550
|
+
}
|
1551
|
+
.sd-element--complex.sd-element--with-frame > .sd-element__header--location-top {
|
1552
|
+
margin-top: 0;
|
1553
|
+
padding-top: var(--sd-base-vertical-padding);
|
1554
|
+
padding-bottom: var(--sd-base-vertical-padding);
|
1555
|
+
}
|
1556
|
+
.sd-element--complex.sd-element--with-frame > .sd-element__header--location-top:after {
|
1557
|
+
bottom: calc(-1 * var(--sd-base-vertical-padding));
|
1558
|
+
left: calc(-1 * var(--sd-base-padding));
|
1559
|
+
width: calc(100% + 2 * var(--sd-base-padding));
|
1560
|
+
}
|
1561
|
+
|
1562
|
+
.sd-element--expanded > .sd-element__header,
|
1563
|
+
.sd-element--collapsed > .sd-element__header {
|
1564
|
+
cursor: pointer;
|
1565
|
+
}
|
1566
|
+
|
1567
|
+
.sd-element--collapsed > .sd-element__header {
|
1568
|
+
padding: calc(0 * var(--base-unit, 8px)) var(--sd-base-padding);
|
1569
|
+
box-sizing: border-box;
|
1570
|
+
background-color: var(--background, #fff);
|
1571
|
+
}
|
1572
|
+
.sd-element--collapsed.sd-element--complex > .sd-element__header--location-top:after {
|
1573
|
+
display: none;
|
1574
|
+
}
|
1575
|
+
.sd-element--collapsed.sd-element--with-frame {
|
1576
|
+
padding-top: 0;
|
1577
|
+
padding-bottom: 0;
|
1578
|
+
}
|
1579
|
+
.sd-element--collapsed.sd-element--with-frame > .sd-element__header {
|
1580
|
+
padding-top: calc(2 * var(--base-unit, 8px));
|
1581
|
+
padding-bottom: calc(2 * var(--base-unit, 8px));
|
1582
|
+
border-radius: calc(0.5 * var(--base-unit, 8px));
|
1583
|
+
}
|
1584
|
+
.sd-element--collapsed.sd-element--with-frame > .sd-element__header--location-top {
|
1585
|
+
margin-top: 0;
|
1586
|
+
}
|
1587
|
+
.sd-element--collapsed > .sd-element__header:focus-within, .sd-element--collapsed > .sd-element__header:hover {
|
1588
|
+
background-color: var(--background-dim-light, #f9f9f9);
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
.sd-element--collapsed > .sd-element__header {
|
1592
|
+
margin-left: calc(-1 * var(--sd-base-padding));
|
1593
|
+
width: calc(100% + 2 * var(--sd-base-padding));
|
1594
|
+
}
|
1595
|
+
|
1596
|
+
.sd-element--nested.sd-element--complex > .sd-element__header--location-top:after {
|
1597
|
+
bottom: calc(-0.5 * var(--sd-base-vertical-padding));
|
1598
|
+
}
|
1599
|
+
.sd-element--nested.sd-element--collapsed > .sd-element__header:hover, .sd-element--nested.sd-element--collapsed > .sd-element__header:focus-within {
|
1600
|
+
box-shadow: 0 calc(-2 * var(--base-unit, 8px)) 0 0 var(--background-dim-light, #f9f9f9), 0 calc(2 * var(--base-unit, 8px)) 0 var(--background-dim-light, #f9f9f9);
|
1601
|
+
}
|
1602
|
+
.sd-element--nested.sd-panel, .sd-element--nested.sd-question--paneldynamic {
|
1603
|
+
border: 1px solid var(--sjs-border-light, var(--border-light, #eaeaea));
|
1604
|
+
box-sizing: border-box;
|
1605
|
+
padding-left: var(--sd-base-padding);
|
1606
|
+
padding-right: var(--sd-base-padding);
|
1607
|
+
}
|
1608
|
+
.sd-element--nested.sd-panel > .sd-element__header--location-top, .sd-element--nested.sd-question--paneldynamic > .sd-element__header--location-top {
|
1609
|
+
padding-top: calc(0.5 * var(--sd-base-vertical-padding));
|
1610
|
+
padding-bottom: calc(0.5 * var(--sd-base-vertical-padding));
|
1611
|
+
}
|
1612
|
+
.sd-element--nested.sd-panel > .sd-element__header--location-top:after, .sd-element--nested.sd-question--paneldynamic > .sd-element__header--location-top:after {
|
1613
|
+
left: calc(-1 * var(--sd-base-padding));
|
1614
|
+
width: calc(100% + 2 * var(--sd-base-padding));
|
1615
|
+
bottom: calc(-0.5 * var(--sd-base-vertical-padding));
|
1616
|
+
}
|
1617
|
+
.sd-element--nested.sd-panel > .sd-question__erbox--outside-question, .sd-element--nested.sd-question--paneldynamic > .sd-question__erbox--outside-question {
|
1618
|
+
margin-left: calc(-1 * var(--sd-base-padding));
|
1619
|
+
margin-right: calc(-1 * var(--sd-base-padding));
|
1620
|
+
width: calc(100% + 2 * var(--sd-base-padding));
|
1621
|
+
}
|
1622
|
+
.sd-element--nested.sd-panel > .sd-question__erbox--below-question, .sd-element--nested.sd-question--paneldynamic > .sd-question__erbox--below-question {
|
1623
|
+
bottom: 0;
|
1624
|
+
margin-top: 0;
|
1625
|
+
}
|
1626
|
+
.sd-element--nested.sd-panel.sd-element--collapsed > .sd-element__header--location-top:after, .sd-element--nested.sd-question--paneldynamic.sd-element--collapsed > .sd-element__header--location-top:after {
|
1627
|
+
display: none;
|
1628
|
+
}
|
1629
|
+
.sd-element--nested.sd-panel.sd-element--collapsed > .sd-element__header--location-top:hover, .sd-element--nested.sd-panel.sd-element--collapsed > .sd-element__header--location-top:focus-within, .sd-element--nested.sd-question--paneldynamic.sd-element--collapsed > .sd-element__header--location-top:hover, .sd-element--nested.sd-question--paneldynamic.sd-element--collapsed > .sd-element__header--location-top:focus-within {
|
1630
|
+
box-shadow: none;
|
1631
|
+
}
|
1632
|
+
.sd-element--nested > .sd-panel__content {
|
1633
|
+
padding-bottom: var(--sd-base-padding);
|
1634
|
+
}
|
1635
|
+
|
1636
|
+
.sd-element--with-frame.sd-element--compact {
|
1637
|
+
border: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
|
1638
|
+
border-radius: 4px;
|
1639
|
+
box-shadow: none;
|
1640
|
+
}
|
1641
|
+
|
1642
|
+
.svc-question__content .sd-element--complex > .sd-element__header--location-top {
|
1643
|
+
padding-bottom: calc(0.5 * var(--sd-base-vertical-padding));
|
1644
|
+
padding-top: 0;
|
1645
|
+
}
|
1646
|
+
.svc-question__content .sd-element--complex > .sd-element__header--location-top:after {
|
1647
|
+
display: none;
|
1648
|
+
}
|
1649
|
+
|
1638
1650
|
.sd-question {
|
1639
1651
|
position: relative;
|
1640
1652
|
}
|
@@ -1688,6 +1700,30 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1688
1700
|
padding-bottom: calc(0.5 * var(--sd-base-vertical-padding));
|
1689
1701
|
}
|
1690
1702
|
|
1703
|
+
.sd-question__header--location--bottom {
|
1704
|
+
padding-top: calc(0.5 * var(--sd-base-vertical-padding));
|
1705
|
+
}
|
1706
|
+
|
1707
|
+
.svc-logic-question-value > .sd-question__erbox--outside-question,
|
1708
|
+
.sd-element--with-frame > .sd-question__erbox--outside-question {
|
1709
|
+
margin-left: calc(-1 * var(--sd-base-padding));
|
1710
|
+
margin-right: calc(-1 * var(--sd-base-padding));
|
1711
|
+
width: calc(100% + 2 * var(--sd-base-padding));
|
1712
|
+
}
|
1713
|
+
.svc-logic-question-value > .sd-question__erbox--above-question,
|
1714
|
+
.sd-element--with-frame > .sd-question__erbox--above-question {
|
1715
|
+
margin-top: calc(-1 * var(--sd-base-padding));
|
1716
|
+
margin-bottom: var(--sd-base-vertical-padding);
|
1717
|
+
}
|
1718
|
+
.svc-logic-question-value > .sd-question__header--location-top,
|
1719
|
+
.sd-element--with-frame > .sd-question__header--location-top {
|
1720
|
+
margin-top: calc(-1 * var(--base-unit, 8px));
|
1721
|
+
}
|
1722
|
+
.svc-logic-question-value > .sd-question__content > .sd-question__header--location--bottom,
|
1723
|
+
.sd-element--with-frame > .sd-question__content > .sd-question__header--location--bottom {
|
1724
|
+
margin-bottom: calc(-1 * var(--base-unit, 8px));
|
1725
|
+
}
|
1726
|
+
|
1691
1727
|
.sd-scrollable .sd-question__content {
|
1692
1728
|
overflow-x: auto;
|
1693
1729
|
padding: calc(2 * var(--base-unit, 8px)) 0;
|
@@ -1755,6 +1791,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1755
1791
|
|
1756
1792
|
.sd-question--complex .sd-question__erbox--above-question {
|
1757
1793
|
margin-top: 0;
|
1794
|
+
margin-bottom: calc(var(--sd-base-vertical-padding) - 1 * var(--base-unit, 8px));
|
1758
1795
|
}
|
1759
1796
|
.sd-question--complex .sd-question__erbox--above-question ~ .sd-question__header--location-top {
|
1760
1797
|
padding-top: calc(1 * var(--base-unit, 8px));
|
@@ -1930,13 +1967,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1930
1967
|
.sd-panel {
|
1931
1968
|
position: relative;
|
1932
1969
|
}
|
1933
|
-
.sd-panel .sd-row {
|
1934
|
-
margin-top: 0;
|
1935
|
-
}
|
1936
|
-
.sd-panel :not(.svc-row) > .sd-row--multiple {
|
1937
|
-
row-gap: 0;
|
1938
|
-
}
|
1939
1970
|
|
1971
|
+
.sd-panel.sd-panel--as-page > .sd-panel__content {
|
1972
|
+
padding-top: 0;
|
1973
|
+
}
|
1940
1974
|
.sd-panel.sd-panel--as-page > .sd-panel__header.sd-panel__header {
|
1941
1975
|
padding-top: 0;
|
1942
1976
|
padding-bottom: 0;
|
@@ -1978,6 +2012,15 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1978
2012
|
padding-top: calc(0.5 * var(--sd-base-vertical-padding));
|
1979
2013
|
}
|
1980
2014
|
|
2015
|
+
.sd-panel__content {
|
2016
|
+
padding-top: var(--sd-base-vertical-padding);
|
2017
|
+
}
|
2018
|
+
|
2019
|
+
.svc-question__content .sd-panel__content {
|
2020
|
+
gap: 0;
|
2021
|
+
padding-top: 0;
|
2022
|
+
}
|
2023
|
+
|
1981
2024
|
.sjs_sp_placeholder {
|
1982
2025
|
color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
1983
2026
|
}
|
@@ -2326,6 +2369,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2326
2369
|
table-layout: fixed;
|
2327
2370
|
}
|
2328
2371
|
|
2372
|
+
.sd-table__cell--detail-panel .sd-panel__content {
|
2373
|
+
padding-top: calc(1 * var(--base-unit, 8px));
|
2374
|
+
}
|
2375
|
+
|
2329
2376
|
.sd-body--responsive .sd-page {
|
2330
2377
|
padding: calc(5 * var(--base-unit, 8px)) var(--sd-page-vertical-padding) calc(2 * var(--base-unit, 8px));
|
2331
2378
|
}
|
@@ -2370,14 +2417,21 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2370
2417
|
flex-direction: row;
|
2371
2418
|
width: 100%;
|
2372
2419
|
box-sizing: border-box;
|
2373
|
-
margin-top:
|
2420
|
+
margin-top: var(--sd-base-vertical-padding);
|
2421
|
+
}
|
2422
|
+
|
2423
|
+
.sd-row:first-of-type {
|
2424
|
+
margin-top: 0;
|
2374
2425
|
}
|
2375
2426
|
|
2376
|
-
.sd-
|
2427
|
+
.sd-row.sd-page__row {
|
2377
2428
|
margin-top: calc(2 * var(--base-unit, 8px));
|
2378
2429
|
}
|
2430
|
+
.sd-row.sd-page__row.sd-row--compact {
|
2431
|
+
margin-top: var(--sd-base-vertical-padding);
|
2432
|
+
}
|
2379
2433
|
|
2380
|
-
.sd-page__row.sd-row--multiple,
|
2434
|
+
.sd-page__row.sd-row--multiple:not(.sd-row--compact),
|
2381
2435
|
.svc-row > .sd-row--multiple {
|
2382
2436
|
background: var(--sjs-question-background, var(--background, #fff));
|
2383
2437
|
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
|
@@ -2385,7 +2439,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2385
2439
|
}
|
2386
2440
|
|
2387
2441
|
:not(.svc-row) > .sd-row--multiple {
|
2388
|
-
row-gap:
|
2442
|
+
row-gap: var(--sd-base-vertical-padding);
|
2389
2443
|
margin-left: calc(-1 * var(--sd-base-padding));
|
2390
2444
|
width: calc(100% + var(--sd-base-padding));
|
2391
2445
|
flex-wrap: wrap;
|
@@ -2396,10 +2450,15 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2396
2450
|
}
|
2397
2451
|
|
2398
2452
|
:not(.svc-row) > .sd-page__row.sd-row--multiple {
|
2399
|
-
padding:
|
2453
|
+
padding: var(--sd-base-vertical-padding) var(--sd-base-padding) var(--sd-base-padding) 0;
|
2400
2454
|
margin-left: 0;
|
2401
2455
|
width: 100%;
|
2402
2456
|
}
|
2457
|
+
:not(.svc-row) > .sd-page__row.sd-row--multiple.sd-row--compact {
|
2458
|
+
padding: 0;
|
2459
|
+
width: calc(100% + var(--sd-base-padding));
|
2460
|
+
margin-left: calc(-1 * var(--sd-base-padding));
|
2461
|
+
}
|
2403
2462
|
|
2404
2463
|
.svc-row .sd-row--multiple {
|
2405
2464
|
overflow: auto;
|
@@ -2410,7 +2469,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2410
2469
|
gap: calc(1 * var(--base-unit, 8px));
|
2411
2470
|
}
|
2412
2471
|
|
2413
|
-
:not(.svc-row--ghost) > .sd-row {
|
2472
|
+
.svc-row:not(.svc-row--ghost) > .sd-row {
|
2414
2473
|
min-height: 50px;
|
2415
2474
|
}
|
2416
2475
|
|
@@ -2517,11 +2576,17 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2517
2576
|
font-family: var(--font-family, var(--font-family));
|
2518
2577
|
font-style: normal;
|
2519
2578
|
font-weight: normal;
|
2579
|
+
font-size: calc(2 * var(--base-unit, 8px));
|
2580
|
+
line-height: calc(3 * var(--base-unit, 8px));
|
2520
2581
|
color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
2521
2582
|
white-space: normal;
|
2522
2583
|
word-break: break-word;
|
2523
2584
|
}
|
2524
2585
|
|
2586
|
+
.sd-element__header .sd-description {
|
2587
|
+
margin-top: calc(0.5 * var(--base-unit, 8px));
|
2588
|
+
}
|
2589
|
+
|
2525
2590
|
.sd-item {
|
2526
2591
|
padding: calc(1.5 * var(--base-unit, 8px)) 0;
|
2527
2592
|
}
|
@@ -2717,6 +2782,15 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2717
2782
|
text-align: left;
|
2718
2783
|
}
|
2719
2784
|
|
2785
|
+
:root {
|
2786
|
+
--sd-rating-bad-color: var(--red, #e60a3e);
|
2787
|
+
--sd-rating-normal-color: var(--yellow, #ff9814);
|
2788
|
+
--sd-rating-good-color: var(--green, #19b394);
|
2789
|
+
--sd-rating-bad-color-light: var(--red-light, rgba(230, 10, 62, 0.1));
|
2790
|
+
--sd-rating-normal-color-light: var(--yellow-light, rgba(255, 152, 20, 0.1));
|
2791
|
+
--sd-rating-good-color-light: var(--green-light, rgba(25, 179, 148, 0.1));
|
2792
|
+
}
|
2793
|
+
|
2720
2794
|
.sd-rating {
|
2721
2795
|
overflow-x: auto;
|
2722
2796
|
min-height: calc(8 * var(--base-unit, 8px));
|
@@ -2832,6 +2906,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
2832
2906
|
.sd-rating__item-smiley--error {
|
2833
2907
|
background-color: var(--red-light, rgba(230, 10, 62, 0.1));
|
2834
2908
|
border-color: transparent;
|
2909
|
+
fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
2910
|
+
}
|
2911
|
+
.sd-rating__item-smiley--error.sd-rating__item-smiley--scale-colored:not(.sd-rating__item-smiley--selected) {
|
2912
|
+
opacity: initial;
|
2835
2913
|
}
|
2836
2914
|
|
2837
2915
|
.sd-rating__item-smiley.sd-rating__item-smiley--disabled {
|
@@ -2845,6 +2923,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
2845
2923
|
|
2846
2924
|
.sd-rating__item-smiley--allowhover:hover {
|
2847
2925
|
background-color: var(--sjs-general-backcolor-dark, rgb(248, 248, 248));
|
2926
|
+
border-color: var(--sjs-border-default, var(--border, #d6d6d6));
|
2848
2927
|
}
|
2849
2928
|
|
2850
2929
|
.sd-rating__item-smiley:focus-within {
|
@@ -2862,6 +2941,21 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
2862
2941
|
box-shadow: inset 0 0 0 2px var(--background, #fff);
|
2863
2942
|
}
|
2864
2943
|
|
2944
|
+
.sd-rating__item-smiley--scale-colored:not(.sd-rating__item-smiley--selected) {
|
2945
|
+
opacity: 0.25;
|
2946
|
+
}
|
2947
|
+
.sd-rating__item-smiley--scale-colored:not(.sd-rating__item-smiley--selected).sd-rating__item-smiley--allowhover:hover {
|
2948
|
+
opacity: 0.5;
|
2949
|
+
}
|
2950
|
+
|
2951
|
+
.sd-rating__item-smiley--rate-colored:not(.sd-rating__item-smiley--selected).sd-rating__item-smiley--allowhover:hover {
|
2952
|
+
opacity: 0.5;
|
2953
|
+
}
|
2954
|
+
|
2955
|
+
.sd-rating__item-smiley--scale-colored:not(.sd-rating__item-smiley--selected):focus-within {
|
2956
|
+
opacity: 1;
|
2957
|
+
}
|
2958
|
+
|
2865
2959
|
.sd-rating__item-star {
|
2866
2960
|
position: relative;
|
2867
2961
|
background: var(--background, #fff);
|
@@ -3424,10 +3518,6 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3424
3518
|
border-radius: calc(12.5 * var(--base-unit, 8px));
|
3425
3519
|
}
|
3426
3520
|
|
3427
|
-
.sd-boolean.sd-boolean--indeterminate:hover {
|
3428
|
-
background-color: var(--sjs-general-dim-backcolor-dark, rgb(243, 243, 243));
|
3429
|
-
}
|
3430
|
-
|
3431
3521
|
.sd-boolean__thumb,
|
3432
3522
|
.sd-boolean__label {
|
3433
3523
|
display: block;
|
@@ -3455,6 +3545,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3455
3545
|
box-shadow: inset 0 0 0 2px var(--primary, #19b394);
|
3456
3546
|
}
|
3457
3547
|
|
3548
|
+
.sd-boolean.sd-boolean--indeterminate .sd-boolean__switch {
|
3549
|
+
display: none;
|
3550
|
+
}
|
3551
|
+
|
3458
3552
|
.sd-boolean--indeterminate .sd-boolean__thumb {
|
3459
3553
|
display: none;
|
3460
3554
|
}
|
@@ -3470,6 +3564,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3470
3564
|
font-weight: 600;
|
3471
3565
|
margin-left: 0%;
|
3472
3566
|
transform: translateX(0);
|
3567
|
+
z-index: 2;
|
3473
3568
|
}
|
3474
3569
|
|
3475
3570
|
.sd-boolean--checked .sd-boolean__thumb {
|
@@ -3477,12 +3572,24 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3477
3572
|
transform: translateX(-100%);
|
3478
3573
|
}
|
3479
3574
|
|
3575
|
+
.sd-boolean--disabled {
|
3576
|
+
pointer-events: none;
|
3577
|
+
}
|
3480
3578
|
.sd-boolean--disabled .sd-boolean__thumb,
|
3481
3579
|
.sd-boolean--disabled .sd-boolean__label {
|
3482
3580
|
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
3483
3581
|
opacity: 0.25;
|
3484
3582
|
}
|
3485
3583
|
|
3584
|
+
.sd-boolean__thumb-ghost {
|
3585
|
+
z-index: 1;
|
3586
|
+
}
|
3587
|
+
|
3588
|
+
.sd-boolean.sd-boolean--allowhover .sd-boolean__thumb-ghost:hover {
|
3589
|
+
background-color: var(--sjs-general-dim-backcolor-dark, rgb(243, 243, 243));
|
3590
|
+
border-radius: calc(12.5 * var(--base-unit, 8px));
|
3591
|
+
}
|
3592
|
+
|
3486
3593
|
.svc-question__content .sd-boolean:not(.sd-boolean--checked):not(.sd-boolean--indeterminate) .sd-boolean__label:nth-of-type(1),
|
3487
3594
|
.svc-question__content .sd-boolean--checked .sd-boolean__label:nth-of-type(2) {
|
3488
3595
|
color: var(--primary, #19b394);
|
@@ -4385,12 +4492,17 @@ svg.sd-action--icon {
|
|
4385
4492
|
padding: 0;
|
4386
4493
|
}
|
4387
4494
|
.sd-list__item.sd-list__item .sd-list__item-body {
|
4388
|
-
padding-
|
4389
|
-
padding-bottom: calc(1.5 * var(--base-unit, 8px));
|
4495
|
+
padding-block: calc(1.5 * var(--base-unit, 8px));
|
4390
4496
|
border-radius: 3px;
|
4391
4497
|
font-size: calc(2 * var(--base-unit, 8px));
|
4392
4498
|
line-height: calc(3 * var(--base-unit, 8px));
|
4393
|
-
|
4499
|
+
}
|
4500
|
+
|
4501
|
+
.sd-list__item.sd-list__item--focused:not(.sd-list__item--selected) {
|
4502
|
+
outline: none;
|
4503
|
+
}
|
4504
|
+
.sd-list__item.sd-list__item--focused:not(.sd-list__item--selected) .sd-list__item-body {
|
4505
|
+
padding-block: calc(1.25 * var(--base-unit, 8px));
|
4394
4506
|
}
|
4395
4507
|
|
4396
4508
|
.sd-timer {
|