@insaic/neon
Version:
A Mobile UI Components built on Vue
163 lines (161 loc) • 3.77 kB
CSS
.sq-choose-city {
overflow-x: hidden;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 333;
font-size: 14px;
background: #fff;
-webkit-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
}
.sq-choose-city-wrapper {
background: #fff;
width: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.sq-choose-city-inner {
width: 100%;
padding-left: 15px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.sq-choose-city-current-city {
width: 100%;
height: 52px;
line-height: 52px;
}
.sq-choose-city-current-city-title {
color: #666;
}
.sq-choose-city-city-wrap {
height: auto;
}
.sq-choose-city-city-item {
list-style: none;
}
.sq-choose-city-menu-title {
margin: 0;
padding: 0;
font-weight: 400;
font-size: 14px;
position: relative;
height: 50px;
line-height: 50px;
}
.sq-choose-city-menu-title::before {
content: " ";
position: absolute;
left: 0;
right: 0;
height: 1px;
border: 0 solid #e5e5e5;
color: #e5e5e5;
background-color: #e5e5e5;
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transform: scaleY(0.5);
-ms-transform: scaleY(0.5);
transform: scaleY(0.5);
z-index: 0;
bottom: 0;
border-bottom: 1px;
}
.sq-choose-city-item-list-item {
height: 52px;
line-height: 52px;
list-style: none;
}
.sq-choose-city-index-wrap {
position: fixed;
top: 0;
right: 0;
width: 30px;
height: 100%;
bottom: 0;
font-size: 12px;
z-index: 444;
}
.sq-choose-city-index-wrap.select {
background: rgba(0, 0, 0, 0.3);
}
.sq-choose-city-index-inner {
position: fixed;
bottom: 0;
right: 0;
width: 30px;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.sq-choose-city-index-title {
color: #007AFF;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
position: relative;
}
.sq-choose-city-index-title > .active {
display: inline-block;
width: 15px;
height: 15px;
line-height: 15px;
text-align: center;
background: #007AFF;
color: #fff;
border-radius: 1000px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
vertical-align: middle;
}
.car-index {
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 80px;
height: 80px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.3);
z-index: 99999;
text-align: center;
line-height: 80px;
color: #fff;
font-size: 24px;
font-weight: bold;
}