2018-01-11 04:16:27 +00:00
|
|
|
.feature-highlight {
|
|
|
|
position: relative;
|
|
|
|
margin-left: $gl-padding;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 6px;
|
|
|
|
left: 6px;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background-color: $blue-500;
|
|
|
|
border-radius: 50%;
|
|
|
|
box-shadow: 0 0 0 rgba($blue-500, 0.4);
|
|
|
|
animation: pulse-highlight 2s infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::before,
|
|
|
|
&.disable-animation::before {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled]::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-showing-fly-out {
|
|
|
|
.feature-highlight {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-highlight-popover-content {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
hr {
|
2019-05-30 18:15:57 +00:00
|
|
|
margin: $gl-padding 0;
|
2018-01-11 04:16:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-link {
|
|
|
|
svg {
|
|
|
|
@include btn-svg;
|
|
|
|
|
|
|
|
path {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-highlight-illustration {
|
|
|
|
width: 100%;
|
|
|
|
height: 100px;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
|
|
|
|
background-color: $indigo-50;
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-bottom: 1px solid darken($gray-normal, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover .feature-highlight-popover-content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-highlight-popover {
|
|
|
|
width: 240px;
|
|
|
|
|
|
|
|
&.right > .arrow {
|
2018-08-22 16:40:38 +00:00
|
|
|
border-right-color: $border-color;
|
2018-01-11 04:16:27 +00:00
|
|
|
}
|
|
|
|
|
2018-05-21 16:48:06 +00:00
|
|
|
.popover-body {
|
2018-01-11 04:16:27 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-highlight-popover-sub-content {
|
2019-05-30 18:15:57 +00:00
|
|
|
padding: $gl-padding $gl-padding-12;
|
2018-01-11 04:16:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include keyframes(pulse-highlight) {
|
|
|
|
0% {
|
|
|
|
box-shadow: 0 0 0 0 rgba($blue-200, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
70% {
|
|
|
|
box-shadow: 0 0 0 10px transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
box-shadow: 0 0 0 0 transparent;
|
|
|
|
}
|
|
|
|
}
|