survey-react 1.9.128 → 1.9.129

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/survey.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.128
2
+ * surveyjs - Survey JavaScript library v1.9.129
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
  */
@@ -192,16 +192,67 @@
192
192
  box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));
193
193
  background-clip: padding-box;
194
194
  z-index: 100;
195
- max-height: 90vh;
195
+ max-height: 50vh;
196
196
  overflow: auto;
197
197
  box-sizing: border-box;
198
+ background: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
199
+ }
200
+ @-moz-document url-prefix() {
201
+ .sv_window,
202
+ .sv_window * {
203
+ scrollbar-width: thin;
204
+ scrollbar-color: var(--sjs-border-default, var(--border, #d6d6d6)) transparent;
205
+ }
206
+ }
207
+ .sv_window::-webkit-scrollbar,
208
+ .sv_window *::-webkit-scrollbar {
209
+ width: 12px;
210
+ height: 12px;
211
+ background-color: transparent;
212
+ }
213
+ .sv_window::-webkit-scrollbar-thumb,
214
+ .sv_window *::-webkit-scrollbar-thumb {
215
+ border: 4px solid rgba(0, 0, 0, 0);
216
+ background-clip: padding-box;
217
+ border-radius: 32px;
218
+ background-color: var(--sjs-border-default, var(--border, #d6d6d6));
219
+ }
220
+ .sv_window::-webkit-scrollbar-track,
221
+ .sv_window *::-webkit-scrollbar-track {
222
+ background: transparent;
223
+ }
224
+ .sv_window::-webkit-scrollbar-thumb:hover,
225
+ .sv_window *::-webkit-scrollbar-thumb:hover {
226
+ border: 2px solid rgba(0, 0, 0, 0);
227
+ background-color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
228
+ }
229
+
230
+ .sv_window_root-content {
231
+ height: 100%;
232
+ }
233
+
234
+ .sv_window--full-screen {
235
+ top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
236
+ left: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
237
+ right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
238
+ bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
239
+ max-height: 100%;
240
+ width: initial !important;
241
+ max-width: initial !important;
242
+ }
243
+
244
+ .sv_window_header {
245
+ display: flex;
246
+ justify-content: flex-end;
198
247
  }
199
248
 
200
249
  .sv_window_content {
201
- border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
202
250
  overflow: hidden;
203
251
  }
204
252
 
253
+ .sv_window--collapsed {
254
+ height: initial;
255
+ }
205
256
  .sv_window--collapsed .sv_window_header {
206
257
  height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
207
258
  padding: var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -212,6 +263,10 @@
212
263
  .sv_window--collapsed .sv_window_content {
213
264
  display: none;
214
265
  }
266
+ .sv_window--collapsed .sv_window_buttons_container {
267
+ margin-top: 0;
268
+ margin-right: 0;
269
+ }
215
270
 
216
271
  .sv_window_header_title_collapsed {
217
272
  color: var(--sjs-general-dim-forecolor, rgba(0, 0, 0, 0.91));
@@ -239,9 +294,9 @@
239
294
  }
240
295
 
241
296
  .sv_window_buttons_container {
242
- position: absolute;
243
- top: var(--sjs-base-unit, var(--base-unit, 8px));
244
- right: var(--sjs-base-unit, var(--base-unit, 8px));
297
+ position: fixed;
298
+ margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
299
+ margin-right: var(--sjs-base-unit, var(--base-unit, 8px));
245
300
  display: flex;
246
301
  gap: var(--sjs-base-unit, var(--base-unit, 8px));
247
302
  z-index: 1;
@@ -1204,10 +1259,6 @@ body {
1204
1259
  .sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td label.sv_q_m_label {
1205
1260
  display: inline;
1206
1261
  }
1207
- .sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix td:after,
1208
- .sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td:after {
1209
- content: attr(data-responsive-title);
1210
- }
1211
1262
  .sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix .sv_q_m_cell,
1212
1263
  .sv_m600 .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix .sv_q_m_cell {
1213
1264
  text-align: initial;
@@ -1285,10 +1336,6 @@ body {
1285
1336
  .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td label.sv_q_m_label {
1286
1337
  display: inline;
1287
1338
  }
1288
- .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix td:after,
1289
- .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix td:after {
1290
- content: attr(data-responsive-title);
1291
- }
1292
1339
  .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_q table.sv_q_matrix .sv_q_m_cell,
1293
1340
  .sv_main .sv_container .sv_body .sv_p_root .sv_row .sv_qstn table.sv_q_matrix .sv_q_m_cell {
1294
1341
  text-align: initial;