amis/scss/components/_popoverable.scss

34 lines
555 B
SCSS

.#{$ns}Field-popOverBtn {
color: $PopOverAble-iconColor;
margin-left: $gap-xs;
visibility: hidden;
display: inline-block;
cursor: pointer;
opacity: 0.6;
vertical-align: middle;
&:hover {
color: $PopOverAble-onHover-iconColor;
opacity: 1;
}
}
.#{$ns}Field--popOverAble {
outline: none;
position: relative;
&:hover .#{$ns}Field-popOverBtn {
visibility: visible;
}
}
.#{$ns}PopOverAble-popover {
min-width: px2rem(320px);
max-width: px2rem(640px);
.#{$ns}Panel {
margin-bottom: 0;
border: none;
}
}