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
//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)
8
+
transition: all0.3s;
9
+
}
10
+
11
+
12
+
body {
13
+
font-family: $font-family-base;
14
+
background: #fafafa;
15
+
}
16
+
p {
17
+
font-family: $font-family-base;
18
+
font-size: 1.1em;
19
+
font-weight: 300;
20
+
line-height: 1.7em;
21
+
color: #999;
22
+
}
23
+
a {
24
+
@extend%extend_1;
25
+
&:hover {
26
+
@extend%extend_1;
27
+
}
28
+
&:focus {
29
+
@extend%extend_1;
30
+
}
31
+
&.download {
32
+
background: $white;
33
+
color: #7386d5;
34
+
}
35
+
&.article {
36
+
background: #6d7fcc!important;
37
+
color: $white!important;
38
+
&:hover {
39
+
background: #6d7fcc!important;
40
+
color: $white!important;
41
+
}
42
+
}
43
+
}
44
+
.sidebar-wrapper{
45
+
display: flex;
46
+
}
47
+
.navbar {
48
+
padding: 15px10px;
49
+
background: $white;
50
+
border: none;
51
+
//Instead of the line below you could use @include border-radius($radius, $vertical-radius)
52
+
border-radius: 0;
53
+
margin-bottom: 40px;
54
+
//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)
55
+
box-shadow: 1px1px3px$black;
56
+
}
57
+
.navbar-btn {
58
+
//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)
59
+
box-shadow: none;
60
+
outline: none!important;
61
+
border: none;
62
+
}
63
+
.line {
64
+
width: 100%;
65
+
height: 1px;
66
+
border-bottom: 1pxdashed#ddd;
67
+
margin: 40px0;
68
+
}
69
+
i {
70
+
display: inline-block;
71
+
}
72
+
span {
73
+
display: inline-block;
74
+
}
75
+
#sidebar {
76
+
min-width: 250px;
77
+
max-width: 250px;
78
+
background: #7386d5;
79
+
color: $white;
80
+
//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)
81
+
transition: all0.3s;
82
+
&.active {
83
+
min-width: 80px;
84
+
max-width: 80px;
85
+
text-align: center;
86
+
.sidebar-header {
87
+
h3 {
88
+
display: none;
89
+
}
90
+
strong {
91
+
display: block;
92
+
}
93
+
}
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
+
}
121
+
ul {
122
+
li {
123
+
a {
124
+
text-align: left;
125
+
padding: 10px;
126
+
font-size: 1.1em;
127
+
display: block;
128
+
&:hover {
129
+
color: #7386d5;
130
+
background: $white;
131
+
}
132
+
i {
133
+
margin-right: 10px;
134
+
}
135
+
}
136
+
&.active > a {
137
+
color: $white;
138
+
background: #6d7fcc;
139
+
}
140
+
}
141
+
&.components {
142
+
padding: 20px0;
143
+
border-bottom: 1pxsolid#47748b;
144
+
}
145
+
}
146
+
.sidebar-header {
147
+
padding: 20px;
148
+
background: #6d7fcc;
149
+
strong {
150
+
display: none;
151
+
font-size: 1.8em;
152
+
}
153
+
}
154
+
}
155
+
a[aria-expanded="true"] {
156
+
color: $white;
157
+
background: #6d7fcc;
158
+
}
159
+
a[data-toggle="collapse"] {
160
+
position: relative;
161
+
}
162
+
.dropdown-toggle::after {
163
+
display: block;
164
+
position: absolute;
165
+
top: 50%;
166
+
right: 20px;
167
+
//Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
168
+
transform: translateY(-50%);
169
+
}
170
+
ul {
171
+
&.CTAs {
172
+
padding: 20px;
173
+
a {
174
+
text-align: center;
175
+
font-size: 0.9em!important;
176
+
display: block;
177
+
//Instead of the line below you could use @include border-radius($radius, $vertical-radius)
178
+
border-radius: 5px;
179
+
margin-bottom: 5px;
180
+
}
181
+
}
182
+
ula {
183
+
font-size: 0.9em!important;
184
+
padding-left: 30px!important;
185
+
background: #6d7fcc;
186
+
}
187
+
}
188
+
#content {
189
+
width: 100%;
190
+
padding: 20px;
191
+
min-height: 100vh;
192
+
//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)
193
+
transition: all0.3s;
194
+
}
195
+
@media(max-width: 768px) {
196
+
#sidebar {
197
+
min-width: 80px;
198
+
max-width: 80px;
199
+
text-align: center;
200
+
margin-left: -80px!important;
201
+
margin-left: 0;
202
+
&.active {
203
+
margin-left: 0!important;
204
+
}
205
+
.sidebar-header {
206
+
h3 {
207
+
display: none;
208
+
}
209
+
strong {
210
+
display: block;
211
+
}
212
+
}
213
+
.CTAs {
214
+
display: none;
215
+
}
216
+
ul {
217
+
lia {
218
+
padding: 20px10px;
219
+
span {
220
+
font-size: 0.85em;
221
+
}
222
+
i {
223
+
margin-right: 0;
224
+
display: block;
225
+
font-size: 1.3em;
226
+
}
227
+
}
228
+
ula {
229
+
padding: 10px!important;
230
+
}
231
+
}
232
+
}
233
+
.dropdown-toggle::after {
234
+
top: auto;
235
+
bottom: 10px;
236
+
right: 50%;
237
+
//Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
0 commit comments