_cascading-address.css
1.68 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
.cascading-address {
position: relative;
.dist-item {
position: relative;
display: inline-block;
padding: 8px;
border: 1px solid #eee;
margin-right: 8px;
font-size: 12px;
color: #1b1b1b;
text-align: center;
&:hover {
cursor: pointer;
}
}
.open {
border: 1px solid #1b1b1b;
border-bottom-width: 0;
z-index: 1000;
background: #fff;
}
.iconfont {
font-size: 14px;
}
.items-indicator {
li {
float: left;
}
}
.items-panel {
background: #fff;
padding: 7px 15px;
border: 1px solid #1b1b1b;
position: absolute;
top: 36px;
z-index: 1;
display: none;
width: 310px;
li {
float: left;
margin: 0 0 14px;
width: 69px;
position: relative;
.check-icon {
display: none;
float: left;
width: 12px;
margin-left: -18px;
padding: 3px;
}
}
li:first-child {
margin-left: 0;
}
li:last-child {
margin-right: 0;
}
.dist-name {
font-size: 12px;
display: inline-block;
width: 50px;
padding: 3px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
text-align: left;
&:hover {
cursor: pointer;
}
}
.checked {
background: #3a3a3a;
color: #fff;
}
}
}