PluginProbe
Booking Calendar / 11.8.4
Booking Calendar v11.8.4
11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 All 204 releases
booking / includes / page-add-appointment / _src / add_appointment_page.css

add_appointment_page.css in Booking Calendar 11.8.4, at includes/page-add-appointment/_src/add_appointment_page.css

300 lines 5.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /** Add Appointment page-only layout. The workflow itself uses the shared Appointment styles. */
2 .wpbc_add_appointment_page {
3 box-sizing: border-box;
4 max-width: 1180px;
5 }
6
7 .wpbc_add_appointment__canvas {
8 background: #fff;
9 border: 1px solid #dcdcde;
10 border-radius: 8px;
11 box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 );
12 box-sizing: border-box;
13 min-height: 460px;
14 padding: 28px;
15 }
16
17 .wpbc_add_appointment__canvas > .wpbc_booking_appointment {
18 margin: 0 auto;
19 max-width: 980px;
20 }
21
22 /*
23 * The legacy admin Bootstrap scope applies `.wpdevelop label` to every label
24 * in the page. Restore the Appointment choice-card contract without changing
25 * labels in the native booking form or anywhere else in the admin panel.
26 */
27 .wpbc_add_appointment__canvas .wpbc_booking_appointment__choice {
28 display: flex;
29 font-weight: 400;
30 margin-bottom: 0;
31 max-width: none;
32 }
33
34 .wpbc_add_appointment__canvas .wpbc_booking_appointment__choice > input[type="radio"] {
35 margin: 0;
36 }
37
38 .wpbc_add_appointment__inspector_body {
39 box-sizing: border-box;
40 padding: 0 16px 18px;
41 }
42
43 .wpbc_add_appointment__steps {
44 display: grid;
45 gap: 12px;
46 list-style: none;
47 margin: 0;
48 padding: 0;
49 }
50
51 .wpbc_add_appointment__steps li {
52 align-items: center;
53 display: flex;
54 gap: 10px;
55 }
56
57 .wpbc_add_appointment__steps li > span {
58 align-items: center;
59 background: #f0f0f1;
60 border-radius: 50%;
61 display: inline-flex;
62 flex: 0 0 28px;
63 height: 28px;
64 justify-content: center;
65 }
66
67 .wpbc_add_appointment__panel_actions {
68 display: flex;
69 flex-wrap: wrap;
70 gap: 8px;
71 }
72
73 .wpbc_add_appointment__settings_form {
74 display: grid;
75 gap: 0;
76 }
77
78 .wpbc_add_appointment__setting_row {
79 border-bottom: 1px solid #e2e4e7;
80 display: grid;
81 gap: 7px;
82 padding: 13px 0;
83 }
84
85 .wpbc_add_appointment__setting_row:first-child {
86 padding-top: 2px;
87 }
88
89 .wpbc_add_appointment__setting_row select {
90 box-sizing: border-box;
91 max-width: 100%;
92 width: 100%;
93 }
94
95 .wpbc_add_appointment__cost_correction_label {
96 font-weight: 600;
97 }
98
99 .wpbc_add_appointment__cost_correction_control,
100 .wpbc_add_appointment__cost_correction .wpbc_admin_cost_correction__number_control {
101 display: flex;
102 flex-direction: column;
103 gap: 8px;
104 width: 100%;
105 }
106
107 .wpbc_add_appointment__cost_correction .wpbc_admin_cost_correction__number_input_row {
108 align-items: center;
109 display: flex;
110 gap: 10px;
111 min-width: 0;
112 }
113
114 .wpbc_add_appointment__cost_correction .inspector__input {
115 box-sizing: border-box;
116 flex: 1 1 auto;
117 min-width: 0;
118 width: auto;
119 }
120
121 .wpbc_add_appointment__cost_correction .wpbc_admin_cost_correction__number_prefix,
122 .wpbc_add_appointment__cost_correction .wpbc_admin_cost_correction__number_suffix {
123 color: #646970;
124 flex: 0 0 auto;
125 font-size: 12px;
126 line-height: 1.4;
127 white-space: nowrap;
128 }
129
130 .wpbc_add_appointment__cost_correction .wpbc_admin_cost_correction__number_slider {
131 align-self: center;
132 box-sizing: border-box;
133 cursor: pointer;
134 margin: 0;
135 max-width: none;
136 min-height: 20px;
137 padding: 0;
138 width: 100%;
139 }
140
141 .wpbc_add_appointment__setting_row p,
142 .wpbc_add_appointment__settings_notice,
143 .wpbc_add_appointment__tool_help {
144 color: #646970;
145 font-size: 12px;
146 line-height: 1.5;
147 margin: 0;
148 }
149
150 .wpbc_add_appointment__setting_row--toggle .wpbc_ui__toggle {
151 align-items: center;
152 display: flex;
153 min-height: 26px;
154 }
155
156 .wpbc_add_appointment__settings_form .wpbc_add_appointment__apply_settings {
157 justify-self: start;
158 margin-top: 14px;
159 }
160
161 .wpbc_add_appointment__settings_notice {
162 margin-top: 7px;
163 }
164
165 .wpbc_add_appointment__tool_actions {
166 margin: 12px 0 8px;
167 }
168
169 .wpbc_add_appointment__summary {
170 background: #fff;
171 border: 1px solid #dcdcde;
172 border-radius: 6px;
173 display: grid;
174 margin: 0 0 14px;
175 overflow: hidden;
176 }
177
178 .wpbc_add_appointment__summary > div {
179 align-items: start;
180 border-bottom: 1px solid #e8eaed;
181 display: grid;
182 gap: 12px;
183 grid-template-columns: minmax( 92px, 0.8fr ) minmax( 0, 1.2fr );
184 padding: 10px 12px;
185 }
186
187 .wpbc_add_appointment__summary > div:last-child {
188 border-bottom: 0;
189 }
190
191 .wpbc_add_appointment__summary dt {
192 color: #646970;
193 font-size: 11px;
194 font-weight: 600;
195 line-height: 1.45;
196 text-transform: uppercase;
197 }
198
199 .wpbc_add_appointment__summary dd {
200 font-weight: 600;
201 line-height: 1.45;
202 margin: 0;
203 overflow-wrap: anywhere;
204 text-align: right;
205 }
206
207 .wpbc_add_appointment__summary dd.is-empty {
208 color: #8c8f94;
209 font-weight: 400;
210 }
211
212 .wpbc_add_appointment__summary_status {
213 background: #f6f7f7;
214 }
215
216 .wpbc_add_appointment__summary_status dd {
217 color: #2271b1;
218 }
219
220 .wpbc_add_appointment__summary_link {
221 border-bottom: 1px dotted currentColor;
222 color: #2271b1;
223 font-weight: 600;
224 text-decoration: none;
225 }
226
227 .wpbc_add_appointment__summary_link.is-empty {
228 color: #8c8f94;
229 font-weight: 400;
230 }
231
232 .wpbc_add_appointment__summary_link:hover,
233 .wpbc_add_appointment__summary_link:focus-visible {
234 border-bottom-style: solid;
235 color: #135e96;
236 text-decoration: none;
237 }
238
239 .wpbc_add_appointment__summary_link:focus-visible {
240 border-radius: 2px;
241 box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
242 outline: 0;
243 }
244
245 .wpbc_add_appointment__hint {
246 align-items: flex-start;
247 background: #f0f6fc;
248 border: 1px solid #c5d9ed;
249 border-radius: 6px;
250 box-sizing: border-box;
251 color: #1d2327;
252 display: flex;
253 gap: 10px;
254 margin: 0;
255 padding: 12px;
256 }
257
258 .wpbc_add_appointment__hint > span {
259 color: #2271b1;
260 flex: 0 0 auto;
261 font-size: 18px;
262 line-height: 1.35;
263 }
264
265 .wpbc_add_appointment__hint p {
266 line-height: 1.55;
267 margin: 0;
268 }
269
270 .wpbc_add_appointment__help_body {
271 display: grid;
272 gap: 18px;
273 }
274
275 .wpbc_add_appointment__help_section h4 {
276 font-size: 13px;
277 margin: 0 0 7px;
278 }
279
280 .wpbc_add_appointment__help_section p {
281 color: #50575e;
282 line-height: 1.6;
283 margin: 0;
284 }
285
286 .wpbc_add_appointment__help_section .wpbc_add_appointment__steps {
287 margin-top: 10px;
288 }
289
290 .wpbc_add_appointment__help_action {
291 justify-self: start;
292 }
293
294 @media ( max-width: 782px ) {
295 .wpbc_add_appointment__canvas {
296 border-radius: 4px;
297 padding: 16px;
298 }
299 }
300