survey-react 1.9.138 → 1.9.139
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 +352 -15
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +19 -3
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +175 -19
- package/survey.react.js +557 -97
- 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.139
|
3
3
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -1369,10 +1369,16 @@ sv-brand-info, .sv-brand-info {
|
|
1369
1369
|
height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
1370
1370
|
}
|
1371
1371
|
|
1372
|
-
.sv-ranking-item--disabled.sv-ranking-item--disabled
|
1372
|
+
.sv-ranking-item--disabled.sv-ranking-item--disabled,
|
1373
|
+
.sv-ranking-item--readonly.sv-ranking-item--readonly,
|
1374
|
+
.sv-ranking-item--preview.sv-ranking-item--preview {
|
1373
1375
|
cursor: initial;
|
1376
|
+
user-select: initial;
|
1377
|
+
-webkit-user-select: initial;
|
1374
1378
|
}
|
1375
|
-
.sv-ranking-item--disabled.sv-ranking-item--disabled .sv-ranking-item__icon-container.sv-ranking-item__icon-container .sv-ranking-item__icon.sv-ranking-item__icon
|
1379
|
+
.sv-ranking-item--disabled.sv-ranking-item--disabled .sv-ranking-item__icon-container.sv-ranking-item__icon-container .sv-ranking-item__icon.sv-ranking-item__icon,
|
1380
|
+
.sv-ranking-item--readonly.sv-ranking-item--readonly .sv-ranking-item__icon-container.sv-ranking-item__icon-container .sv-ranking-item__icon.sv-ranking-item__icon,
|
1381
|
+
.sv-ranking-item--preview.sv-ranking-item--preview .sv-ranking-item__icon-container.sv-ranking-item__icon-container .sv-ranking-item__icon.sv-ranking-item__icon {
|
1376
1382
|
visibility: hidden;
|
1377
1383
|
}
|
1378
1384
|
|
@@ -1433,6 +1439,16 @@ sv-brand-info, .sv-brand-info {
|
|
1433
1439
|
opacity: 0.25;
|
1434
1440
|
}
|
1435
1441
|
|
1442
|
+
.sv-ranking-item--readonly .sv-ranking-item__index {
|
1443
|
+
background-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
.sv-ranking-item--preview .sv-ranking-item__index {
|
1447
|
+
background-color: transparent;
|
1448
|
+
border: 1px solid var(--sjs-general-forecolor, var(--foreground, #161616));
|
1449
|
+
box-sizing: border-box;
|
1450
|
+
}
|
1451
|
+
|
1436
1452
|
.sv-ranking-item__ghost.sv-ranking-item__ghost {
|
1437
1453
|
display: none;
|
1438
1454
|
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
@@ -2593,6 +2609,20 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
2593
2609
|
user-select: none;
|
2594
2610
|
}
|
2595
2611
|
|
2612
|
+
.sd-input--readonly {
|
2613
|
+
background-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
2614
|
+
}
|
2615
|
+
|
2616
|
+
.sd-input.sd-input--preview {
|
2617
|
+
background: none;
|
2618
|
+
box-shadow: none;
|
2619
|
+
transition: none;
|
2620
|
+
border-bottom: 1px solid var(--sjs-general-forecolor, var(--foreground, #161616));
|
2621
|
+
border-radius: 0;
|
2622
|
+
padding-left: 0;
|
2623
|
+
padding-right: 0;
|
2624
|
+
}
|
2625
|
+
|
2596
2626
|
.sd-input::placeholder {
|
2597
2627
|
color: var(--sjs-font-editorfont-placeholdercolor, var(--sjs-general-forecolor-light, var(--foreground-light, #909090)));
|
2598
2628
|
-webkit-user-select: none;
|
@@ -2607,6 +2637,16 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
2607
2637
|
opacity: 0.25;
|
2608
2638
|
}
|
2609
2639
|
|
2640
|
+
.sd-input.sd-input--readonly {
|
2641
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
2642
|
+
box-shadow: none;
|
2643
|
+
transition: none;
|
2644
|
+
}
|
2645
|
+
|
2646
|
+
.sd-input.sd-input--readonly::placeholder {
|
2647
|
+
color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
2648
|
+
}
|
2649
|
+
|
2610
2650
|
.sd-root--readonly .sd-input--disabled,
|
2611
2651
|
.sd-root--readonly .sd-input--disabled::placeholder {
|
2612
2652
|
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
@@ -2820,6 +2860,15 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
2820
2860
|
border: 1px dashed var(--sjs-border-default, var(--border, #d6d6d6));
|
2821
2861
|
}
|
2822
2862
|
|
2863
|
+
.sd-question--readonly .sjs_sp_container,
|
2864
|
+
.sd-question--preview .sjs_sp_container {
|
2865
|
+
border: none;
|
2866
|
+
}
|
2867
|
+
.sd-question--readonly .sjs_sp_placeholder,
|
2868
|
+
.sd-question--preview .sjs_sp_placeholder {
|
2869
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
2870
|
+
}
|
2871
|
+
|
2823
2872
|
.sjs_sp_controls.sd-signaturepad__controls {
|
2824
2873
|
right: var(--sjs-base-unit, var(--base-unit, 8px));
|
2825
2874
|
top: var(--sjs-base-unit, var(--base-unit, 8px));
|
@@ -2877,6 +2926,14 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
2877
2926
|
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
2878
2927
|
}
|
2879
2928
|
|
2929
|
+
.sd-checkbox--checked.sd-checkbox--readonly .sd-checkbox__svg use {
|
2930
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
2931
|
+
}
|
2932
|
+
|
2933
|
+
.sd-checkbox--checked.sd-checkbox--preview .sd-checkbox__svg use {
|
2934
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
2935
|
+
}
|
2936
|
+
|
2880
2937
|
.sd-matrixdynamic__btn.sd-matrixdynamic__add-btn {
|
2881
2938
|
position: sticky;
|
2882
2939
|
left: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -3033,9 +3090,9 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3033
3090
|
}
|
3034
3091
|
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell:not(.sd-table__cell--actions),
|
3035
3092
|
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type {
|
3036
|
-
border-top-color: var(--sjs-
|
3037
|
-
border-bottom-color: var(--sjs-
|
3038
|
-
background-color: var(--sjs-
|
3093
|
+
border-top-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
3094
|
+
border-bottom-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
3095
|
+
background-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
3039
3096
|
}
|
3040
3097
|
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell:not(.sd-table__cell--actions).sd-matrix__text--checked,
|
3041
3098
|
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type.sd-matrix__text--checked {
|
@@ -3053,6 +3110,14 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3053
3110
|
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator {
|
3054
3111
|
background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
3055
3112
|
}
|
3113
|
+
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell:not(.sd-table__cell--actions) .sd-item:not(.sd-item--error).sd-item--readonly.sd-item--checked .sd-item__decorator,
|
3114
|
+
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-item--readonly.sd-item--checked .sd-item__decorator {
|
3115
|
+
background-color: var(--sjs-general-backcolor, var(--background, #fff));
|
3116
|
+
}
|
3117
|
+
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell:not(.sd-table__cell--actions) .sd-item:not(.sd-item--error).sd-item--preview.sd-item--preview .sd-item__decorator,
|
3118
|
+
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-item--preview.sd-item--preview .sd-item__decorator {
|
3119
|
+
background-color: transparent;
|
3120
|
+
}
|
3056
3121
|
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell:not(.sd-table__cell--actions) .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after,
|
3057
3122
|
.sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after {
|
3058
3123
|
background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
|
@@ -3293,6 +3358,24 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3293
3358
|
flex-basis: 100%;
|
3294
3359
|
}
|
3295
3360
|
|
3361
|
+
.sd-element--with-frame.sd-element--compact .sd-table {
|
3362
|
+
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
3363
|
+
}
|
3364
|
+
.sd-element--with-frame.sd-element--compact .sd-table-wrapper:before, .sd-element--with-frame.sd-element--compact .sd-table-wrapper:after {
|
3365
|
+
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
3366
|
+
}
|
3367
|
+
.sd-element--with-frame.sd-element--compact .sd-table__cell--actions:not(.sd-table__cell--vertical):last-child .sd-action-bar {
|
3368
|
+
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
3369
|
+
}
|
3370
|
+
.sd-element--with-frame.sd-element--compact .sd-table__cell--actions:not(.sd-table__cell--vertical),
|
3371
|
+
.sd-element--with-frame.sd-element--compact .sd-table__cell--empty,
|
3372
|
+
.sd-element--with-frame.sd-element--compact .sd-table__cell--row-text,
|
3373
|
+
.sd-element--with-frame.sd-element--compact .sd-table__cell--footer-total,
|
3374
|
+
.sd-element--with-frame.sd-element--compact .sd-matrix__cell:first-of-type,
|
3375
|
+
.sd-element--with-frame.sd-element--compact .sd-matrix tr > td:first-of-type {
|
3376
|
+
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
3377
|
+
}
|
3378
|
+
|
3296
3379
|
.sd-question--table > .sd-question__header,
|
3297
3380
|
.sd-question--table .sd-question__description--under-input .sv-string-viewer {
|
3298
3381
|
position: sticky;
|
@@ -3668,6 +3751,18 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3668
3751
|
transition: box-shadow var(--sjs-transition-duration, 150ms), background var(--sjs-transition-duration, 150ms);
|
3669
3752
|
}
|
3670
3753
|
|
3754
|
+
.sd-item--readonly.sd-item--readonly .sd-item__decorator {
|
3755
|
+
background-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
3756
|
+
box-shadow: none;
|
3757
|
+
transition: none;
|
3758
|
+
}
|
3759
|
+
|
3760
|
+
.sd-item--preview.sd-item--preview .sd-item__decorator {
|
3761
|
+
background-color: transparent;
|
3762
|
+
box-shadow: none;
|
3763
|
+
transition: none;
|
3764
|
+
}
|
3765
|
+
|
3671
3766
|
.sd-item--checked .sd-item__decorator {
|
3672
3767
|
box-shadow: none;
|
3673
3768
|
}
|
@@ -3795,6 +3890,14 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3795
3890
|
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
3796
3891
|
}
|
3797
3892
|
|
3893
|
+
.sd-checkbox--checked.sd-checkbox--readonly .sd-checkbox__svg use {
|
3894
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
3895
|
+
}
|
3896
|
+
|
3897
|
+
.sd-checkbox--checked.sd-checkbox--preview .sd-checkbox__svg use {
|
3898
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
3899
|
+
}
|
3900
|
+
|
3798
3901
|
.sd-radio__decorator {
|
3799
3902
|
border-radius: 50%;
|
3800
3903
|
}
|
@@ -3821,6 +3924,20 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3821
3924
|
background-color: var(--sjs-border-default, var(--border, #d6d6d6));
|
3822
3925
|
}
|
3823
3926
|
|
3927
|
+
.sd-radio--checked.sd-radio--readonly .sd-radio__decorator:after {
|
3928
|
+
background-color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
3929
|
+
}
|
3930
|
+
|
3931
|
+
.sd-radio--checked.sd-radio--preview .sd-radio__decorator:after {
|
3932
|
+
display: none;
|
3933
|
+
}
|
3934
|
+
.sd-radio--checked.sd-radio--preview .sd-radio__decorator .sd-radio__svg {
|
3935
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
3936
|
+
display: block;
|
3937
|
+
width: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
3938
|
+
height: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
3939
|
+
}
|
3940
|
+
|
3824
3941
|
.sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after {
|
3825
3942
|
background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
3826
3943
|
}
|
@@ -4005,6 +4122,43 @@ legend + sv-ng-rating-item + .sd-rating__item {
|
|
4005
4122
|
border: none;
|
4006
4123
|
}
|
4007
4124
|
|
4125
|
+
.sd-rating__item.sd-rating__item--readonly {
|
4126
|
+
fill: transparent;
|
4127
|
+
background-color: transparent;
|
4128
|
+
border: 2px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
|
4129
|
+
box-shadow: none;
|
4130
|
+
transform: none;
|
4131
|
+
}
|
4132
|
+
.sd-rating__item.sd-rating__item--readonly .sd-rating__item-text.sd-rating__item-text {
|
4133
|
+
color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
4134
|
+
}
|
4135
|
+
|
4136
|
+
.sd-rating__item.sd-rating__item--selected.sd-rating__item--readonly {
|
4137
|
+
border-color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4138
|
+
}
|
4139
|
+
.sd-rating__item.sd-rating__item--selected.sd-rating__item--readonly .sd-rating__item-text.sd-rating__item-text {
|
4140
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4141
|
+
}
|
4142
|
+
|
4143
|
+
.sd-rating__item.sd-rating__item--preview {
|
4144
|
+
fill: transparent;
|
4145
|
+
background-color: transparent;
|
4146
|
+
border: 1px solid transparent;
|
4147
|
+
box-shadow: none;
|
4148
|
+
transform: none;
|
4149
|
+
}
|
4150
|
+
.sd-rating__item.sd-rating__item--preview .sd-rating__item-text.sd-rating__item-text {
|
4151
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4152
|
+
}
|
4153
|
+
|
4154
|
+
.sd-rating__item.sd-rating__item--selected.sd-rating__item--preview {
|
4155
|
+
border-color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4156
|
+
border-width: 1px;
|
4157
|
+
}
|
4158
|
+
.sd-rating__item.sd-rating__item--selected.sd-rating__item--preview .sd-rating__item-text.sd-rating__item-text {
|
4159
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4160
|
+
}
|
4161
|
+
|
4008
4162
|
.sd-question--disabled .sd-rating__item-text {
|
4009
4163
|
opacity: 0.25;
|
4010
4164
|
}
|
@@ -4090,6 +4244,26 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4090
4244
|
fill: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
|
4091
4245
|
}
|
4092
4246
|
|
4247
|
+
.sd-rating__item-smiley.sd-rating__item-smiley--selected.sd-rating__item-smiley--readonly {
|
4248
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4249
|
+
border-color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4250
|
+
background-color: unset;
|
4251
|
+
}
|
4252
|
+
|
4253
|
+
.sd-rating__item-smiley.sd-rating__item-smiley--preview {
|
4254
|
+
border-color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4255
|
+
border-width: 1px;
|
4256
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4257
|
+
}
|
4258
|
+
.sd-rating__item-smiley.sd-rating__item-smiley--preview svg {
|
4259
|
+
margin: 1px;
|
4260
|
+
}
|
4261
|
+
|
4262
|
+
.sd-rating__item-smiley.sd-rating__item-smiley--selected.sd-rating__item-smiley--preview {
|
4263
|
+
fill: var(--sjs-general-backcolor, var(--background, #fff));
|
4264
|
+
background-color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4265
|
+
}
|
4266
|
+
|
4093
4267
|
.sd-rating__item-smiley--allowhover:hover {
|
4094
4268
|
background-color: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
4095
4269
|
border-color: var(--sjs-border-default, var(--border, #d6d6d6));
|
@@ -4125,6 +4299,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4125
4299
|
opacity: 1;
|
4126
4300
|
}
|
4127
4301
|
|
4302
|
+
.sd-rating__item-smiley--scale-colored.sd-rating__item-smiley--selected, .sd-rating__item-smiley--scale-colored.sd-rating__item-smiley--readonly, .sd-rating__item-smiley--scale-colored.sd-rating__item-smiley--preview {
|
4303
|
+
opacity: 1;
|
4304
|
+
}
|
4305
|
+
|
4128
4306
|
.sd-rating__item-star {
|
4129
4307
|
position: relative;
|
4130
4308
|
width: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -4140,6 +4318,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4140
4318
|
}
|
4141
4319
|
.sd-rating__item-star svg {
|
4142
4320
|
stroke: var(--sjs-border-default, var(--border, #d6d6d6));
|
4321
|
+
stroke-width: 2px;
|
4143
4322
|
fill: transparent;
|
4144
4323
|
width: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
4145
4324
|
height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -4162,6 +4341,9 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4162
4341
|
width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
4163
4342
|
height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
4164
4343
|
}
|
4344
|
+
.sd-rating__item-star--small.sd-rating__item-star--selected svg {
|
4345
|
+
stroke-width: 1px;
|
4346
|
+
}
|
4165
4347
|
|
4166
4348
|
.sd-rating__item-star--selected svg {
|
4167
4349
|
stroke: transparent;
|
@@ -4186,6 +4368,27 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4186
4368
|
fill: var(--sjs-border-default, var(--border, #d6d6d6));
|
4187
4369
|
}
|
4188
4370
|
|
4371
|
+
.sd-rating__item-star--readonly svg {
|
4372
|
+
stroke: var(--sjs-border-default, var(--border, #d6d6d6));
|
4373
|
+
fill: none;
|
4374
|
+
}
|
4375
|
+
|
4376
|
+
.sd-rating__item-star--selected.sd-rating__item-star--readonly svg {
|
4377
|
+
stroke: none;
|
4378
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4379
|
+
}
|
4380
|
+
|
4381
|
+
.sd-rating__item-star--preview svg {
|
4382
|
+
stroke: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4383
|
+
stroke-width: 1px;
|
4384
|
+
fill: none;
|
4385
|
+
}
|
4386
|
+
|
4387
|
+
.sd-rating__item-star--selected.sd-rating__item-star--preview svg {
|
4388
|
+
stroke: none;
|
4389
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
4390
|
+
}
|
4391
|
+
|
4189
4392
|
.sd-rating__item-star:focus-within svg {
|
4190
4393
|
stroke: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
4191
4394
|
fill: transparent;
|
@@ -4300,6 +4503,28 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4300
4503
|
left: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
4301
4504
|
}
|
4302
4505
|
|
4506
|
+
.sv-ranking.sd-ranking--readonly {
|
4507
|
+
user-select: initial;
|
4508
|
+
-webkit-user-select: initial;
|
4509
|
+
}
|
4510
|
+
.sv-ranking.sd-ranking--readonly.sv-ranking--select-to-rank-empty-value .sv-ranking__containers-divider {
|
4511
|
+
visibility: hidden;
|
4512
|
+
}
|
4513
|
+
.sv-ranking.sd-ranking--readonly .sv-ranking__container--empty {
|
4514
|
+
visibility: hidden;
|
4515
|
+
}
|
4516
|
+
|
4517
|
+
.sv-ranking.sd-ranking--preview {
|
4518
|
+
user-select: initial;
|
4519
|
+
-webkit-user-select: initial;
|
4520
|
+
}
|
4521
|
+
.sv-ranking.sd-ranking--preview.sv-ranking--select-to-rank-empty-value .sv-ranking__containers-divider {
|
4522
|
+
visibility: hidden;
|
4523
|
+
}
|
4524
|
+
.sv-ranking.sd-ranking--preview .sv-ranking__container--empty {
|
4525
|
+
visibility: hidden;
|
4526
|
+
}
|
4527
|
+
|
4303
4528
|
@container (max-width: 496px) {
|
4304
4529
|
.sv-ranking--select-to-rank-horizontal {
|
4305
4530
|
flex-direction: column-reverse;
|
@@ -4526,12 +4751,22 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4526
4751
|
white-space: pre;
|
4527
4752
|
}
|
4528
4753
|
|
4529
|
-
.sd-input--disabled .sv-string-viewer
|
4754
|
+
.sd-input--disabled .sv-string-viewer,
|
4755
|
+
.sd-input--readonly .sv-string-viewer,
|
4756
|
+
.sd-input--preview .sv-string-viewer {
|
4530
4757
|
max-width: 100%;
|
4531
4758
|
overflow: hidden;
|
4532
4759
|
text-overflow: ellipsis;
|
4533
4760
|
}
|
4534
4761
|
|
4762
|
+
.sd-question--readonly .sd-dropdown_chevron-button use {
|
4763
|
+
opacity: 0.24;
|
4764
|
+
}
|
4765
|
+
|
4766
|
+
.sd-question--preview .sd-dropdown_chevron-button {
|
4767
|
+
display: none;
|
4768
|
+
}
|
4769
|
+
|
4535
4770
|
.sv-dropdown-popup .sd-list__item-body {
|
4536
4771
|
--sjs-internal-font-editorfont-size: var(--sjs-mobile-font-editorfont-size, var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px)));
|
4537
4772
|
line-height: calc(1.5 * (var(--sjs-internal-font-editorfont-size)));
|
@@ -4575,14 +4810,14 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4575
4810
|
background-position: left calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) top 50%, 0 0;
|
4576
4811
|
}
|
4577
4812
|
|
4578
|
-
.sd-input.sd-tagbox:not(.sd-tagbox--empty)
|
4813
|
+
.sd-input.sd-tagbox:not(.sd-tagbox--empty).sd-input--editable {
|
4579
4814
|
height: auto;
|
4580
4815
|
padding: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
4581
4816
|
padding-inline-end: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
4582
4817
|
padding-inline-start: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
4583
4818
|
}
|
4584
4819
|
|
4585
|
-
.sd-tagbox.sd-input--disabled {
|
4820
|
+
.sd-tagbox.sd-input--disabled, .sd-tagbox.sd-input--readonly, .sd-tagbox.sd-input--preview {
|
4586
4821
|
white-space: normal;
|
4587
4822
|
}
|
4588
4823
|
|
@@ -4849,11 +5084,41 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
4849
5084
|
align-items: flex-start;
|
4850
5085
|
padding-right: 0;
|
4851
5086
|
}
|
5087
|
+
.sd-imagepicker__column .sd-imagepicker__item {
|
5088
|
+
width: 100%;
|
5089
|
+
}
|
5090
|
+
.sd-imagepicker__column .sd-imagepicker__text {
|
5091
|
+
width: 100%;
|
5092
|
+
display: inline-block;
|
5093
|
+
overflow: hidden;
|
5094
|
+
text-overflow: ellipsis;
|
5095
|
+
text-align: center;
|
5096
|
+
}
|
4852
5097
|
|
4853
5098
|
.sd-selectbase__column.sd-imagepicker__column:not(:last-child) {
|
4854
5099
|
padding-right: 0;
|
4855
5100
|
}
|
4856
5101
|
|
5102
|
+
.sd-imagepicker__item--readonly .sd-imagepicker__check-icon {
|
5103
|
+
fill: var(--sjs-general-forecolor, var(--foreground, #161616));
|
5104
|
+
}
|
5105
|
+
|
5106
|
+
.sd-imagepicker__item--preview .sd-imagepicker__check-decorator {
|
5107
|
+
display: none;
|
5108
|
+
}
|
5109
|
+
.sd-imagepicker__item--preview .sd-imagepicker__image {
|
5110
|
+
/* Safari 6.0 - 9.0 */
|
5111
|
+
-webkit-filter: grayscale(100%);
|
5112
|
+
filter: grayscale(100%);
|
5113
|
+
opacity: 0.25;
|
5114
|
+
}
|
5115
|
+
.sd-imagepicker__item--preview.sd-imagepicker__item--checked .sd-imagepicker__image {
|
5116
|
+
/* Safari 6.0 - 9.0 */
|
5117
|
+
-webkit-filter: grayscale(0%);
|
5118
|
+
filter: grayscale(0%);
|
5119
|
+
opacity: 1;
|
5120
|
+
}
|
5121
|
+
|
4857
5122
|
.sd-image__image {
|
4858
5123
|
display: block;
|
4859
5124
|
max-width: 100%;
|
@@ -5158,6 +5423,37 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
5158
5423
|
opacity: 0.25;
|
5159
5424
|
}
|
5160
5425
|
|
5426
|
+
.sd-boolean--readonly {
|
5427
|
+
pointer-events: none;
|
5428
|
+
box-shadow: none;
|
5429
|
+
transition: none;
|
5430
|
+
background: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
5431
|
+
}
|
5432
|
+
.sd-boolean--readonly .sd-boolean__thumb {
|
5433
|
+
box-shadow: inset 0px 0px 0px 2px var(--sjs-general-forecolor, var(--foreground, #161616));
|
5434
|
+
transition: none;
|
5435
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
5436
|
+
}
|
5437
|
+
|
5438
|
+
.sd-boolean--preview {
|
5439
|
+
pointer-events: none;
|
5440
|
+
box-shadow: none;
|
5441
|
+
transition: none;
|
5442
|
+
background: transparent;
|
5443
|
+
}
|
5444
|
+
.sd-boolean--preview .sd-boolean__thumb {
|
5445
|
+
border: 1px solid var(--sjs-general-forecolor, var(--foreground, #161616));
|
5446
|
+
box-shadow: none;
|
5447
|
+
transition: none;
|
5448
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
5449
|
+
}
|
5450
|
+
.sd-boolean--preview.sd-boolean--checked .sd-boolean__thumb, .sd-boolean--preview.sd-boolean--indeterminate .sd-boolean__thumb {
|
5451
|
+
margin-left: auto;
|
5452
|
+
}
|
5453
|
+
.sd-boolean--preview .sd-checkbox__label--preview {
|
5454
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
5455
|
+
}
|
5456
|
+
|
5161
5457
|
.sd-boolean__thumb-ghost {
|
5162
5458
|
z-index: 1;
|
5163
5459
|
border-radius: calc(12.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -5196,6 +5492,11 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
5196
5492
|
color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
5197
5493
|
}
|
5198
5494
|
|
5495
|
+
.sd-question--readonly .sd-paneldynamic .sd-question__placeholder,
|
5496
|
+
.sd-question--preview .sd-paneldynamic .sd-question__placeholder {
|
5497
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
5498
|
+
}
|
5499
|
+
|
5199
5500
|
.sd-paneldynamic__separator {
|
5200
5501
|
display: block;
|
5201
5502
|
position: absolute;
|
@@ -5594,7 +5895,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
5594
5895
|
width: 100%;
|
5595
5896
|
}
|
5596
5897
|
|
5597
|
-
.sd-file__preview {
|
5898
|
+
.sd-file__preview-item {
|
5598
5899
|
position: relative;
|
5599
5900
|
display: flex;
|
5600
5901
|
align-items: stretch;
|
@@ -5603,13 +5904,13 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
5603
5904
|
width: calc(12 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
5604
5905
|
margin: 0;
|
5605
5906
|
}
|
5606
|
-
.sd-file__preview .sd-file__default-image {
|
5907
|
+
.sd-file__preview-item .sd-file__default-image {
|
5607
5908
|
width: calc(7 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
5608
5909
|
height: 90px;
|
5609
5910
|
}
|
5610
|
-
.sd-file__preview img:hover + .sd-file__remove-file-button,
|
5611
|
-
.sd-file__preview svg:hover + .sd-file__remove-file-button,
|
5612
|
-
.sd-file__preview .sd-file__remove-file-button:hover {
|
5911
|
+
.sd-file__preview-item img:hover + .sd-file__remove-file-button,
|
5912
|
+
.sd-file__preview-item svg:hover + .sd-file__remove-file-button,
|
5913
|
+
.sd-file__preview-item .sd-file__remove-file-button:hover {
|
5613
5914
|
opacity: 1;
|
5614
5915
|
}
|
5615
5916
|
|
@@ -5682,7 +5983,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
5682
5983
|
.sd-file--single-image {
|
5683
5984
|
height: calc(36 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
5684
5985
|
}
|
5685
|
-
.sd-file--single-image .sd-file__preview {
|
5986
|
+
.sd-file--single-image .sd-file__preview-item {
|
5686
5987
|
width: 100%;
|
5687
5988
|
margin: 0;
|
5688
5989
|
}
|
@@ -5798,6 +6099,38 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
5798
6099
|
cursor: default;
|
5799
6100
|
}
|
5800
6101
|
|
6102
|
+
.sd-file--readonly .sd-context-btn {
|
6103
|
+
display: none;
|
6104
|
+
}
|
6105
|
+
.sd-file--readonly .sd-file__decorator {
|
6106
|
+
border-color: transparent;
|
6107
|
+
}
|
6108
|
+
.sd-file--readonly .sd-file__actions-container {
|
6109
|
+
display: none;
|
6110
|
+
}
|
6111
|
+
.sd-file--readonly .sd-file__image-wrapper {
|
6112
|
+
background: var(--sjs-questionpanel-hovercolor, var(--sjs-general-backcolor-dark, rgb(248, 248, 248)));
|
6113
|
+
}
|
6114
|
+
.sd-file--readonly .sd-file__drag-area-placeholder {
|
6115
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
6116
|
+
}
|
6117
|
+
|
6118
|
+
.sd-file--preview .sd-context-btn {
|
6119
|
+
display: none;
|
6120
|
+
}
|
6121
|
+
.sd-file--preview .sd-file__decorator {
|
6122
|
+
border-color: transparent;
|
6123
|
+
}
|
6124
|
+
.sd-file--preview .sd-file__image-wrapper {
|
6125
|
+
background: transparent;
|
6126
|
+
}
|
6127
|
+
.sd-file--preview .sd-file__actions-container {
|
6128
|
+
display: none;
|
6129
|
+
}
|
6130
|
+
.sd-file--preview .sd-file__drag-area-placeholder {
|
6131
|
+
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
6132
|
+
}
|
6133
|
+
|
5801
6134
|
.sd-hidden {
|
5802
6135
|
display: none !important;
|
5803
6136
|
}
|
@@ -6192,6 +6525,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
6192
6525
|
color: var(--sjs-font-editorfont-placeholdercolor, var(--sjs-general-forecolor-light, var(--foreground-light, #909090)));
|
6193
6526
|
}
|
6194
6527
|
|
6528
|
+
.sd-question--preview .sd-multipletext__item-title {
|
6529
|
+
border: none;
|
6530
|
+
}
|
6531
|
+
|
6195
6532
|
.sd-multipletext__item {
|
6196
6533
|
flex-grow: 1;
|
6197
6534
|
}
|