@@ -122,6 +122,7 @@ governing permissions and limitations under the License.
122
122
}
123
123
124
124
& .is-open {
125
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
125
126
@inherit : %spectrum- overlay- - open;
126
127
}
127
128
@@ -399,6 +400,7 @@ governing permissions and limitations under the License.
399
400
400
401
/* tooltip animates upward ⬆ */
401
402
& .is-open {
403
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
402
404
@inherit : %spectrum- overlay- - to p- - open;
403
405
}
404
406
}
@@ -414,6 +416,7 @@ governing permissions and limitations under the License.
414
416
415
417
/* Tooltip animates downward ⬇ */
416
418
& .is-open {
419
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
417
420
@inherit : %spectrum- overlay- - botto m- - open;
418
421
}
419
422
}
@@ -427,6 +430,7 @@ governing permissions and limitations under the License.
427
430
428
431
/* Tooltip animates to right ⮕ */
429
432
& .is-open {
433
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
430
434
@inherit : %spectrum- overlay- - right- - open;
431
435
}
432
436
}
@@ -440,6 +444,7 @@ governing permissions and limitations under the License.
440
444
441
445
/* Tooltip animates to left ⬅ */
442
446
& .is-open {
447
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
443
448
@inherit : %spectrum- overlay- - left- - open;
444
449
}
445
450
}
@@ -453,12 +458,14 @@ governing permissions and limitations under the License.
453
458
454
459
/* LTR read, tooltip animates towards left ⬅ */
455
460
& .is-open {
461
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
456
462
@inherit : %spectrum- overlay- - left- - open;
457
463
}
458
464
459
465
/* RTL read, tooltip animates towards right ⮕ */
460
466
[dir = "rtl" ] & {
461
467
& .is-open {
468
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
462
469
@inherit : %spectrum- overlay- - right- - open;
463
470
}
464
471
}
@@ -473,12 +480,14 @@ governing permissions and limitations under the License.
473
480
474
481
/* LTR read, tooltip animates towards right ⮕ */
475
482
& .is-open {
483
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
476
484
@inherit : %spectrum- overlay- - right- - open;
477
485
}
478
486
479
487
/* RTL read, tooltip animates towards left ⬅ */
480
488
[dir = "rtl" ] & {
481
489
& .is-open {
490
+ --spectrum-overlay-animation-distance : var (--mod-tooltip-animation-distance , var (--spectrum-tooltip-animation-distance ));
482
491
@inherit : %spectrum- overlay- - left- - open;
483
492
}
484
493
}
0 commit comments