_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
1 week 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
_buttons.scss
266 lines
| 1 | .latepoint-btn { |
| 2 | padding: 9px 14px; |
| 3 | background-color: $brand-primary; |
| 4 | color: #fff; |
| 5 | border-radius: $border-radius; |
| 6 | text-decoration: none!important; |
| 7 | font-weight: $body-font-weight-bold; |
| 8 | display: inline-block; |
| 9 | box-shadow: none; |
| 10 | border: none; |
| 11 | line-height: 1.2; |
| 12 | cursor: pointer; |
| 13 | &:hover, &:focus { |
| 14 | outline: none; |
| 15 | color: #fff!important; |
| 16 | background-color: color-mix(in srgb,var(--latepoint-brand-primary),#000 10%); |
| 17 | box-shadow: none; |
| 18 | } |
| 19 | &.latepoint-btn-sm { |
| 20 | padding: 6px 8px; |
| 21 | font-size: $body-font-size-s; |
| 22 | } |
| 23 | &.latepoint-btn-danger { |
| 24 | background-color: #FB7F7F; |
| 25 | color: #fff; |
| 26 | &.latepoint-btn-link { |
| 27 | background-color: transparent; |
| 28 | border-color: transparent; |
| 29 | span, i { |
| 30 | color: #d83838; |
| 31 | } |
| 32 | span { |
| 33 | border-bottom: 1px solid #d83838; |
| 34 | } |
| 35 | |
| 36 | &.os-loading, &.os-loading:hover, &.os-loading:focus { |
| 37 | color: transparent!important; |
| 38 | background-color: transparent; |
| 39 | &:after { |
| 40 | border-bottom: 2px solid #d83838; |
| 41 | border-left: 2px solid #d83838; |
| 42 | border-top: 2px solid #d83838; |
| 43 | } |
| 44 | } |
| 45 | &:hover:not(.os-loading), &:focus:not(.os-loading) { |
| 46 | color: #d83838!important; |
| 47 | background-color: transparent; |
| 48 | span, i { |
| 49 | color: #d83838!important; |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | &:focus, &:active { |
| 54 | color: #fff; |
| 55 | background-color: #FB7F7F; |
| 56 | } |
| 57 | &:hover { |
| 58 | background-color: darken(#FB7F7F, 10%); |
| 59 | } |
| 60 | } |
| 61 | &.latepoint-btn-primary { |
| 62 | background-color: $brand-primary; |
| 63 | color: #fff; |
| 64 | span { |
| 65 | color: #fff; |
| 66 | } |
| 67 | i { |
| 68 | color: #fff; |
| 69 | } |
| 70 | &:focus { |
| 71 | outline: 2px solid $brand-primary; |
| 72 | } |
| 73 | |
| 74 | &.latepoint-btn-outline { |
| 75 | background-color: transparent; |
| 76 | color: $brand-primary; |
| 77 | border: 1px solid $brand-primary; |
| 78 | &:hover, &:focus { |
| 79 | border-color: color-mix(in srgb,var(--latepoint-brand-primary),#000 10%); |
| 80 | color: $brand-primary; |
| 81 | background-color: transparent; |
| 82 | } |
| 83 | &.latepoint-btn-primary { |
| 84 | &.os-loading { |
| 85 | &:after { |
| 86 | border-bottom-color: $brand-primary; |
| 87 | border-left-color: $brand-primary; |
| 88 | border-top-color: $brand-primary; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | span, i { |
| 93 | color: $brand-primary; |
| 94 | } |
| 95 | } |
| 96 | &.latepoint-btn-link { |
| 97 | background-color: transparent; |
| 98 | color: $brand-primary; |
| 99 | border-color: transparent; |
| 100 | padding-left: 0px; |
| 101 | padding-right: 0px; |
| 102 | span, i { |
| 103 | color: $brand-primary; |
| 104 | } |
| 105 | span { |
| 106 | border-bottom: 1px dotted $brand-primary; |
| 107 | } |
| 108 | &:hover { |
| 109 | span { |
| 110 | border-bottom-style: solid; |
| 111 | } |
| 112 | } |
| 113 | &.os-loading, &.os-loading:hover, &.os-loading:focus { |
| 114 | color: transparent!important; |
| 115 | &:after { |
| 116 | border-bottom: 2px solid $brand-primary; |
| 117 | border-left: 2px solid $brand-primary; |
| 118 | border-top: 2px solid $brand-primary; |
| 119 | } |
| 120 | } |
| 121 | &:hover:not(.os-loading), &:focus:not(.os-loading) { |
| 122 | color: $brand-primary!important; |
| 123 | span, i { |
| 124 | color: $brand-primary!important; |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | } |
| 129 | &.latepoint-btn-grey { |
| 130 | background-color: #eee; |
| 131 | color: #111!important; |
| 132 | } |
| 133 | &.latepoint-btn-white { |
| 134 | background-color: #fff; |
| 135 | color: #111!important; |
| 136 | &.latepoint-btn-link { |
| 137 | background-color: transparent; |
| 138 | color: #fff; |
| 139 | border-color: transparent; |
| 140 | padding-left: 0px; |
| 141 | padding-right: 0px; |
| 142 | span, i { |
| 143 | color: #fff; |
| 144 | } |
| 145 | span { |
| 146 | border-bottom: 1px solid #fff; |
| 147 | } |
| 148 | &.os-loading, &.os-loading:hover, &.os-loading:focus { |
| 149 | color: transparent!important; |
| 150 | &:after { |
| 151 | border-bottom: 2px solid #fff; |
| 152 | border-left: 2px solid #fff; |
| 153 | border-top: 2px solid #fff; |
| 154 | } |
| 155 | } |
| 156 | &:hover:not(.os-loading), &:focus:not(.os-loading) { |
| 157 | color: #fff!important; |
| 158 | span, i { |
| 159 | color: #fff!important; |
| 160 | } |
| 161 | } |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | &.latepoint-btn-block { |
| 166 | display: block; |
| 167 | text-align: center; |
| 168 | flex: 1; |
| 169 | } |
| 170 | |
| 171 | |
| 172 | &.os-loading { |
| 173 | color: transparent!important; |
| 174 | position: relative; |
| 175 | span, i { |
| 176 | color: transparent!important; |
| 177 | border-bottom-color: transparent!important; |
| 178 | } |
| 179 | &:focus { |
| 180 | color: transparent!important; |
| 181 | span, i { |
| 182 | color: transparent!important; |
| 183 | border-bottom-color: transparent!important; |
| 184 | } |
| 185 | } |
| 186 | &:after { |
| 187 | display: block; |
| 188 | content: ""; |
| 189 | width: 14px!important; |
| 190 | height: 14px!important; |
| 191 | border-bottom: 2px solid #fff; |
| 192 | border-left: 2px solid #fff; |
| 193 | border-top: 2px solid #fff; |
| 194 | border-right: 2px solid rgba(255,255,255,0); |
| 195 | border-radius: 20px; |
| 196 | position: absolute; |
| 197 | top: 50%; |
| 198 | left: 50%; |
| 199 | transform: translate(-50%, -50%); |
| 200 | animation: os-loading 700ms infinite linear; |
| 201 | background-color: transparent!important; |
| 202 | } |
| 203 | &.latepoint-btn-white, |
| 204 | &.latepoint-btn-secondary { |
| 205 | &:after { |
| 206 | border-bottom: 2px solid $body-color; |
| 207 | border-left: 2px solid $body-color; |
| 208 | border-top: 2px solid $body-color; |
| 209 | border-right: 2px solid rgba(0,0,0,0); |
| 210 | } |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | &.latepoint-btn-secondary { |
| 215 | background-color: #EDEFF6; |
| 216 | color: #252C39; |
| 217 | &.latepoint-btn-link { |
| 218 | border-color: 2px solid #111; |
| 219 | } |
| 220 | &:hover, &:focus { |
| 221 | outline: none; |
| 222 | color: #252C39!important; |
| 223 | background-color: darken(#EDEFF6, 10%); |
| 224 | box-shadow: none; |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | span { |
| 229 | display: inline-block; |
| 230 | vertical-align: middle; |
| 231 | line-height: 1.5; |
| 232 | } |
| 233 | i { |
| 234 | display: inline-block; |
| 235 | vertical-align: middle; |
| 236 | } |
| 237 | i + span { |
| 238 | margin-left: 6px; |
| 239 | } |
| 240 | span + i { |
| 241 | margin-left: 6px; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | |
| 246 | // Booking Button |
| 247 | .latepoint-book-button-wrapper { |
| 248 | &.latepoint-book-button-align-center { |
| 249 | text-align: center; |
| 250 | } |
| 251 | &.latepoint-book-button-align-right { |
| 252 | text-align: right; |
| 253 | } |
| 254 | &.latepoint-book-button-align-left { |
| 255 | text-align: left; |
| 256 | } |
| 257 | &.latepoint-book-button-align-justify { |
| 258 | text-align: center; |
| 259 | .latepoint-book-button { |
| 260 | display: block; |
| 261 | } |
| 262 | } |
| 263 | } |
| 264 | .latepoint-book-button { |
| 265 | @include latepoint-book-button(); |
| 266 | } |