about.css
1 year ago
admin-form.css
1 year ago
fields.css
1 day ago
form-preview.css
1 year ago
lite-vs-pro.css
1 year ago
logs.css
1 year ago
number-spinner.css
1 year ago
order.css
1 year ago
polylang.css
1 year ago
post-editor.css
1 year ago
selectize.default.css
1 year ago
uninstall.css
1 year ago
views.css
1 month ago
wpml.css
1 year ago
views.css
1032 lines
| 1 | /* ================================================== |
| 2 | Strong Testimonials View Editor |
| 3 | ================================================== */ |
| 4 | /* TODO Consolidate with admin.css */ |
| 5 | /*----------------------------------------------- |
| 6 | Structure |
| 7 | -----------------------------------------------*/ |
| 8 | .clear { |
| 9 | clear: both; } |
| 10 | |
| 11 | .table { |
| 12 | display: table; } |
| 13 | |
| 14 | .table-row { |
| 15 | display: table-row; } |
| 16 | |
| 17 | .table-cell { |
| 18 | display: table-cell; |
| 19 | vertical-align: top; } |
| 20 | |
| 21 | .option-wrap { |
| 22 | margin-right: 2em; } |
| 23 | |
| 24 | .half-width { |
| 25 | display: inline-block; |
| 26 | box-sizing: border-box; |
| 27 | width: 50%; |
| 28 | float: left; } |
| 29 | |
| 30 | optgroup, |
| 31 | optgroup option { |
| 32 | font-family: inherit; } |
| 33 | |
| 34 | .intro { |
| 35 | margin-bottom: 2em; } |
| 36 | |
| 37 | /* -------------------------------------------------- |
| 38 | The view info section at the top |
| 39 | -------------------------------------------------- */ |
| 40 | .view-info { |
| 41 | width: 100%; |
| 42 | font-size: 20px; |
| 43 | margin-top: 1em; } |
| 44 | .view-info .table-cell { |
| 45 | padding-bottom: 15px; } |
| 46 | .view-info .table-cell:first-child { |
| 47 | padding-top: 9px; |
| 48 | width: 200px; } |
| 49 | .view-info .table-row:last-child .table-cell { |
| 50 | padding-bottom: 0; } |
| 51 | .view-info label { |
| 52 | vertical-align: top; |
| 53 | margin: 0; |
| 54 | display: block; } |
| 55 | .view-info input { |
| 56 | font-size: 20px; } |
| 57 | .view-info input.view-name { |
| 58 | width: 100%; |
| 59 | margin: 0; |
| 60 | padding: 4px 8px; } |
| 61 | |
| 62 | /* ------------------------------------------------- |
| 63 | Shortcode read-only input |
| 64 | ------------------------------------------------- */ |
| 65 | #view-shortcode { |
| 66 | direction: ltr; |
| 67 | font-family: Consolas, Monaco, monospace; |
| 68 | unicode-bidi: embed; |
| 69 | display: inline-block; |
| 70 | font-size: 18px; |
| 71 | padding: 0 8px; |
| 72 | line-height: 35px; |
| 73 | width: 300px; |
| 74 | color: #777; |
| 75 | background: #FFF; } |
| 76 | |
| 77 | .form-view-shortcode .unsaved { |
| 78 | color: #888; |
| 79 | font-style: italic; |
| 80 | line-height: 37px; } |
| 81 | |
| 82 | /* ------------------------------------------------- |
| 83 | Copy shortcode button |
| 84 | ------------------------------------------------- */ |
| 85 | #copy-shortcode { |
| 86 | margin: 5px 1em; |
| 87 | line-height: 26px; } |
| 88 | |
| 89 | #copy-message { |
| 90 | opacity: 0; |
| 91 | font-size: 14px; |
| 92 | line-height: 26px; |
| 93 | height: 26px; |
| 94 | padding: 0 10px; |
| 95 | margin: 0; |
| 96 | display: inline-block; |
| 97 | background: #00A4F3; |
| 98 | color: #FFF; |
| 99 | border-radius: 3px; |
| 100 | box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5); |
| 101 | position: relative; |
| 102 | top: -1px; } |
| 103 | |
| 104 | #copy-message.copied { |
| 105 | opacity: 0; |
| 106 | will-change: opacity; |
| 107 | animation: showcopied 2s ease; } |
| 108 | |
| 109 | @keyframes showcopied { |
| 110 | 0% { |
| 111 | opacity: 0; } |
| 112 | 70% { |
| 113 | opacity: 1; } |
| 114 | 100% { |
| 115 | opacity: 0; } } |
| 116 | /* ------------------------------------------------- |
| 117 | Mode selector |
| 118 | ------------------------------------------------- */ |
| 119 | #view-mode { |
| 120 | margin-top: 1em; } |
| 121 | #view-mode label { |
| 122 | display: inline-block; |
| 123 | margin: 0 5px 0 0; |
| 124 | padding: 0.5em 18px 0.5em 12px; |
| 125 | border: 2px solid #ccc; |
| 126 | border-radius: 20px; |
| 127 | color: #888; |
| 128 | position: relative; |
| 129 | background: #fff; } |
| 130 | #view-mode label.checked { |
| 131 | position: relative; |
| 132 | background: #00A4F3; |
| 133 | color: #FFF; |
| 134 | border-color: transparent; |
| 135 | transition: all 0.1s ease; } |
| 136 | #view-mode label:hover { |
| 137 | background: #FFF; |
| 138 | color: #444; |
| 139 | border-color: #00A4F3; } |
| 140 | #view-mode input[type="radio"] { |
| 141 | margin-right: 7px; } |
| 142 | |
| 143 | .mode-list { |
| 144 | display: inline-block; } |
| 145 | |
| 146 | .mode-line { |
| 147 | display: none; |
| 148 | position: absolute; |
| 149 | border-left: 2px solid #00A4F3; |
| 150 | height: 18px; |
| 151 | top: 100%; |
| 152 | left: calc( 50% - 1px ); |
| 153 | z-index: -1; } |
| 154 | label.checked .mode-line { |
| 155 | display: block; } |
| 156 | |
| 157 | .mode-description { |
| 158 | box-sizing: border-box; |
| 159 | background: #FFF; |
| 160 | margin: 15px 5px 0 0; |
| 161 | padding: 8px 20px; |
| 162 | border: 2px solid #00A4F3; |
| 163 | color: #00A4F3; |
| 164 | text-align: center; |
| 165 | border-radius: 20px; |
| 166 | font-size: 16px; |
| 167 | line-height: 1.3; |
| 168 | min-height: 40px; |
| 169 | transition: all 0.2s ease; } |
| 170 | |
| 171 | /* -------------------------------------------------- |
| 172 | Category filter |
| 173 | -------------------------------------------------- */ |
| 174 | .fc-search-wrap { |
| 175 | display: none; |
| 176 | position: relative; } |
| 177 | |
| 178 | .fc-search-field { |
| 179 | margin: 12px 0 4px 0; |
| 180 | width: 100%; } |
| 181 | |
| 182 | .cat-count { |
| 183 | color: #888; } |
| 184 | |
| 185 | .view-category-list-panel { |
| 186 | box-sizing: border-box; |
| 187 | min-height: 42px; |
| 188 | min-width: 220px; |
| 189 | overflow: auto; |
| 190 | padding: 0 10px; |
| 191 | border: 1px solid #DFDFDF; |
| 192 | background-color: #FDFDFD; |
| 193 | transition: all 0.2s ease; } |
| 194 | .view-category-list-panel.short-panel { |
| 195 | max-height: 205px; } |
| 196 | .view-category-list-panel.tall-panel { |
| 197 | max-height: none; } |
| 198 | |
| 199 | .view-category-list { |
| 200 | margin: 7px 0; } |
| 201 | .view-category-list li { |
| 202 | margin-bottom: 0; |
| 203 | line-height: 24px; } |
| 204 | .view-category-list li label { |
| 205 | margin-bottom: 6px; |
| 206 | word-wrap: break-word; |
| 207 | white-space: nowrap; } |
| 208 | .view-category-list ul.children { |
| 209 | margin-left: 21px; } |
| 210 | |
| 211 | /* ------------------------------------------------- |
| 212 | Replace checkboxes with icons |
| 213 | ------------------------------------------------- */ |
| 214 | input[type=checkbox] { |
| 215 | display: none; } |
| 216 | input[type=checkbox] + label:before { |
| 217 | display: inline-block; |
| 218 | font-size: 18px; |
| 219 | width: 20px; |
| 220 | height: 20px; |
| 221 | position: relative; |
| 222 | top: 5px; |
| 223 | /* unchecked icon */ |
| 224 | content: ""; |
| 225 | color: #00A4F3; |
| 226 | background: #00A4F3; |
| 227 | -webkit-mask: url('../img/square-regular.svg') center center no-repeat; |
| 228 | mask: url('../img/square-regular.svg') center center no-repeat; |
| 229 | } |
| 230 | input[type=checkbox] + label:hover:before { |
| 231 | color: #FF8900; } |
| 232 | input[type=checkbox]:checked + label:before { |
| 233 | /* checked icon */ |
| 234 | content: ""; |
| 235 | -webkit-mask: url('../img/check-square-regular.svg') center center no-repeat; |
| 236 | mask: url('../img/check-square-regular.svg') center center no-repeat; |
| 237 | } |
| 238 | input[type=checkbox]:checked + label:hover:before { |
| 239 | color: #FF8900; } |
| 240 | input[type=checkbox]:disabled + label:before { |
| 241 | /* disabled icon */ |
| 242 | content: ""; |
| 243 | -webkit-mask: url('../img/minus-square-regular.svg') center center no-repeat; |
| 244 | mask: url('../img/minus-square-regular.svg') center center no-repeat; |
| 245 | color: #888; |
| 246 | background: #888; |
| 247 | } |
| 248 | input[type=checkbox]:disabled + label:hover:before { |
| 249 | color: #888; |
| 250 | background: #888;} |
| 251 | |
| 252 | /* ------------------------------------------------- |
| 253 | Misc. |
| 254 | ------------------------------------------------- */ |
| 255 | #wpmtst-views-form input[type="submit"] { |
| 256 | margin-right: 10px; } |
| 257 | |
| 258 | td.column-name strong { |
| 259 | display: block; |
| 260 | margin-bottom: .2em; |
| 261 | font-size: 14px; } |
| 262 | |
| 263 | td.rowspan { |
| 264 | border-left: 1px solid #DDD; } |
| 265 | |
| 266 | .subgroup { |
| 267 | background: #f8f8f8; |
| 268 | border: 1px solid #f1f1f1; |
| 269 | padding: 0.25em 1em; |
| 270 | margin-right: 1em; } |
| 271 | |
| 272 | .subgroup-heading { |
| 273 | font-weight: 600; } |
| 274 | |
| 275 | .subgroup .subgroup-heading + .row-inner { |
| 276 | margin-top: 5px; } |
| 277 | |
| 278 | .subgroup .row-inner { |
| 279 | margin-bottom: 10px; } |
| 280 | |
| 281 | .min-width-1 { |
| 282 | min-width: 152px; } |
| 283 | |
| 284 | .label-not-adjacent { |
| 285 | margin-right: 0.3em; } |
| 286 | |
| 287 | .is-below { |
| 288 | margin-top: 10px; } |
| 289 | |
| 290 | /* ------------------------------------------------- |
| 291 | Restore Default Breakpoints button |
| 292 | ------------------------------------------------- */ |
| 293 | #restored-message { |
| 294 | opacity: 0; |
| 295 | line-height: 26px; |
| 296 | height: 26px; |
| 297 | padding: 0 10px; |
| 298 | margin: 1px 1em; |
| 299 | display: inline-block; |
| 300 | background: #00A4F3; |
| 301 | color: #FFF; |
| 302 | border-radius: 3px; |
| 303 | box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5); |
| 304 | position: relative; |
| 305 | top: -1px; } |
| 306 | |
| 307 | #restored-message.copied { |
| 308 | opacity: 0; |
| 309 | will-change: opacity; |
| 310 | animation: showcopied 2s ease; } |
| 311 | |
| 312 | @keyframes showcopied { |
| 313 | 0% { |
| 314 | opacity: 0; } |
| 315 | 70% { |
| 316 | opacity: 1; } |
| 317 | 100% { |
| 318 | opacity: 0; } } |
| 319 | .screenshot { |
| 320 | margin: 10px; } |
| 321 | .screenshot > div { |
| 322 | display: inline-block; |
| 323 | -webkit-box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8); |
| 324 | -moz-box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8); |
| 325 | box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8); } |
| 326 | |
| 327 | /* -------------------------------------------------- |
| 328 | Inputs |
| 329 | -------------------------------------------------- */ |
| 330 | input[type="text"].long { |
| 331 | width: 25em; } |
| 332 | |
| 333 | input[type="text"].medium { |
| 334 | width: 18em; } |
| 335 | |
| 336 | .input-number { |
| 337 | width: 5em; |
| 338 | text-align: right; } |
| 339 | |
| 340 | .input-incremental { |
| 341 | width: 5em; } |
| 342 | |
| 343 | .input-number-px { |
| 344 | width: 4em; |
| 345 | text-align: right; } |
| 346 | |
| 347 | .form-table select { |
| 348 | vertical-align: baseline; } |
| 349 | |
| 350 | div.radio { |
| 351 | line-height: 1.5em; |
| 352 | padding: 0 5px; } |
| 353 | |
| 354 | label, |
| 355 | .nolabel { |
| 356 | vertical-align: baseline; |
| 357 | display: inline-block; } |
| 358 | |
| 359 | label:hover { |
| 360 | color: #000; } |
| 361 | |
| 362 | option:disabled { |
| 363 | font-style: italic !important; } |
| 364 | |
| 365 | /* ------------------------------------------------- |
| 366 | Elements |
| 367 | ------------------------------------------------- */ |
| 368 | .wpmtst2 { |
| 369 | max-width: 1200px; |
| 370 | /* The generic classname `submit` conflicts with an unknown plugin or theme overzealous style. */ |
| 371 | /* views section heading */ } |
| 372 | .wpmtst2 p.wpmtst-submit { |
| 373 | margin-top: 2em; } |
| 374 | .wpmtst2 h3 { |
| 375 | background: #FFF; |
| 376 | color: #00A4F3; |
| 377 | font-weight: 400; |
| 378 | border: 1px solid #DDD; |
| 379 | border-bottom: 0; |
| 380 | padding: 10px 15px; |
| 381 | margin-bottom: 0; |
| 382 | margin-top: 1.5rem; } |
| 383 | |
| 384 | .form-table td p.description { |
| 385 | margin-top: 0; |
| 386 | font-style: italic; } |
| 387 | .form-table td p.description.tall { |
| 388 | line-height: 32px; |
| 389 | margin-top: 0; } |
| 390 | .form-table td p.description.short { |
| 391 | line-height: 22px; |
| 392 | padding: 5px 0; } |
| 393 | .form-table td p.description.solo { |
| 394 | margin-left: 0.3em; } |
| 395 | .form-table td p.description.under-checkbox { |
| 396 | margin-left: 22px; } |
| 397 | |
| 398 | /* Misc positioning */ |
| 399 | .inline { |
| 400 | display: inline-block; |
| 401 | margin-right: 1em; |
| 402 | vertical-align: top; } |
| 403 | .inline:last-child { |
| 404 | margin-right: 0; } |
| 405 | |
| 406 | .inline span, |
| 407 | .row span { |
| 408 | display: inline-block; |
| 409 | margin-right: 3px; } |
| 410 | |
| 411 | .inline-middle { |
| 412 | vertical-align: middle; } |
| 413 | |
| 414 | .tight { |
| 415 | margin-right: 0.2em; } |
| 416 | |
| 417 | .tight:last-child, |
| 418 | .last { |
| 419 | margin-right: 0; } |
| 420 | |
| 421 | .checkbox, |
| 422 | .form-table th.checkbox { |
| 423 | line-height: 32px; } |
| 424 | |
| 425 | .field { |
| 426 | position: relative; } |
| 427 | .field div { |
| 428 | display: inline-block; |
| 429 | padding: 0.2em 0.3em; } |
| 430 | |
| 431 | /* ------------------------------------------------- |
| 432 | Form table |
| 433 | ------------------------------------------------- */ |
| 434 | .form-table { |
| 435 | margin-top: 0; |
| 436 | background: #FEFEFE; |
| 437 | width: 100% !important; |
| 438 | border: 1px solid #DDD; } |
| 439 | .form-table.multiple { |
| 440 | width: auto; } |
| 441 | .form-table tr { |
| 442 | border: 1px solid #DDD; } |
| 443 | .form-table th, |
| 444 | .form-table td { |
| 445 | vertical-align: top; } |
| 446 | .form-table th { |
| 447 | font-weight: 400; |
| 448 | white-space: nowrap; |
| 449 | vertical-align: top; |
| 450 | width: 150px; |
| 451 | padding: 10px 15px; } |
| 452 | .form-table td { |
| 453 | padding: 10px; } |
| 454 | .form-table td.valign-middle { |
| 455 | vertical-align: middle; } |
| 456 | .form-table td.w1 { |
| 457 | width: 185px; } |
| 458 | .form-table td.w2 { |
| 459 | width: 300px; } |
| 460 | |
| 461 | tr.subheading { |
| 462 | font-weight: 600; } |
| 463 | tr.subheading td { |
| 464 | padding: 5px 10px; } |
| 465 | tr.subheading td:first-child { |
| 466 | padding-left: 15px; } |
| 467 | tr.subheading td:last-child { |
| 468 | width: 190px; } |
| 469 | |
| 470 | td.divider { |
| 471 | border-left: 1px dashed #DDD; } |
| 472 | |
| 473 | .wpmtst2 .form-table th, |
| 474 | .wpmtst2 .form-table th label { |
| 475 | line-height: 30px; |
| 476 | margin-top: 0; |
| 477 | margin-bottom: 0; } |
| 478 | |
| 479 | span.title { |
| 480 | display: inline-block; |
| 481 | margin-right: 1em; } |
| 482 | |
| 483 | .row, |
| 484 | .row p { |
| 485 | vertical-align: middle; |
| 486 | line-height: 32px; } |
| 487 | |
| 488 | .row.tall, |
| 489 | .row.tall p { |
| 490 | line-height: 40px; } |
| 491 | |
| 492 | .row.links { |
| 493 | margin-top: 10px; } |
| 494 | |
| 495 | .row:not(:first-child) .row-inner { |
| 496 | margin-top: 10px; } |
| 497 | |
| 498 | /* -------------------------------------------------- |
| 499 | Category checkboxes |
| 500 | -------------------------------------------------- */ |
| 501 | ul.checkbox-horizontal { |
| 502 | display: inline-block; |
| 503 | list-style: none; |
| 504 | margin: 0; } |
| 505 | ul.checkbox-horizontal li { |
| 506 | display: inline-block; |
| 507 | float: left; |
| 508 | margin: 6px 2em 0 0; } |
| 509 | |
| 510 | .select-cell { |
| 511 | padding-right: 2em; } |
| 512 | |
| 513 | /* ------------------------------------------------- |
| 514 | Form table |
| 515 | ------------------------------------------------- */ |
| 516 | .form-table { |
| 517 | margin-top: 0; |
| 518 | background: #FEFEFE; |
| 519 | width: 100% !important; |
| 520 | border: 1px solid #DDD; } |
| 521 | .form-table.multiple { |
| 522 | width: auto; } |
| 523 | .form-table tr { |
| 524 | border: 1px solid #DDD; } |
| 525 | .form-table th, |
| 526 | .form-table td { |
| 527 | vertical-align: top; } |
| 528 | .form-table th { |
| 529 | font-weight: 400; |
| 530 | white-space: nowrap; |
| 531 | vertical-align: top; |
| 532 | width: 150px; |
| 533 | padding: 10px 15px; } |
| 534 | .form-table td { |
| 535 | padding: 10px; } |
| 536 | .form-table td.valign-middle { |
| 537 | vertical-align: middle; } |
| 538 | .form-table td.w1 { |
| 539 | width: 185px; } |
| 540 | .form-table td.w2 { |
| 541 | width: 300px; } |
| 542 | |
| 543 | tr.subheading { |
| 544 | font-weight: 600; } |
| 545 | tr.subheading td { |
| 546 | padding: 5px 10px; } |
| 547 | tr.subheading td:first-child { |
| 548 | padding-left: 15px; } |
| 549 | tr.subheading td:last-child { |
| 550 | width: 190px; } |
| 551 | |
| 552 | td.divider { |
| 553 | border-left: 1px dashed #DDD; } |
| 554 | |
| 555 | .wpmtst2 .form-table th, |
| 556 | .wpmtst2 .form-table th label { |
| 557 | line-height: 30px; |
| 558 | margin-top: 0; |
| 559 | margin-bottom: 0; } |
| 560 | |
| 561 | span.title { |
| 562 | display: inline-block; |
| 563 | margin-right: 1em; } |
| 564 | |
| 565 | .row, |
| 566 | .row p { |
| 567 | vertical-align: middle; |
| 568 | line-height: 32px; } |
| 569 | |
| 570 | .row.tall, |
| 571 | .row.tall p { |
| 572 | line-height: 40px; } |
| 573 | |
| 574 | .row.links { |
| 575 | margin-top: 10px; } |
| 576 | |
| 577 | .row:not(:first-child) .row-inner { |
| 578 | margin-top: 10px; } |
| 579 | |
| 580 | /* ------------------------------------------------- |
| 581 | List radio buttons |
| 582 | ------------------------------------------------- */ |
| 583 | .section-radios { |
| 584 | display: flex; |
| 585 | justify-content: space-between; } |
| 586 | .section-radios > div:first-child { |
| 587 | flex: 0 0 15%; } |
| 588 | .section-radios > div:nth-child(2) { |
| 589 | flex: 1 1 auto; |
| 590 | background: rgba(0, 164, 243, 0.085); |
| 591 | border-radius: 15px; } |
| 592 | |
| 593 | .radio-buttons input[type=radio] { |
| 594 | display: none; } |
| 595 | .radio-buttons input[type=radio] + label { |
| 596 | border-radius: 15px 0 0 15px; |
| 597 | line-height: 30px; |
| 598 | margin-right: 15px; } |
| 599 | .radio-buttons input[type=radio] + label:before { |
| 600 | display: inline-block; |
| 601 | color: #999; |
| 602 | background:#999; |
| 603 | text-align: center; |
| 604 | font-size: 17px; |
| 605 | margin-left: 5px; |
| 606 | margin-right: 1px; |
| 607 | position: relative; |
| 608 | top:5px; |
| 609 | width: 20px; |
| 610 | height:20px; |
| 611 | /* unchecked icon */ |
| 612 | content: ""; |
| 613 | -webkit-mask: url('../img/circle-regular.svg') center center no-repeat; |
| 614 | mask: url('../img/circle-regular.svg') center center no-repeat; |
| 615 | } |
| 616 | .radio-buttons input[type=radio] + label:hover:before { |
| 617 | color: #FF8900; } |
| 618 | .radio-buttons input[type=radio]:checked + label:before { |
| 619 | /* checked icon */ |
| 620 | content: ""; |
| 621 | -webkit-mask: url('../img/dot-circle-regular.svg') center center no-repeat; |
| 622 | mask: url('../img/dot-circle-regular.svg') center center no-repeat; |
| 623 | color: #00A4F3; |
| 624 | background: #00A4F3;} |
| 625 | .radio-buttons input[type=radio]:checked + label:hover:before { |
| 626 | color: #FF8900; |
| 627 | background: #FF8900;} |
| 628 | .radio-buttons input[type=radio].error + label, .radio-buttons input[type=radio].error + label:before { |
| 629 | color: red; } |
| 630 | .radio-buttons input[type=radio]:disabled + label { |
| 631 | color: #AAA; } |
| 632 | .radio-buttons input[type=radio]:disabled + label:before { |
| 633 | color: #CCC; } |
| 634 | .radio-buttons input[type=radio]:disabled + label:hover { |
| 635 | background: transparent; } |
| 636 | .radio-buttons input[type=radio]:checked:disabled + label:hover { |
| 637 | background: #EAF7FB; } |
| 638 | |
| 639 | ul.radio-list { |
| 640 | margin: 15px 0; } |
| 641 | ul.radio-list li { |
| 642 | margin: 0; } |
| 643 | ul.radio-list li.current-selection label { |
| 644 | background: rgba(0, 164, 243, 0.085); } |
| 645 | ul.radio-list li label { |
| 646 | width: 100%; |
| 647 | white-space: nowrap; } |
| 648 | |
| 649 | .radio-description { |
| 650 | padding: 0 15px; } |
| 651 | .radio-description p { |
| 652 | margin: 15px 0 15px !important; } |
| 653 | |
| 654 | .options { |
| 655 | margin: 0 10px 15px 0; } |
| 656 | .options > div { |
| 657 | display: inline-block; |
| 658 | display: flex; } |
| 659 | .options > div > div { |
| 660 | display: inline-block; |
| 661 | width: 25%; } |
| 662 | |
| 663 | .description-inner { |
| 664 | margin: 15px 0; } |
| 665 | |
| 666 | /* ------------------------------------------------- |
| 667 | Template options |
| 668 | ------------------------------------------------- */ |
| 669 | ul.radio-list.template-list li { |
| 670 | display: flex; } |
| 671 | ul.radio-list.template-list li.current-selection .template-description { |
| 672 | background: rgba(0, 164, 243, 0.085); } |
| 673 | ul.radio-list.template-list li > div:first-child { |
| 674 | flex: 0 0 15%; |
| 675 | white-space: nowrap; |
| 676 | align-self: center; } |
| 677 | ul.radio-list.template-list li > div:nth-child(2) { |
| 678 | flex: 1 1 auto; } |
| 679 | |
| 680 | .template-optgroup { |
| 681 | font-weight: 600; |
| 682 | margin: 15px 10px 10px 0; } |
| 683 | |
| 684 | .template-description { |
| 685 | border-radius: 15px; |
| 686 | padding: 15px; } |
| 687 | .template-description p { |
| 688 | margin: 0px 0 15px !important; } |
| 689 | .template-description label { |
| 690 | background: transparent !important; } |
| 691 | |
| 692 | /* ------------------------------------------------- |
| 693 | Layout options |
| 694 | ------------------------------------------------- */ |
| 695 | .layout-section > div:last-child { |
| 696 | flex: 0 0 auto; |
| 697 | align-self: flex-start; |
| 698 | margin-left: 10px; |
| 699 | padding: 10px; } |
| 700 | |
| 701 | /* -------------------------------------------------- |
| 702 | Examples |
| 703 | -------------------------------------------------- */ |
| 704 | .example-container { |
| 705 | background: white; |
| 706 | border: 1px solid #ccc; |
| 707 | box-sizing: border-box; |
| 708 | padding: 15px 10px 5px; |
| 709 | width: 170px; } |
| 710 | .example-container .box { |
| 711 | background: #DDD; |
| 712 | width: 100%; |
| 713 | line-height: 30px; |
| 714 | height: 30px; |
| 715 | margin-bottom: 10px; |
| 716 | text-align: center; |
| 717 | /* to prevent overflowing margins */ |
| 718 | display: inline-block; |
| 719 | position: relative; |
| 720 | /* multi-column properties */ |
| 721 | -webkit-column-break-inside: avoid; |
| 722 | page-break-inside: avoid; |
| 723 | break-inside: avoid; } |
| 724 | .example-container .box span { |
| 725 | display: block; |
| 726 | margin: 0 auto; } |
| 727 | .example-container .box.size2 { |
| 728 | height: 45px; } |
| 729 | .example-container .box.size3 { |
| 730 | height: 60px; } |
| 731 | |
| 732 | /* -------------------------------------------------- |
| 733 | Columns |
| 734 | -------------------------------------------------- */ |
| 735 | .view-layout-columns .example-container { |
| 736 | padding-bottom: 15px; |
| 737 | text-align: center; |
| 738 | /* a minimum width fallback */ |
| 739 | -webkit-column-width: 25px; |
| 740 | -moz-column-width: 25px; |
| 741 | column-width: 25px; |
| 742 | -webkit-column-gap: 10px; |
| 743 | -moz-column-gap: 10px; |
| 744 | column-gap: 10px; |
| 745 | /* chrome does not repaint column-rule when switching classes in js :( */ |
| 746 | /*-webkit-column-rule: 1px dashed #999;*/ |
| 747 | /*-moz-column-rule: 1px dashed #999;*/ |
| 748 | /*column-rule: 1px dashed #999;*/ |
| 749 | -webkit-margin-bottom-collapse: separate; } |
| 750 | .view-layout-columns .example-container.col-2 { |
| 751 | -webkit-column-count: 2; |
| 752 | -moz-column-count: 2; |
| 753 | column-count: 2; } |
| 754 | .view-layout-columns .example-container.col-3 { |
| 755 | -webkit-column-count: 3; |
| 756 | -moz-column-count: 3; |
| 757 | column-count: 3; } |
| 758 | .view-layout-columns .example-container.col-4 { |
| 759 | -webkit-column-count: 4; |
| 760 | -moz-column-count: 4; |
| 761 | column-count: 4; } |
| 762 | |
| 763 | /* -------------------------------------------------- |
| 764 | Grid |
| 765 | -------------------------------------------------- */ |
| 766 | .view-layout-grid .example-container { |
| 767 | display: -webkit-flex; |
| 768 | display: -ms-flexbox; |
| 769 | display: flex; |
| 770 | -webkit-flex-wrap: wrap; |
| 771 | -ms-flex-wrap: wrap; |
| 772 | flex-wrap: wrap; |
| 773 | justify-content: space-between; } |
| 774 | .view-layout-grid .example-container .box { |
| 775 | display: -webkit-flex; |
| 776 | display: -ms-flexbox; |
| 777 | display: flex; } |
| 778 | .view-layout-grid .example-container.col-2 .box { |
| 779 | width: 47%; } |
| 780 | .view-layout-grid .example-container.col-3 .box { |
| 781 | width: 29%; } |
| 782 | .view-layout-grid .example-container.col-4 .box { |
| 783 | width: 21%; } |
| 784 | |
| 785 | /* -------------------------------------------------- |
| 786 | Masonry |
| 787 | -------------------------------------------------- */ |
| 788 | .view-layout-masonry .example-container .box { |
| 789 | width: 46%; } |
| 790 | .view-layout-masonry .example-container .grid-sizer, .view-layout-masonry .example-container.col-2 .grid-sizer { |
| 791 | width: 46%; } |
| 792 | .view-layout-masonry .example-container.col-3 .grid-sizer { |
| 793 | width: 27.5%; } |
| 794 | .view-layout-masonry .example-container.col-4 .grid-sizer { |
| 795 | width: 19.5%; } |
| 796 | |
| 797 | /* ------------------------------------------------- |
| 798 | Background options |
| 799 | ------------------------------------------------- */ |
| 800 | .color-picker-wrap { |
| 801 | display: flex; } |
| 802 | .color-picker-wrap > div:first-child { |
| 803 | min-width: 80px; } |
| 804 | |
| 805 | .background-preview-wrap { |
| 806 | background: #FFF; |
| 807 | padding: 2em; |
| 808 | max-width: 300px; } |
| 809 | |
| 810 | #background-preview { |
| 811 | padding: 1em; |
| 812 | text-align: center; } |
| 813 | #background-preview.dark { |
| 814 | color: #333; } |
| 815 | #background-preview.light { |
| 816 | color: #EEE; } |
| 817 | |
| 818 | /* -------------------------------------------------- |
| 819 | Custom fields |
| 820 | -------------------------------------------------- */ |
| 821 | .fields { |
| 822 | display: inline-block; |
| 823 | min-width: 350px; } |
| 824 | .fields .field2 { |
| 825 | border: 1px solid #DDD; |
| 826 | background: #FFF; |
| 827 | /* for better dragging */ |
| 828 | transition: background 0.3s ease, border 0.3s ease; } |
| 829 | .fields .field2.open { |
| 830 | background: #FFF; |
| 831 | border-color: #444; } |
| 832 | .fields .field3 { |
| 833 | flex: 20; } |
| 834 | .fields div.link { |
| 835 | display: inline-block; |
| 836 | cursor: pointer; |
| 837 | padding: 10px 10px 8px; |
| 838 | width: calc(100% - 20px); } |
| 839 | |
| 840 | .controls2 { |
| 841 | /* icons */ } |
| 842 | .controls2 > div { |
| 843 | display: flex; } |
| 844 | .controls2 .icon-wrap { |
| 845 | position: relative; |
| 846 | top: 1px; |
| 847 | color: #999; } |
| 848 | .controls2 .icon-wrap:hover { |
| 849 | cursor: pointer; } |
| 850 | .controls2.left { |
| 851 | float: left; } |
| 852 | .controls2.left .icon-wrap { |
| 853 | margin-right: 5px; } |
| 854 | .controls2.right { |
| 855 | float: right; } |
| 856 | .controls2.right .icon-wrap { |
| 857 | margin-left: 5px; } |
| 858 | .controls2 .handle:before, |
| 859 | .controls2 .delete:before, |
| 860 | .controls2 .toggle:before { |
| 861 | font: normal 20px/1 dashicons; |
| 862 | width: 20px; |
| 863 | height: 20px; } |
| 864 | .controls2 .handle:hover, |
| 865 | .controls2 .delete:hover, |
| 866 | .controls2 .toggle:hover { |
| 867 | cursor: pointer; } |
| 868 | .controls2 .delete:before { |
| 869 | content: "\f335"; } |
| 870 | .controls2 .delete:hover:before { |
| 871 | background: #FF0000; |
| 872 | color: #FFF; |
| 873 | border-radius: 1px; } |
| 874 | .controls2 .handle:before { |
| 875 | content: "\f333"; } |
| 876 | .controls2 .handle:hover { |
| 877 | color: #2ea2cc; |
| 878 | cursor: move; } |
| 879 | .controls2 .toggle:before { |
| 880 | content: "\f140"; } |
| 881 | .controls2 .toggle:hover:before { |
| 882 | color: #2EA2CC; } |
| 883 | |
| 884 | .field-description { |
| 885 | padding: 0 5px; |
| 886 | font-weight: 600; |
| 887 | text-decoration: none; |
| 888 | color: #444; } |
| 889 | .field-description:hover { |
| 890 | color: #444; } |
| 891 | |
| 892 | .field-properties { |
| 893 | padding: 5px 10px; |
| 894 | border-top: 1px dotted #DDD; } |
| 895 | |
| 896 | .field-property, |
| 897 | .field-property-box .flex { |
| 898 | display: flex; |
| 899 | margin: 5px 0; } |
| 900 | .field-property label, |
| 901 | .field-property .nolabel, |
| 902 | .field-property-box .flex label, |
| 903 | .field-property-box .flex .nolabel { |
| 904 | flex: 0 1 80px; |
| 905 | line-height: 28px; } |
| 906 | .field-property select, .field-property input, |
| 907 | .field-property-box .flex select, |
| 908 | .field-property-box .flex input { |
| 909 | flex: 3; } |
| 910 | |
| 911 | .field2.open .toggle:before { |
| 912 | content: "\f142"; } |
| 913 | |
| 914 | .sortable-placeholder { |
| 915 | background: lightyellow !important; |
| 916 | margin: 0; } |
| 917 | |
| 918 | .ui-sortable-helper { |
| 919 | border: 1px solid #444 !important; } |
| 920 | |
| 921 | div.help { |
| 922 | font-style: italic; |
| 923 | padding-bottom: 5px; } |
| 924 | |
| 925 | @-moz-document url-prefix() { |
| 926 | select optgroup { |
| 927 | font-style: normal; |
| 928 | margin-left: 3px; } } |
| 929 | /* -------------------------------------------------- |
| 930 | help tab |
| 931 | -------------------------------------------------- */ |
| 932 | span.help-links { |
| 933 | display: inline-block; |
| 934 | margin-left: 0.4em; } |
| 935 | |
| 936 | a.open-help-tab { |
| 937 | font-weight: 400; } |
| 938 | |
| 939 | table.wpmtst-help-tab { |
| 940 | border-collapse: collapse; |
| 941 | margin: 20px 0; |
| 942 | width: 100%; } |
| 943 | table.wpmtst-help-tab tr:hover td { |
| 944 | background: #FFFFAA; } |
| 945 | table.wpmtst-help-tab th, |
| 946 | table.wpmtst-help-tab td { |
| 947 | padding: 5px 10px; |
| 948 | text-align: center; } |
| 949 | table.wpmtst-help-tab th { |
| 950 | border-bottom: 1px solid #AAA; } |
| 951 | table.wpmtst-help-tab td { |
| 952 | border-bottom: 1px solid #E1E1E1; } |
| 953 | table.wpmtst-help-tab td:first-child { |
| 954 | text-align: right; |
| 955 | font-weight: 600; |
| 956 | white-space: nowrap; } |
| 957 | table.wpmtst-help-tab td:not(:last-child) { |
| 958 | border-right: 1px dotted #E1E1E1; } |
| 959 | |
| 960 | /* -------------------------------------------------- |
| 961 | Views list table sticky |
| 962 | -------------------------------------------------- */ |
| 963 | .wp-list-table-wrap { |
| 964 | position: relative; } |
| 965 | |
| 966 | .stickit, .stickit:before { |
| 967 | cursor: pointer; |
| 968 | content: "\f154"; |
| 969 | display: inline-block; |
| 970 | width: 20px; |
| 971 | height: 20px; |
| 972 | color: #aaa; |
| 973 | font-size: 20px; |
| 974 | line-height: 1; |
| 975 | font-family: dashicons; |
| 976 | text-decoration: inherit; |
| 977 | font-weight: normal; |
| 978 | font-style: normal; |
| 979 | vertical-align: top; |
| 980 | text-align: center; |
| 981 | -webkit-transition: color .1s ease-in; |
| 982 | transition: color .1s ease-in; |
| 983 | -webkit-font-smoothing: antialiased; |
| 984 | -moz-osx-font-smoothing: grayscale; } |
| 985 | |
| 986 | .stickit.stuck:before { |
| 987 | content: "\f155"; |
| 988 | color: #0073aa; } |
| 989 | .stickit:hover:before { |
| 990 | content: "\f155"; |
| 991 | color: #0096dd; } |
| 992 | |
| 993 | .overlay { |
| 994 | position: absolute; |
| 995 | top: 0; |
| 996 | left: 0; |
| 997 | bottom: 0; |
| 998 | right: 0; |
| 999 | background: rgba(255, 255, 255, 0.7); } |
| 1000 | |
| 1001 | /* ------------------------------------------------- |
| 1002 | Inner table |
| 1003 | ------------------------------------------------- */ |
| 1004 | .inner-table { |
| 1005 | display: table; } |
| 1006 | |
| 1007 | .inner-table-row { |
| 1008 | display: table-row; } |
| 1009 | .inner-table-row.bordered { |
| 1010 | border: 1px solid #DDD; } |
| 1011 | .inner-table-row.header .inner-table-cell { |
| 1012 | text-align: center; |
| 1013 | padding: 0 10px; |
| 1014 | background: #f6f6f6; } |
| 1015 | |
| 1016 | .inner-table-cell { |
| 1017 | display: table-cell; |
| 1018 | padding: 5px 10px; } |
| 1019 | .inner-table-cell:not(:last-child) { |
| 1020 | border-right: 1px dashed #e2e2e2; } |
| 1021 | |
| 1022 | .form-table td p.description.normal { |
| 1023 | font-style: normal; } |
| 1024 | |
| 1025 | ul.description.normal { |
| 1026 | margin-top: 0; |
| 1027 | font-style: normal; } |
| 1028 | |
| 1029 | ul.description li { |
| 1030 | margin-bottom: 0; |
| 1031 | line-height: 1.5; } |
| 1032 |