_animations.scss
11 months ago
_booking.scss
1 month ago
_booking_animations.scss
1 year ago
_buttons.scss
11 months ago
_calendar.scss
4 months ago
_customer_dashboard.scss
1 month ago
_forms.scss
11 months ago
_grid.scss
1 year ago
_icons.scss
11 months ago
_items.scss
11 months ago
_lightbox.scss
1 month ago
_login.scss
10 months ago
_mixins.scss
1 year ago
_notifications.scss
11 months ago
_print.scss
1 year ago
_responsive.scss
11 months ago
_shared.scss
1 year ago
_shortcodes.scss
1 year ago
_type.scss
1 year ago
_utilities.scss
1 year ago
_variables.scss
11 months ago
_booking_animations.scss
289 lines
| 1 | @keyframes LatepointSlideUp { |
| 2 | 0% { transform: translate3d(0, 40px, 0); opacity: 0; } |
| 3 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 4 | } |
| 5 | @keyframes LatepointSlideDown { |
| 6 | 0% { transform: translate3d(0, -40px, 0); opacity: 0; } |
| 7 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 8 | } |
| 9 | |
| 10 | @keyframes LatepointSlideLeft { |
| 11 | 0% { transform: translate3d(10px, 0px, 0); opacity: 0; } |
| 12 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 13 | } |
| 14 | @keyframes LatepointSlideRight { |
| 15 | 0% { transform: translate3d(-10px, 0px, 0); opacity: 0; } |
| 16 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 17 | } |
| 18 | |
| 19 | @keyframes LatepointSlideUpHalf { |
| 20 | 0% { transform: translate3d(0, 20px, 0); opacity: 0; } |
| 21 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 22 | } |
| 23 | |
| 24 | @keyframes LatepointSlideUpTiny { |
| 25 | 0% { transform: translate3d(0, 10px, 0); opacity: 0; } |
| 26 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 27 | } |
| 28 | |
| 29 | @keyframes LatepointSlideUpTinySolid { |
| 30 | 0% { transform: translate3d(0, 10px, 0); } |
| 31 | 100% { transform: translate3d(0, 0px, 0); } |
| 32 | } |
| 33 | |
| 34 | @keyframes LatepointSlideDownHalf { |
| 35 | 0% { transform: translate3d(0, -20px, 0); opacity: 0; } |
| 36 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 37 | } |
| 38 | |
| 39 | |
| 40 | @keyframes LatepointSlideUpMobileSummary { |
| 41 | 0% { transform: translate3d(-50%, -30%, 0); } |
| 42 | 100% { transform: translate3d(-50%, -50%, 0); } |
| 43 | } |
| 44 | |
| 45 | @keyframes os-loading-delayed { |
| 46 | 0% { |
| 47 | transform: translate(-50%, -50%) rotate(0deg); |
| 48 | opacity: 0; |
| 49 | } |
| 50 | 50% { |
| 51 | transform: translate(-50%, -50%) rotate(180deg); |
| 52 | opacity: 1; |
| 53 | } |
| 54 | 100% { |
| 55 | transform: translate(-50%, -50%) rotate(360deg); |
| 56 | opacity: 0; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | .latepoint-w .latepoint-booking-form-element { |
| 61 | .payment-total-info { |
| 62 | animation: 0.4s cubic-bezier(0.45, 1, 0.4, 1.2) 0ms LatepointSlideUp; |
| 63 | animation-fill-mode: both; |
| 64 | } |
| 65 | |
| 66 | .latepoint-timezone-selector-w { |
| 67 | animation: 0.3s cubic-bezier(0.45, 1, 0.4, 1.2) 0ms LatepointSlideUpHalf; |
| 68 | animation-fill-mode: both; |
| 69 | } |
| 70 | |
| 71 | |
| 72 | .lp-demo-mode-msg { |
| 73 | animation: 0.4s cubic-bezier(0.45, 1, 0.4, 1.2) 0.2ms LatepointSlideDown; |
| 74 | animation-fill-mode: both; |
| 75 | } |
| 76 | .lp-card-i { |
| 77 | animation: 0.4s cubic-bezier(0.45, 1, 0.4, 1.2) 0ms LatepointSlideUp; |
| 78 | animation-fill-mode: both; |
| 79 | } |
| 80 | .lp-paypal-demo-mode-trigger, |
| 81 | .lp-paypal-btn-trigger { |
| 82 | animation: 0.4s cubic-bezier(.45,1.1,.4,1.2) 0.1s LatepointSlideUp; |
| 83 | animation-fill-mode: both; |
| 84 | } |
| 85 | |
| 86 | .os-animated-parent > .os-animated-child { |
| 87 | > .os-animated-self { |
| 88 | animation: 0.4s cubic-bezier(.45,1,.4,1.2) 0.1s LatepointSlideUp; |
| 89 | animation-fill-mode: both; |
| 90 | } |
| 91 | $count: 9; |
| 92 | @for $i from 0 to $count { |
| 93 | &:nth-child(#{$i + 1}) { |
| 94 | > .os-animated-self { |
| 95 | animation: 0.4s cubic-bezier(.45,1,.4,1.2) #{$i*70}ms LatepointSlideUp; |
| 96 | animation-fill-mode: both; |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | .select-total-attendees-label, |
| 103 | .latepoint-step-content-text-centered, |
| 104 | .latepoint-step-content-text-left { |
| 105 | h4 { |
| 106 | animation: 0.4s cubic-bezier(.45,1.1,.4,1.2) 0s LatepointSlideUp; |
| 107 | animation-fill-mode: both; |
| 108 | } |
| 109 | div { |
| 110 | animation: 0.4s cubic-bezier(.45,1.1,.4,1.2) 0.05s LatepointSlideUp; |
| 111 | animation-fill-mode: both; |
| 112 | } |
| 113 | } |
| 114 | .total-attendees-selector-w { |
| 115 | animation: 0.4s cubic-bezier(.45,1,.4,1.2) 0.1s LatepointSlideUp; |
| 116 | animation-fill-mode: both; |
| 117 | } |
| 118 | .total-attendees-selector-plus { |
| 119 | animation: 0.3s cubic-bezier(.45,1,.4,1.2) 0.25s LatepointSlideLeft; |
| 120 | animation-fill-mode: both; |
| 121 | } |
| 122 | .total-attendees-selector-minus { |
| 123 | animation: 0.3s cubic-bezier(.45,1,.4,1.2) 0.25s LatepointSlideRight; |
| 124 | animation-fill-mode: both; |
| 125 | } |
| 126 | .lp-options { |
| 127 | .lp-option { |
| 128 | animation: 0.4s cubic-bezier(.45,1,.4,1.2) 0.1s LatepointSlideUp; |
| 129 | animation-fill-mode: both; |
| 130 | $count: 6; |
| 131 | @for $i from 0 to $count { |
| 132 | &:nth-child(#{$i + 1}) { |
| 133 | animation: 0.4s cubic-bezier(.45,1,.4,1.2) #{$i*70}ms LatepointSlideUp; |
| 134 | animation-fill-mode: both; |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | // CONTENT AJAX DEPENDANT ANIMATIONS |
| 141 | &.step-content-loading { |
| 142 | .latepoint-body { |
| 143 | &:before { |
| 144 | @include loading-circle($brand-primary, 40px); |
| 145 | animation-delay: 0.25s; |
| 146 | opacity: 0; |
| 147 | } |
| 148 | } |
| 149 | .latepoint-message, |
| 150 | .latepoint-step-content { |
| 151 | transition: all 0.3s ease; |
| 152 | opacity: 0; |
| 153 | transform: translateY(20px); |
| 154 | pointer-events: none; |
| 155 | } |
| 156 | .latepoint-step-content.step-customer-w { |
| 157 | transform: translateY(10px); |
| 158 | .os-form-group { |
| 159 | transition: all 0.3s ease; |
| 160 | opacity: 0; |
| 161 | transform: translateY(20px); |
| 162 | $elements: 10; |
| 163 | @for $i from 1 to $elements { |
| 164 | &:nth-child(#{$i}) { |
| 165 | transition-delay: $i * 0.05s; |
| 166 | } |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | &.step-content-mid-loading { |
| 173 | .step-customer-w { |
| 174 | opacity: 0; |
| 175 | transform: translateY(10px); |
| 176 | .os-form-group { |
| 177 | opacity: 0; |
| 178 | transform: translateY(20px); |
| 179 | } |
| 180 | } |
| 181 | .latepoint-message, |
| 182 | .latepoint-step-content{ |
| 183 | pointer-events: none; |
| 184 | opacity: 0; |
| 185 | transform: translateY(30px); |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | &.step-content-loaded { |
| 190 | .latepoint-step-content, |
| 191 | .latepoint-message { |
| 192 | transition: all 0.3s cubic-bezier(.25,1.15,.5,1.2); |
| 193 | opacity: 1; |
| 194 | transform: translateY(0px); |
| 195 | } |
| 196 | .latepoint-step-content.step-customer-w { |
| 197 | transform: translateY(0px); |
| 198 | .os-form-group { |
| 199 | transition: all 0.3s cubic-bezier(.25,1.15,.5,1.2); |
| 200 | opacity: 1; |
| 201 | transform: translateY(0px); |
| 202 | $elements: 10; |
| 203 | @for $i from 1 to $elements { |
| 204 | &:nth-child(#{$i}) { |
| 205 | transition-delay: $i * 0.05s; |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | |
| 213 | |
| 214 | // OTHER ANIMATIONS |
| 215 | |
| 216 | &.step-changing { |
| 217 | .os-heading-text { |
| 218 | transition: all 0.3s ease; |
| 219 | transform: translateX(-15px); |
| 220 | opacity: 0; |
| 221 | } |
| 222 | .latepoint-step-desc { |
| 223 | .latepoint-desc-media { |
| 224 | transition: all 0.7s cubic-bezier(.25,1.15,.5,1); |
| 225 | transform: translateX(-25px); |
| 226 | opacity: 0; |
| 227 | } |
| 228 | .latepoint-desc-title { |
| 229 | transition: all 0.5s ease; |
| 230 | transition-delay: 0.05s; |
| 231 | transform: translateX(-15px); |
| 232 | opacity: 0; |
| 233 | } |
| 234 | .latepoint-desc-content { |
| 235 | transition: all 0.5s ease; |
| 236 | transition-delay: 0.1s; |
| 237 | transform: translateX(-20px); |
| 238 | opacity: 0; |
| 239 | } |
| 240 | } |
| 241 | } |
| 242 | &.step-changed { |
| 243 | .latepoint-heading-w { |
| 244 | .os-heading-text { |
| 245 | transition: all 0.5s cubic-bezier(.25,1.15,.5,1); |
| 246 | transform: translateX(0px); |
| 247 | opacity: 1; |
| 248 | } |
| 249 | } |
| 250 | .latepoint-step-desc { |
| 251 | .latepoint-desc-media { |
| 252 | transition: all 0.5s cubic-bezier(.25,1.15,.5,1); |
| 253 | transform: translateX(0px); |
| 254 | opacity: 1; |
| 255 | } |
| 256 | .latepoint-desc-title { |
| 257 | transition: all 0.5s cubic-bezier(.25,1.15,.5,1); |
| 258 | transform: translateX(0px); |
| 259 | transition-delay: 0.1s; |
| 260 | opacity: 1; |
| 261 | } |
| 262 | .latepoint-desc-content { |
| 263 | transition: all 0.5s cubic-bezier(.25,1.15,.5,1); |
| 264 | transform: translateX(0px); |
| 265 | transition-delay: 0.2s; |
| 266 | opacity: 1; |
| 267 | } |
| 268 | } |
| 269 | } |
| 270 | } |
| 271 | @keyframes os-loading { |
| 272 | 0% { |
| 273 | transform: translate(-50%, -50%) rotate(0deg); |
| 274 | opacity: 1; |
| 275 | } |
| 276 | 50% { |
| 277 | transform: translate(-50%, -50%) rotate(180deg); |
| 278 | opacity: 0.2; |
| 279 | } |
| 280 | 100% { |
| 281 | transform: translate(-50%, -50%) rotate(360deg); |
| 282 | opacity: 1; |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | @keyframes stepCategoryItem { |
| 287 | 0% { transform: translate3d(0, -10px, 0); opacity: 0; } |
| 288 | 100% { transform: translate3d(0, 0px, 0); opacity: 1; } |
| 289 | } |