-
Notifications
You must be signed in to change notification settings - Fork 73
/
_menu.scss
100 lines (82 loc) · 1.78 KB
/
_menu.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
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
/* Menu - Login Page */
ul.login-form-links {
border-bottom: $border-width solid $font-color;
height: line-height-times(2);
margin: line-height-times(-1) 0 line-height-times(1);
li {
display: inline;
list-style-type: none;
&:first-child {
margin: 0;
a {
padding-left: 0;
}
}
a {
color: $submenu-color;
display: inline-block;
height: line-height-times(2);
line-height: line-height-times(2);
padding: 0 line-height-times(1/2);
&:hover {
color: $submenu-hover-color;
}
}
&.active,
&.active a {
color: $submenu-active-color;
}
}
}
#subsubmenu {
height: line-height-times(1);
padding: 0 0 line-height-times(1.5) 0;
font-size: $font-size-sm;
padding: line-height-times(1);
margin: line-height-times(-1);
background-color: $body-background;
.active {
color: $subsubmenu-active-color;
}
li {
list-style-type: none;
display: inline;
padding-right: line-height-times(1/2);
a {
color: $menu-color;
text-decoration: underline;
&:hover {
color: $menu-hover-color;
}
}
}
}
// important styles needed to override the id based styling above
.SubSubMenuItem {
list-style-type: none;
display: inline-block !important;
white-space: nowrap;
margin: 0 line-height-times(1/4) line-height-times(1/2) 0;
padding: 0 0 0 0 !important;
&--trunk {
margin-left: 0;
}
&--branch:before {
content: '>';
margin-right: line-height-times(1/4);
}
&--leaf:before {
content: '|';
margin-right: line-height-times(1/4);
}
.is-active {
color: $subsubmenu-active-color;
}
&-link {
color: $menu-color;
text-decoration: underline;
&:hover {
color: $menu-hover-color;
}
}
}