Skip to content

Commit f162e38

Browse files
committed
psr12 fixup;
1 parent bd4715e commit f162e38

2 files changed

Lines changed: 92 additions & 74 deletions

File tree

assets/css/wsf-admin.css

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,15 @@
184184
border-radius: 50%;
185185
}
186186

187-
.kp-wsf-switch input:checked + .kp-wsf-switch-slider {
187+
.kp-wsf-switch input:checked+.kp-wsf-switch-slider {
188188
background-color: #2271b1;
189189
}
190190

191-
.kp-wsf-switch input:focus + .kp-wsf-switch-slider {
191+
.kp-wsf-switch input:focus+.kp-wsf-switch-slider {
192192
box-shadow: 0 0 1px #2271b1;
193193
}
194194

195-
.kp-wsf-switch input:checked + .kp-wsf-switch-slider:before {
195+
.kp-wsf-switch input:checked+.kp-wsf-switch-slider:before {
196196
transform: translateX(24px);
197197
}
198198

@@ -367,7 +367,7 @@
367367
margin-bottom: 0;
368368
}
369369

370-
.kp-wsf-repeater__field > label {
370+
.kp-wsf-repeater__field>label {
371371
display: block;
372372
font-weight: 600;
373373
margin-bottom: 5px;
@@ -403,6 +403,7 @@
403403
background: #f0f6fc;
404404
border: 2px dashed #2271b1;
405405
}
406+
406407
/* ==========================================================================
407408
Conditional Fields
408409
========================================================================== */
@@ -429,11 +430,11 @@
429430
border-top: 1px solid #c3c4c7;
430431
}
431432

432-
.kp-wsf-export-import > h2 {
433+
.kp-wsf-export-import>h2 {
433434
margin-bottom: 10px;
434435
}
435436

436-
.kp-wsf-export-import > p.description {
437+
.kp-wsf-export-import>p.description {
437438
margin-bottom: 20px;
438439
}
439440

@@ -467,6 +468,7 @@
467468
margin-top: 10px;
468469
font-style: italic;
469470
}
471+
470472
/* ==========================================================================
471473
Inline Fields (Repeaters & Groups)
472474
========================================================================== */
@@ -490,7 +492,8 @@
490492
}
491493

492494
/* Group fields container as flex */
493-
.kp-wsf-group-fields, .inline-field {
495+
.kp-wsf-group-fields,
496+
.inline-field {
494497
display: flex;
495498
flex-wrap: wrap;
496499
gap: 15px;
@@ -500,7 +503,11 @@
500503
.kp-wsf-group-field {
501504
flex: 0 0 100%;
502505
}
503-
.kp-wsf-group-field label:first-child {padding-bottom:20px !important;font-weight: 500;}
506+
507+
.kp-wsf-group-field label:first-child {
508+
padding-bottom: 20px !important;
509+
font-weight: 500;
510+
}
504511

505512
/* Inline group fields share the row */
506513
.kp-wsf-group-field--inline {
@@ -510,6 +517,7 @@
510517

511518
/* Responsive - stack on small screens */
512519
@media screen and (max-width: 600px) {
520+
513521
.kp-wsf-repeater__field--inline,
514522
.kp-wsf-group-field--inline {
515523
flex: 0 0 100%;
@@ -521,6 +529,7 @@
521529
margin-bottom: 15px;
522530
background: #fff;
523531
}
532+
524533
.kp-wsf-accordion__header {
525534
display: flex;
526535
align-items: center;
@@ -529,30 +538,39 @@
529538
cursor: pointer;
530539
user-select: none;
531540
}
541+
532542
.kp-wsf-accordion__title {
533543
flex: 1;
534544
font-weight: 600;
535545
}
546+
536547
.kp-wsf-accordion__icon {
537548
transition: transform 0.2s;
538549
}
550+
539551
.kp-wsf-accordion--open .kp-wsf-accordion__icon {
540552
transform: rotate(180deg);
541553
}
554+
542555
.kp-wsf-accordion__content {
543556
display: none;
544557
padding: 15px;
545558
border-top: 1px solid #c3c4c7;
546559
}
560+
547561
.kp-wsf-accordion--open .kp-wsf-accordion__content {
548562
display: block;
549563
}
550-
.kp-wsf-description--accordion, .kp-wsf-description--group, .kp-wsf-description--repeater {
551-
padding-bottom:20px !important;
564+
565+
.kp-wsf-description--accordion,
566+
.kp-wsf-description--group,
567+
.kp-wsf-description--repeater {
568+
padding-bottom: 20px !important;
552569
}
570+
553571
.regular-text,
554-
.wp-core-ui select{
555-
width:100% !important;
572+
.wp-core-ui select {
573+
width: 100% !important;
556574
}
557575

558576
/* ==========================================================================
@@ -646,20 +664,20 @@
646664
.kp-wsf-tabs-vertical {
647665
flex-direction: column;
648666
}
649-
667+
650668
.kp-wsf-tabs-vertical .kp-wsf-tab-nav {
651669
width: 100%;
652670
min-width: 0;
653671
flex-direction: row;
654672
overflow-x: auto;
655673
flex-wrap: nowrap;
656674
}
657-
675+
658676
.kp-wsf-tabs-vertical .kp-wsf-tab {
659677
white-space: nowrap;
660678
}
661-
679+
662680
.kp-wsf-tabs-vertical .kp-wsf-tab-content {
663681
width: 100%;
664682
}
665-
}
683+
}

0 commit comments

Comments
 (0)