amis2/scss/components/_popover.scss

42 lines
836 B
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
.#{$ns}PopOver {
2019-12-06 09:58:08 +08:00
position: absolute;
background: var(--PopOver-bg);
2019-12-06 09:58:08 +08:00
top: 0;
left: 0;
z-index: $zindex-popover;
display: none;
padding: 0;
margin: 0;
font-weight: var(--fontWeightNormal);
2019-12-06 09:58:08 +08:00
letter-spacing: normal;
line-height: var(--lineHeightBase);
2019-12-06 09:58:08 +08:00
text-align: left;
text-align: start;
text-decoration: none;
text-shadow: none;
text-transform: none;
white-space: normal;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
font-size: var(--fontSizeBase);
box-shadow: var(--boxShadow);
border: var(--borderWidth) solid var(--borderColor);
border-radius: var(--borderRadius);
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
& > * {
position: relative;
z-index: 2;
}
2019-12-06 09:58:08 +08:00
&-overlay {
position: fixed !important;
top: 0;
left: 0;
right: 0;
z-index: 1;
bottom: 0;
background: transparent;
}
}