| 1 |
.tippy-box[data-animation=fade][data-state=hidden] { |
| 2 |
opacity: 0; |
| 3 |
} |
| 4 |
|
| 5 |
[data-tippy-root] { |
| 6 |
max-width: calc(100vw - 10px); |
| 7 |
} |
| 8 |
|
| 9 |
.tippy-box { |
| 10 |
position: relative; |
| 11 |
background-color: #333; |
| 12 |
color: #fff; |
| 13 |
border-radius: 4px; |
| 14 |
font-size: 14px; |
| 15 |
line-height: 1.4; |
| 16 |
outline: 0; |
| 17 |
-webkit-transition-property: visibility, opacity, -webkit-transform; |
| 18 |
transition-property: visibility, opacity, -webkit-transform; |
| 19 |
transition-property: transform, visibility, opacity; |
| 20 |
transition-property: transform, visibility, opacity, -webkit-transform; |
| 21 |
} |
| 22 |
|
| 23 |
.tippy-box[data-placement^=top] > .tippy-arrow { |
| 24 |
bottom: 0; |
| 25 |
} |
| 26 |
|
| 27 |
.tippy-box[data-placement^=top] > .tippy-arrow:before { |
| 28 |
bottom: -7px; |
| 29 |
left: 0; |
| 30 |
border-width: 8px 8px 0; |
| 31 |
border-top-color: initial; |
| 32 |
-webkit-transform-origin: center top; |
| 33 |
-ms-transform-origin: center top; |
| 34 |
transform-origin: center top; |
| 35 |
} |
| 36 |
|
| 37 |
.tippy-box[data-placement^=bottom] > .tippy-arrow { |
| 38 |
top: 0; |
| 39 |
} |
| 40 |
|
| 41 |
.tippy-box[data-placement^=bottom] > .tippy-arrow:before { |
| 42 |
top: -7px; |
| 43 |
left: 0; |
| 44 |
border-width: 0 8px 8px; |
| 45 |
border-bottom-color: initial; |
| 46 |
-webkit-transform-origin: center bottom; |
| 47 |
-ms-transform-origin: center bottom; |
| 48 |
transform-origin: center bottom; |
| 49 |
} |
| 50 |
|
| 51 |
.tippy-box[data-placement^=left] > .tippy-arrow { |
| 52 |
right: 0; |
| 53 |
} |
| 54 |
|
| 55 |
.tippy-box[data-placement^=left] > .tippy-arrow:before { |
| 56 |
border-width: 8px 0 8px 8px; |
| 57 |
border-left-color: initial; |
| 58 |
right: -7px; |
| 59 |
-webkit-transform-origin: center left; |
| 60 |
-ms-transform-origin: center left; |
| 61 |
transform-origin: center left; |
| 62 |
} |
| 63 |
|
| 64 |
.tippy-box[data-placement^=right] > .tippy-arrow { |
| 65 |
left: 0; |
| 66 |
} |
| 67 |
|
| 68 |
.tippy-box[data-placement^=right] > .tippy-arrow:before { |
| 69 |
left: -7px; |
| 70 |
border-width: 8px 8px 8px 0; |
| 71 |
border-right-color: initial; |
| 72 |
-webkit-transform-origin: center right; |
| 73 |
-ms-transform-origin: center right; |
| 74 |
transform-origin: center right; |
| 75 |
} |
| 76 |
|
| 77 |
.tippy-box[data-inertia][data-state=visible] { |
| 78 |
-webkit-transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11); |
| 79 |
transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11); |
| 80 |
} |
| 81 |
|
| 82 |
.tippy-arrow { |
| 83 |
width: 16px; |
| 84 |
height: 16px; |
| 85 |
color: #333; |
| 86 |
} |
| 87 |
|
| 88 |
.tippy-arrow:before { |
| 89 |
content: ""; |
| 90 |
position: absolute; |
| 91 |
border-color: transparent; |
| 92 |
border-style: solid; |
| 93 |
} |
| 94 |
|
| 95 |
.tippy-content { |
| 96 |
position: relative; |
| 97 |
padding: 5px 9px; |
| 98 |
z-index: 1; |
| 99 |
} |
| 100 |
|
| 101 |
.tippy-box[data-placement^=top] > .tippy-backdrop { |
| 102 |
-webkit-transform-origin: 0% 25%; |
| 103 |
-ms-transform-origin: 0% 25%; |
| 104 |
transform-origin: 0% 25%; |
| 105 |
border-radius: 40% 40% 0 0; |
| 106 |
} |
| 107 |
.tippy-box[data-placement^=top] > .tippy-backdrop[data-state=visible] { |
| 108 |
-webkit-transform: scale(1) translate(-50%, -55%); |
| 109 |
-ms-transform: scale(1) translate(-50%, -55%); |
| 110 |
transform: scale(1) translate(-50%, -55%); |
| 111 |
} |
| 112 |
.tippy-box[data-placement^=top] > .tippy-backdrop[data-state=hidden] { |
| 113 |
-webkit-transform: scale(0.2) translate(-50%, -45%); |
| 114 |
-ms-transform: scale(0.2) translate(-50%, -45%); |
| 115 |
transform: scale(0.2) translate(-50%, -45%); |
| 116 |
} |
| 117 |
.tippy-box[data-placement^=bottom] > .tippy-backdrop { |
| 118 |
-webkit-transform-origin: 0% -50%; |
| 119 |
-ms-transform-origin: 0% -50%; |
| 120 |
transform-origin: 0% -50%; |
| 121 |
border-radius: 0 0 30% 30%; |
| 122 |
} |
| 123 |
.tippy-box[data-placement^=bottom] > .tippy-backdrop[data-state=visible] { |
| 124 |
-webkit-transform: scale(1) translate(-50%, -45%); |
| 125 |
-ms-transform: scale(1) translate(-50%, -45%); |
| 126 |
transform: scale(1) translate(-50%, -45%); |
| 127 |
} |
| 128 |
.tippy-box[data-placement^=bottom] > .tippy-backdrop[data-state=hidden] { |
| 129 |
-webkit-transform: scale(0.2) translate(-50%, 0); |
| 130 |
-ms-transform: scale(0.2) translate(-50%, 0); |
| 131 |
transform: scale(0.2) translate(-50%, 0); |
| 132 |
} |
| 133 |
.tippy-box[data-placement^=left] > .tippy-backdrop { |
| 134 |
-webkit-transform-origin: 50% 0%; |
| 135 |
-ms-transform-origin: 50% 0%; |
| 136 |
transform-origin: 50% 0%; |
| 137 |
border-radius: 50% 0 0 50%; |
| 138 |
} |
| 139 |
.tippy-box[data-placement^=left] > .tippy-backdrop[data-state=visible] { |
| 140 |
-webkit-transform: scale(1) translate(-50%, -50%); |
| 141 |
-ms-transform: scale(1) translate(-50%, -50%); |
| 142 |
transform: scale(1) translate(-50%, -50%); |
| 143 |
} |
| 144 |
.tippy-box[data-placement^=left] > .tippy-backdrop[data-state=hidden] { |
| 145 |
-webkit-transform: scale(0.2) translate(-75%, -50%); |
| 146 |
-ms-transform: scale(0.2) translate(-75%, -50%); |
| 147 |
transform: scale(0.2) translate(-75%, -50%); |
| 148 |
} |
| 149 |
.tippy-box[data-placement^=right] > .tippy-backdrop { |
| 150 |
-webkit-transform-origin: -50% 0%; |
| 151 |
-ms-transform-origin: -50% 0%; |
| 152 |
transform-origin: -50% 0%; |
| 153 |
border-radius: 0 50% 50% 0; |
| 154 |
} |
| 155 |
.tippy-box[data-placement^=right] > .tippy-backdrop[data-state=visible] { |
| 156 |
-webkit-transform: scale(1) translate(-50%, -50%); |
| 157 |
-ms-transform: scale(1) translate(-50%, -50%); |
| 158 |
transform: scale(1) translate(-50%, -50%); |
| 159 |
} |
| 160 |
.tippy-box[data-placement^=right] > .tippy-backdrop[data-state=hidden] { |
| 161 |
-webkit-transform: scale(0.2) translate(-25%, -50%); |
| 162 |
-ms-transform: scale(0.2) translate(-25%, -50%); |
| 163 |
transform: scale(0.2) translate(-25%, -50%); |
| 164 |
} |
| 165 |
|
| 166 |
.tippy-box[data-animatefill] { |
| 167 |
background-color: transparent !important; |
| 168 |
} |
| 169 |
|
| 170 |
.tippy-backdrop { |
| 171 |
position: absolute; |
| 172 |
background-color: #333; |
| 173 |
border-radius: 50%; |
| 174 |
width: calc(110% + 32px); |
| 175 |
left: 50%; |
| 176 |
top: 50%; |
| 177 |
z-index: -1; |
| 178 |
-webkit-transition: all cubic-bezier(0.46, 0.1, 0.52, 0.98); |
| 179 |
transition: all cubic-bezier(0.46, 0.1, 0.52, 0.98); |
| 180 |
-webkit-backface-visibility: hidden; |
| 181 |
backface-visibility: hidden; |
| 182 |
} |
| 183 |
.tippy-backdrop[data-state=hidden] { |
| 184 |
opacity: 0; |
| 185 |
} |
| 186 |
.tippy-backdrop::after { |
| 187 |
content: ""; |
| 188 |
float: left; |
| 189 |
padding-top: 100%; |
| 190 |
} |
| 191 |
|
| 192 |
.tippy-backdrop + .tippy-content { |
| 193 |
-webkit-transition-property: opacity; |
| 194 |
transition-property: opacity; |
| 195 |
will-change: opacity; |
| 196 |
} |
| 197 |
.tippy-backdrop + .tippy-content[data-state=hidden] { |
| 198 |
opacity: 0; |
| 199 |
} |
| 200 |
|
| 201 |
.tippy-box[data-animation=fade][data-state=hidden] { |
| 202 |
opacity: 0; |
| 203 |
} |
| 204 |
|
| 205 |
.tippy-box[data-animation=perspective][data-placement^=top] { |
| 206 |
-webkit-transform-origin: bottom; |
| 207 |
-ms-transform-origin: bottom; |
| 208 |
transform-origin: bottom; |
| 209 |
} |
| 210 |
.tippy-box[data-animation=perspective][data-placement^=top][data-state=visible] { |
| 211 |
-webkit-transform: perspective(700px); |
| 212 |
transform: perspective(700px); |
| 213 |
} |
| 214 |
.tippy-box[data-animation=perspective][data-placement^=top][data-state=hidden] { |
| 215 |
-webkit-transform: perspective(700px) translateY(8px) rotateX(60deg); |
| 216 |
transform: perspective(700px) translateY(8px) rotateX(60deg); |
| 217 |
} |
| 218 |
.tippy-box[data-animation=perspective][data-placement^=bottom] { |
| 219 |
-webkit-transform-origin: top; |
| 220 |
-ms-transform-origin: top; |
| 221 |
transform-origin: top; |
| 222 |
} |
| 223 |
.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=visible] { |
| 224 |
-webkit-transform: perspective(700px); |
| 225 |
transform: perspective(700px); |
| 226 |
} |
| 227 |
.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=hidden] { |
| 228 |
-webkit-transform: perspective(700px) translateY(-8px) rotateX(-60deg); |
| 229 |
transform: perspective(700px) translateY(-8px) rotateX(-60deg); |
| 230 |
} |
| 231 |
.tippy-box[data-animation=perspective][data-placement^=left] { |
| 232 |
-webkit-transform-origin: right; |
| 233 |
-ms-transform-origin: right; |
| 234 |
transform-origin: right; |
| 235 |
} |
| 236 |
.tippy-box[data-animation=perspective][data-placement^=left][data-state=visible] { |
| 237 |
-webkit-transform: perspective(700px); |
| 238 |
transform: perspective(700px); |
| 239 |
} |
| 240 |
.tippy-box[data-animation=perspective][data-placement^=left][data-state=hidden] { |
| 241 |
-webkit-transform: perspective(700px) translateX(8px) rotateY(-60deg); |
| 242 |
transform: perspective(700px) translateX(8px) rotateY(-60deg); |
| 243 |
} |
| 244 |
.tippy-box[data-animation=perspective][data-placement^=right] { |
| 245 |
-webkit-transform-origin: left; |
| 246 |
-ms-transform-origin: left; |
| 247 |
transform-origin: left; |
| 248 |
} |
| 249 |
.tippy-box[data-animation=perspective][data-placement^=right][data-state=visible] { |
| 250 |
-webkit-transform: perspective(700px); |
| 251 |
transform: perspective(700px); |
| 252 |
} |
| 253 |
.tippy-box[data-animation=perspective][data-placement^=right][data-state=hidden] { |
| 254 |
-webkit-transform: perspective(700px) translateX(-8px) rotateY(60deg); |
| 255 |
transform: perspective(700px) translateX(-8px) rotateY(60deg); |
| 256 |
} |
| 257 |
.tippy-box[data-animation=perspective][data-state=hidden] { |
| 258 |
opacity: 0; |
| 259 |
} |
| 260 |
|
| 261 |
.tippy-box[data-animation=perspective-subtle][data-placement^=top] { |
| 262 |
-webkit-transform-origin: bottom; |
| 263 |
-ms-transform-origin: bottom; |
| 264 |
transform-origin: bottom; |
| 265 |
} |
| 266 |
.tippy-box[data-animation=perspective-subtle][data-placement^=top][data-state=visible] { |
| 267 |
-webkit-transform: perspective(700px); |
| 268 |
transform: perspective(700px); |
| 269 |
} |
| 270 |
.tippy-box[data-animation=perspective-subtle][data-placement^=top][data-state=hidden] { |
| 271 |
-webkit-transform: perspective(700px) translateY(5px) rotateX(30deg); |
| 272 |
transform: perspective(700px) translateY(5px) rotateX(30deg); |
| 273 |
} |
| 274 |
.tippy-box[data-animation=perspective-subtle][data-placement^=bottom] { |
| 275 |
-webkit-transform-origin: top; |
| 276 |
-ms-transform-origin: top; |
| 277 |
transform-origin: top; |
| 278 |
} |
| 279 |
.tippy-box[data-animation=perspective-subtle][data-placement^=bottom][data-state=visible] { |
| 280 |
-webkit-transform: perspective(700px); |
| 281 |
transform: perspective(700px); |
| 282 |
} |
| 283 |
.tippy-box[data-animation=perspective-subtle][data-placement^=bottom][data-state=hidden] { |
| 284 |
-webkit-transform: perspective(700px) translateY(-5px) rotateX(-30deg); |
| 285 |
transform: perspective(700px) translateY(-5px) rotateX(-30deg); |
| 286 |
} |
| 287 |
.tippy-box[data-animation=perspective-subtle][data-placement^=left] { |
| 288 |
-webkit-transform-origin: right; |
| 289 |
-ms-transform-origin: right; |
| 290 |
transform-origin: right; |
| 291 |
} |
| 292 |
.tippy-box[data-animation=perspective-subtle][data-placement^=left][data-state=visible] { |
| 293 |
-webkit-transform: perspective(700px); |
| 294 |
transform: perspective(700px); |
| 295 |
} |
| 296 |
.tippy-box[data-animation=perspective-subtle][data-placement^=left][data-state=hidden] { |
| 297 |
-webkit-transform: perspective(700px) translateX(5px) rotateY(-30deg); |
| 298 |
transform: perspective(700px) translateX(5px) rotateY(-30deg); |
| 299 |
} |
| 300 |
.tippy-box[data-animation=perspective-subtle][data-placement^=right] { |
| 301 |
-webkit-transform-origin: left; |
| 302 |
-ms-transform-origin: left; |
| 303 |
transform-origin: left; |
| 304 |
} |
| 305 |
.tippy-box[data-animation=perspective-subtle][data-placement^=right][data-state=visible] { |
| 306 |
-webkit-transform: perspective(700px); |
| 307 |
transform: perspective(700px); |
| 308 |
} |
| 309 |
.tippy-box[data-animation=perspective-subtle][data-placement^=right][data-state=hidden] { |
| 310 |
-webkit-transform: perspective(700px) translateX(-5px) rotateY(30deg); |
| 311 |
transform: perspective(700px) translateX(-5px) rotateY(30deg); |
| 312 |
} |
| 313 |
.tippy-box[data-animation=perspective-subtle][data-state=hidden] { |
| 314 |
opacity: 0; |
| 315 |
} |
| 316 |
|
| 317 |
.tippy-box[data-animation=perspective-extreme][data-placement^=top] { |
| 318 |
-webkit-transform-origin: bottom; |
| 319 |
-ms-transform-origin: bottom; |
| 320 |
transform-origin: bottom; |
| 321 |
} |
| 322 |
.tippy-box[data-animation=perspective-extreme][data-placement^=top][data-state=visible] { |
| 323 |
-webkit-transform: perspective(700px); |
| 324 |
transform: perspective(700px); |
| 325 |
} |
| 326 |
.tippy-box[data-animation=perspective-extreme][data-placement^=top][data-state=hidden] { |
| 327 |
-webkit-transform: perspective(700px) translateY(10px) rotateX(90deg); |
| 328 |
transform: perspective(700px) translateY(10px) rotateX(90deg); |
| 329 |
} |
| 330 |
.tippy-box[data-animation=perspective-extreme][data-placement^=bottom] { |
| 331 |
-webkit-transform-origin: top; |
| 332 |
-ms-transform-origin: top; |
| 333 |
transform-origin: top; |
| 334 |
} |
| 335 |
.tippy-box[data-animation=perspective-extreme][data-placement^=bottom][data-state=visible] { |
| 336 |
-webkit-transform: perspective(700px); |
| 337 |
transform: perspective(700px); |
| 338 |
} |
| 339 |
.tippy-box[data-animation=perspective-extreme][data-placement^=bottom][data-state=hidden] { |
| 340 |
-webkit-transform: perspective(700px) translateY(-10px) rotateX(-90deg); |
| 341 |
transform: perspective(700px) translateY(-10px) rotateX(-90deg); |
| 342 |
} |
| 343 |
.tippy-box[data-animation=perspective-extreme][data-placement^=left] { |
| 344 |
-webkit-transform-origin: right; |
| 345 |
-ms-transform-origin: right; |
| 346 |
transform-origin: right; |
| 347 |
} |
| 348 |
.tippy-box[data-animation=perspective-extreme][data-placement^=left][data-state=visible] { |
| 349 |
-webkit-transform: perspective(700px); |
| 350 |
transform: perspective(700px); |
| 351 |
} |
| 352 |
.tippy-box[data-animation=perspective-extreme][data-placement^=left][data-state=hidden] { |
| 353 |
-webkit-transform: perspective(700px) translateX(10px) rotateY(-90deg); |
| 354 |
transform: perspective(700px) translateX(10px) rotateY(-90deg); |
| 355 |
} |
| 356 |
.tippy-box[data-animation=perspective-extreme][data-placement^=right] { |
| 357 |
-webkit-transform-origin: left; |
| 358 |
-ms-transform-origin: left; |
| 359 |
transform-origin: left; |
| 360 |
} |
| 361 |
.tippy-box[data-animation=perspective-extreme][data-placement^=right][data-state=visible] { |
| 362 |
-webkit-transform: perspective(700px); |
| 363 |
transform: perspective(700px); |
| 364 |
} |
| 365 |
.tippy-box[data-animation=perspective-extreme][data-placement^=right][data-state=hidden] { |
| 366 |
-webkit-transform: perspective(700px) translateX(-10px) rotateY(90deg); |
| 367 |
transform: perspective(700px) translateX(-10px) rotateY(90deg); |
| 368 |
} |
| 369 |
.tippy-box[data-animation=perspective-extreme][data-state=hidden] { |
| 370 |
opacity: 0.5; |
| 371 |
} |
| 372 |
|
| 373 |
.tippy-box[data-animation=scale][data-placement^=top] { |
| 374 |
-webkit-transform-origin: bottom; |
| 375 |
-ms-transform-origin: bottom; |
| 376 |
transform-origin: bottom; |
| 377 |
} |
| 378 |
.tippy-box[data-animation=scale][data-placement^=bottom] { |
| 379 |
-webkit-transform-origin: top; |
| 380 |
-ms-transform-origin: top; |
| 381 |
transform-origin: top; |
| 382 |
} |
| 383 |
.tippy-box[data-animation=scale][data-placement^=left] { |
| 384 |
-webkit-transform-origin: right; |
| 385 |
-ms-transform-origin: right; |
| 386 |
transform-origin: right; |
| 387 |
} |
| 388 |
.tippy-box[data-animation=scale][data-placement^=right] { |
| 389 |
-webkit-transform-origin: left; |
| 390 |
-ms-transform-origin: left; |
| 391 |
transform-origin: left; |
| 392 |
} |
| 393 |
.tippy-box[data-animation=scale][data-state=hidden] { |
| 394 |
-webkit-transform: scale(0.5); |
| 395 |
-ms-transform: scale(0.5); |
| 396 |
transform: scale(0.5); |
| 397 |
opacity: 0; |
| 398 |
} |
| 399 |
|
| 400 |
.tippy-box[data-animation=scale-subtle][data-placement^=top] { |
| 401 |
-webkit-transform-origin: bottom; |
| 402 |
-ms-transform-origin: bottom; |
| 403 |
transform-origin: bottom; |
| 404 |
} |
| 405 |
.tippy-box[data-animation=scale-subtle][data-placement^=bottom] { |
| 406 |
-webkit-transform-origin: top; |
| 407 |
-ms-transform-origin: top; |
| 408 |
transform-origin: top; |
| 409 |
} |
| 410 |
.tippy-box[data-animation=scale-subtle][data-placement^=left] { |
| 411 |
-webkit-transform-origin: right; |
| 412 |
-ms-transform-origin: right; |
| 413 |
transform-origin: right; |
| 414 |
} |
| 415 |
.tippy-box[data-animation=scale-subtle][data-placement^=right] { |
| 416 |
-webkit-transform-origin: left; |
| 417 |
-ms-transform-origin: left; |
| 418 |
transform-origin: left; |
| 419 |
} |
| 420 |
.tippy-box[data-animation=scale-subtle][data-state=hidden] { |
| 421 |
-webkit-transform: scale(0.8); |
| 422 |
-ms-transform: scale(0.8); |
| 423 |
transform: scale(0.8); |
| 424 |
opacity: 0; |
| 425 |
} |
| 426 |
|
| 427 |
.tippy-box[data-animation=scale-extreme][data-placement^=top] { |
| 428 |
-webkit-transform-origin: bottom; |
| 429 |
-ms-transform-origin: bottom; |
| 430 |
transform-origin: bottom; |
| 431 |
} |
| 432 |
.tippy-box[data-animation=scale-extreme][data-placement^=bottom] { |
| 433 |
-webkit-transform-origin: top; |
| 434 |
-ms-transform-origin: top; |
| 435 |
transform-origin: top; |
| 436 |
} |
| 437 |
.tippy-box[data-animation=scale-extreme][data-placement^=left] { |
| 438 |
-webkit-transform-origin: right; |
| 439 |
-ms-transform-origin: right; |
| 440 |
transform-origin: right; |
| 441 |
} |
| 442 |
.tippy-box[data-animation=scale-extreme][data-placement^=right] { |
| 443 |
-webkit-transform-origin: left; |
| 444 |
-ms-transform-origin: left; |
| 445 |
transform-origin: left; |
| 446 |
} |
| 447 |
.tippy-box[data-animation=scale-extreme][data-state=hidden] { |
| 448 |
-webkit-transform: scale(0); |
| 449 |
-ms-transform: scale(0); |
| 450 |
transform: scale(0); |
| 451 |
opacity: 0.25; |
| 452 |
} |
| 453 |
|
| 454 |
.tippy-box[data-animation=shift-away][data-state=hidden] { |
| 455 |
opacity: 0; |
| 456 |
} |
| 457 |
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=top] { |
| 458 |
-webkit-transform: translateY(10px); |
| 459 |
-ms-transform: translateY(10px); |
| 460 |
transform: translateY(10px); |
| 461 |
} |
| 462 |
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=bottom] { |
| 463 |
-webkit-transform: translateY(-10px); |
| 464 |
-ms-transform: translateY(-10px); |
| 465 |
transform: translateY(-10px); |
| 466 |
} |
| 467 |
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=left] { |
| 468 |
-webkit-transform: translateX(10px); |
| 469 |
-ms-transform: translateX(10px); |
| 470 |
transform: translateX(10px); |
| 471 |
} |
| 472 |
.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=right] { |
| 473 |
-webkit-transform: translateX(-10px); |
| 474 |
-ms-transform: translateX(-10px); |
| 475 |
transform: translateX(-10px); |
| 476 |
} |
| 477 |
|
| 478 |
.tippy-box[data-animation=shift-away-subtle][data-state=hidden] { |
| 479 |
opacity: 0; |
| 480 |
} |
| 481 |
.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=top] { |
| 482 |
-webkit-transform: translateY(5px); |
| 483 |
-ms-transform: translateY(5px); |
| 484 |
transform: translateY(5px); |
| 485 |
} |
| 486 |
.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=bottom] { |
| 487 |
-webkit-transform: translateY(-5px); |
| 488 |
-ms-transform: translateY(-5px); |
| 489 |
transform: translateY(-5px); |
| 490 |
} |
| 491 |
.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=left] { |
| 492 |
-webkit-transform: translateX(5px); |
| 493 |
-ms-transform: translateX(5px); |
| 494 |
transform: translateX(5px); |
| 495 |
} |
| 496 |
.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=right] { |
| 497 |
-webkit-transform: translateX(-5px); |
| 498 |
-ms-transform: translateX(-5px); |
| 499 |
transform: translateX(-5px); |
| 500 |
} |
| 501 |
|
| 502 |
.tippy-box[data-animation=shift-away-extreme][data-state=hidden] { |
| 503 |
opacity: 0; |
| 504 |
} |
| 505 |
.tippy-box[data-animation=shift-away-extreme][data-state=hidden][data-placement^=top] { |
| 506 |
-webkit-transform: translateY(20px); |
| 507 |
-ms-transform: translateY(20px); |
| 508 |
transform: translateY(20px); |
| 509 |
} |
| 510 |
.tippy-box[data-animation=shift-away-extreme][data-state=hidden][data-placement^=bottom] { |
| 511 |
-webkit-transform: translateY(-20px); |
| 512 |
-ms-transform: translateY(-20px); |
| 513 |
transform: translateY(-20px); |
| 514 |
} |
| 515 |
.tippy-box[data-animation=shift-away-extreme][data-state=hidden][data-placement^=left] { |
| 516 |
-webkit-transform: translateX(20px); |
| 517 |
-ms-transform: translateX(20px); |
| 518 |
transform: translateX(20px); |
| 519 |
} |
| 520 |
.tippy-box[data-animation=shift-away-extreme][data-state=hidden][data-placement^=right] { |
| 521 |
-webkit-transform: translateX(-20px); |
| 522 |
-ms-transform: translateX(-20px); |
| 523 |
transform: translateX(-20px); |
| 524 |
} |
| 525 |
|
| 526 |
.tippy-box[data-animation=shift-toward][data-state=hidden] { |
| 527 |
opacity: 0; |
| 528 |
} |
| 529 |
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top] { |
| 530 |
-webkit-transform: translateY(-10px); |
| 531 |
-ms-transform: translateY(-10px); |
| 532 |
transform: translateY(-10px); |
| 533 |
} |
| 534 |
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom] { |
| 535 |
-webkit-transform: translateY(10px); |
| 536 |
-ms-transform: translateY(10px); |
| 537 |
transform: translateY(10px); |
| 538 |
} |
| 539 |
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left] { |
| 540 |
-webkit-transform: translateX(-10px); |
| 541 |
-ms-transform: translateX(-10px); |
| 542 |
transform: translateX(-10px); |
| 543 |
} |
| 544 |
.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right] { |
| 545 |
-webkit-transform: translateX(10px); |
| 546 |
-ms-transform: translateX(10px); |
| 547 |
transform: translateX(10px); |
| 548 |
} |
| 549 |
|
| 550 |
.tippy-box[data-animation=shift-toward-subtle][data-state=hidden] { |
| 551 |
opacity: 0; |
| 552 |
} |
| 553 |
.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden] { |
| 554 |
-webkit-transform: translateY(-5px); |
| 555 |
-ms-transform: translateY(-5px); |
| 556 |
transform: translateY(-5px); |
| 557 |
} |
| 558 |
.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden] { |
| 559 |
-webkit-transform: translateY(5px); |
| 560 |
-ms-transform: translateY(5px); |
| 561 |
transform: translateY(5px); |
| 562 |
} |
| 563 |
.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden] { |
| 564 |
-webkit-transform: translateX(-5px); |
| 565 |
-ms-transform: translateX(-5px); |
| 566 |
transform: translateX(-5px); |
| 567 |
} |
| 568 |
.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden] { |
| 569 |
-webkit-transform: translateX(5px); |
| 570 |
-ms-transform: translateX(5px); |
| 571 |
transform: translateX(5px); |
| 572 |
} |
| 573 |
|
| 574 |
.tippy-box[data-animation=shift-toward-extreme][data-state=hidden] { |
| 575 |
opacity: 0; |
| 576 |
} |
| 577 |
.tippy-box[data-animation=shift-toward-extreme][data-state=hidden][data-placement^=top] { |
| 578 |
-webkit-transform: translateY(-20px); |
| 579 |
-ms-transform: translateY(-20px); |
| 580 |
transform: translateY(-20px); |
| 581 |
} |
| 582 |
.tippy-box[data-animation=shift-toward-extreme][data-state=hidden][data-placement^=bottom] { |
| 583 |
-webkit-transform: translateY(20px); |
| 584 |
-ms-transform: translateY(20px); |
| 585 |
transform: translateY(20px); |
| 586 |
} |
| 587 |
.tippy-box[data-animation=shift-toward-extreme][data-state=hidden][data-placement^=left] { |
| 588 |
-webkit-transform: translateX(-20px); |
| 589 |
-ms-transform: translateX(-20px); |
| 590 |
transform: translateX(-20px); |
| 591 |
} |
| 592 |
.tippy-box[data-animation=shift-toward-extreme][data-state=hidden][data-placement^=right] { |
| 593 |
-webkit-transform: translateX(20px); |
| 594 |
-ms-transform: translateX(20px); |
| 595 |
transform: translateX(20px); |
| 596 |
} |
| 597 |
|
| 598 |
.tippy-box[data-placement^=top] > .tippy-svg-arrow { |
| 599 |
bottom: 0; |
| 600 |
} |
| 601 |
.tippy-box[data-placement^=top] > .tippy-svg-arrow::after, |
| 602 |
.tippy-box[data-placement^=top] > .tippy-svg-arrow > svg { |
| 603 |
top: 16px; |
| 604 |
-webkit-transform: rotate(180deg); |
| 605 |
-ms-transform: rotate(180deg); |
| 606 |
transform: rotate(180deg); |
| 607 |
} |
| 608 |
.tippy-box[data-placement^=bottom] > .tippy-svg-arrow { |
| 609 |
top: 0; |
| 610 |
} |
| 611 |
.tippy-box[data-placement^=bottom] > .tippy-svg-arrow > svg { |
| 612 |
bottom: 16px; |
| 613 |
} |
| 614 |
.tippy-box[data-placement^=left] > .tippy-svg-arrow { |
| 615 |
right: 0; |
| 616 |
} |
| 617 |
.tippy-box[data-placement^=left] > .tippy-svg-arrow::after, |
| 618 |
.tippy-box[data-placement^=left] > .tippy-svg-arrow > svg { |
| 619 |
-webkit-transform: rotate(90deg); |
| 620 |
-ms-transform: rotate(90deg); |
| 621 |
transform: rotate(90deg); |
| 622 |
top: calc(50% - 3px); |
| 623 |
left: 11px; |
| 624 |
} |
| 625 |
.tippy-box[data-placement^=right] > .tippy-svg-arrow { |
| 626 |
left: 0; |
| 627 |
} |
| 628 |
.tippy-box[data-placement^=right] > .tippy-svg-arrow::after, |
| 629 |
.tippy-box[data-placement^=right] > .tippy-svg-arrow > svg { |
| 630 |
-webkit-transform: rotate(-90deg); |
| 631 |
-ms-transform: rotate(-90deg); |
| 632 |
transform: rotate(-90deg); |
| 633 |
top: calc(50% - 3px); |
| 634 |
right: 11px; |
| 635 |
} |
| 636 |
|
| 637 |
.tippy-svg-arrow { |
| 638 |
position: absolute; |
| 639 |
width: 16px; |
| 640 |
height: 16px; |
| 641 |
fill: #333; |
| 642 |
text-align: initial; |
| 643 |
} |
| 644 |
.tippy-svg-arrow > svg { |
| 645 |
position: absolute; |
| 646 |
} |