2018-12-07 22:12:23 -05:00
|
|
|
.popover {
|
2019-05-16 14:05:56 -04:00
|
|
|
max-width: $popover-max-width;
|
|
|
|
border: 1px solid $gray-200;
|
|
|
|
box-shadow: 0 2px 3px 1px $gray-200;
|
|
|
|
font-size: $gl-font-size-small;
|
2018-12-07 22:12:23 -05:00
|
|
|
|
2019-05-16 14:05:56 -04:00
|
|
|
.category-icon {
|
|
|
|
color: $gray-600;
|
2018-12-07 22:12:23 -05:00
|
|
|
}
|
2019-05-06 18:12:58 -04:00
|
|
|
|
2019-05-16 14:05:56 -04:00
|
|
|
/**
|
|
|
|
* Blue popover variation
|
|
|
|
*/
|
2019-05-06 18:12:58 -04:00
|
|
|
&.blue {
|
|
|
|
background-color: $blue-600;
|
2019-05-16 14:05:56 -04:00
|
|
|
border-color: $blue-600;
|
2019-05-06 18:12:58 -04:00
|
|
|
|
|
|
|
.popover-body {
|
|
|
|
color: $white-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bs-popover-bottom {
|
2019-05-16 14:05:56 -04:00
|
|
|
.arrow::before,
|
2019-05-06 18:12:58 -04:00
|
|
|
.arrow::after {
|
|
|
|
border-bottom-color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bs-popover-top {
|
2019-05-16 14:05:56 -04:00
|
|
|
.arrow::before,
|
2019-05-06 18:12:58 -04:00
|
|
|
.arrow::after {
|
|
|
|
border-top-color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
2019-05-16 14:05:56 -04: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 {
|
|
|
|
border-top-color: $gray-200;
|
|
|
|
bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .arrow::after {
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-bottom {
|
|
|
|
> .arrow::before {
|
|
|
|
border-bottom-color: $gray-200;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .popover-header::before {
|
|
|
|
border-color: $white-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-right > .arrow::before {
|
|
|
|
border-right-color: $gray-200;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-popover-left > .arrow::before {
|
|
|
|
border-left-color: $gray-200;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-header {
|
|
|
|
background-color: $white-light;
|
|
|
|
font-size: $gl-font-size-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-body {
|
2019-05-30 14:15:57 -04:00
|
|
|
padding: $gl-padding $gl-padding-12;
|
2019-05-16 14:05:56 -04:00
|
|
|
|
|
|
|
> .popover-hr {
|
|
|
|
margin: $gl-padding 0;
|
2019-05-06 18:12:58 -04:00
|
|
|
}
|
2018-12-07 22:12:23 -05:00
|
|
|
}
|
2019-03-01 16:41:16 -05:00
|
|
|
|
2019-05-16 14:05:56 -04:00
|
|
|
/**
|
|
|
|
* mr_popover component
|
|
|
|
*/
|
2019-03-01 16:41:16 -05:00
|
|
|
.mr-popover {
|
|
|
|
.text-secondary {
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 1.33;
|
|
|
|
}
|
|
|
|
}
|
2019-05-06 18:12:58 -04:00
|
|
|
|
2019-06-07 03:31:40 -04:00
|
|
|
.onboarding-popover {
|
|
|
|
box-shadow: 0 2px 4px $dropdown-shadow-color;
|
|
|
|
|
|
|
|
.popover-body {
|
|
|
|
font-size: $gl-font-size;
|
|
|
|
line-height: $gl-line-height;
|
|
|
|
padding: $gl-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accept-mr-label {
|
|
|
|
background-color: $accepting-mr-label-color;
|
|
|
|
color: $white-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-16 14:05:56 -04:00
|
|
|
/**
|
|
|
|
* user_popover component
|
|
|
|
*/
|
|
|
|
.user-popover {
|
|
|
|
padding: $gl-padding-8;
|
|
|
|
line-height: $gl-line-height;
|
|
|
|
}
|
|
|
|
|
2019-05-06 18:12:58 -04:00
|
|
|
.onboarding-welcome-page {
|
|
|
|
.popover {
|
|
|
|
min-width: auto;
|
|
|
|
max-width: 40%;
|
|
|
|
|
|
|
|
.popover-body {
|
|
|
|
padding-top: $gl-padding;
|
|
|
|
padding-bottom: $gl-padding;
|
|
|
|
font-size: $gl-font-size-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|