survey-react 1.9.125 → 1.9.127

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.125
2
+ * surveyjs - Survey JavaScript library v1.9.127
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
  */
@@ -169,65 +169,87 @@
169
169
 
170
170
  .sv_window {
171
171
  position: fixed;
172
- bottom: 3px;
173
- right: 10px;
174
- background-color: cadetblue;
175
- padding: 1px;
176
- font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
177
- font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
178
- font-style: normal;
179
- font-weight: 400;
180
- line-height: 1.42857143;
181
- text-align: left;
182
- text-align: start;
183
- text-decoration: none;
184
- text-shadow: none;
185
- text-transform: none;
186
- letter-spacing: normal;
187
- word-break: normal;
188
- word-spacing: normal;
189
- word-wrap: normal;
190
- white-space: normal;
191
- background-color: #fff;
192
- -webkit-background-clip: padding-box;
172
+ bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
173
+ right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
174
+ border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
175
+ border: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
176
+ 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
177
  background-clip: padding-box;
194
- border: 1px solid #ccc;
195
- border: 1px solid rgba(0, 0, 0, 0.2);
196
- border-radius: calc(1.5 * (var(--sjs-corner-radius, 4px)));
197
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
198
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
199
- line-break: auto;
200
178
  z-index: 100;
179
+ max-height: 90vh;
180
+ overflow: auto;
181
+ box-sizing: border-box;
201
182
  }
202
183
 
203
- .sv_window_title {
204
- padding: 8px 14px;
205
- margin: 0;
206
- font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
207
- background-color: #f7f7f7;
208
- border-bottom: 1px solid #ebebeb;
209
- border-radius: var(--sjs-corner-radius, 4px) var(--sjs-corner-radius, 4px) 0 0;
184
+ .sv_window_content {
185
+ border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
186
+ overflow: hidden;
187
+ }
188
+
189
+ .sv_window--collapsed .sv_window_header {
190
+ height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
191
+ 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))));
192
+ border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
210
193
  display: flex;
194
+ background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
195
+ }
196
+ .sv_window--collapsed .sv_window_content {
197
+ display: none;
211
198
  }
212
199
 
213
- .sv_window_content {
214
- padding: 0;
215
- margin: 0;
216
- max-height: 80vh;
217
- overflow-y: auto;
200
+ .sv_window_header_title_collapsed {
201
+ color: var(--sjs-general-dim-forecolor, rgba(0, 0, 0, 0.91));
202
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
203
+ font-style: normal;
204
+ font-weight: 600;
205
+ font-size: var(--sjs-font-size, 16px);
206
+ line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
207
+ flex: 1;
208
+ display: flex;
209
+ justify-content: start;
210
+ align-items: center;
218
211
  }
219
212
 
220
- .sv_window_title a,
221
- .sv_window_title a:link,
222
- .sv_window_title a:visited {
223
- text-decoration: none;
224
- font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
213
+ .sv_window_header_description {
214
+ color: var(--sjs-font-questiondescription-color, var(--sjs-general-forecolor-light, rgba(0, 0, 0, 0.45)));
215
+ font-feature-settings: "salt" on;
216
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
225
217
  font-style: normal;
226
- color: black;
218
+ font-size: var(--sjs-font-size, 16px);
219
+ line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
220
+ white-space: nowrap;
221
+ text-overflow: ellipsis;
222
+ overflow: hidden;
223
+ }
224
+
225
+ .sv_window_buttons_container {
226
+ position: absolute;
227
+ top: var(--sjs-base-unit, var(--base-unit, 8px));
228
+ right: var(--sjs-base-unit, var(--base-unit, 8px));
229
+ display: flex;
230
+ gap: var(--sjs-base-unit, var(--base-unit, 8px));
231
+ z-index: 1;
227
232
  }
228
233
 
229
- .sv_window_button .sv-svg-icon {
230
- margin: 4px;
234
+ .sv_window_button {
235
+ display: flex;
236
+ padding: var(--sjs-base-unit, var(--base-unit, 8px));
237
+ justify-content: center;
238
+ align-items: center;
239
+ border-radius: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
240
+ cursor: pointer;
241
+ }
242
+ .sv_window_button:hover, .sv_window_button:active {
243
+ background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
244
+ }
245
+ .sv_window_button:hover svg use, .sv_window_button:hover svg path, .sv_window_button:active svg use, .sv_window_button:active svg path {
246
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
247
+ }
248
+ .sv_window_button:active {
249
+ opacity: 0.5;
250
+ }
251
+ .sv_window_button svg use, .sv_window_button svg path {
252
+ fill: var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45));
231
253
  }
232
254
 
233
255
  sv-brand-info, .sv-brand-info {