amis2/scss/components/_popover.scss
2019-12-06 09:58:08 +08:00

42 lines
788 B
SCSS

.#{$ns}PopOver {
position: absolute;
background: $PopOver-bg;
top: 0;
left: 0;
z-index: $zindex-popover;
display: none;
padding: 0;
margin: 0;
font-weight: $fontWeightNormal;
letter-spacing: normal;
line-height: $lineHeightBase;
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: $fontSizeBase;
box-shadow: $boxShadow;
border: $borderWidth solid $borderColor;
border-radius: $borderRadius;
& > * {
position: relative;
z-index: 2;
}
&-overlay {
position: fixed !important;
top: 0;
left: 0;
right: 0;
z-index: 1;
bottom: 0;
background: transparent;
}
}