| 1 |
.jltma-creative-button-wrapper { |
| 2 |
display: flex; |
| 3 |
width: 100%; |
| 4 |
} |
| 5 |
|
| 6 |
.jltma-creative-button { |
| 7 |
display: inline-flex; |
| 8 |
align-items: center; |
| 9 |
text-align: center; |
| 10 |
vertical-align: middle; |
| 11 |
position: relative; |
| 12 |
border-radius: 2px; |
| 13 |
padding: 16px 20px; |
| 14 |
font-size: 16px; |
| 15 |
line-height: 1; |
| 16 |
z-index: 0; |
| 17 |
backface-visibility: hidden; |
| 18 |
-moz-osx-font-smoothing: grayscale; |
| 19 |
text-decoration: none !important; |
| 20 |
} |
| 21 |
.jltma-creative-button:hover { |
| 22 |
text-decoration: none !important; |
| 23 |
} |
| 24 |
.jltma-creative-button::before, .jltma-creative-button::after { |
| 25 |
z-index: -1; |
| 26 |
} |
| 27 |
|
| 28 |
.jltma-creative-button--saqui:after { |
| 29 |
z-index: 1; |
| 30 |
} |
| 31 |
|
| 32 |
.jltma-creative-button--winona { |
| 33 |
overflow: hidden; |
| 34 |
transition: border-color 0.3s, background-color 0.3s; |
| 35 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 36 |
} |
| 37 |
.jltma-creative-button--winona::after { |
| 38 |
content: attr(data-text); |
| 39 |
color: #3f51b5; |
| 40 |
transform: translate3d(0, 25%, 0); |
| 41 |
} |
| 42 |
.jltma-creative-button--winona > span { |
| 43 |
display: block; |
| 44 |
} |
| 45 |
.jltma-creative-button--winona::after, |
| 46 |
.jltma-creative-button--winona > span { |
| 47 |
transition: opacity 0.3s, -webkit-transform 0.3s; |
| 48 |
transition: transform 0.3s, opacity 0.3s; |
| 49 |
transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s; |
| 50 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 51 |
} |
| 52 |
.jltma-creative-button--winona:hover { |
| 53 |
border-color: #3f51b5; |
| 54 |
background-color: rgba(63, 81, 181, 0.1); |
| 55 |
} |
| 56 |
.jltma-creative-button--winona:hover::after { |
| 57 |
opacity: 1; |
| 58 |
transform: translate3d(0, 0, 0); |
| 59 |
} |
| 60 |
.jltma-creative-button--winona:hover > span { |
| 61 |
opacity: 0; |
| 62 |
transform: translate3d(0, -25%, 0); |
| 63 |
} |
| 64 |
.jltma-creative-button--winona.jltma-creative-button--inverted { |
| 65 |
color: #7986cb; |
| 66 |
} |
| 67 |
.jltma-creative-button--winona.jltma-creative-button--inverted:after { |
| 68 |
color: #fff; |
| 69 |
} |
| 70 |
.jltma-creative-button--winona.jltma-creative-button--inverted:hover { |
| 71 |
border-color: #21333c; |
| 72 |
background-color: #21333c; |
| 73 |
} |
| 74 |
|
| 75 |
.jltma-creative-button--winona:after, |
| 76 |
.jltma-creative-button--ujarak:before, |
| 77 |
.jltma-creative-button--wayra::before, |
| 78 |
.jltma-creative-button--rayen::before { |
| 79 |
position: absolute; |
| 80 |
top: 0; |
| 81 |
left: 0; |
| 82 |
width: 100%; |
| 83 |
height: 100%; |
| 84 |
opacity: 0; |
| 85 |
} |
| 86 |
|
| 87 |
.jltma-creative-button--winona::after, |
| 88 |
.jltma-creative-button--ujarak::before, |
| 89 |
.jltma-creative-button--wayra::before, |
| 90 |
.jltma-creative-button--rayen::before { |
| 91 |
display: flex; |
| 92 |
align-items: center; |
| 93 |
flex-direction: column; |
| 94 |
justify-content: center; |
| 95 |
} |
| 96 |
|
| 97 |
.jltma-creative-button--ujarak { |
| 98 |
transition: border-color 0.4s, color 0.4s; |
| 99 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 100 |
} |
| 101 |
.jltma-creative-button--ujarak::before { |
| 102 |
content: attr(data-text); |
| 103 |
background: #37474f; |
| 104 |
z-index: -1; |
| 105 |
-webkit-transform: scale3d(0.7, 1, 1); |
| 106 |
transform: scale3d(0.7, 1, 1); |
| 107 |
transition: opacity 0.4s, -webkit-transform 0.4s; |
| 108 |
transition: transform 0.4s, opacity 0.4s; |
| 109 |
transition: transform 0.4s, opacity 0.4s, -webkit-transform 0.4s; |
| 110 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 111 |
} |
| 112 |
.jltma-creative-button--ujarak:hover { |
| 113 |
color: #fff; |
| 114 |
border-color: #37474f; |
| 115 |
} |
| 116 |
.jltma-creative-button--ujarak:hover::before { |
| 117 |
opacity: 1; |
| 118 |
z-index: 1; |
| 119 |
transform: translate3d(0, 0, 0); |
| 120 |
} |
| 121 |
.jltma-creative-button--ujarak.jltma-creative-button--round-s::before { |
| 122 |
border-radius: 2px; |
| 123 |
} |
| 124 |
.jltma-creative-button--ujarak.jltma-creative-button--inverted::before { |
| 125 |
background: #7986cb; |
| 126 |
} |
| 127 |
.jltma-creative-button--ujarak.jltma-creative-button--inverted:hover { |
| 128 |
color: #37474f; |
| 129 |
border-color: #fff; |
| 130 |
} |
| 131 |
|
| 132 |
.jltma-creative-button--wayra { |
| 133 |
overflow: hidden; |
| 134 |
width: 245px; |
| 135 |
transition: border-color 0.3s, color 0.3s; |
| 136 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 137 |
} |
| 138 |
.jltma-creative-button--wayra::before { |
| 139 |
content: attr(data-text); |
| 140 |
background: #37474f; |
| 141 |
z-index: -1; |
| 142 |
transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0); |
| 143 |
transform-origin: 0 100%; |
| 144 |
transition: opacity 0.3s, background-color 0.3s, -webkit-transform 0.3s; |
| 145 |
transition: transform 0.3s, opacity 0.3s, background-color 0.3s; |
| 146 |
transition: transform 0.3s, opacity 0.3s, background-color 0.3s, -webkit-transform 0.3s; |
| 147 |
} |
| 148 |
.jltma-creative-button--wayra:hover { |
| 149 |
color: #fff; |
| 150 |
border-color: #3f51b5; |
| 151 |
} |
| 152 |
.jltma-creative-button--wayra:hover::before { |
| 153 |
opacity: 1; |
| 154 |
z-index: 1; |
| 155 |
background-color: #3f51b5; |
| 156 |
transform: rotate3d(0, 0, 1, 0deg); |
| 157 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 158 |
} |
| 159 |
.jltma-creative-button--wayra.jltma-creative-button--inverted:hover { |
| 160 |
color: #3f51b5; |
| 161 |
border-color: #fff; |
| 162 |
} |
| 163 |
.jltma-creative-button--wayra.jltma-creative-button--inverted:hover::before { |
| 164 |
background-color: #fff; |
| 165 |
} |
| 166 |
|
| 167 |
.jltma-creative-button--tamaya { |
| 168 |
overflow: hidden; |
| 169 |
color: #7986cb; |
| 170 |
min-width: 180px; |
| 171 |
} |
| 172 |
.jltma-creative-button--tamaya::before, .jltma-creative-button--tamaya::after { |
| 173 |
content: attr(data-text); |
| 174 |
position: absolute; |
| 175 |
width: 100%; |
| 176 |
height: 50%; |
| 177 |
left: 0; |
| 178 |
background: #7986cb; |
| 179 |
color: #fff; |
| 180 |
overflow: hidden; |
| 181 |
-webkit-transition: -webkit-transform 0.3s; |
| 182 |
transition: -webkit-transform 0.3s; |
| 183 |
-o-transition: transform 0.3s; |
| 184 |
transition: transform 0.3s; |
| 185 |
transition: transform 0.3s, -webkit-transform 0.3s; |
| 186 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 187 |
} |
| 188 |
.jltma-creative-button--tamaya::before { |
| 189 |
top: 0; |
| 190 |
padding-top: 1em; |
| 191 |
} |
| 192 |
.jltma-creative-button--tamaya::after { |
| 193 |
bottom: 0; |
| 194 |
line-height: 0; |
| 195 |
} |
| 196 |
.jltma-creative-button--tamaya:hover::before { |
| 197 |
transform: translate3d(0, -100%, 0); |
| 198 |
} |
| 199 |
.jltma-creative-button--tamaya:hover::after { |
| 200 |
transform: translate3d(0, 100%, 0); |
| 201 |
} |
| 202 |
.jltma-creative-button--tamaya:hover > span { |
| 203 |
opacity: 1; |
| 204 |
transform: scale3d(1, 1, 1); |
| 205 |
} |
| 206 |
.jltma-creative-button--tamaya > span { |
| 207 |
display: block; |
| 208 |
-webkit-transform: scale3d(0.2, 0.2, 1); |
| 209 |
transform: scale3d(0.2, 0.2, 1); |
| 210 |
opacity: 0; |
| 211 |
transition: opacity 0.3s, -webkit-transform 0.3s; |
| 212 |
transition: transform 0.3s, opacity 0.3s; |
| 213 |
transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s; |
| 214 |
transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); |
| 215 |
} |
| 216 |
.jltma-creative-button--tamaya.jltma-creative-button--inverted { |
| 217 |
color: #37474f; |
| 218 |
border-color: #37474f; |
| 219 |
} |
| 220 |
.jltma-creative-button--tamaya.jltma-creative-button--inverted::before, .jltma-creative-button--tamaya.jltma-creative-button--inverted::after { |
| 221 |
background: #fff; |
| 222 |
color: #37474f; |
| 223 |
} |
| 224 |
|
| 225 |
.jltma-creative-button--rayen { |
| 226 |
overflow: hidden; |
| 227 |
} |
| 228 |
.jltma-creative-button--rayen::before { |
| 229 |
content: attr(data-text); |
| 230 |
background: #7986cb; |
| 231 |
transform: translate3d(-100%, 0, 0); |
| 232 |
z-index: 1; |
| 233 |
} |
| 234 |
.jltma-creative-button--rayen > span { |
| 235 |
display: block; |
| 236 |
} |
| 237 |
.jltma-creative-button--rayen::before, |
| 238 |
.jltma-creative-button--rayen > span { |
| 239 |
transition: -webkit-transform 0.3s; |
| 240 |
transition: transform 0.3s; |
| 241 |
transition: transform 0.3s, -webkit-transform 0.3s; |
| 242 |
transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); |
| 243 |
} |
| 244 |
.jltma-creative-button--rayen:hover::before { |
| 245 |
opacity: 1; |
| 246 |
transform: translate3d(0, 0, 0); |
| 247 |
} |
| 248 |
.jltma-creative-button--rayen:hover > span { |
| 249 |
transform: translate3d(0, 150%, 0); |
| 250 |
} |
| 251 |
.jltma-creative-button--rayen:hover.jltma-creative-button--inverted { |
| 252 |
color: #fff; |
| 253 |
} |
| 254 |
.jltma-creative-button--rayen:hover.jltma-creative-button--inverted::before { |
| 255 |
background: #fff; |
| 256 |
color: #37474f; |
| 257 |
} |
| 258 |
|
| 259 |
.jltma-creative-button--elevation { |
| 260 |
background: #ff5722; |
| 261 |
border: none !important; |
| 262 |
border-radius: 2px; |
| 263 |
color: #ffffff !important; |
| 264 |
font-family: "Open Sans"; |
| 265 |
font-size: 12px; |
| 266 |
font-weight: 700; |
| 267 |
overflow: hidden; |
| 268 |
padding: 12px 25px; |
| 269 |
position: relative; |
| 270 |
text-transform: uppercase; |
| 271 |
z-index: 1; |
| 272 |
min-width: 150px; |
| 273 |
min-height: 40px; |
| 274 |
-webkit-transition: all 0.25s ease-in-out; |
| 275 |
-moz-transition: all 0.25s ease-in-out; |
| 276 |
-ms-transition: all 0.25s ease-in-out; |
| 277 |
-o-transition: all 0.25s ease-in-out; |
| 278 |
transition: all 0.25s ease-in-out; |
| 279 |
} |
| 280 |
|
| 281 |
.jltma-creative-button--elevation:after, |
| 282 |
.jltma-creative-button--elevation:before { |
| 283 |
content: ""; |
| 284 |
position: absolute; |
| 285 |
width: 115%; |
| 286 |
height: 100%; |
| 287 |
top: -19px; |
| 288 |
z-index: -1; |
| 289 |
transition: all 0.25s ease-in-out; |
| 290 |
} |
| 291 |
|
| 292 |
.jltma-creative-button--elevation:before { |
| 293 |
background-color: rgba(0, 0, 0, 0.1); |
| 294 |
right: -10px; |
| 295 |
top: 64px; |
| 296 |
opacity: 0; |
| 297 |
transform: rotate(17deg); |
| 298 |
} |
| 299 |
|
| 300 |
.jltma-creative-button--elevation:after { |
| 301 |
background-color: rgba(0, 0, 0, 0.1); |
| 302 |
right: -10px; |
| 303 |
-webkit-transform: rotate(17deg); |
| 304 |
-moz-transform: rotate(17deg); |
| 305 |
-ms-transform: rotate(17deg); |
| 306 |
-o-transform: rotate(17deg); |
| 307 |
transform: rotate(17deg); |
| 308 |
} |
| 309 |
|
| 310 |
.jltma-creative-button--elevation:hover:before { |
| 311 |
top: 21px; |
| 312 |
opacity: 1; |
| 313 |
} |
| 314 |
|
| 315 |
.jltma-creative-button--elevation:hover:after { |
| 316 |
top: -110px !important; |
| 317 |
opacity: 0; |
| 318 |
} |
| 319 |
|
| 320 |
.jltma-creative-button--elevation:hover:before, |
| 321 |
.jltma-creative-button--elevation:hover:after { |
| 322 |
background-color: rgba(0, 0, 0, 0.2); |
| 323 |
} |