tfp
Version:
A Web UI framework for TaskBuilder
92 lines • 1.63 kB
CSS
.tfp-mask-div {
position: absolute;
z-index: 10000;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-color: #000000;
opacity: 0.2;
}
.tfp-popuplist {
position: absolute;
z-index: 10001;
left: 0px;
right: 0px;
bottom: 0;
height: 360px;
border: 1px solid #cccccc;
background-color: #FFFFFF;
border-radius: 10px 10px 0 0;
}
.tfp-popuplist-content {
position: absolute;
z-index: 1;
top: 10px;
left: 20px;
right: 20px;
bottom: 70px;
display: flex;
justify-content:center;
}
.tfp-popuplist-content-column {
width: 100%;
height: 280px;
overflow: hidden;
}
.tfp-popuplist-content-items {
width: 100%;
}
.tfp-popuplist-content-item {
width: 100%;
height: 40px;
line-height: 40px;
font-size: 16px;
text-align: center;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.tfp-popuplist-mask {
position: absolute;
z-index: 10;
left: 20px;
right: 20px;
height: 40px;
}
.tfp-popuplist-touch {
position: absolute;
z-index: 20;
top: 10px;
left: 20px;
right: 20px;
bottom: 70px;
background: transparent;
}
.tfp-popuplist-bottom {
position: absolute;
z-index: 1;
left: 0;
bottom: 0;
right: 0;
height: 60px;
}
.tfp-popuplist-bottom div {
float: left;
width: 100px;
height: 36px;
line-height: 36px;
text-align: center;
font-size: 16px;
cursor: pointer;
user-select: none;
}
.tfp-popuplist-bottom div:first-child {
margin-left: calc(50% - 110px);
background-color: #0066ff;
color: #FFFFFF;
}
.tfp-popuplist-bottom div:last-child {
margin-left: 20px;
background-color: #F0f0f0;
}