rmc-list-view
Version:
m-list-view ui component for react
139 lines (138 loc) • 3.16 kB
CSS
body {
-webkit-overflow-scrolling: touch;
}
ul,
li {
list-style: none;
}
.rmc-indexed-list-quick-search-bar {
position: fixed;
top: 0;
right: 0;
z-index: 1999;
text-align: center;
font-size: 12px;
}
.rmc-indexed-list-quick-search-bar li {
padding: 5px 10px;
}
.rmc-indexed-list-quick-search-bar-over {
background-color: rgba(128, 128, 128, 0.2);
}
.rmc-indexed-list-qsb-moving {
overflow: hidden;
}
.rmc-indexed-list-qsindicator {
position: absolute;
left: 50%;
top: 50%;
margin: -30px auto auto -60px;
width: 120px;
height: 60px;
background: transparent;
opacity: .7;
color: #0af;
font-size: 40px;
border-radius: 60px;
z-index: 1999;
text-align: center;
line-height: 60px;
}
.rmc-indexed-list-qsindicator-hide {
display: none;
}
.rmc-list-view-pull-up-indicator {
color: grey;
text-align: center;
height: 50px;
line-height: 50px;
margin-bottom: -50px;
}
.rmc-list-view-pull-up-dropped {
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
transition-timing-function: linear;
transition-duration: 0.3s;
}
.list-view-refresh-control-indicator {
color: grey;
text-align: center;
height: 50px;
line-height: 50px;
margin-top: -50px;
}
.list-view-refresh-control-indicator-icon-wrapper {
display: block;
}
.list-view-refresh-control-indicator-loading-wrapper {
display: none;
}
.list-view-refresh-control-loading .list-view-refresh-control-indicator-icon-wrapper {
display: none;
}
.list-view-refresh-control-loading .list-view-refresh-control-indicator-loading-wrapper {
display: block;
}
.list-view-refresh-control-pull {
display: block;
}
.list-view-refresh-control-release {
display: none;
}
.list-view-refresh-control-active .list-view-refresh-control-pull {
display: none;
}
.list-view-refresh-control-active .list-view-refresh-control-release {
display: block;
}
.list-view-refresh-control-deactive .list-view-refresh-control-indicator-icon-wrapper,
.list-view-refresh-control-deactive .list-view-refresh-control-indicator-loading-wrapper {
display: none;
}
.zscroller-scrollbar-y {
position: absolute;
z-index: 9999;
width: 7px;
bottom: 2px;
top: 2px;
right: 1px;
overflow: hidden;
-webkit-transform: translateZ(0px);
transform: translateZ(0px);
transition-property: opacity;
transition-duration: 250ms;
opacity: 0;
}
.zscroller-indicator-y {
box-sizing: border-box;
position: absolute;
border: 1px solid rgba(255, 255, 255, 0.901961);
border-radius: 3px;
width: 100%;
display: block;
background: rgba(0, 0, 0, 0.498039);
}
.zscroller-scrollbar-x {
position: absolute;
z-index: 9999;
height: 7px;
left: 2px;
right: 2px;
bottom: 1px;
overflow: hidden;
-webkit-transform: translateZ(0px);
transform: translateZ(0px);
transition-property: opacity;
transition-duration: 250ms;
opacity: 0;
}
.zscroller-indicator-x {
box-sizing: border-box;
position: absolute;
border: 1px solid rgba(255, 255, 255, 0.901961);
border-radius: 3px;
height: 100%;
display: block;
background: rgba(0, 0, 0, 0.498039);
}