forked from olton/metroui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.less
More file actions
110 lines (100 loc) · 2.8 KB
/
Copy pathsidebar.less
File metadata and controls
110 lines (100 loc) · 2.8 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
.sidebar {
margin: 0;
padding: 0;
background-color: #3D3D3D;
width: 100%;
height: 100%;
& > ul {
margin: 0;
padding: 0;
list-style: none;
li {
display: block;
border: 0;
border-bottom: 1px #5c5c5c solid;
&.title {
padding: 20px 20px 10px 20px;
.subheader-secondary;
color: @white;
}
a {
display: block;
position: relative;
padding: 10px 20px;
text-decoration: none;
color: @grayLighter;
background-color: #3D3D3D;
&:hover {
background-color: #262626;
color: @white;
}
&.dropdown-toggle {
&:after {
right: 10px;
bottom: 5px;
}
}
[class*="icon-"] {
margin-right: 15px;
}
}
&.stick {
position: relative;
&:before {
content: "";
position: absolute;
width: 7px;
height: 100%;
left: -7px;
text-indent: -9999px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
background-color: inherit;
}
}
&.disabled {
a {
background-color: lighten(#3D3D3D, 30%);
cursor: default;
color: @gray;
}
}
&.active {
a {
background-color: @darkRed;
color: @white;
}
}
}
ul {
.dropdown-menu;
box-shadow: none;
position: relative !important;
background-color: lighten(#262626, 75%);
min-width: 100%;
li {
border: 0;
a {
background-color: lighten(#262626, 75%);
}
&.divider {
background-color: lighten(#5c5c5c, 40%);
&:hover {
background-color: lighten(#5c5c5c, 40%);
}
}
&.disabled {
a {
color: @grayLight;
&:hover {
color: @grayLight;
}
}
}
}
&.open {
display: block;
}
}
}
}