_sidebar.less
2.31 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
// Sidebar
.sidebar-nav .nav-list {
padding-left: 25px;
padding-right: 25px;
}
.sidebar-nav .nav-list > li > a {
color: #555;
padding: 3px 25px;
margin-left: -26px;
margin-right: -26px;
}
.sidebar-nav .nav-list > li.active > a {
color: #fff;
margin-right: -26px;
}
.sidebar-nav .nav-list > li > a:focus,
.sidebar-nav .nav-list > li > a:hover {
text-decoration: none;
color: #fff;
background-color: #2d6ca2;
text-shadow: none;
}
/* For collapsible sidebar */
.j-sidebar-container {
position: absolute;
display: block;
left: -16.5%;
width: 16.5%;
margin: -18px 0 0 -1px;
padding-top: 28px;
padding-bottom: 40px;
clear: both;
background-color: @wellBackground;
border-bottom: 1px solid darken(@wellBackground, 7%);
border-right: 1px solid darken(@wellBackground, 7%);
.border-radius(0 0 @baseBorderRadius 0);
&.j-sidebar-hidden {
left: -16.5%;
}
&.j-sidebar-visible {
left: 0;
}
.filter-select {
padding: 0 14px;
}
}
.j-toggle-sidebar-header {
h3 {
font-weight: normal;
padding: 0 15px;
}
}
.j-toggle-button-wrapper {
position: absolute;
display: block;
top: 7px;
padding: 0;
&.j-toggle-hidden {
right: -24px;
}
&.j-toggle-visible {
right: 7px;
}
}
.j-toggle-sidebar-button {
font-size: 16px;
color: @linkColor;
text-decoration: none;
cursor: pointer;
&:hover {
color: @linkColorHover;
}
}
#system-message-container,
#j-main-container {
padding: 0 0 0 5px;
min-height: 0;
}
#system-message-container.j-toggle-main,
#j-main-container.j-toggle-main,
#system-debug.j-toggle-main {
float: right;
}
@media (min-width: @md) {
.j-toggle-transition {
.transition(all 0.3s ease);
}
}
@media (max-width: @lg-max) {
.j-toggle-button-wrapper.j-toggle-hidden {
right: -20px;
}
}
@media (max-width: @md-max) {
.j-sidebar-container {
position: relative;
width: 100%;
margin: 0 0 20px 0;
padding: 0;
background: transparent;
border-right: 0;
border-bottom: 0;
}
.j-sidebar-container.j-sidebar-hidden {
margin-left: 16.5%;
}
.j-sidebar-container.j-sidebar-visible {
margin-left: 0;
}
.j-toggle-sidebar-header,
.j-toggle-button-wrapper {
display: none;
}
.view-login {
select {
width: 232px;
}
}
}
@media (max-width: 420px) {
.j-sidebar-container {
margin: 0;
}
.view-login {
.input-medium {
width: 180px;
}
select {
width: 232px
}
}
}