region_ui.css
2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/**
* 城市组件样式
**/
.m-region {
width: 240px;
border: 1px solid #ddd;
height: 30px;
position: relative;
background: #fff;
}
.m-region .title {
float: left;
height: 30px;
width: 240px;
}
.m-region .title div {
cursor: pointer;
font-size: 14px;
height: 100%;
line-height: 30px;
margin-left: 10px;
overflow: hidden;
text-align: left;
width: 230px;
}
span.s-live {
display: inline-block;
height: 0;
width: 0;
padding: 0;
margin: 0;
right: 12px;
top: 12px;
border: 5px solid #666;
border-top-color: #666;
border-left-color: transparent;
border-right-color: transparent;
border-bottom-color: transparent;
position: absolute;
}
.m-region .region-view {
background: #fff;
border: 1px solid #ccc;
box-shadow: 0 0 5px #ddd;
left: -1px;
position: absolute;
top: 30px;
width: 405px;
padding: 0;
z-index: 891;
display: none;
}
.m-region .region-view .head {
height: 30px;
float: left;
width: 100%;
border-bottom: 1px solid #ddd;
background-color: #f8f8f8;
}
.m-region .head li {
color: #000;
cursor: pointer;
float: left;
height: 29px;
line-height: 30px;
max-width: 80px;
overflow: hidden;
padding: 0 10px;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13px;
}
.m-region .head li.act {
border-color: #5acf76 #ddd #fff #ddd;
border-style: solid;
border-width: 1px;
background-color: #fff;
}
.m-region .cont {
float: left;
margin: 5px 0 10px 20px
}
.m-region .cont li {
color: #999;
cursor: pointer;
float: left;
height: 30px;
line-height: 30px;
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
font-size: 12px;
width: 83px;
padding: 0 0 0 13px;
text-align: left;
margin: 0;
}
.m-region .cont li:hover {
background-color: #4aca10;
color: #fff;
}
.m-region .reset {
cursor: pointer;
position: absolute;
top: 5px;
right: 10px;
}
.m-region .title >input {
line-height: 28px;
}