element/packages/theme-chalk/src/popover.scss

40 lines
812 B
SCSS
Raw Normal View History

@import "mixins/mixins";
@import "common/var";
2017-10-28 07:54:12 +00:00
@import "./popper";
@include b(popover) {
position: absolute;
background: $--popover-fill;
min-width: 150px;
border-radius: 4px;
border: 1px solid $--popover-border-color;
padding: $--popover-padding;
z-index: $--index-popper;
color: $--color-text-regular;
2017-10-25 10:31:51 +00:00
line-height: 1.4;
text-align: justify;
font-size: $--popover-font-size;
box-shadow: $--box-shadow-light;
@include m(plain) {
padding: $--popover-padding-large;
}
@include e(title) {
color: $--popover-title-color;
font-size: $--popover-title-font-size;
line-height: 1;
2017-10-25 10:31:51 +00:00
margin-bottom: 12px;
}
2017-11-12 11:52:36 +00:00
@include e(reference) {
&:focus:not(.focusing), &:focus:hover {
outline-width: 0;
}
}
&:focus:active, &:focus {
outline-width: 0;
}
}