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
|
|
|
.popover {
|
|
|
|
background-color: $popover-bg;
|
|
|
|
border: $popover-border-width solid $popover-border-color;
|
|
|
|
@include box-shadow($popover-box-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-top {
|
|
|
|
> .arrow {
|
|
|
|
&::before {
|
|
|
|
border-top-color: $popover-arrow-outer-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-top-color: $popover-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-right {
|
|
|
|
> .arrow {
|
|
|
|
&::before {
|
|
|
|
border-right-color: $popover-arrow-outer-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-right-color: $popover-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-bottom {
|
|
|
|
> .arrow {
|
|
|
|
&::before {
|
|
|
|
border-bottom-color: $popover-arrow-outer-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-bottom-color: $popover-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-left {
|
|
|
|
> .arrow {
|
|
|
|
&::before {
|
|
|
|
border-left-color: $popover-arrow-outer-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-left-color: $popover-arrow-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-auto {
|
|
|
|
&[x-placement^="top"] {
|
|
|
|
@extend .bs-popover-top;
|
|
|
|
}
|
2021-02-03 21:13:04 +00:00
|
|
|
|
2020-09-13 16:04:02 +00:00
|
|
|
&[x-placement^="right"] {
|
|
|
|
@extend .bs-popover-right;
|
|
|
|
}
|
2021-02-03 21:13:04 +00:00
|
|
|
|
2020-09-13 16:04:02 +00:00
|
|
|
&[x-placement^="bottom"] {
|
|
|
|
@extend .bs-popover-bottom;
|
|
|
|
}
|
2021-02-03 21:13:04 +00:00
|
|
|
|
2020-09-13 16:04:02 +00:00
|
|
|
&[x-placement^="left"] {
|
|
|
|
@extend .bs-popover-left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Offset the popover to account for the popover arrow
|
|
|
|
.popover-header {
|
|
|
|
color: $popover-header-color;
|
|
|
|
background-color: $popover-header-bg;
|
|
|
|
border-bottom-color: darken($popover-header-bg, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-body {
|
|
|
|
color: $popover-body-color;
|
|
|
|
}
|