| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 | //@import '../theme/variables.scss';@import "./animation.scss";@import './variables.scss';$module: #{$prefix}-tooltip;$module-icon: #{$module}-icon-arrow;@keyframes #{$module}-zoomIn {    from {        opacity: $motion-zoom_opacity-from;        transform: scale($motion-zoom_scale-from, $motion-zoom_scale-from);    }    50% {        opacity: $motion-zoom_opacity-to;    }}@keyframes #{$module}-bounceIn {    from {        opacity: 0;        transform: scale(0.6, 0.6);    }    70% {        opacity: 1;        transform: scale(1.01, 1.01);    }    to {        opacity: 1;        transform: scale(1, 1);        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);    }}@keyframes #{$module}-zoomOut {    from {        opacity: $motion-zoom_opacity-to;    }    60% {        opacity: $motion-zoom_opacity-from;        transform: scale($motion-zoom_scale-from, $motion-zoom_scale-from);    }    to {        opacity: $motion-zoom_opacity-from;    }}.#{$module} {    &-wrapper {        position: relative;        background-color: $color-tooltip-bg-default;        color: $color-tooltip-text-default;        // z-index: $z-tooltip; // TODO z-index定义需要收敛        border-radius: $radius-tooltip;        padding-top: $spacing-tooltip_content-paddingTop;        padding-right: $spacing-tooltip_content-paddingRight;        padding-bottom: $spacing-tooltip_content-paddingBottom;        padding-left: $spacing-tooltip_content-paddingLeft;        font-size: $font-tooltip-fontSize;        left: 0;        top: 0;        @include font-size-regular;        opacity: 0;        max-width: $width-tooltip;        &-show {            opacity: 1;        }    }    &-trigger {        display: inline-block;        width: auto;        height: auto;    }    &-with-arrow {        // padding: 12px;        display: flex;        align-items: center;        justify-content: center;        box-sizing: border-box;    }    &-animation-show{        animation: #{$module}-zoomIn $animation_duration-tooltip_in $animation_function-tooltip_in;    }    &-animation-hide{        animation: #{$module}-zoomOut $animation_duration-tooltip_out $animation_function-tooltip_out;    }}@import './arrow.scss';@import './rtl.scss';
 |