survey-creator-core 1.9.97 → 1.9.99
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/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +7 -2
- package/survey-creator-core.css +70 -49
- package/survey-creator-core.fontless.css +69 -48
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +8 -8
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +487 -249
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +9 -9
- package/survey-creator-core.min.js +2 -2
- package/typings/components/page.d.ts +2 -0
- package/typings/components/tabs/theme-custom-questions/element-settings.d.ts +7 -1
- package/typings/components/tabs/theme-custom-questions/font-settings.d.ts +7 -0
- package/typings/components/tabs/theme.d.ts +2 -1
- package/typings/creator-base.d.ts +33 -2
- package/typings/creator-settings.d.ts +3 -0
- package/typings/custom-questions/question-color.d.ts +1 -0
- package/typings/custom-questions/question-file.d.ts +1 -0
- package/typings/editorLocalization.d.ts +1 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/property-grid/condition-survey.d.ts +1 -0
- package/typings/property-grid/index.d.ts +1 -0
- package/typings/property-grid-theme/property-grid.d.ts +2 -0
- package/typings/utils/utils.d.ts +1 -1
package/fonts.fontless.css
CHANGED
package/fonts.fontless.min.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-core",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.99",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -28,8 +28,13 @@
|
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"ace-builds": "^1.4.12"
|
|
30
30
|
},
|
|
31
|
+
"peerDependenciesMeta": {
|
|
32
|
+
"ace-builds": {
|
|
33
|
+
"optional": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
31
36
|
"dependencies": {
|
|
32
|
-
"survey-core": "1.9.
|
|
37
|
+
"survey-core": "1.9.99"
|
|
33
38
|
},
|
|
34
39
|
"devDependencies": {}
|
|
35
40
|
}
|
package/survey-creator-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.99
|
|
3
3
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
/*# sourceMappingURL=fonts.fontless.css.map*//*!
|
|
228
|
-
* SurveyJS Creator v1.9.
|
|
228
|
+
* SurveyJS Creator v1.9.99
|
|
229
229
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
230
230
|
* Github: https://github.com/surveyjs/survey-creator
|
|
231
231
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -1920,11 +1920,9 @@ survey-creator .svc-page-navigator__selector:hover .svc-page-navigator__navigato
|
|
|
1920
1920
|
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
1921
1921
|
}
|
|
1922
1922
|
|
|
1923
|
-
.svc-page-navigator__selector--opened {
|
|
1924
|
-
opacity: 0.5;
|
|
1925
|
-
}
|
|
1926
1923
|
.svc-page-navigator__selector--opened .svc-page-navigator__navigator-icon {
|
|
1927
1924
|
background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
|
1925
|
+
opacity: 0.5;
|
|
1928
1926
|
}
|
|
1929
1927
|
.svc-page-navigator__selector--opened .svc-page-navigator__navigator-icon use {
|
|
1930
1928
|
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
@@ -2092,6 +2090,7 @@ svc-page {
|
|
|
2092
2090
|
|
|
2093
2091
|
.svc-page__content {
|
|
2094
2092
|
position: relative;
|
|
2093
|
+
border-radius: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2095
2094
|
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(0 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2096
2095
|
box-sizing: border-box;
|
|
2097
2096
|
width: 100%;
|
|
@@ -2116,15 +2115,10 @@ svc-page {
|
|
|
2116
2115
|
background: var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1));
|
|
2117
2116
|
}
|
|
2118
2117
|
|
|
2119
|
-
.svc-creator .svc-page .svc-page__content--selected,
|
|
2120
|
-
.svc-creator .svc-page .svc-page__content--selected:focus,
|
|
2121
|
-
.svc-hovered {
|
|
2122
|
-
border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2123
|
-
}
|
|
2124
2118
|
.svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected,
|
|
2125
2119
|
.svc-creator .svc-page .svc-page__content--selected:focus.svc-page__content--selected,
|
|
2126
2120
|
.svc-hovered.svc-page__content--selected {
|
|
2127
|
-
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814))
|
|
2121
|
+
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2128
2122
|
background: var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1));
|
|
2129
2123
|
}
|
|
2130
2124
|
.svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected .svc-page__content-actions,
|
|
@@ -2179,9 +2173,9 @@ svc-page {
|
|
|
2179
2173
|
position: absolute;
|
|
2180
2174
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2181
2175
|
left: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2182
|
-
bottom: calc(11 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2176
|
+
bottom: calc(11.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2183
2177
|
width: calc(100% - 48px);
|
|
2184
|
-
height:
|
|
2178
|
+
height: 2px;
|
|
2185
2179
|
}
|
|
2186
2180
|
.svc-row {
|
|
2187
2181
|
width: 100%;
|
|
@@ -2249,7 +2243,7 @@ svc-page {
|
|
|
2249
2243
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2250
2244
|
top: 6px;
|
|
2251
2245
|
width: 100%;
|
|
2252
|
-
height:
|
|
2246
|
+
height: 2px;
|
|
2253
2247
|
}
|
|
2254
2248
|
|
|
2255
2249
|
.svc-row--drag-over-bottom:after {
|
|
@@ -2259,16 +2253,16 @@ svc-page {
|
|
|
2259
2253
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2260
2254
|
bottom: -10px;
|
|
2261
2255
|
width: 100%;
|
|
2262
|
-
height:
|
|
2256
|
+
height: 2px;
|
|
2263
2257
|
}
|
|
2264
2258
|
|
|
2265
2259
|
.svc-question__content--panel .svc-row--drag-over-top:before,
|
|
2266
2260
|
.sd-panel__content .svc-row--drag-over-top:before {
|
|
2267
|
-
top: -
|
|
2261
|
+
top: -4px;
|
|
2268
2262
|
}
|
|
2269
2263
|
.svc-question__content--panel .svc-row--drag-over-bottom:after,
|
|
2270
2264
|
.sd-panel__content .svc-row--drag-over-bottom:after {
|
|
2271
|
-
bottom: -
|
|
2265
|
+
bottom: -4px;
|
|
2272
2266
|
}
|
|
2273
2267
|
.svc-carry-forward-panel {
|
|
2274
2268
|
box-sizing: border-box;
|
|
@@ -2332,7 +2326,6 @@ svc-question {
|
|
|
2332
2326
|
padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(5 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2333
2327
|
background: var(--sjs-general-backcolor, var(--background, #fff));
|
|
2334
2328
|
box-shadow: var(--sjs-shadow-small, 0px 1px 2px 0px rgba(0, 0, 0, 0.15));
|
|
2335
|
-
border: 2px solid transparent;
|
|
2336
2329
|
outline: none;
|
|
2337
2330
|
}
|
|
2338
2331
|
|
|
@@ -2399,15 +2392,15 @@ svc-question {
|
|
|
2399
2392
|
}
|
|
2400
2393
|
|
|
2401
2394
|
.svc-question__content:focus,
|
|
2402
|
-
.svc-
|
|
2395
|
+
.svc-hovered > .svc-question__content {
|
|
2403
2396
|
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25)));
|
|
2404
2397
|
}
|
|
2405
2398
|
|
|
2406
|
-
.svc-
|
|
2407
|
-
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected {
|
|
2399
|
+
.svc-question__content--selected:not(.svc-question__content--dragged) {
|
|
2408
2400
|
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2409
2401
|
}
|
|
2410
|
-
|
|
2402
|
+
|
|
2403
|
+
.svc-question__content--selected:not(.svc-question__content--dragged) > .svc-question__content-actions,
|
|
2411
2404
|
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) > .svc-question__content-actions {
|
|
2412
2405
|
display: block;
|
|
2413
2406
|
}
|
|
@@ -2474,7 +2467,8 @@ svc-question {
|
|
|
2474
2467
|
|
|
2475
2468
|
.svc-question__content--drag-over-inside .svc-panel__placeholder_frame,
|
|
2476
2469
|
.svc-hovered > .svc-question__content--drag-over-inside .svc-panel__placeholder_frame {
|
|
2477
|
-
box-shadow: 0 0 0
|
|
2470
|
+
box-shadow: 0 0 0 1px var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
2471
|
+
border: 1px solid var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
2478
2472
|
background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
|
2479
2473
|
}
|
|
2480
2474
|
.svc-question__content--drag-over-inside .svc-panel__placeholder_frame > .svc-question__content-actions,
|
|
@@ -2485,21 +2479,21 @@ svc-question {
|
|
|
2485
2479
|
.svc-question__content--drag-over-left:before {
|
|
2486
2480
|
content: " ";
|
|
2487
2481
|
position: absolute;
|
|
2488
|
-
left: -
|
|
2482
|
+
left: -6px;
|
|
2489
2483
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2490
2484
|
top: 0;
|
|
2491
2485
|
height: 100%;
|
|
2492
|
-
width:
|
|
2486
|
+
width: 2px;
|
|
2493
2487
|
}
|
|
2494
2488
|
|
|
2495
2489
|
.svc-question__content--drag-over-right:after {
|
|
2496
2490
|
content: " ";
|
|
2497
2491
|
position: absolute;
|
|
2498
|
-
right: -
|
|
2492
|
+
right: -6px;
|
|
2499
2493
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2500
2494
|
top: 0;
|
|
2501
2495
|
height: 100%;
|
|
2502
|
-
width:
|
|
2496
|
+
width: 2px;
|
|
2503
2497
|
}
|
|
2504
2498
|
|
|
2505
2499
|
.svc-question__content--drag-over-top:before {
|
|
@@ -2507,9 +2501,9 @@ svc-question {
|
|
|
2507
2501
|
position: absolute;
|
|
2508
2502
|
left: 0;
|
|
2509
2503
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2510
|
-
top: -
|
|
2504
|
+
top: -9px;
|
|
2511
2505
|
width: 100%;
|
|
2512
|
-
height:
|
|
2506
|
+
height: 2px;
|
|
2513
2507
|
}
|
|
2514
2508
|
|
|
2515
2509
|
.svc-question__content--drag-over-bottom:before {
|
|
@@ -2517,9 +2511,9 @@ svc-question {
|
|
|
2517
2511
|
position: absolute;
|
|
2518
2512
|
left: 0;
|
|
2519
2513
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2520
|
-
bottom: -
|
|
2514
|
+
bottom: -9px;
|
|
2521
2515
|
width: 100%;
|
|
2522
|
-
height:
|
|
2516
|
+
height: 2px;
|
|
2523
2517
|
}
|
|
2524
2518
|
|
|
2525
2519
|
.svc-question__content--panel .sd-row > div:first-child .svc-question__content--drag-over-left,
|
|
@@ -2532,6 +2526,14 @@ svc-question {
|
|
|
2532
2526
|
margin-right: 8px;
|
|
2533
2527
|
width: calc(100% - 8px);
|
|
2534
2528
|
}
|
|
2529
|
+
.svc-question__content--panel .svc-question__content--drag-over-top:before,
|
|
2530
|
+
.sd-panel__content .svc-question__content--drag-over-top:before {
|
|
2531
|
+
top: -6px;
|
|
2532
|
+
}
|
|
2533
|
+
.svc-question__content--panel .svc-question__content--drag-over-bottom:before,
|
|
2534
|
+
.sd-panel__content .svc-question__content--drag-over-bottom:before {
|
|
2535
|
+
bottom: -6px;
|
|
2536
|
+
}
|
|
2535
2537
|
|
|
2536
2538
|
.svc-question__content-actions .sv-action-bar {
|
|
2537
2539
|
box-sizing: border-box;
|
|
@@ -2617,28 +2619,34 @@ svc-question .sv-action-bar,
|
|
|
2617
2619
|
fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
|
2618
2620
|
}
|
|
2619
2621
|
|
|
2620
|
-
.sd-panel
|
|
2621
|
-
.sd-row--multiple
|
|
2622
|
-
|
|
2623
|
-
|
|
2622
|
+
.sd-panel .svc-question__content--image:not(.svc-question__content--empty),
|
|
2623
|
+
.sd-row--multiple .svc-question__content--image:not(.svc-question__content--empty) {
|
|
2624
|
+
padding-left: 1px;
|
|
2625
|
+
padding-right: 1px;
|
|
2626
|
+
}
|
|
2627
|
+
.sd-panel .svc-question__content .sd-table-wrapper::before,
|
|
2628
|
+
.sd-row--multiple .svc-question__content .sd-table-wrapper::before {
|
|
2629
|
+
left: calc(-1 * var(--sd-base-padding) + 1px);
|
|
2630
|
+
}
|
|
2631
|
+
.sd-panel .svc-question__content .sd-table-wrapper::after,
|
|
2632
|
+
.sd-row--multiple .svc-question__content .sd-table-wrapper::after {
|
|
2633
|
+
right: calc(-1 * var(--sd-base-padding) + 1px);
|
|
2624
2634
|
}
|
|
2625
2635
|
.sd-panel .svc-question__content,
|
|
2626
2636
|
.sd-row--multiple .svc-question__content {
|
|
2627
2637
|
border-radius: 0;
|
|
2628
|
-
|
|
2629
|
-
.sd-panel .svc-question__content.svc-question__content--selected,
|
|
2630
|
-
.sd-row--multiple .svc-question__content.svc-question__content--selected {
|
|
2631
|
-
border: 1px solid transparent;
|
|
2632
|
-
box-shadow: none;
|
|
2633
|
-
}
|
|
2634
|
-
.sd-panel .svc-question__content:hover,
|
|
2635
|
-
.sd-row--multiple .svc-question__content:hover {
|
|
2636
|
-
border: 1px solid transparent;
|
|
2638
|
+
border: 1px dashed var(--sjs-border-default, var(--border, #d6d6d6));
|
|
2637
2639
|
box-shadow: none;
|
|
2638
2640
|
}
|
|
2639
|
-
.sd-
|
|
2641
|
+
.sd-panel .svc-hovered .svc-question__content:not(.svc-question__content--dragged),
|
|
2642
|
+
.sd-row--multiple .svc-hovered .svc-question__content:not(.svc-question__content--dragged) {
|
|
2640
2643
|
border: 1px solid var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25)));
|
|
2641
|
-
box-shadow: 0 0 0 1px var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25)));
|
|
2644
|
+
box-shadow: 0 0 0 1px var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25))) inset;
|
|
2645
|
+
}
|
|
2646
|
+
.sd-panel .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged),
|
|
2647
|
+
.sd-row--multiple .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged) {
|
|
2648
|
+
border: 1px solid var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2649
|
+
box-shadow: 0 0 0 1px var(--sjs-secondary-backcolor, var(--secondary, #ff9814)) inset;
|
|
2642
2650
|
}
|
|
2643
2651
|
|
|
2644
2652
|
.sd-panel .svc-row--ghost.svc-row--ghost .svc-question__content.svc-question__content {
|
|
@@ -2810,6 +2818,9 @@ svc-question .sv-action-bar,
|
|
|
2810
2818
|
.svc-question__content--image:not(.svc-question__content--empty) {
|
|
2811
2819
|
padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 calc(8 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
|
|
2812
2820
|
}
|
|
2821
|
+
.svc-question__content--image:not(.svc-question__content--empty) .sd-image__image {
|
|
2822
|
+
border-radius: 0;
|
|
2823
|
+
}
|
|
2813
2824
|
|
|
2814
2825
|
.svc-question__content--image.svc-question__content--empty .sd-file,
|
|
2815
2826
|
.svc-question__content--image.svc-question__content--empty sv-ng-file-question {
|
|
@@ -3790,6 +3801,7 @@ svc-toolbox {
|
|
|
3790
3801
|
width: 3px;
|
|
3791
3802
|
height: 100%;
|
|
3792
3803
|
position: absolute;
|
|
3804
|
+
z-index: 1;
|
|
3793
3805
|
top: 0;
|
|
3794
3806
|
background-color: transparent;
|
|
3795
3807
|
cursor: e-resize;
|
|
@@ -4240,7 +4252,7 @@ button.spg-action-button--large {
|
|
|
4240
4252
|
.spg-input__edit-button:active {
|
|
4241
4253
|
opacity: 0.5;
|
|
4242
4254
|
}
|
|
4243
|
-
.spg-input__edit-button:disabled {
|
|
4255
|
+
.spg-input__edit-button.spg-input__edit-button--disabled, .spg-input__edit-button:disabled {
|
|
4244
4256
|
opacity: 0.25;
|
|
4245
4257
|
background: var(--sjs-general-backcolor, var(--background, #fff));
|
|
4246
4258
|
}
|
|
@@ -4277,6 +4289,10 @@ button.spg-action-button--large {
|
|
|
4277
4289
|
background-color: transparent;
|
|
4278
4290
|
}
|
|
4279
4291
|
|
|
4292
|
+
.spg-input-container__input:disabled {
|
|
4293
|
+
opacity: 0.25;
|
|
4294
|
+
}
|
|
4295
|
+
|
|
4280
4296
|
.spg-input-container__buttons-container {
|
|
4281
4297
|
display: flex;
|
|
4282
4298
|
gap: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
@@ -4694,6 +4710,10 @@ button.spg-action-button--large {
|
|
|
4694
4710
|
fill: var(--sjs-general-backcolor, var(--background, #fff));
|
|
4695
4711
|
}
|
|
4696
4712
|
|
|
4713
|
+
.spg-color-editor__color-swatch--disabled .sv-svg-icon {
|
|
4714
|
+
opacity: 0.25;
|
|
4715
|
+
}
|
|
4716
|
+
|
|
4697
4717
|
.spg-color-editor .spg-input__edit-button + * {
|
|
4698
4718
|
margin-inline-end: calc(-0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
4699
4719
|
}
|
|
@@ -4724,8 +4744,8 @@ button.spg-action-button--large {
|
|
|
4724
4744
|
min-width: auto;
|
|
4725
4745
|
}
|
|
4726
4746
|
.spg-theme-builder-root .spg-row--multiple > div {
|
|
4727
|
-
flex: 1 1 0;
|
|
4728
|
-
min-width:
|
|
4747
|
+
flex: 1 1 calc(50% - var(--sjs-base-unit, var(--base-unit, 8px)) * 0.5);
|
|
4748
|
+
min-width: auto;
|
|
4729
4749
|
}
|
|
4730
4750
|
.spg-theme-builder-root .spg-row--multiple > div input {
|
|
4731
4751
|
min-width: 0;
|
|
@@ -4810,6 +4830,7 @@ button.spg-action-button--large {
|
|
|
4810
4830
|
}
|
|
4811
4831
|
|
|
4812
4832
|
.spg-root-modern {
|
|
4833
|
+
position: relative;
|
|
4813
4834
|
width: 100%;
|
|
4814
4835
|
border-right: 1px solid var(--sjs-border-default, var(--border, #d6d6d6));
|
|
4815
4836
|
box-sizing: border-box;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.99
|
|
3
3
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -1694,11 +1694,9 @@ survey-creator .svc-page-navigator__selector:hover .svc-page-navigator__navigato
|
|
|
1694
1694
|
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
1695
1695
|
}
|
|
1696
1696
|
|
|
1697
|
-
.svc-page-navigator__selector--opened {
|
|
1698
|
-
opacity: 0.5;
|
|
1699
|
-
}
|
|
1700
1697
|
.svc-page-navigator__selector--opened .svc-page-navigator__navigator-icon {
|
|
1701
1698
|
background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
|
1699
|
+
opacity: 0.5;
|
|
1702
1700
|
}
|
|
1703
1701
|
.svc-page-navigator__selector--opened .svc-page-navigator__navigator-icon use {
|
|
1704
1702
|
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
@@ -1866,6 +1864,7 @@ svc-page {
|
|
|
1866
1864
|
|
|
1867
1865
|
.svc-page__content {
|
|
1868
1866
|
position: relative;
|
|
1867
|
+
border-radius: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
1869
1868
|
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(0 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
1870
1869
|
box-sizing: border-box;
|
|
1871
1870
|
width: 100%;
|
|
@@ -1890,15 +1889,10 @@ svc-page {
|
|
|
1890
1889
|
background: var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1));
|
|
1891
1890
|
}
|
|
1892
1891
|
|
|
1893
|
-
.svc-creator .svc-page .svc-page__content--selected,
|
|
1894
|
-
.svc-creator .svc-page .svc-page__content--selected:focus,
|
|
1895
|
-
.svc-hovered {
|
|
1896
|
-
border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
1897
|
-
}
|
|
1898
1892
|
.svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected,
|
|
1899
1893
|
.svc-creator .svc-page .svc-page__content--selected:focus.svc-page__content--selected,
|
|
1900
1894
|
.svc-hovered.svc-page__content--selected {
|
|
1901
|
-
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814))
|
|
1895
|
+
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
1902
1896
|
background: var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1));
|
|
1903
1897
|
}
|
|
1904
1898
|
.svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected .svc-page__content-actions,
|
|
@@ -1953,9 +1947,9 @@ svc-page {
|
|
|
1953
1947
|
position: absolute;
|
|
1954
1948
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
1955
1949
|
left: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
1956
|
-
bottom: calc(11 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
1950
|
+
bottom: calc(11.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
1957
1951
|
width: calc(100% - 48px);
|
|
1958
|
-
height:
|
|
1952
|
+
height: 2px;
|
|
1959
1953
|
}
|
|
1960
1954
|
.svc-row {
|
|
1961
1955
|
width: 100%;
|
|
@@ -2023,7 +2017,7 @@ svc-page {
|
|
|
2023
2017
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2024
2018
|
top: 6px;
|
|
2025
2019
|
width: 100%;
|
|
2026
|
-
height:
|
|
2020
|
+
height: 2px;
|
|
2027
2021
|
}
|
|
2028
2022
|
|
|
2029
2023
|
.svc-row--drag-over-bottom:after {
|
|
@@ -2033,16 +2027,16 @@ svc-page {
|
|
|
2033
2027
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2034
2028
|
bottom: -10px;
|
|
2035
2029
|
width: 100%;
|
|
2036
|
-
height:
|
|
2030
|
+
height: 2px;
|
|
2037
2031
|
}
|
|
2038
2032
|
|
|
2039
2033
|
.svc-question__content--panel .svc-row--drag-over-top:before,
|
|
2040
2034
|
.sd-panel__content .svc-row--drag-over-top:before {
|
|
2041
|
-
top: -
|
|
2035
|
+
top: -4px;
|
|
2042
2036
|
}
|
|
2043
2037
|
.svc-question__content--panel .svc-row--drag-over-bottom:after,
|
|
2044
2038
|
.sd-panel__content .svc-row--drag-over-bottom:after {
|
|
2045
|
-
bottom: -
|
|
2039
|
+
bottom: -4px;
|
|
2046
2040
|
}
|
|
2047
2041
|
.svc-carry-forward-panel {
|
|
2048
2042
|
box-sizing: border-box;
|
|
@@ -2106,7 +2100,6 @@ svc-question {
|
|
|
2106
2100
|
padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(5 * var(--sjs-base-unit, var(--base-unit, 8px))) calc(8 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
2107
2101
|
background: var(--sjs-general-backcolor, var(--background, #fff));
|
|
2108
2102
|
box-shadow: var(--sjs-shadow-small, 0px 1px 2px 0px rgba(0, 0, 0, 0.15));
|
|
2109
|
-
border: 2px solid transparent;
|
|
2110
2103
|
outline: none;
|
|
2111
2104
|
}
|
|
2112
2105
|
|
|
@@ -2173,15 +2166,15 @@ svc-question {
|
|
|
2173
2166
|
}
|
|
2174
2167
|
|
|
2175
2168
|
.svc-question__content:focus,
|
|
2176
|
-
.svc-
|
|
2169
|
+
.svc-hovered > .svc-question__content {
|
|
2177
2170
|
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25)));
|
|
2178
2171
|
}
|
|
2179
2172
|
|
|
2180
|
-
.svc-
|
|
2181
|
-
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged).svc-question__content--selected {
|
|
2173
|
+
.svc-question__content--selected:not(.svc-question__content--dragged) {
|
|
2182
2174
|
box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2183
2175
|
}
|
|
2184
|
-
|
|
2176
|
+
|
|
2177
|
+
.svc-question__content--selected:not(.svc-question__content--dragged) > .svc-question__content-actions,
|
|
2185
2178
|
.svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) > .svc-question__content-actions {
|
|
2186
2179
|
display: block;
|
|
2187
2180
|
}
|
|
@@ -2248,7 +2241,8 @@ svc-question {
|
|
|
2248
2241
|
|
|
2249
2242
|
.svc-question__content--drag-over-inside .svc-panel__placeholder_frame,
|
|
2250
2243
|
.svc-hovered > .svc-question__content--drag-over-inside .svc-panel__placeholder_frame {
|
|
2251
|
-
box-shadow: 0 0 0
|
|
2244
|
+
box-shadow: 0 0 0 1px var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
2245
|
+
border: 1px solid var(--sjs-primary-backcolor, var(--primary, #19b394));
|
|
2252
2246
|
background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
|
2253
2247
|
}
|
|
2254
2248
|
.svc-question__content--drag-over-inside .svc-panel__placeholder_frame > .svc-question__content-actions,
|
|
@@ -2259,21 +2253,21 @@ svc-question {
|
|
|
2259
2253
|
.svc-question__content--drag-over-left:before {
|
|
2260
2254
|
content: " ";
|
|
2261
2255
|
position: absolute;
|
|
2262
|
-
left: -
|
|
2256
|
+
left: -6px;
|
|
2263
2257
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2264
2258
|
top: 0;
|
|
2265
2259
|
height: 100%;
|
|
2266
|
-
width:
|
|
2260
|
+
width: 2px;
|
|
2267
2261
|
}
|
|
2268
2262
|
|
|
2269
2263
|
.svc-question__content--drag-over-right:after {
|
|
2270
2264
|
content: " ";
|
|
2271
2265
|
position: absolute;
|
|
2272
|
-
right: -
|
|
2266
|
+
right: -6px;
|
|
2273
2267
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2274
2268
|
top: 0;
|
|
2275
2269
|
height: 100%;
|
|
2276
|
-
width:
|
|
2270
|
+
width: 2px;
|
|
2277
2271
|
}
|
|
2278
2272
|
|
|
2279
2273
|
.svc-question__content--drag-over-top:before {
|
|
@@ -2281,9 +2275,9 @@ svc-question {
|
|
|
2281
2275
|
position: absolute;
|
|
2282
2276
|
left: 0;
|
|
2283
2277
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2284
|
-
top: -
|
|
2278
|
+
top: -9px;
|
|
2285
2279
|
width: 100%;
|
|
2286
|
-
height:
|
|
2280
|
+
height: 2px;
|
|
2287
2281
|
}
|
|
2288
2282
|
|
|
2289
2283
|
.svc-question__content--drag-over-bottom:before {
|
|
@@ -2291,9 +2285,9 @@ svc-question {
|
|
|
2291
2285
|
position: absolute;
|
|
2292
2286
|
left: 0;
|
|
2293
2287
|
background: var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2294
|
-
bottom: -
|
|
2288
|
+
bottom: -9px;
|
|
2295
2289
|
width: 100%;
|
|
2296
|
-
height:
|
|
2290
|
+
height: 2px;
|
|
2297
2291
|
}
|
|
2298
2292
|
|
|
2299
2293
|
.svc-question__content--panel .sd-row > div:first-child .svc-question__content--drag-over-left,
|
|
@@ -2306,6 +2300,14 @@ svc-question {
|
|
|
2306
2300
|
margin-right: 8px;
|
|
2307
2301
|
width: calc(100% - 8px);
|
|
2308
2302
|
}
|
|
2303
|
+
.svc-question__content--panel .svc-question__content--drag-over-top:before,
|
|
2304
|
+
.sd-panel__content .svc-question__content--drag-over-top:before {
|
|
2305
|
+
top: -6px;
|
|
2306
|
+
}
|
|
2307
|
+
.svc-question__content--panel .svc-question__content--drag-over-bottom:before,
|
|
2308
|
+
.sd-panel__content .svc-question__content--drag-over-bottom:before {
|
|
2309
|
+
bottom: -6px;
|
|
2310
|
+
}
|
|
2309
2311
|
|
|
2310
2312
|
.svc-question__content-actions .sv-action-bar {
|
|
2311
2313
|
box-sizing: border-box;
|
|
@@ -2391,28 +2393,34 @@ svc-question .sv-action-bar,
|
|
|
2391
2393
|
fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
|
2392
2394
|
}
|
|
2393
2395
|
|
|
2394
|
-
.sd-panel
|
|
2395
|
-
.sd-row--multiple
|
|
2396
|
-
|
|
2397
|
-
|
|
2396
|
+
.sd-panel .svc-question__content--image:not(.svc-question__content--empty),
|
|
2397
|
+
.sd-row--multiple .svc-question__content--image:not(.svc-question__content--empty) {
|
|
2398
|
+
padding-left: 1px;
|
|
2399
|
+
padding-right: 1px;
|
|
2400
|
+
}
|
|
2401
|
+
.sd-panel .svc-question__content .sd-table-wrapper::before,
|
|
2402
|
+
.sd-row--multiple .svc-question__content .sd-table-wrapper::before {
|
|
2403
|
+
left: calc(-1 * var(--sd-base-padding) + 1px);
|
|
2404
|
+
}
|
|
2405
|
+
.sd-panel .svc-question__content .sd-table-wrapper::after,
|
|
2406
|
+
.sd-row--multiple .svc-question__content .sd-table-wrapper::after {
|
|
2407
|
+
right: calc(-1 * var(--sd-base-padding) + 1px);
|
|
2398
2408
|
}
|
|
2399
2409
|
.sd-panel .svc-question__content,
|
|
2400
2410
|
.sd-row--multiple .svc-question__content {
|
|
2401
2411
|
border-radius: 0;
|
|
2402
|
-
|
|
2403
|
-
.sd-panel .svc-question__content.svc-question__content--selected,
|
|
2404
|
-
.sd-row--multiple .svc-question__content.svc-question__content--selected {
|
|
2405
|
-
border: 1px solid transparent;
|
|
2406
|
-
box-shadow: none;
|
|
2407
|
-
}
|
|
2408
|
-
.sd-panel .svc-question__content:hover,
|
|
2409
|
-
.sd-row--multiple .svc-question__content:hover {
|
|
2410
|
-
border: 1px solid transparent;
|
|
2412
|
+
border: 1px dashed var(--sjs-border-default, var(--border, #d6d6d6));
|
|
2411
2413
|
box-shadow: none;
|
|
2412
2414
|
}
|
|
2413
|
-
.sd-
|
|
2415
|
+
.sd-panel .svc-hovered .svc-question__content:not(.svc-question__content--dragged),
|
|
2416
|
+
.sd-row--multiple .svc-hovered .svc-question__content:not(.svc-question__content--dragged) {
|
|
2414
2417
|
border: 1px solid var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25)));
|
|
2415
|
-
box-shadow: 0 0 0 1px var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25)));
|
|
2418
|
+
box-shadow: 0 0 0 1px var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25))) inset;
|
|
2419
|
+
}
|
|
2420
|
+
.sd-panel .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged),
|
|
2421
|
+
.sd-row--multiple .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged) {
|
|
2422
|
+
border: 1px solid var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
|
|
2423
|
+
box-shadow: 0 0 0 1px var(--sjs-secondary-backcolor, var(--secondary, #ff9814)) inset;
|
|
2416
2424
|
}
|
|
2417
2425
|
|
|
2418
2426
|
.sd-panel .svc-row--ghost.svc-row--ghost .svc-question__content.svc-question__content {
|
|
@@ -2584,6 +2592,9 @@ svc-question .sv-action-bar,
|
|
|
2584
2592
|
.svc-question__content--image:not(.svc-question__content--empty) {
|
|
2585
2593
|
padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 calc(8 * var(--sjs-base-unit, var(--base-unit, 8px))) 0;
|
|
2586
2594
|
}
|
|
2595
|
+
.svc-question__content--image:not(.svc-question__content--empty) .sd-image__image {
|
|
2596
|
+
border-radius: 0;
|
|
2597
|
+
}
|
|
2587
2598
|
|
|
2588
2599
|
.svc-question__content--image.svc-question__content--empty .sd-file,
|
|
2589
2600
|
.svc-question__content--image.svc-question__content--empty sv-ng-file-question {
|
|
@@ -3564,6 +3575,7 @@ svc-toolbox {
|
|
|
3564
3575
|
width: 3px;
|
|
3565
3576
|
height: 100%;
|
|
3566
3577
|
position: absolute;
|
|
3578
|
+
z-index: 1;
|
|
3567
3579
|
top: 0;
|
|
3568
3580
|
background-color: transparent;
|
|
3569
3581
|
cursor: e-resize;
|
|
@@ -4014,7 +4026,7 @@ button.spg-action-button--large {
|
|
|
4014
4026
|
.spg-input__edit-button:active {
|
|
4015
4027
|
opacity: 0.5;
|
|
4016
4028
|
}
|
|
4017
|
-
.spg-input__edit-button:disabled {
|
|
4029
|
+
.spg-input__edit-button.spg-input__edit-button--disabled, .spg-input__edit-button:disabled {
|
|
4018
4030
|
opacity: 0.25;
|
|
4019
4031
|
background: var(--sjs-general-backcolor, var(--background, #fff));
|
|
4020
4032
|
}
|
|
@@ -4051,6 +4063,10 @@ button.spg-action-button--large {
|
|
|
4051
4063
|
background-color: transparent;
|
|
4052
4064
|
}
|
|
4053
4065
|
|
|
4066
|
+
.spg-input-container__input:disabled {
|
|
4067
|
+
opacity: 0.25;
|
|
4068
|
+
}
|
|
4069
|
+
|
|
4054
4070
|
.spg-input-container__buttons-container {
|
|
4055
4071
|
display: flex;
|
|
4056
4072
|
gap: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
@@ -4468,6 +4484,10 @@ button.spg-action-button--large {
|
|
|
4468
4484
|
fill: var(--sjs-general-backcolor, var(--background, #fff));
|
|
4469
4485
|
}
|
|
4470
4486
|
|
|
4487
|
+
.spg-color-editor__color-swatch--disabled .sv-svg-icon {
|
|
4488
|
+
opacity: 0.25;
|
|
4489
|
+
}
|
|
4490
|
+
|
|
4471
4491
|
.spg-color-editor .spg-input__edit-button + * {
|
|
4472
4492
|
margin-inline-end: calc(-0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
|
4473
4493
|
}
|
|
@@ -4498,8 +4518,8 @@ button.spg-action-button--large {
|
|
|
4498
4518
|
min-width: auto;
|
|
4499
4519
|
}
|
|
4500
4520
|
.spg-theme-builder-root .spg-row--multiple > div {
|
|
4501
|
-
flex: 1 1 0;
|
|
4502
|
-
min-width:
|
|
4521
|
+
flex: 1 1 calc(50% - var(--sjs-base-unit, var(--base-unit, 8px)) * 0.5);
|
|
4522
|
+
min-width: auto;
|
|
4503
4523
|
}
|
|
4504
4524
|
.spg-theme-builder-root .spg-row--multiple > div input {
|
|
4505
4525
|
min-width: 0;
|
|
@@ -4584,6 +4604,7 @@ button.spg-action-button--large {
|
|
|
4584
4604
|
}
|
|
4585
4605
|
|
|
4586
4606
|
.spg-root-modern {
|
|
4607
|
+
position: relative;
|
|
4587
4608
|
width: 100%;
|
|
4588
4609
|
border-right: 1px solid var(--sjs-border-default, var(--border, #d6d6d6));
|
|
4589
4610
|
box-sizing: border-box;
|