taiga-front/app/styles/components/popover.scss

31 lines
696 B
SCSS

@mixin popover($width, $top: '', $left: '', $bottom: '', $right: '') {
background: $blackish;
bottom: #{$bottom};
color: $white;
display: none;
font-family: 'DroidSans';
left: #{$left};
list-style-type: none;
margin: 0;
padding: 10px;
position: absolute;
right: #{$right};
top: #{$top};
width: $width;
z-index: 99;
a {
@extend %small;
border-bottom: 1px solid $grayer;
color: $white;
display: block;
padding: 10px 2px;
&:last-child {
border: 0;
}
&:hover {
color: $fresh-taiga;
@include transition (color .3s linear);
}
}
}