phpvms/resources/sass/now-ui/now-ui-kit/mixins/_popovers.scss

26 lines
504 B
SCSS
Raw Normal View History

2017-07-28 20:13:52 +08:00
@mixin popover-color($color, $text-color) {
background-color: $color;
color: $text-color;
&.bs-tether-element-attached-right:after{
border-left-color:$color;
}
&.bs-tether-element-attached-top:after{
border-bottom-color:$color;
}
&.bs-tether-element-attached-bottom:after{
border-top-color:$color;
}
&.bs-tether-element-attached-left:after{
border-right-color:$color;
}
.popover-title{
color: $text-color;
}
}