| 1 |
.wsrw-metabox-form-row { |
| 2 |
display: flex; |
| 3 |
margin-bottom: var(--wsrw-space-v); |
| 4 |
|
| 5 |
@media screen and (max-width: 782px) { |
| 6 |
flex-flow: wrap; |
| 7 |
} |
| 8 |
} |
| 9 |
|
| 10 |
.wsrw-metabox-form-row-label { |
| 11 |
flex-shrink: 0; |
| 12 |
width: 245px; |
| 13 |
|
| 14 |
@media screen and (max-width: 782px) { |
| 15 |
margin-bottom: 6px; |
| 16 |
} |
| 17 |
|
| 18 |
label { |
| 19 |
color: var(--wsrw-text-color-heading); |
| 20 |
font-size: var(--wsrw-font-size-s); |
| 21 |
font-weight: 600; |
| 22 |
} |
| 23 |
} |
| 24 |
|
| 25 |
.wsrw-input-title { |
| 26 |
input.wsrw-input-text { |
| 27 |
font-size: var(--wsrw-font-size-m); |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
input.wsrw-input-number, |
| 32 |
input.wsrw-input-text { |
| 33 |
border: var(--wsrw-input-border); |
| 34 |
border-radius: 4px; |
| 35 |
color: var(--wsrw-input-text-color); |
| 36 |
font-size: var(--wsrw-font-size-s); |
| 37 |
height: 40px; |
| 38 |
|
| 39 |
|
| 40 |
&:focus { |
| 41 |
border-color: var(--wsrw-input-border-active); |
| 42 |
} |
| 43 |
} |
| 44 |
|
| 45 |
input.wsrw-input-text { |
| 46 |
width: 100%; |
| 47 |
} |
| 48 |
|
| 49 |
.wsrw-input-textarea { |
| 50 |
border: var(--wsrw-input-border); |
| 51 |
border-radius: 4px; |
| 52 |
color: var(--wsrw-input-text-color); |
| 53 |
font-size: var(--wsrw-font-size-s); |
| 54 |
max-width: 100%; |
| 55 |
resize: none; |
| 56 |
width: 424px; |
| 57 |
} |
| 58 |
|
| 59 |
.wsrw-input-select { |
| 60 |
align-items: center; |
| 61 |
display: flex; |
| 62 |
|
| 63 |
label { |
| 64 |
color: var(--wsrw-text-color-heading); |
| 65 |
font-size: var(--wsrw-font-size-s); |
| 66 |
font-weight: 600; |
| 67 |
} |
| 68 |
|
| 69 |
.wsrw-checkbox-toggle, |
| 70 |
select { |
| 71 |
margin-left: 13px; |
| 72 |
} |
| 73 |
} |
| 74 |
|
| 75 |
.wsrw-metabox-form-row-input { |
| 76 |
width: 100%; |
| 77 |
position: relative; |
| 78 |
|
| 79 |
select { |
| 80 |
min-width: 424px; |
| 81 |
|
| 82 |
@media screen and (max-width: 782px) { |
| 83 |
min-width: 0; |
| 84 |
width: 100%; |
| 85 |
} |
| 86 |
} |
| 87 |
|
| 88 |
input[type="password"] { |
| 89 |
width: 400px; |
| 90 |
} |
| 91 |
} |
| 92 |
|
| 93 |
.wsrw-inline-select { |
| 94 |
select { |
| 95 |
min-width: 98px; |
| 96 |
} |
| 97 |
|
| 98 |
& > label { |
| 99 |
color: var(--wsrw-text-color-paragraph); |
| 100 |
display: inline-block; |
| 101 |
font-size: 13px; |
| 102 |
margin-left: 12px; |
| 103 |
} |
| 104 |
} |
| 105 |
|
| 106 |
.wsrw-separator { |
| 107 |
border-color: var(--wsrw-border-color); |
| 108 |
border-style: solid; |
| 109 |
border-width: 1px 0 0; |
| 110 |
margin: var(--wsrw-space-v) 0; |
| 111 |
} |
| 112 |
|
| 113 |
/* Checkbox toggle. */ |
| 114 |
.wsrw-checkbox-toggle { |
| 115 |
display: inline-block; |
| 116 |
height: 20px; |
| 117 |
position: relative; |
| 118 |
width: 36px; |
| 119 |
|
| 120 |
input { |
| 121 |
opacity: 0; |
| 122 |
height: 100%; |
| 123 |
width: 100%; |
| 124 |
position: absolute; |
| 125 |
|
| 126 |
&:checked { |
| 127 |
& + .wsrw-checkbox-toggle-slider { |
| 128 |
background-color: var(--wsrw-color-primary); |
| 129 |
|
| 130 |
&:before { |
| 131 |
transform: translateX(16px); |
| 132 |
} |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
&:focus { |
| 137 |
& + .wsrw-checkbox-toggle-slider { |
| 138 |
outline: 1px dotted #212121; |
| 139 |
outline: 1px auto -webkit-focus-ring-color; |
| 140 |
} |
| 141 |
&:not(:focus-visible) { |
| 142 |
& + .wsrw-checkbox-toggle-slider { |
| 143 |
outline: none; |
| 144 |
} |
| 145 |
} |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
.wsrw-checkbox-toggle-slider { |
| 150 |
background-color: #ccc; |
| 151 |
border-radius: 20px; |
| 152 |
bottom: 0; |
| 153 |
cursor: pointer; |
| 154 |
left: 0; |
| 155 |
position: absolute; |
| 156 |
right: 0; |
| 157 |
top: 0; |
| 158 |
-webkit-transition: .4s; |
| 159 |
transition: .4s; |
| 160 |
|
| 161 |
&:before { |
| 162 |
background-color: white; |
| 163 |
border-radius: 50%; |
| 164 |
bottom: 3px; |
| 165 |
content: ""; |
| 166 |
height: 14px; |
| 167 |
left: 3px; |
| 168 |
position: absolute; |
| 169 |
-webkit-transition: .4s; |
| 170 |
transition: .4s; |
| 171 |
width: 14px; |
| 172 |
} |
| 173 |
} |
| 174 |
} |
| 175 |
|
| 176 |
.wsrw-checkbox-toggle-label { |
| 177 |
margin-left: 14px; |
| 178 |
color: var(--wsrw-text-color-heading); |
| 179 |
font-size: 14px; |
| 180 |
font-weight: 600; |
| 181 |
} |
| 182 |
|
| 183 |
.wsrw-checkbox-row { |
| 184 |
margin-bottom: 25px; |
| 185 |
|
| 186 |
&.wsrw-checkbox-row-disabled { |
| 187 |
opacity: 0.7; |
| 188 |
cursor: not-allowed; |
| 189 |
pointer-events: none; |
| 190 |
} |
| 191 |
|
| 192 |
.description { |
| 193 |
margin: 14px 0; |
| 194 |
} |
| 195 |
} |
| 196 |
|
| 197 |
.wsrw-input-radio { |
| 198 |
margin-right: 20px; |
| 199 |
flex: 1 1 0; |
| 200 |
text-align: center; |
| 201 |
|
| 202 |
label { |
| 203 |
display: flex; |
| 204 |
flex-flow: column; |
| 205 |
border-radius: 4px; |
| 206 |
justify-content: center; |
| 207 |
padding: 20px; |
| 208 |
background-color: var(--wsrw-button-disabled-bg); |
| 209 |
border: 2px solid var(--wsrw-button-disabled-bg); |
| 210 |
color: var(--wsrw-text-color-paragraph); |
| 211 |
|
| 212 |
&:hover { |
| 213 |
color: var(--wsrw-text-color-heading); |
| 214 |
|
| 215 |
svg path { |
| 216 |
fill: var(--wsrw-text-color-heading); |
| 217 |
} |
| 218 |
} |
| 219 |
} |
| 220 |
|
| 221 |
input[type="radio"] { |
| 222 |
opacity: 0; |
| 223 |
position: absolute; |
| 224 |
|
| 225 |
&:checked { |
| 226 |
& + label { |
| 227 |
border-color: var(--wsrw-color-primary); |
| 228 |
background: var(--wsrw-background-white); |
| 229 |
color: var(--wsrw-text-color-heading); |
| 230 |
|
| 231 |
svg path { |
| 232 |
fill: var(--wsrw-text-color-heading); |
| 233 |
} |
| 234 |
} |
| 235 |
} |
| 236 |
|
| 237 |
&:disabled { |
| 238 |
& + label { |
| 239 |
opacity: 0.9; |
| 240 |
|
| 241 |
&:hover { |
| 242 |
color: var(--wsrw-text-color-paragraph); |
| 243 |
|
| 244 |
svg path { |
| 245 |
fill: var(--wsrw-text-color-paragraph); |
| 246 |
} |
| 247 |
} |
| 248 |
} |
| 249 |
} |
| 250 |
} |
| 251 |
|
| 252 |
.wsrw-input-radio-icon { |
| 253 |
text-align: center; |
| 254 |
} |
| 255 |
|
| 256 |
.wsrw-input-radio-label { |
| 257 |
font-size: 16px; |
| 258 |
font-weight: 600; |
| 259 |
margin-top: 10px; |
| 260 |
display: block; |
| 261 |
} |
| 262 |
} |
| 263 |
|
| 264 |
.wsrw-input-with-button { |
| 265 |
display: flex; |
| 266 |
width: 100%; |
| 267 |
|
| 268 |
.wsrw-input-text { |
| 269 |
margin-right: 10px; |
| 270 |
width: 100%; |
| 271 |
} |
| 272 |
|
| 273 |
.wsrw-button { |
| 274 |
padding-bottom: 10px; |
| 275 |
padding-top: 10px; |
| 276 |
} |
| 277 |
} |
| 278 |
|
| 279 |
.wsrw-snippet-manager.wp-core-ui, |
| 280 |
.wsrw-tools.wp-core-ui, |
| 281 |
.wsrw-generator.wp-core-ui { |
| 282 |
select { |
| 283 |
background-position-x: calc(100% - 13px); |
| 284 |
border-color: var(--wsrw-border-color); |
| 285 |
border-radius: 4px; |
| 286 |
color: var(--wsrw-text-color-heading); |
| 287 |
line-height: 38px; |
| 288 |
min-height: 40px; |
| 289 |
padding-left: 12px; |
| 290 |
padding-right: 32px; |
| 291 |
} |
| 292 |
} |
| 293 |
|
| 294 |
.wsrw-content { |
| 295 |
.select2-container { |
| 296 |
.select2-search--inline { |
| 297 |
margin: 0; |
| 298 |
|
| 299 |
.select2-search__field { |
| 300 |
color: var(--wsrw-text-color-heading); |
| 301 |
font-size: 14px; |
| 302 |
margin: 5px 5px 0; |
| 303 |
} |
| 304 |
} |
| 305 |
|
| 306 |
&.select2-container--default { |
| 307 |
.select2-selection--multiple { |
| 308 |
border-color: var(--wsrw-border-color); |
| 309 |
|
| 310 |
.select2-selection__choice { |
| 311 |
background-color: var(--wsrw-button-disabled-bg); |
| 312 |
border: none; |
| 313 |
border-radius: 3px; |
| 314 |
color: var(--wsrw-text-color-heading); |
| 315 |
font-size: 14px; |
| 316 |
margin: 9px 8px 9px 0; |
| 317 |
padding: 1px 4px; |
| 318 |
} |
| 319 |
|
| 320 |
.select2-selection__rendered { |
| 321 |
display: block; |
| 322 |
padding: 0 8px; |
| 323 |
} |
| 324 |
|
| 325 |
.select2-selection__choice__remove { |
| 326 |
margin-right: 4px; |
| 327 |
} |
| 328 |
} |
| 329 |
} |
| 330 |
|
| 331 |
.select2-selection--single { |
| 332 |
height: 40px; |
| 333 |
font-size: var(--wsrw-font-size-s); |
| 334 |
border-color: var(--wsrw-border-color); |
| 335 |
|
| 336 |
.select2-selection__rendered { |
| 337 |
padding: 0 8px; |
| 338 |
line-height: 40px; |
| 339 |
} |
| 340 |
|
| 341 |
.select2-selection__arrow { |
| 342 |
height: 40px; |
| 343 |
width: 30px; |
| 344 |
} |
| 345 |
} |
| 346 |
} |
| 347 |
} |
| 348 |
|
| 349 |
.wsrw-admin-page { |
| 350 |
.select2-dropdown { |
| 351 |
border-color: var(--wsrw-border-color); |
| 352 |
color: var(--wsrw-text-color-heading); |
| 353 |
} |
| 354 |
|
| 355 |
.select2-results { |
| 356 |
.wsrw-pro-pill { |
| 357 |
margin-left: 7px; |
| 358 |
vertical-align: middle; |
| 359 |
} |
| 360 |
|
| 361 |
> .select2-results__options > .select2-results__option[role="list"] { |
| 362 |
padding: 0; |
| 363 |
} |
| 364 |
} |
| 365 |
} |
| 366 |
|
| 367 |
.wsrw-checkboxes-list { |
| 368 |
label { |
| 369 |
display: block; |
| 370 |
margin-bottom: 16px; |
| 371 |
} |
| 372 |
|
| 373 |
input { |
| 374 |
margin-right: 12px; |
| 375 |
} |
| 376 |
} |
| 377 |
|
| 378 |
.wsrw-file-upload { |
| 379 |
|
| 380 |
.wsrw-file-field { |
| 381 |
background-color: var(--wsrw-background-white); |
| 382 |
border: 1px solid #ddd; |
| 383 |
border-radius: 3px; |
| 384 |
box-shadow: none; |
| 385 |
color: var(--wsrw-text-color-paragraph); |
| 386 |
display: inline-block; |
| 387 |
margin: 0 10px 0 0; |
| 388 |
min-height: 36px; |
| 389 |
overflow: hidden; |
| 390 |
padding: 8px 10px; |
| 391 |
text-overflow: ellipsis; |
| 392 |
vertical-align: middle; |
| 393 |
white-space: nowrap; |
| 394 |
width: 400px; |
| 395 |
} |
| 396 |
|
| 397 |
input[type=file] { |
| 398 |
height: 0.1px; |
| 399 |
opacity: 0; |
| 400 |
overflow: hidden; |
| 401 |
position: absolute; |
| 402 |
width: 0.1px; |
| 403 |
z-index: -1; |
| 404 |
} |
| 405 |
|
| 406 |
label { |
| 407 |
cursor: pointer; |
| 408 |
display: inline-flex; |
| 409 |
outline: none; |
| 410 |
padding: 0; |
| 411 |
text-overflow: ellipsis; |
| 412 |
white-space: nowrap; |
| 413 |
} |
| 414 |
} |
| 415 |
|
| 416 |
.wsrw-checkbox-multiselect-columns { |
| 417 |
max-width: 600px; |
| 418 |
position: relative; |
| 419 |
|
| 420 |
label { |
| 421 |
cursor: pointer; |
| 422 |
} |
| 423 |
|
| 424 |
&:after { |
| 425 |
clear: both; |
| 426 |
content: "."; |
| 427 |
display: block; |
| 428 |
font-size: 0; |
| 429 |
height: 0; |
| 430 |
line-height: 0; |
| 431 |
min-height: 0; |
| 432 |
visibility: hidden; |
| 433 |
} |
| 434 |
|
| 435 |
&:before { |
| 436 |
background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.99 6L0 10L3.99 14V11H11V9H3.99V6ZM18 4L14.01 0V3H7V5H14.01V8L18 4Z' fill='%23999'/%3E%3C/svg%3E%0A"); |
| 437 |
color: #999; |
| 438 |
content: ""; |
| 439 |
display: block; |
| 440 |
height: 14px; |
| 441 |
left: 50%; |
| 442 |
margin: 0 0 0 -10px; |
| 443 |
position: absolute; |
| 444 |
top: 130px; |
| 445 |
width: 18px; |
| 446 |
} |
| 447 |
|
| 448 |
.wsrw-multiselect-search { |
| 449 |
input { |
| 450 |
border-radius: 3px 3px 0 0; |
| 451 |
margin: 0; |
| 452 |
z-index: 10; |
| 453 |
position: relative; |
| 454 |
} |
| 455 |
} |
| 456 |
|
| 457 |
.header { |
| 458 |
font-size: 13px; |
| 459 |
font-weight: 600; |
| 460 |
margin: 0; |
| 461 |
padding: 0 0 5px 0; |
| 462 |
text-align: center; |
| 463 |
} |
| 464 |
|
| 465 |
.first-column, |
| 466 |
.second-column { |
| 467 |
float: left; |
| 468 |
width: 45%; |
| 469 |
} |
| 470 |
|
| 471 |
.first-column { |
| 472 |
ul { |
| 473 |
border-radius: 0 0 3px 3px; |
| 474 |
border-top: 0; |
| 475 |
} |
| 476 |
} |
| 477 |
|
| 478 |
.second-column { |
| 479 |
float: right; |
| 480 |
|
| 481 |
ul { |
| 482 |
height: 290px; |
| 483 |
} |
| 484 |
} |
| 485 |
|
| 486 |
.second-column ul li { |
| 487 |
padding: 10px; |
| 488 |
} |
| 489 |
|
| 490 |
ul { |
| 491 |
background-color: #fff; |
| 492 |
border: 1px solid #ddd; |
| 493 |
border-radius: 3px; |
| 494 |
height: 250px; |
| 495 |
list-style-type: none; |
| 496 |
margin: 0; |
| 497 |
overflow-y: auto; |
| 498 |
padding: 0; |
| 499 |
position: relative; |
| 500 |
|
| 501 |
li { |
| 502 |
border-bottom: 1px #eee solid; |
| 503 |
color: var(--wsrw-text-color-paragraph); |
| 504 |
font-size: 14px; |
| 505 |
margin: 0; |
| 506 |
|
| 507 |
label { |
| 508 |
display: block; |
| 509 |
padding: 10px 10px 10px 32px; |
| 510 |
position: relative; |
| 511 |
vertical-align: baseline; |
| 512 |
|
| 513 |
&:hover { |
| 514 |
background-color: var(--wsrw-color-primary); |
| 515 |
color: #fff; |
| 516 |
|
| 517 |
&.checked:before { |
| 518 |
background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.38462 3.03448L0 4.13793L3.23077 8H4.46154L10 0.965517L8.76923 0L3.69231 4.96552L1.38462 3.03448Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A"); |
| 519 |
} |
| 520 |
} |
| 521 |
|
| 522 |
&:before { |
| 523 |
color: #ddd; |
| 524 |
content: "\f0c8"; |
| 525 |
font: normal normal normal 16px/1 Georgia; |
| 526 |
-webkit-font-smoothing: antialiased; |
| 527 |
left: 10px; |
| 528 |
-moz-osx-font-smoothing: grayscale; |
| 529 |
position: absolute; |
| 530 |
text-rendering: auto; |
| 531 |
top: 12px; |
| 532 |
} |
| 533 |
|
| 534 |
&.checked { |
| 535 |
color: rgba(119, 119, 119, 0.6); |
| 536 |
|
| 537 |
&:hover { |
| 538 |
color: #fff; |
| 539 |
} |
| 540 |
} |
| 541 |
|
| 542 |
&.checked:before { |
| 543 |
background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.38462 3.03448L0 4.13793L3.23077 8H4.46154L10 0.965517L8.76923 0L3.69231 4.96552L1.38462 3.03448Z' fill='%234982BF'/%3E%3C/svg%3E%0A"); |
| 544 |
background-position: 3px 3px; |
| 545 |
background-repeat: no-repeat; |
| 546 |
background-size: 10px 8px; |
| 547 |
} |
| 548 |
|
| 549 |
input { |
| 550 |
display: none; |
| 551 |
} |
| 552 |
} |
| 553 |
} |
| 554 |
} |
| 555 |
|
| 556 |
.all { |
| 557 |
color: #999; |
| 558 |
display: inline-block; |
| 559 |
font-size: 13px; |
| 560 |
margin: 10px 0 0; |
| 561 |
} |
| 562 |
} |
| 563 |
|
| 564 |
|
| 565 |
.wsrw-admin-page { |
| 566 |
.select2-container--default { |
| 567 |
font-size: 12px; |
| 568 |
font-weight: 500; |
| 569 |
|
| 570 |
.select2-results__option .select2-results__option { |
| 571 |
padding-left: 30px; |
| 572 |
color: var(--wsrw-text-color-heading); |
| 573 |
font-weight: 500; |
| 574 |
margin-bottom: 0; |
| 575 |
|
| 576 |
&[aria-disabled=true] { |
| 577 |
color: var(--wsrw-text-color-paragraph); |
| 578 |
opacity: 0.5; |
| 579 |
} |
| 580 |
|
| 581 |
&[aria-selected=true] { |
| 582 |
background-color: var(--wsrw-button-primary-bg); |
| 583 |
color: #fff; |
| 584 |
} |
| 585 |
} |
| 586 |
|
| 587 |
.select2-results__option--highlighted[aria-selected] { |
| 588 |
background: var(--wsrw-button-disabled-bg); |
| 589 |
color: var(--wsrw-text-color-light-bg); |
| 590 |
} |
| 591 |
|
| 592 |
.select2-results__group { |
| 593 |
padding-left: 16px; |
| 594 |
color: var(--wsrw-text-color-paragraph); |
| 595 |
font-weight: 500; |
| 596 |
} |
| 597 |
} |
| 598 |
} |
| 599 |
|
| 600 |
label { |
| 601 |
.wsrw-icon-mobile { |
| 602 |
transform: scale(0.86); |
| 603 |
} |
| 604 |
} |
| 605 |
|
| 606 |
.wsrw-wide-text { |
| 607 |
width: 100%; |
| 608 |
max-width: 500px; |
| 609 |
} |
| 610 |
|
| 611 |
.wsrw-metabox-form-row-input .wsrw-alert { |
| 612 |
max-width: 800px; |
| 613 |
} |
| 614 |
|
| 615 |
.wsrw-label-text-row { |
| 616 |
p:first-child { |
| 617 |
margin-top: 0; |
| 618 |
} |
| 619 |
} |
| 620 |
|
| 621 |
.wsrw-input-row-schedule { |
| 622 |
display: flex; |
| 623 |
justify-content: space-between; |
| 624 |
|
| 625 |
.wsrw-input-row-input { |
| 626 |
width: calc(50% - 10px); |
| 627 |
position: relative; |
| 628 |
} |
| 629 |
} |
| 630 |
|
| 631 |
.wsrw-input-row-schedule, |
| 632 |
.wsrw-input-with-button { |
| 633 |
|
| 634 |
& + .wsrw-help-tooltip { |
| 635 |
position: absolute; |
| 636 |
left: 100%; |
| 637 |
top: 10px; |
| 638 |
margin-left: 15px; |
| 639 |
|
| 640 |
@media screen and (max-width: 782px) { |
| 641 |
display: none; |
| 642 |
} |
| 643 |
} |
| 644 |
} |
| 645 |
|
| 646 |
.wsrw-input-button-clear { |
| 647 |
position: absolute; |
| 648 |
right: 7px; |
| 649 |
top: 15px; |
| 650 |
width: 14px; |
| 651 |
height: 14px; |
| 652 |
border: none; |
| 653 |
text-align: center; |
| 654 |
margin: 0; |
| 655 |
padding: 0; |
| 656 |
background: transparent; |
| 657 |
cursor: pointer; |
| 658 |
border-radius: 50%; |
| 659 |
|
| 660 |
svg { |
| 661 |
width: 14px; |
| 662 |
height: 14px; |
| 663 |
display: block; |
| 664 |
|
| 665 |
path { |
| 666 |
} |
| 667 |
} |
| 668 |
} |
| 669 |
|