mirror of
https://github.com/uhIgnacio/igna.rocks.git
synced 2024-08-15 02:23:12 +00:00
30 lines
680 B
Text
30 lines
680 B
Text
/* Bubble Float Bottom */
|
|
.bubble-float-bottom() {
|
|
.hacks();
|
|
position: relative;
|
|
.prefixed(transition-duration, @mediumDuration);
|
|
.prefixed(transition-property, transform);
|
|
|
|
&:before {
|
|
position: absolute;
|
|
z-index: -1;
|
|
content: '';
|
|
left: calc(~"50%" - @tipWidth);
|
|
bottom: 0;
|
|
border-style: solid;
|
|
border-width: @tipHeight @tipWidth 0 @tipWidth;
|
|
border-color: @tipColor transparent transparent transparent;
|
|
.prefixed(transition-duration, @mediumDuration);
|
|
.prefixed(transition-property, transform);
|
|
}
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
.prefixed(transform, translateY(-(@tipHeight)));
|
|
|
|
&:before {
|
|
.prefixed(transform, translateY(@tipHeight));
|
|
}
|
|
}
|
|
}
|