2017-08-23 10:07:14 +00:00
|
|
|
@import "mixins/mixins";
|
|
|
|
@import "common/var";
|
2017-10-28 07:54:12 +00:00
|
|
|
@import "./popper";
|
2017-08-23 10:07:14 +00:00
|
|
|
|
|
|
|
@include b(popover) {
|
|
|
|
position: absolute;
|
|
|
|
background: $--popover-fill;
|
|
|
|
min-width: 150px;
|
2017-09-14 03:34:13 +00:00
|
|
|
border-radius: 4px;
|
2017-08-23 10:07:14 +00:00
|
|
|
border: 1px solid $--popover-border-color;
|
|
|
|
padding: $--popover-padding;
|
|
|
|
z-index: $--index-popper;
|
2017-09-14 03:34:13 +00:00
|
|
|
color: $--color-text-regular;
|
2017-10-25 10:31:51 +00:00
|
|
|
line-height: 1.4;
|
2017-09-14 03:34:13 +00:00
|
|
|
text-align: justify;
|
2017-08-23 10:07:14 +00:00
|
|
|
font-size: $--popover-font-size;
|
2017-09-14 03:34:13 +00:00
|
|
|
box-shadow: $--box-shadow-light;
|
|
|
|
|
|
|
|
@include m(plain) {
|
|
|
|
padding: $--popover-padding-large;
|
|
|
|
}
|
2017-08-23 10:07:14 +00:00
|
|
|
|
2017-09-19 04:47:13 +00:00
|
|
|
@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-09-19 04:47:13 +00:00
|
|
|
}
|
2017-11-12 11:52:36 +00:00
|
|
|
|
|
|
|
@include e(reference) {
|
|
|
|
&:focus:not(.focusing), &:focus:hover {
|
|
|
|
outline-width: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-01-16 11:29:04 +00:00
|
|
|
|
|
|
|
&:focus:active, &:focus {
|
|
|
|
outline-width: 0;
|
|
|
|
}
|
2017-09-19 04:47:13 +00:00
|
|
|
}
|