_animations.scss
1 year ago
_booking.scss
1 year ago
_booking_animations.scss
1 year ago
_buttons.scss
1 year ago
_calendar.scss
1 year ago
_customer_dashboard.scss
1 year ago
_forms.scss
1 year ago
_grid.scss
1 year ago
_icons.scss
1 year ago
_items.scss
1 year ago
_lightbox.scss
1 year ago
_login.scss
1 year ago
_mixins.scss
1 year ago
_notifications.scss
1 year ago
_print.scss
1 year ago
_responsive.scss
1 year ago
_shared.scss
1 year ago
_shortcodes.scss
1 year ago
_type.scss
1 year ago
_utilities.scss
1 year ago
_variables.scss
1 year ago
_forms.scss
313 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 | } |
| 38 | textarea, |
| 39 | input[type="number"]="number""], |
| 40 | input[type="email"]="email""], |
| 41 | input[type="password"]="password""], |
| 42 | input[type="text"]="text""], |
| 43 | input[type="tel"]="tel""] { |
| 44 | -webkit-appearance: none; |
| 45 | } |
| 46 | &.os-invalid { |
| 47 | label { |
| 48 | color: #d56e67!important; |
| 49 | } |
| 50 | .os-form-control, |
| 51 | input.os-form-control { |
| 52 | border-color: $form-input-border-color-invalid!important; |
| 53 | &::placeholder { |
| 54 | color: #e38888 !important; |
| 55 | } |
| 56 | &:focus { |
| 57 | border-color: #c10505 !important; |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | // Select field |
| 64 | &.os-form-select-group { |
| 65 | label { |
| 66 | display: block!important; |
| 67 | font-size: $font-size-base; |
| 68 | margin: 0px; |
| 69 | } |
| 70 | select.os-form-control { |
| 71 | height: $form-controls-select-height!important; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | // Multiselect field |
| 76 | &.os-form-multiselect-group { |
| 77 | > label { |
| 78 | font-size: $body-font-size-s; |
| 79 | font-weight: $body-font-weight-bold; |
| 80 | margin-bottom: 10px!important; |
| 81 | } |
| 82 | .os-form-group { |
| 83 | margin-bottom: 3px!important; |
| 84 | label { |
| 85 | font-size: $body-font-size-xs; |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | // Checkbox field |
| 91 | &.os-form-checkbox-group { |
| 92 | label { |
| 93 | padding: 0px; |
| 94 | border-radius: $form-controls-border-radius; |
| 95 | display: flex; |
| 96 | gap: 8px; |
| 97 | align-items: center; |
| 98 | color: $body-color; |
| 99 | vertical-align: middle; |
| 100 | margin: 0px; |
| 101 | font-weight: $body-font-weight-bold; |
| 102 | font-size: $font-size-base; |
| 103 | cursor: pointer; |
| 104 | &:hover { |
| 105 | } |
| 106 | input.os-form-checkbox { |
| 107 | display: inline-block; |
| 108 | vertical-align: middle; |
| 109 | border-radius: $form-controls-border-radius; |
| 110 | box-shadow: none; |
| 111 | border-color: #aaa; |
| 112 | } |
| 113 | a { |
| 114 | text-decoration: underline; |
| 115 | } |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | // Text/Textarea fields |
| 120 | &.os-form-textfield-group{ |
| 121 | label { |
| 122 | display: block; |
| 123 | margin-bottom: 1px; |
| 124 | line-height: 1.1; |
| 125 | cursor: default; |
| 126 | font-size: floor($font-size-base * 0.8)!important; |
| 127 | color: #AFB8D6!important; |
| 128 | font-weight: $body-font-weight-normal!important; |
| 129 | position: absolute!important; |
| 130 | top: 5px; |
| 131 | left: 10px; |
| 132 | z-index: 2; |
| 133 | opacity: 0; |
| 134 | transform: translateY(-3px); |
| 135 | transition: all 0.2s ease; |
| 136 | } |
| 137 | .os-form-control, |
| 138 | input.os-form-control { |
| 139 | input.os-form-control { |
| 140 | z-index: 1; |
| 141 | } |
| 142 | &::placeholder { |
| 143 | color: #AFB8D6; |
| 144 | } |
| 145 | &.os-framed-field { |
| 146 | height: floor(($font-size-base * 1.3) + 12px + 12px + 4px)!important; |
| 147 | &.invalid, &.braintree-hosted-fields-invalid { |
| 148 | border-color: #f16161!important; |
| 149 | } |
| 150 | } |
| 151 | } |
| 152 | &.has-value { |
| 153 | label { |
| 154 | opacity: 1!important; |
| 155 | transform: translateY(0)!important; |
| 156 | } |
| 157 | textarea.os-form-control, |
| 158 | input.os-form-control { |
| 159 | padding: 19px 10px 5px 10px!important; |
| 160 | } |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | // Phone Number Fields |
| 165 | &.os-form-phonefield-group{ |
| 166 | border: 1px solid $form-input-border-color; |
| 167 | border-radius: $form-controls-border-radius; |
| 168 | label { |
| 169 | } |
| 170 | |
| 171 | &:has(.os-form-control:focus){ |
| 172 | border-color: $brand-primary; |
| 173 | } |
| 174 | |
| 175 | .iti__selected-dial-code { |
| 176 | color: $form-controls-color; |
| 177 | font-weight: $body-font-weight-normal; |
| 178 | font-size: $font-size-base!important; |
| 179 | white-space: nowrap; |
| 180 | margin-left: 4px; |
| 181 | line-height: 1.2; |
| 182 | } |
| 183 | |
| 184 | &.os-invalid { |
| 185 | border-color: $form-input-border-color-invalid; |
| 186 | |
| 187 | &:has(.os-form-control:focus){ |
| 188 | border-color: $form-input-border-color-invalid; |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | .iti__selected-flag { |
| 193 | padding: 12px 4px 12px 10px ; |
| 194 | transition: all 0.2s ease; |
| 195 | } |
| 196 | |
| 197 | .os-form-control, |
| 198 | input.os-form-control { |
| 199 | border: none!important; |
| 200 | &.os-mask-phone { |
| 201 | padding-left: 0px!important; |
| 202 | border-left: none!important; |
| 203 | |
| 204 | &.invalid { |
| 205 | border-color: #f16161 !important; |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | &:not(.has-value){ |
| 211 | .iti.iti--allow-dropdown { |
| 212 | align-items: center; |
| 213 | } |
| 214 | .iti__selected-flag { |
| 215 | padding-top: 10px; |
| 216 | padding-bottom: 10px; |
| 217 | } |
| 218 | } |
| 219 | &.has-value { |
| 220 | .iti__selected-flag { |
| 221 | padding-top: 19px; |
| 222 | padding-bottom: 5px; |
| 223 | } |
| 224 | input.os-form-control { |
| 225 | &.os-mask-phone { |
| 226 | padding-left: 0px!important; |
| 227 | padding-top: 18px !important; |
| 228 | } |
| 229 | } |
| 230 | } |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | .os-form-buttons { |
| 235 | &.os-flex { |
| 236 | display: flex; |
| 237 | align-items: center; |
| 238 | &.os-space-between { |
| 239 | justify-content: space-between; |
| 240 | } |
| 241 | } |
| 242 | .os-form-group { |
| 243 | display: inline-block; |
| 244 | margin-bottom: 0px!important; |
| 245 | .latepoint-btn { |
| 246 | margin-right: 5px; |
| 247 | } |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | .os-form-header { |
| 252 | padding-bottom: 20px; |
| 253 | margin-bottom: 20px; |
| 254 | border-bottom: 1px solid rgba(0,0,0,0.05); |
| 255 | h2, h3, h4 { |
| 256 | margin-bottom: 5px; |
| 257 | margin-top: 0px; |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | .os-form-desc { |
| 262 | color: rgba(0,0,0,0.7); |
| 263 | } |
| 264 | |
| 265 | |
| 266 | .os-image-container { |
| 267 | border: 5px solid #fff; |
| 268 | box-shadow: 0px 5px 15px rgba(0,0,0,0.2); |
| 269 | border-radius: 6px; |
| 270 | max-width: 100px; |
| 271 | margin-bottom: 10px; |
| 272 | min-height: 50px; |
| 273 | img { |
| 274 | border-radius: 4px; |
| 275 | width: 100%; |
| 276 | height: auto; |
| 277 | display: block; |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | .settings-image-selector { |
| 282 | margin: 20px 0px; |
| 283 | } |
| 284 | |
| 285 | .os-form-message-w { |
| 286 | padding: 12px 20px; |
| 287 | background-color: #f9f9f9; |
| 288 | color: #333; |
| 289 | margin-bottom: 20px; |
| 290 | font-weight: $body-font-weight-bold; |
| 291 | border-radius: $form-controls-border-radius; |
| 292 | ul { |
| 293 | list-style: none; |
| 294 | margin: 0px; |
| 295 | padding: 0px; |
| 296 | li { |
| 297 | margin-bottom: 10px; |
| 298 | &:last-child { |
| 299 | margin-bottom: 0px; |
| 300 | } |
| 301 | } |
| 302 | } |
| 303 | &.status-error { |
| 304 | background-color: #fff4f4; |
| 305 | color: #d00c0c; |
| 306 | border: 2px solid #f75160; |
| 307 | } |
| 308 | &.status-success { |
| 309 | background-color: #e0fbd1; |
| 310 | color: #437724; |
| 311 | } |
| 312 | } |
| 313 | } |