| 1 |
/** |
| 2 |
* Shared right palette styles for Booking Calendar admin pages. |
| 3 |
*/ |
| 4 |
|
| 5 |
.wpbc_rightbar_palette { |
| 6 |
--wpbc-palette-accent: var(--wpbc-ts-red, #df202b); |
| 7 |
--wpbc-palette-bg: var(--wpbc-ts-bg, #fff); |
| 8 |
--wpbc-palette-bg-soft: var(--wpbc-ts-bg-soft, #f6f7f7); |
| 9 |
--wpbc-palette-border: var(--wpbc-ts-border, #dfe4ea); |
| 10 |
--wpbc-palette-muted: var(--wpbc-ts-muted, #646970); |
| 11 |
--wpbc-palette-radius: var(--wpbc-ts-radius, 6px); |
| 12 |
--wpbc-palette-text: var(--wpbc-ts-text, #1d2327); |
| 13 |
} |
| 14 |
.wpbc_ui_el__vert_right_bar__content .wpbc_ui_el__expand_colapse_btns { |
| 15 |
display: none; |
| 16 |
} |
| 17 |
|
| 18 |
.wpbc_rightbar_palette .wpbc_bfb__inspector__head { |
| 19 |
border-bottom: 1px solid var(--wpbc-palette-border); |
| 20 |
margin: 0; |
| 21 |
padding: 0 10px 10px 10px; |
| 22 |
} |
| 23 |
|
| 24 |
.wpbc_rightbar_palette .wpbc_bfb__inspector__head .header_container { |
| 25 |
padding: 0; |
| 26 |
} |
| 27 |
|
| 28 |
.wpbc_rightbar_palette .wpbc_bfb__inspector__head .title { |
| 29 |
color: var(--wpbc-palette-text); |
| 30 |
font-size: 14px; |
| 31 |
font-weight: 700; |
| 32 |
letter-spacing: 0; |
| 33 |
line-height: 1.74; |
| 34 |
margin: 0; |
| 35 |
text-transform: uppercase; |
| 36 |
} |
| 37 |
|
| 38 |
.wpbc_rightbar_palette .wpbc_bfb__inspector__head .desc { |
| 39 |
color: var(--wpbc-palette-muted); |
| 40 |
font-size: 12px; |
| 41 |
line-height: 1.75; |
| 42 |
margin: 5px 0 0; |
| 43 |
} |
| 44 |
|
| 45 |
.wpbc_rightbar_palette .wpbc_bfb__inspector__body, |
| 46 |
.wpbc_rightbar_palette .wpbc_ts_inspector_body { |
| 47 |
padding: 0; |
| 48 |
} |
| 49 |
|
| 50 |
/** |
| 51 |
* Content-only inspector body. |
| 52 |
* |
| 53 |
* Use this modifier for Help, information, and other panels whose direct |
| 54 |
* children are normal content instead of collapsible groups. Collapsible |
| 55 |
* inspectors keep the unpadded base body and own their spacing per group. |
| 56 |
*/ |
| 57 |
.wpbc_rightbar_palette .wpbc_bfb__inspector__body.wpbc_bfb__inspector__body--content { |
| 58 |
box-sizing: border-box; |
| 59 |
padding: var(--wpbc-inspector-content-padding, 18px); |
| 60 |
} |
| 61 |
|
| 62 |
/** |
| 63 |
* Content section inside an otherwise unpadded or collapsible inspector body. |
| 64 |
* |
| 65 |
* Use this for a standalone action row, notice, summary, or text block placed |
| 66 |
* beside collapsible groups. Use the body modifier when the entire panel is |
| 67 |
* normal content. |
| 68 |
*/ |
| 69 |
.wpbc_rightbar_palette .wpbc_bfb__inspector__section--content { |
| 70 |
box-sizing: border-box; |
| 71 |
padding: var(--wpbc-inspector-content-padding, 18px); |
| 72 |
} |
| 73 |
|
| 74 |
/** |
| 75 |
* Standard Builder-style field rows shared by all right-palette inspectors. |
| 76 |
*/ |
| 77 |
.wpbc_rightbar_palette .inspector__row { |
| 78 |
align-items: flex-start; |
| 79 |
box-sizing: border-box; |
| 80 |
display: flex; |
| 81 |
flex: 1 1 100%; |
| 82 |
flex-flow: row wrap; |
| 83 |
gap: 10px; |
| 84 |
justify-content: flex-start; |
| 85 |
width: 100%; |
| 86 |
} |
| 87 |
.wpbc_rightbar_palette .inspector__label, |
| 88 |
.wpbc_rightbar_palette .inspector__control { |
| 89 |
box-sizing: border-box; |
| 90 |
flex: 1 1 100%; |
| 91 |
} |
| 92 |
|
| 93 |
/* |
| 94 |
* Shared inspector widths. |
| 95 |
* |
| 96 |
* Keep this block after the palette's full-width label/control default. The |
| 97 |
* source order makes an explicit width win without domain overrides, while |
| 98 |
* the unscoped helpers remain reusable by the Form Builder inspector. |
| 99 |
*/ |
| 100 |
.inspector__row .inspector__w_10 { flex-basis: 10%; } |
| 101 |
.inspector__row .inspector__w_20 { flex-basis: 20%; } |
| 102 |
.inspector__row .inspector__w_30 { flex-basis: 30%; } |
| 103 |
.inspector__row .inspector__w_40 { flex-basis: 40%; } |
| 104 |
.inspector__row .inspector__w_50 { flex-basis: 50%; } |
| 105 |
.inspector__row .inspector__w_60 { flex-basis: 60%; } |
| 106 |
.inspector__row .inspector__w_70 { flex-basis: 70%; } |
| 107 |
.inspector__row .inspector__w_80 { flex-basis: 80%; } |
| 108 |
.inspector__row .inspector__w_90 { flex-basis: 90%; } |
| 109 |
.inspector__row .inspector__w_100 { flex-basis: 100%; } |
| 110 |
.inspector__row .inspector__w_05 { flex-basis: 5%; } |
| 111 |
.inspector__row .inspector__w_15 { flex-basis: 15%; } |
| 112 |
.inspector__row .inspector__w_25 { flex-basis: 25%; } |
| 113 |
.inspector__row .inspector__w_35 { flex-basis: 35%; } |
| 114 |
.inspector__row .inspector__w_45 { flex-basis: 45%; } |
| 115 |
.inspector__row .inspector__w_55 { flex-basis: 55%; } |
| 116 |
.inspector__row .inspector__w_65 { flex-basis: 65%; } |
| 117 |
.inspector__row .inspector__w_75 { flex-basis: 75%; } |
| 118 |
.inspector__row .inspector__w_85 { flex-basis: 85%; } |
| 119 |
.inspector__row .inspector__w_95 { flex-basis: 95%; } |
| 120 |
|
| 121 |
.wpbc_rightbar_palette .inspector__label { |
| 122 |
color: var(--wpbc-palette-text); |
| 123 |
font-size: 14px; |
| 124 |
font-weight: 600; |
| 125 |
line-height: 1.75; |
| 126 |
margin: 0; |
| 127 |
} |
| 128 |
|
| 129 |
.wp-core-ui .wpbc_page .wpbc_rightbar_palette .inspector__control > input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), |
| 130 |
.wp-core-ui .wpbc_page .wpbc_rightbar_palette .inspector__control > select, |
| 131 |
.wp-core-ui .wpbc_page .wpbc_rightbar_palette .inspector__control > textarea, |
| 132 |
.wp-core-ui .wpbc_page .wpbc_rightbar_palette .inspector__input { |
| 133 |
box-sizing: border-box; |
| 134 |
line-height: 2.4; |
| 135 |
max-width: 100%; |
| 136 |
width: 100%; |
| 137 |
} |
| 138 |
|
| 139 |
.wpbc_rightbar_palette .inspector__control--inline { |
| 140 |
align-items: stretch; |
| 141 |
display: flex; |
| 142 |
flex-flow: row nowrap; |
| 143 |
gap: 8px; |
| 144 |
} |
| 145 |
|
| 146 |
.wpbc_rightbar_palette .inspector__control--inline .inspector__input--unit { |
| 147 |
flex: 0 0 72px; |
| 148 |
width: 72px; |
| 149 |
} |
| 150 |
|
| 151 |
.wpbc_rightbar_palette .inspector__row--toggle .wpbc_ui__toggle { |
| 152 |
align-items: center; |
| 153 |
display: flex; |
| 154 |
float: none; |
| 155 |
margin: 0; |
| 156 |
min-height: 26px; |
| 157 |
position: static; |
| 158 |
} |
| 159 |
|
| 160 |
.wpbc_rightbar_palette .inspector__help { |
| 161 |
color: var(--wpbc-palette-muted); |
| 162 |
font-size: 12px; |
| 163 |
line-height: 1.5; |
| 164 |
margin: 7px 0 0; |
| 165 |
} |
| 166 |
|
| 167 |
.wpbc_rightbar_palette__row, |
| 168 |
.wpbc_rightbar_palette .wpbc_ts_inspector_row { |
| 169 |
align-items: flex-start; |
| 170 |
display: flex; |
| 171 |
flex-flow: row wrap; |
| 172 |
gap: 8px; |
| 173 |
margin-bottom: 14px; |
| 174 |
} |
| 175 |
|
| 176 |
.wpbc_rightbar_palette__row.row__bordered, |
| 177 |
.wpbc_rightbar_palette .wpbc_ts_inspector_row.row__bordered { |
| 178 |
background: var(--wpbc-palette-bg-soft); |
| 179 |
border: 1px solid var(--wpbc-palette-border); |
| 180 |
border-radius: var(--wpbc-palette-radius); |
| 181 |
padding: 10px; |
| 182 |
} |
| 183 |
|
| 184 |
.wpbc_rightbar_palette__label, |
| 185 |
.wpbc_rightbar_palette__value, |
| 186 |
.wpbc_rightbar_palette .wpbc_ts_inspector_label, |
| 187 |
.wpbc_rightbar_palette .wpbc_ts_inspector_value { |
| 188 |
flex: 1 1 100%; |
| 189 |
} |
| 190 |
|
| 191 |
.wpbc_rightbar_palette__label, |
| 192 |
.wpbc_rightbar_palette .wpbc_ts_inspector_label { |
| 193 |
color: var(--wpbc-palette-text); |
| 194 |
font-weight: 600; |
| 195 |
} |
| 196 |
|
| 197 |
.wpbc_rightbar_palette__value, |
| 198 |
.wpbc_rightbar_palette .wpbc_ts_inspector_value { |
| 199 |
color: var(--wpbc-palette-muted); |
| 200 |
line-height: 1.5; |
| 201 |
} |
| 202 |
|
| 203 |
.wpbc_rightbar_palette__select, |
| 204 |
.wpbc_rightbar_palette .wpbc_ts_inspector_select { |
| 205 |
min-height: 36px; |
| 206 |
width: 100%; |
| 207 |
} |
| 208 |
|
| 209 |
.wpbc_rightbar_palette__segmented, |
| 210 |
.wpbc_rightbar_palette .wpbc_ts_segmented { |
| 211 |
background: var(--wpbc-palette-bg); |
| 212 |
border: 1px solid var(--wpbc-palette-border); |
| 213 |
border-radius: var(--wpbc-palette-radius); |
| 214 |
display: flex; |
| 215 |
margin-bottom: 12px; |
| 216 |
overflow: hidden; |
| 217 |
} |
| 218 |
|
| 219 |
.wpbc_rightbar_palette__segmented a, |
| 220 |
.wpbc_rightbar_palette .wpbc_ts_segmented a { |
| 221 |
border-right: 1px solid var(--wpbc-palette-border); |
| 222 |
color: var(--wpbc-palette-text); |
| 223 |
flex: 1 1 0; |
| 224 |
padding: 9px 12px; |
| 225 |
text-align: center; |
| 226 |
text-decoration: none; |
| 227 |
} |
| 228 |
|
| 229 |
.wpbc_rightbar_palette__segmented a:last-child, |
| 230 |
.wpbc_rightbar_palette .wpbc_ts_segmented a:last-child { |
| 231 |
border-right: 0; |
| 232 |
} |
| 233 |
|
| 234 |
.wpbc_rightbar_palette__segmented a.is-active, |
| 235 |
.wpbc_rightbar_palette .wpbc_ts_segmented a.is-active { |
| 236 |
background: var(--wpbc-palette-accent); |
| 237 |
color: #fff; |
| 238 |
} |
| 239 |
|