2020-11-22 20:50:07 +00:00
|
|
|
/*
|
2021-01-06 20:37:59 +00:00
|
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
2020-11-22 20:50:07 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-09-13 16:04:02 +00:00
|
|
|
.bs-tooltip-top {
|
|
|
|
.arrow {
|
|
|
|
&::before {
|
|
|
|
border-top-color: $tooltip-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-tooltip-right {
|
|
|
|
.arrow {
|
|
|
|
&::before {
|
|
|
|
border-right-color: $tooltip-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-tooltip-bottom {
|
|
|
|
.arrow {
|
|
|
|
&::before {
|
|
|
|
border-bottom-color: $tooltip-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-tooltip-left {
|
|
|
|
.arrow {
|
|
|
|
&::before {
|
|
|
|
border-left-color: $tooltip-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-tooltip-auto {
|
|
|
|
&[x-placement^="top"] {
|
|
|
|
@extend .bs-tooltip-top;
|
|
|
|
}
|
2021-02-03 21:13:04 +00:00
|
|
|
|
2020-09-13 16:04:02 +00:00
|
|
|
&[x-placement^="right"] {
|
|
|
|
@extend .bs-tooltip-right;
|
|
|
|
}
|
2021-02-03 21:13:04 +00:00
|
|
|
|
2020-09-13 16:04:02 +00:00
|
|
|
&[x-placement^="bottom"] {
|
|
|
|
@extend .bs-tooltip-bottom;
|
|
|
|
}
|
2021-02-03 21:13:04 +00:00
|
|
|
|
2020-09-13 16:04:02 +00:00
|
|
|
&[x-placement^="left"] {
|
|
|
|
@extend .bs-tooltip-left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper for the tooltip content
|
|
|
|
.tooltip-inner {
|
|
|
|
color: $tooltip-color;
|
|
|
|
background-color: $tooltip-bg;
|
|
|
|
}
|