懒羊羊
2023-08-30 71e81ed1d12e4d69f53c8ad9e066650ad4186293
提交 | 用户 | 时间
71e81e 1 .city-picker-input {
2     opacity: 0 !important;
3     top: -9999px;
4     left: -9999px;
5     position: absolute;
6 }
7
8 .city-picker-span {
9     position: relative;
10     display: block;
11     outline: 0;
12     -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
13     border: 1px solid #E6E6E6;
14     border-radius: 2px;
15     background-color: #fff;
16     color: #ccc;
17     cursor: pointer;
18     width: auto !important;
19     padding-right: 22px;
20     padding-left: 5px;
21     box-sizing: border-box;
22     overflow: hidden;
23 }
24
25 .city-picker-span > .placeholder {
26     color: #aaa;
27 }
28
29 .city-picker-span > .arrow {
30     position: absolute;
31     top: 50%;
32     right: 8px;
33     width: 10px;
34     margin-top: -3px;
35     height: 5px;
36     background: url(drop-arrow.png) -10px -25px no-repeat;
37 }
38
39 .city-picker-span.focus,
40 .city-picker-span.open {
41     border-color: #C0C4CC;
42 }
43
44 .city-picker-span.open > .arrow {
45     background-position: -10px -10px;
46 }
47
48 .city-picker-span > .title > span {
49     color: #333;
50     padding: 5px;
51     border-radius: 3px;
52 }
53
54 .city-picker-span > .title > span:hover {
55     background-color: #EEF7F1;
56 }
57
58 .city-picker-dropdown {
59     position: absolute;
60     width: 315px;
61     left: -9999px;
62     top: -9999px;
63     outline: 0;
64     -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
65     z-index: 999999;
66     display: none;
67     min-width: 330px;
68     margin-bottom: 20px;
69     margin-top: 5px;
70 }
71
72 .city-select-wrap {
73     box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
74 }
75
76 .city-select-tab {
77     border-bottom: 1px solid #ccc;
78     background: #f0f0f0;
79     font-size: 13px;
80 }
81
82 .city-select-tab > a {
83     display: inline-block;
84     padding: 8px 22px;
85     border-left: 1px solid #ccc;
86     border-bottom: 1px solid transparent;
87     color: #4D4D4D;
88     text-align: center;
89     outline: 0;
90     text-decoration: none;
91     cursor: pointer;
92     font-size: 14px;
93     margin-bottom: -1px;
94 }
95
96 .city-select-tab > a.active {
97     background: #fff;
98     border-bottom: 1px solid #fff;
99     color: #5FB878;
100 }
101
102 .city-select-tab > a:first-child {
103     border-left: none;
104 }
105
106 .city-select-tab > a:last-child.active {
107     border-right: 1px solid #ccc;
108 }
109
110 .city-select-content {
111     width: 100%;
112     min-height: 10px;
113     background-color: #fff;
114     padding: 10px 15px;
115     box-sizing: border-box;
116 }
117
118 .city-select {
119     font-size: 13px;
120 }
121
122 .city-select dl {
123     line-height: 2;
124     clear: both;
125     padding: 3px 0;
126     margin: 0;
127 }
128
129 .city-select dt {
130     position: absolute;
131     width: 2.5em;
132     font-weight: 500;
133     text-align: right;
134     line-height: 2;
135 }
136
137 .city-select dd {
138     margin-left: 0;
139     line-height: 2;
140 }
141
142 .city-select.province dd {
143     margin-left: 3em;
144 }
145
146 .city-select a {
147     display: inline-block;
148     padding: 0 10px;
149     outline: 0;
150     text-decoration: none;
151     white-space: nowrap;
152     margin-right: 2px;
153     text-decoration: none;
154     color: #333;
155     cursor: pointer;
156 }
157
158 .city-select a:hover,
159 .city-select a:focus {
160     background-color: #EEF7F1;
161     border-radius: 2px;
162     color: #5FB878;
163 }
164
165 .city-select a.active {
166     background-color: #5FB878;
167     color: #fff;
168     border-radius: 2px;
169 }