@pi0/framework7
Version:
Full featured mobile HTML framework for building iOS & Android apps
54 lines (53 loc) • 876 B
text/less
/* === Popover === */
.popover-backdrop {
.modal-backdrop();
}
.popover {
width: 260px;
z-index: 13500;
margin: 0;
top: 0;
opacity: 0;
left: 0;
position: absolute;
display: none;
transition-duration: 300ms;
contain: layout style;
.list {
margin: 0;
ul {
background: none;
}
&:first-child ul {
.hairline-remove(top);
}
&:last-child ul {
.hairline-remove(bottom);
}
}
&.modal-in {
opacity: 1;
}
&.not-animated {
transition-duration: 0ms;
}
}
.popover-inner {
.scrollable();
}
.popover-from-actions-bold {
font-weight: 600;
}
.popover-from-actions-label {
line-height: 1.3;
position: relative;
&:last-child {
.hairline-remove(bottom);
}
}
& when (@include-ios-theme) {
@import url('./popover-ios.less');
}
& when (@include-md-theme) {
@import url('./popover-md.less');
}