-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy path_dropdown.scss
59 lines (51 loc) · 877 Bytes
/
_dropdown.scss
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
.dropdown {
float: left;
position: relative;
top: 2px;
.dropdown_menu {
display: none;
}
.dropdown_toggle {
background: #f4f4f4;
padding: 3px 5px;
line-height: 1em;
color: $ots_blue;
b {
display: inline-block;
}
}
.city {
padding-right: 5px;
width: 100px;
}
&.open {
.dropdown_toggle {
background: $ots_blue_l;
color: white;
}
.dropdown_menu {
display: block;
position: absolute;
top: 22px;
left: 0;
li {
margin-top: .25em;
}
a {
display: block;
padding: 2px 5px;
line-height: 1.5em;
width: 119px;
background: $ots_text_i_l;
}
a:hover,
a:focus {
background: $ots_blue_l;
color: #FFF;
}
li:first-child a {
border: none;
}
}
}
}