debian-mirror-gitlab/app/assets/stylesheets/framework/feature_highlight.scss

54 lines
885 B
SCSS
Raw Normal View History

2018-03-17 18:26:18 +05:30
.feature-highlight {
&::before {
content: '';
display: block;
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;
}
}
2021-03-11 19:13:27 +05:30
.feature-highlight-illustration {
background-color: $indigo-50;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom: 1px solid darken($gray-normal, 8%);
2018-03-17 18:26:18 +05:30
}
.feature-highlight-popover {
width: 240px;
2018-11-08 19:23:39 +05:30
.popover-body {
2018-03-17 18:26:18 +05:30
padding: 0;
}
}
@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;
}
}