| @@ -1,4 +1,6 @@ | ||
| 1 | +/* File is Loaded via js only - FrmAnimate src: js/src/common/utilities/animation.js */ | |
| 2 | + | |
| 1 | 3 | /* fadeIn */ |
| 2 | 4 | .frm-fadein { |
| 3 | 5 | animation: fadeIn 400ms ease-in-out forwards; |
| 4 | 6 | } |
| @@ -13,41 +15,10 @@ | ||
| 13 | 15 | |
| 14 | 16 | .frm-fadein-down-short { |
| 15 | 17 | animation: fadeInDownShort 300ms ease-out forwards; |
| 16 | 18 | } |
| 17 | - | |
| 18 | -.frm-fadeout { | |
| 19 | - animation: fadeOut var(--fadeout-time, 400ms) ease-in-out forwards; | |
| 20 | -} | |
| 21 | 19 | /* END fadeIn */ |
| 22 | 20 | |
| 23 | -/* pulse */ | |
| 24 | -.frm-pulse { | |
| 25 | - position: relative; | |
| 26 | -} | |
| 27 | - | |
| 28 | -.frm-pulse::after { | |
| 29 | - content: ''; | |
| 30 | - position: absolute; | |
| 31 | - top: 0; | |
| 32 | - left: 0; | |
| 33 | - width: 100%; | |
| 34 | - height: 100%; | |
| 35 | - border-radius: inherit; | |
| 36 | - background-color: inherit; | |
| 37 | - z-index: -1; | |
| 38 | - animation: pulse 2s ease-out 650ms infinite; | |
| 39 | - will-change: transform, opacity; | |
| 40 | -} | |
| 41 | -/* END pulse */ | |
| 42 | - | |
| 43 | -/* slide down */ | |
| 44 | -.frm-slide-down, | |
| 45 | -.frm-collapse-me { | |
| 46 | - animation: slideDown var(--slide-time, 2000ms) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; | |
| 47 | -} | |
| 48 | -/* END slide down */ | |
| 49 | - | |
| 50 | 21 | /* cascadeFadeIn */ |
| 51 | 22 | .frm-init-cascade-animation { |
| 52 | 23 | transform: translateY( 0px ); |
| 53 | 24 | opacity: 1.0 !important; |
| @@ -78,12 +49,8 @@ | ||
| 78 | 49 | transition: 0.35s transform, 0.5s opacity linear; |
| 79 | 50 | } |
| 80 | 51 | /* END FadeIn 3d */ |
| 81 | 52 | |
| 82 | -.frm-background-highlight { | |
| 83 | - animation: backgroundHighlight var(--highlight-time, 2750ms) ease-in forwards; | |
| 84 | -} | |
| 85 | - | |
| 86 | 53 | @keyframes fadeIn { |
| 87 | 54 | 0% { |
| 88 | 55 | opacity: 0; |
| 89 | 56 | } |
| @@ -92,18 +59,8 @@ | ||
| 92 | 59 | opacity: 1; |
| 93 | 60 | } |
| 94 | 61 | } |
| 95 | 62 | |
| 96 | -@keyframes fadeOut { | |
| 97 | - 0% { | |
| 98 | - opacity: 1; | |
| 99 | - } | |
| 100 | - | |
| 101 | - 100% { | |
| 102 | - opacity: 0; | |
| 103 | - } | |
| 104 | -} | |
| 105 | - | |
| 106 | 63 | @keyframes fadeInUp { |
| 107 | 64 | 0% { |
| 108 | 65 | opacity: 0; |
| 109 | 66 | transform: translateY(10px); |
| @@ -136,57 +93,5 @@ | ||
| 136 | 93 | 100% { |
| 137 | 94 | opacity: 1; |
| 138 | 95 | transform: translateY(0); |
| 139 | 96 | } |
| 140 | -} | |
| 141 | - | |
| 142 | -@keyframes slideDown { | |
| 143 | - 0% { | |
| 144 | - max-height: 0; | |
| 145 | - opacity: 0; | |
| 146 | - overflow: hidden; | |
| 147 | - } | |
| 148 | - | |
| 149 | - 25% { | |
| 150 | - opacity: 1; | |
| 151 | - } | |
| 152 | - | |
| 153 | - 99% { | |
| 154 | - max-height: var(--slide-height, 10000px); | |
| 155 | - overflow: visible; | |
| 156 | - } | |
| 157 | - | |
| 158 | - 100% { | |
| 159 | - max-height: none; | |
| 160 | - } | |
| 161 | -} | |
| 162 | - | |
| 163 | -@keyframes backgroundHighlight { | |
| 164 | - 0% { | |
| 165 | - background-color: var(--primary-25); | |
| 166 | - } | |
| 167 | - | |
| 168 | - 90% { | |
| 169 | - background-color: var(--primary-25); | |
| 170 | - } | |
| 171 | - | |
| 172 | - 100% { | |
| 173 | - background-color: #fff; | |
| 174 | - } | |
| 175 | -} | |
| 176 | - | |
| 177 | -@keyframes pulse { | |
| 178 | - 0% { | |
| 179 | - transform: scale(1); | |
| 180 | - opacity: 0.8; | |
| 181 | - } | |
| 182 | - | |
| 183 | - 70% { | |
| 184 | - transform: scale(2.2); | |
| 185 | - opacity: 0; | |
| 186 | - } | |
| 187 | - | |
| 188 | - 100% { | |
| 189 | - transform: scale(2.2); | |
| 190 | - opacity: 0; | |
| 191 | - } | |
| 192 | -} | |
| 97 | +} | |