UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

132 lines (115 loc) 2.53 kB
@import '../../style/mixins'; @import '../../style/themes/default'; @indexedList: am-indexed-list; .@{indexedList} { &-section-body.am-list-body:after, &-section-body.am-list-body .am-list-item:last-child .am-list-line:after { border: 0; } &-section-header { &.am-list-body:after, &.am-list-body .am-list-item .am-list-line:after { border: 0; } .am-list-item { height: @list-title-height; min-height: @list-title-height; background-color: @fill-body; .am-list-line { height: @list-title-height; min-height: @list-title-height; } .am-list-content { font-size: @font-size-base !important; color: @color-text-caption !important; } } } &-quick-search-bar { position: fixed; top: 0; right: 0; z-index: 0; text-align: center; color: @color-link; font-size: @font-size-caption; list-style: none; padding: 0; li { padding: 0 @h-spacing-sm; } &-over { background-color: @fill-mask; } } &-qsindicator { position: absolute; left: 50%; top: 50%; margin: -30px auto auto -60px; width: 120px; height: 60px; background: transparent; opacity: 0.7; color: #0af; font-size: 40px; border-radius: 60px; z-index: 1999; text-align: center; line-height: 60px; &-hide { display: none; } } } .zscroller { &-scrollbar-y { position: absolute; z-index: 9999; width: 7px; bottom: 2px; top: 2px; right: 1px; overflow: hidden; transform: translateZ(0); transition-property: opacity; transition-duration: 250ms; opacity: 0; } &-indicator-y { box-sizing: border-box; position: absolute; border: @border-width-sm solid rgba(255, 255, 255, 0.901961); border-radius: 3px; width: 100%; display: block; background: rgba(0, 0, 0, 0.498039); } &-scrollbar-x { position: absolute; z-index: 9999; height: 7px; left: 2px; right: 2px; bottom: 1px; overflow: hidden; transform: translateZ(0); transition-property: opacity; transition-duration: 250ms; opacity: 0; } &-indicator-x { box-sizing: border-box; position: absolute; border: @border-width-sm solid rgba(255, 255, 255, 0.901961); border-radius: 3px; height: 100%; display: block; background: rgba(0, 0, 0, 0.498039); } } .am-list-view-scrollview { .sticky { z-index: 999; } }