PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / trunk
LatePoint – Calendar Booking Plugin for Appointments and Events vtrunk
5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / assets / stylesheets / front / _forms.scss
latepoint / lib / assets / stylesheets / front Last commit date
_animations.scss 9 months ago _booking.scss 9 months ago _booking_animations.scss 1 year ago _buttons.scss 9 months ago _calendar.scss 3 months ago _customer_dashboard.scss 9 months ago _forms.scss 9 months ago _grid.scss 1 year ago _icons.scss 9 months ago _items.scss 9 months ago _lightbox.scss 6 days ago _login.scss 9 months ago _mixins.scss 1 year ago _notifications.scss 9 months ago _print.scss 1 year ago _responsive.scss 9 months ago _shared.scss 1 year ago _shortcodes.scss 1 year ago _type.scss 1 year ago _utilities.scss 1 year ago _variables.scss 9 months ago
_forms.scss
410 lines
1 .latepoint-w {
2 .os-form-w {
3 background-color: #fff;
4 padding: 30px;
5 margin: 20px 0px;
6 }
7 .os-form-group {
8 margin-bottom: 15px!important;
9 position: relative;
10
11 // Select & text/textarea fields
12 &.os-form-select-group,
13 &.os-form-textfield-group{
14 .os-form-control,
15 input.os-form-control {
16 position: relative!important;
17 display: block!important;
18 box-shadow: none!important;
19 border: 1px solid $form-input-border-color!important;
20 padding: 12px 10px 12px 10px!important;
21 border-radius: $form-controls-border-radius!important;
22 background-color: #fff!important;
23 width: 100%;
24 color: $form-controls-color;
25 line-height: 1.2;
26 font-size: $font-size-base!important;
27 font-weight: $body-font-weight-normal!important;
28 transition: all 0.2s ease;
29 height: auto;
30 margin: 0px;
31 &:focus {
32 background-color: #fff!important;
33 border-color: #5779ef!important;
34 outline: none;
35 box-shadow: none;
36 }
37 &.os-invalid {
38 border-color: $form-controls-border-color-error!important;
39 box-shadow: 0 0 0 3px rgba($form-controls-border-color-error, 0.1)!important;
40 }
41 &.os-shake {
42 animation: latepointShake 1s ease-in-out;
43 }
44 }
45 textarea,
46 input[type="number"]="number""],
47 input[type="email"]="email""],
48 input[type="password"]="password""],
49 input[type="text"]="text""],
50 input[type="tel"]="tel""] {
51 -webkit-appearance: none;
52 }
53 &.os-invalid {
54 label {
55 color: #d56e67!important;
56 }
57 .os-form-control,
58 input.os-form-control {
59 border-color: $form-input-border-color-invalid!important;
60 &::placeholder {
61 color: #e38888 !important;
62 }
63 &:focus {
64 border-color: #c10505 !important;
65 }
66 }
67 }
68 }
69
70 // Select field
71 &.os-form-select-group {
72 label {
73 display: block!important;
74 font-size: $font-size-base;
75 margin: 0px;
76 }
77 select.os-form-control {
78 height: $form-controls-select-height!important;
79 }
80 }
81
82 // Multiselect field
83 &.os-form-multiselect-group {
84 > label {
85 font-size: $body-font-size-s;
86 font-weight: $body-font-weight-bold;
87 margin-bottom: 10px!important;
88 }
89 .os-form-group {
90 margin-bottom: 3px!important;
91 label {
92 font-size: $body-font-size-xs;
93 }
94 }
95 }
96
97 // Checkbox field
98 &.os-form-checkbox-group {
99 label {
100 padding: 0px;
101 border-radius: $form-controls-border-radius;
102 display: flex;
103 gap: 8px;
104 align-items: center;
105 color: $body-color;
106 vertical-align: middle;
107 margin: 0px;
108 font-weight: $body-font-weight-bold;
109 font-size: $font-size-base;
110 cursor: pointer;
111 &:hover {
112 }
113 input.os-form-checkbox {
114 display: inline-block;
115 vertical-align: middle;
116 border-radius: $form-controls-border-radius;
117 box-shadow: none;
118 border-color: #aaa;
119 }
120 a {
121 text-decoration: underline;
122 }
123 }
124 }
125
126 // Text/Textarea fields
127 &.os-form-textfield-group{
128 label {
129 display: block;
130 margin-bottom: 1px;
131 line-height: 1.1;
132 cursor: default;
133 font-size: floor($font-size-base * 0.8)!important;
134 color: #959aae!important;
135 font-weight: $body-font-weight-normal!important;
136 position: absolute!important;
137 top: 5px;
138 left: 10px;
139 z-index: 2;
140 opacity: 0;
141 transform: translateY(-3px);
142 transition: all 0.2s ease;
143 }
144 .os-form-control,
145 input.os-form-control {
146 input.os-form-control {
147 z-index: 1;
148 }
149 &::placeholder {
150 color: #959aae;
151 }
152 &.os-framed-field {
153 height: floor(($font-size-base * 1.3) + 12px + 12px + 4px)!important;
154 &.invalid, &.braintree-hosted-fields-invalid {
155 border-color: #f16161!important;
156 }
157 }
158 }
159 &.has-value:not(.os-form-group-simple) {
160 label {
161 opacity: 1!important;
162 transform: translateY(0)!important;
163 }
164 textarea.os-form-control,
165 input.os-form-control {
166 padding: 19px 10px 5px 10px!important;
167 }
168 }
169 }
170
171
172 &.os-form-group-simple {
173 &.os-form-textfield-group {
174 label {
175 opacity: 1;
176 transform: none!important;
177 position: relative!important;
178 top: auto;
179 left: auto;
180 margin-bottom: 4px!important;
181 font-size: $body-font-size-s!important;
182 }
183 .os-form-control {
184 background-color: #fff;
185 border: 1px solid $form-input-border-color;
186 padding: 12px 8px 12px!important;
187 &:focus {
188 border-color: $brand-primary;
189 }
190 }
191 &.os-form-phonefield-group {
192 border: none;
193 .os-form-control {
194 padding: 13px 8px 13px 0!important;
195 }
196 .lp_iti {
197 background-color: #fff;
198 border: 1px solid $form-input-border-color;
199 align-items: stretch;
200 border-radius: 6px;
201 gap: 5px;
202 &:has(input:focus){
203 border-color: $brand-primary;
204 }
205 .lp_iti__selected-flag {
206 padding: 0;
207 padding-left: 12px;
208 }
209 .lp_iti__flag-container {
210 display: flex;
211 }
212 }
213 }
214 }
215
216 &.os-form-select-group {
217 label {
218 margin-bottom: 3px;
219 }
220 .os-form-control {
221 background-color: #fff;
222 border: 1px solid #d6d6e1;
223 &:focus {
224 border-color: $brand-primary;
225 }
226 &:hover {
227 border-color: $brand-primary;
228 }
229 &.size-small {
230 padding-top: 5px !important;
231 padding-bottom: 5px !important;
232 }
233 }
234 &.has-value {
235 }
236
237 &.os-invalid {
238 label {
239 color: $form-controls-label-color-error;
240 }
241 .os-form-control {
242 border-color: $form-controls-border-color-error;
243 color: $form-controls-color-error;
244 &::placeholder {
245 color: #d9a3a3;
246 }
247 &:focus {
248 border-color: $form-controls-border-color-error;
249 }
250 }
251 }
252 }
253 }
254
255 // Phone Number Fields
256 &.os-form-phonefield-group{
257 border: 1px solid $form-input-border-color;
258 border-radius: $form-controls-border-radius;
259 label {
260 }
261
262 &:has(.os-form-control:focus){
263 border-color: $brand-primary;
264 }
265
266 .lp_iti__selected-dial-code {
267 color: $form-controls-color;
268 font-weight: $body-font-weight-normal;
269 font-size: $font-size-base!important;
270 white-space: nowrap;
271 margin-left: 4px;
272 line-height: 1.2;
273 }
274
275 &.os-invalid {
276 border-color: $form-input-border-color-invalid;
277
278 &:has(.os-form-control:focus){
279 border-color: $form-input-border-color-invalid;
280 }
281 }
282
283 .lp_iti__selected-flag {
284 padding: 12px 4px 12px 10px ;
285 transition: all 0.2s ease;
286 }
287
288 .os-form-control,
289 input.os-form-control {
290 border: none!important;
291 &.os-mask-phone {
292 padding-left: 0px!important;
293 border-left: none!important;
294
295 &.invalid {
296 border-color: #f16161 !important;
297 }
298 }
299 }
300
301 &:not(.has-value){
302 .lp_iti.lp_iti--allow-dropdown {
303 align-items: stretch;
304 }
305 .lp_iti__selected-flag {
306 padding-top: 12px;
307 padding-bottom: 12px;
308 }
309 }
310 &:not(.os-form-group-simple){
311 &.has-value {
312 .lp_iti__selected-flag {
313 padding-top: 19px;
314 padding-bottom: 5px;
315 }
316 input.os-form-control {
317 &.os-mask-phone {
318 padding-left: 0px!important;
319 padding-top: 18px !important;
320 }
321 }
322 }
323 }
324 }
325 }
326
327 .os-form-buttons {
328 &.os-flex {
329 display: flex;
330 align-items: center;
331 &.os-space-between {
332 justify-content: space-between;
333 }
334 &.os-flex-end {
335 justify-content: flex-end;
336 gap: 20px;
337 }
338 }
339 .os-form-group {
340 display: inline-block;
341 margin-bottom: 0px!important;
342 .latepoint-btn {
343 margin-right: 5px;
344 }
345 }
346 }
347
348 .os-form-header {
349 padding-bottom: 20px;
350 margin-bottom: 20px;
351 border-bottom: 1px solid rgba(0,0,0,0.05);
352 h2, h3, h4 {
353 margin-bottom: 5px;
354 margin-top: 0px;
355 }
356 }
357
358 .os-form-desc {
359 color: rgba(0,0,0,0.7);
360 }
361
362
363 .os-image-container {
364 border: 5px solid #fff;
365 box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
366 border-radius: 6px;
367 max-width: 100px;
368 margin-bottom: 10px;
369 min-height: 50px;
370 img {
371 border-radius: 4px;
372 width: 100%;
373 height: auto;
374 display: block;
375 }
376 }
377
378 .settings-image-selector {
379 margin: 20px 0px;
380 }
381
382 .os-form-message-w {
383 padding: 12px 20px;
384 background-color: #f9f9f9;
385 color: #333;
386 margin-bottom: 20px;
387 font-weight: $body-font-weight-bold;
388 border-radius: $form-controls-border-radius;
389 ul {
390 list-style: none;
391 margin: 0px;
392 padding: 0px;
393 li {
394 margin-bottom: 10px;
395 &:last-child {
396 margin-bottom: 0px;
397 }
398 }
399 }
400 &.status-error {
401 background-color: #fff4f4;
402 color: #d00c0c;
403 border: 2px solid #f75160;
404 }
405 &.status-success {
406 background-color: #e0fbd1;
407 color: #437724;
408 }
409 }
410 }