You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 21, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: src/scss/components/_sidebar.scss
+3-139Lines changed: 3 additions & 139 deletions
Original file line number
Diff line number
Diff line change
@@ -30,44 +30,15 @@ a {
30
30
}
31
31
}
32
32
.sidebar-wrapper{
33
-
display: inline-flex;
34
-
}
35
-
.navbar {
36
-
padding: 15px10px;
37
-
background: $white;
38
-
border: none;
39
-
//Instead of the line below you could use @include border-radius($radius, $vertical-radius)
40
-
border-radius: 0;
41
-
margin-bottom: 40px;
42
-
//Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
43
-
box-shadow: 1px1px3px$black;
44
-
}
45
-
.navbar-btn {
46
-
//Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
47
-
box-shadow: none;
48
-
outline: none!important;
49
-
border: none;
50
-
}
51
-
.line {
52
-
width: 100%;
53
-
height: 1px;
54
-
border-bottom: 1pxdashed#ddd;
55
-
margin: 40px0;
56
-
}
57
-
i {
58
-
display: inline-block;
59
-
}
60
-
span {
61
-
display: inline-block;
33
+
display: flex;
62
34
}
63
35
.sidebar {
64
36
@includemedia-breakpoint-down(sm) {
65
37
display: none;
66
38
}
67
-
width: 150px;
39
+
width: 250px;
68
40
background: $secureCodeBlue;
69
41
height: 100vh;
70
-
align-self: flex-start;
71
42
position: sticky;
72
43
top: 50px;
73
44
z-index: 9;
@@ -91,34 +62,9 @@ span {
91
62
display: block;
92
63
}
93
64
}
94
-
.CTAs {
95
-
display: none;
96
-
}
97
-
ul {
98
-
lia {
99
-
padding: 20px10px;
100
-
text-align: center;
101
-
font-size: 0.85em;
102
-
i {
103
-
margin-right: 0;
104
-
display: block;
105
-
font-size: 1.8em;
106
-
margin-bottom: 5px;
107
-
}
108
-
}
109
-
ula {
110
-
padding: 10px!important;
111
-
}
112
-
}
113
-
.dropdown-toggle::after {
114
-
top: auto;
115
-
bottom: 10px;
116
-
right: 50%;
117
-
//Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
118
-
transform: translateX(50%);
119
-
}
120
65
}
121
66
ul {
67
+
display: none;
122
68
li {
123
69
a {
124
70
text-align: left;
@@ -148,92 +94,10 @@ span {
148
94
font-size: 1.3rem;
149
95
}
150
96
}
151
-
a[aria-expanded="true"] {
152
-
color: $white;
153
-
background: $highlight;
154
-
}
155
-
a[data-toggle="collapse"] {
156
-
position: relative;
157
-
}
158
-
.dropdown-toggle::after {
159
-
display: block;
160
-
position: absolute;
161
-
top: 50%;
162
-
right: 20px;
163
-
//Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
164
-
transform: translateY(-50%);
165
-
}
166
-
ul {
167
-
&.CTAs {
168
-
padding: 20px;
169
-
a {
170
-
text-align: center;
171
-
font-size: 0.9em!important;
172
-
display: block;
173
-
//Instead of the line below you could use @include border-radius($radius, $vertical-radius)
174
-
border-radius: 5px;
175
-
margin-bottom: 5px;
176
-
}
177
-
}
178
-
ula {
179
-
font-size: 0.9em!important;
180
-
padding-left: 30px!important;
181
-
background: $highlight;
182
-
}
183
-
}
184
97
#content {
185
98
width: auto;
186
99
padding: 20px;
187
100
min-height: 100vh;
188
101
//Instead of the line below you could use @include transition($transition-1, $transition-2, $transition-3, $transition-4, $transition-5, $transition-6, $transition-7, $transition-8, $transition-9, $transition-10)
189
102
transition: all0.3s;
190
-
}
191
-
@media(max-width: 768px) {
192
-
#sidebar {
193
-
min-width: 80px;
194
-
max-width: 80px;
195
-
text-align: center;
196
-
margin-left: -80px!important;
197
-
margin-left: 0;
198
-
&.active {
199
-
margin-left: 0!important;
200
-
}
201
-
.sidebar-header {
202
-
h3 {
203
-
display: none;
204
-
}
205
-
strong {
206
-
display: block;
207
-
}
208
-
}
209
-
.CTAs {
210
-
display: none;
211
-
}
212
-
ul {
213
-
lia {
214
-
padding: 20px10px;
215
-
span {
216
-
font-size: 0.85em;
217
-
}
218
-
i {
219
-
margin-right: 0;
220
-
display: block;
221
-
font-size: 1.3em;
222
-
}
223
-
}
224
-
ula {
225
-
padding: 10px!important;
226
-
}
227
-
}
228
-
}
229
-
.dropdown-toggle::after {
230
-
top: auto;
231
-
bottom: 10px;
232
-
right: 50%;
233
-
//Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
0 commit comments