vendor: amis 6.13.0 base (fork root)
This commit is contained in:
54
packages/amis-ui/scss/components/_popover.scss
Normal file
54
packages/amis-ui/scss/components/_popover.scss
Normal file
@@ -0,0 +1,54 @@
|
||||
.#{$ns}PopOver {
|
||||
position: absolute;
|
||||
background: var(--PopOver-bg);
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: $zindex-popover;
|
||||
display: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-weight: var(--fontWeightNormal);
|
||||
letter-spacing: normal;
|
||||
line-height: var(--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: var(--fontSizeBase);
|
||||
box-shadow: var(--boxShadow);
|
||||
border: var(--common-popover-border);
|
||||
border-radius: var(--borderRadius);
|
||||
|
||||
& > * {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
&-overlay {
|
||||
position: fixed !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
bottom: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&-isMobile {
|
||||
.#{$ns}PopOver-overlay {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
&--leftBottomLeftTop {
|
||||
margin-top: px2rem(4px);
|
||||
}
|
||||
&--leftTopLeftBottom {
|
||||
margin-top: px2rem(-4px);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user