2018-12-08 03:12:23 +00:00
|
|
|
.popover {
|
2019-05-16 18:05:56 +00:00
|
|
|
max-width: $popover-max-width;
|
2020-07-13 15:09:08 +00:00
|
|
|
border: 1px solid $gray-100;
|
2020-06-11 15:08:36 +00:00
|
|
|
box-shadow: $popover-box-shadow;
|
2019-05-16 18:05:56 +00:00
|
|
|
font-size: $gl-font-size-small;
|
2018-12-08 03:12:23 +00:00
|
|
|
|
2019-05-16 18:05:56 +00:00
|
|
|
/**
|
|
|
|
* Blue popover variation
|
|
|
|
*/
|
2019-05-06 22:12:58 +00:00
|
|
|
&.blue {
|
|
|
|
background-color: $blue-600;
|
2019-05-16 18:05:56 +00:00
|
|
|
border-color: $blue-600;
|
2019-05-06 22:12:58 +00:00
|
|
|
|
|
|
|
.popover-body {
|
2020-03-31 00:08:09 +00:00
|
|
|
color: $white;
|
2019-05-06 22:12:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.bs-popover-bottom {
|
2019-05-16 18:05:56 +00:00
|
|
|
.arrow::before,
|
2019-05-06 22:12:58 +00:00
|
|
|
.arrow::after {
|
|
|
|
border-bottom-color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bs-popover-top {
|
2019-05-16 18:05:56 +00:00
|
|
|
.arrow::before,
|
2019-05-06 22:12:58 +00:00
|
|
|
.arrow::after {
|
|
|
|
border-top-color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
2019-05-16 18:05:56 +00:00
|
|
|
|
|
|
|
&.bs-popover-right {
|
|
|
|
.arrow::after,
|
|
|
|
.arrow::before {
|
|
|
|
border-right-color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bs-popover-left {
|
|
|
|
.arrow::before,
|
|
|
|
.arrow::after {
|
|
|
|
border-left-color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-top {
|
|
|
|
/* When popover position is top, the arrow is translated 1 pixel
|
|
|
|
* due to the box-shadow include in our custom styles.
|
|
|
|
*/
|
|
|
|
> .arrow::before {
|
2020-07-13 15:09:08 +00:00
|
|
|
border-top-color: $gray-100;
|
2019-05-16 18:05:56 +00:00
|
|
|
bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .arrow::after {
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-bottom {
|
|
|
|
> .arrow::before {
|
2020-07-13 15:09:08 +00:00
|
|
|
border-bottom-color: $gray-100;
|
2019-05-16 18:05:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> .popover-header::before {
|
2020-03-31 00:08:09 +00:00
|
|
|
border-color: $white;
|
2019-05-16 18:05:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-right > .arrow::before {
|
2020-07-13 15:09:08 +00:00
|
|
|
border-right-color: $gray-100;
|
2019-05-16 18:05:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-left > .arrow::before {
|
2020-07-13 15:09:08 +00:00
|
|
|
border-left-color: $gray-100;
|
2019-05-16 18:05:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-header {
|
2020-03-31 00:08:09 +00:00
|
|
|
background-color: $white;
|
2019-05-16 18:05:56 +00:00
|
|
|
font-size: $gl-font-size-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-body {
|
2019-05-30 18:15:57 +00:00
|
|
|
padding: $gl-padding $gl-padding-12;
|
2019-05-16 18:05:56 +00:00
|
|
|
|
|
|
|
> .popover-hr {
|
|
|
|
margin: $gl-padding 0;
|
2019-05-06 22:12:58 +00:00
|
|
|
}
|
2018-12-08 03:12:23 +00:00
|
|
|
}
|
2019-03-01 21:41:16 +00:00
|
|
|
|
2019-05-16 18:05:56 +00:00
|
|
|
/**
|
|
|
|
* mr_popover component
|
|
|
|
*/
|
2019-03-01 21:41:16 +00:00
|
|
|
.mr-popover {
|
|
|
|
.text-secondary {
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 1.33;
|
|
|
|
}
|
|
|
|
}
|
2019-05-06 22:12:58 +00:00
|
|
|
|
2020-03-04 09:08:20 +00:00
|
|
|
.suggest-gitlab-ci-yml {
|
|
|
|
margin-top: -1em;
|
|
|
|
|
|
|
|
.popover-header {
|
|
|
|
padding: $gl-padding;
|
2020-03-09 18:07:59 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-03-04 09:08:20 +00:00
|
|
|
}
|
|
|
|
}
|