| 1 |
/* |
| 2 |
* mlsimport-customizer-controls.css |
| 3 |
* --------------------------------------------------------------------------- |
| 4 |
* Styles the custom "arrange sections" control shown in the WordPress |
| 5 |
* Customizer for the standalone (theme-agnostic) design settings. The control |
| 6 |
* renders active/inactive lists of page sections with per-item move/toggle |
| 7 |
* actions so the user can order and enable/disable them. |
| 8 |
*/ |
| 9 |
|
| 10 |
/* MLSImport Customizer "arrange sections" control. */ |
| 11 |
/* Small uppercase group heading above each arranger list. */ |
| 12 |
.mlsimport-arranger__heading { |
| 13 |
margin: 12px 0 4px; |
| 14 |
font-weight: 600; |
| 15 |
text-transform: uppercase; |
| 16 |
font-size: 11px; |
| 17 |
letter-spacing: .04em; |
| 18 |
color: #6b6358; |
| 19 |
} |
| 20 |
/* Bordered container holding the sortable section items. */ |
| 21 |
.mlsimport-arranger__list { |
| 22 |
margin: 0 0 8px; |
| 23 |
padding: 0; |
| 24 |
list-style: none; |
| 25 |
border: 1px solid rgba( 28, 25, 23, 0.12 ); |
| 26 |
border-radius: 10px; |
| 27 |
min-height: 12px; |
| 28 |
background: #fff; |
| 29 |
} |
| 30 |
/* Greyed background for the list of inactive/disabled sections. */ |
| 31 |
.mlsimport-arranger__inactive { |
| 32 |
background: #f3efe7; |
| 33 |
} |
| 34 |
/* One section row: label on the left, action buttons on the right. */ |
| 35 |
.mlsimport-arranger__item { |
| 36 |
display: flex; |
| 37 |
align-items: center; |
| 38 |
justify-content: space-between; |
| 39 |
gap: 8px; |
| 40 |
padding: 6px 8px; |
| 41 |
border-bottom: 1px solid #f3efe7; |
| 42 |
font-size: 13px; |
| 43 |
} |
| 44 |
/* Drop the divider on the final row. */ |
| 45 |
.mlsimport-arranger__item:last-child { |
| 46 |
border-bottom: 0; |
| 47 |
} |
| 48 |
/* Row action buttons (move up/down, toggle) kept together, no shrink. */ |
| 49 |
.mlsimport-arranger__actions { |
| 50 |
display: inline-flex; |
| 51 |
gap: 6px; |
| 52 |
flex: 0 0 auto; |
| 53 |
} |
| 54 |
.mlsimport-arranger__actions .button-link { |
| 55 |
text-decoration: none; |
| 56 |
font-size: 14px; |
| 57 |
line-height: 1; |
| 58 |
padding: 2px 4px; |
| 59 |
color: #e85d3c; |
| 60 |
} |
| 61 |
/* Bolded move (arrow) button glyphs. */ |
| 62 |
.mlsimport-arranger__move { |
| 63 |
font-weight: 700; |
| 64 |
} |
| 65 |
|