1
|
@import "fonts/fonts.css";
|
2
|
/*
|
3
|
Define the following variables on your project css file.
|
4
|
|
5
|
--sidebar-font-size: 16px;
|
6
|
--header-height: 70px;
|
7
|
--list-card-max-width: 1220px;
|
8
|
--primary-color: #0d47a1;
|
9
|
--secondary-color: #1CA9D5;
|
10
|
*/
|
11
|
|
12
|
/* Global css*/
|
13
|
html .dashboard {
|
14
|
color: black;
|
15
|
}
|
16
|
|
17
|
.dashboard .clickable {
|
18
|
cursor: pointer !important;
|
19
|
}
|
20
|
|
21
|
.dashboard #hide_controls #toggle *, .dashboard #header_main a, .dashboard #sidebar_main a {
|
22
|
user-select: none;
|
23
|
-webkit-user-select: none;
|
24
|
-moz-user-select: none;
|
25
|
}
|
26
|
|
27
|
/* On link hover, his items with this class will be displayed*/
|
28
|
.dashboard li > a .onHover {
|
29
|
display: none;
|
30
|
}
|
31
|
|
32
|
.dashboard li > a:hover .onHover,
|
33
|
.dashboard li > a .onHover.uk-open {
|
34
|
display: block;
|
35
|
}
|
36
|
|
37
|
/* Sidebar with hide controls*/
|
38
|
.dashboard #sidebar_main {
|
39
|
display: flex;
|
40
|
flex-direction: column;
|
41
|
}
|
42
|
|
43
|
.dashboard #sidebar_main .sidebar_main_header {
|
44
|
height: var(--header-height);
|
45
|
border-bottom: none;
|
46
|
}
|
47
|
|
48
|
.dashboard #sidebar_main .sidebar_main_header .logo {
|
49
|
height: calc(var(--header-height) - 20px);
|
50
|
}
|
51
|
|
52
|
.dashboard #sidebar_main .menu_section {
|
53
|
overflow: auto;
|
54
|
flex: 1;
|
55
|
margin-bottom: 45px;
|
56
|
}
|
57
|
|
58
|
.dashboard #hide_controls {
|
59
|
bottom: 0;
|
60
|
left: 0;
|
61
|
position: fixed;
|
62
|
z-index: 1205;
|
63
|
height: 45px;
|
64
|
width: 0;
|
65
|
background: rgba(255, 255, 255, 0);
|
66
|
}
|
67
|
|
68
|
.dashboard .sidebar_main_active #hide_controls {
|
69
|
background: rgba(255, 255, 255, 1);
|
70
|
border-top: 1px solid rgba(0,0,0,.30);
|
71
|
width: 320px;
|
72
|
transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
73
|
-webkit-transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
74
|
-moz-transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
75
|
}
|
76
|
|
77
|
@media only screen and (max-width: 767px) {
|
78
|
.dashboard .sidebar_main_active #hide_controls {
|
79
|
width: 280px;
|
80
|
}
|
81
|
}
|
82
|
|
83
|
.dashboard #hide_controls #toggle {
|
84
|
color: #646a6f;
|
85
|
margin-left: 5px;
|
86
|
margin-top: 5px;
|
87
|
cursor: pointer;
|
88
|
width: max-content;
|
89
|
}
|
90
|
|
91
|
.dashboard #hide_controls #toggle:hover, .dashboard #hide_controls #toggle:not(.sidebar_main_open) {
|
92
|
color: var(--primary-color);
|
93
|
}
|
94
|
|
95
|
.dashboard #hide_controls:hover #toggle:hover .material-icons,
|
96
|
.dashboard #hide_controls #toggle:not(.sidebar_main_open) .material-icons {
|
97
|
color: var(--primary-color);
|
98
|
border: var(--primary-color) solid 1px;
|
99
|
}
|
100
|
|
101
|
.dashboard #hide_controls #toggle .material-icons {
|
102
|
transform: rotateY(0deg);
|
103
|
transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
104
|
-webkit-transform: rotateY(0deg);
|
105
|
-webkit-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
106
|
-moz-transform: rotateY(0deg);
|
107
|
-moz-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
108
|
background: rgba(0, 0, 0, 0);
|
109
|
border-radius: 50%;
|
110
|
border: rgba(0, 0, 0, 0) solid 1px;
|
111
|
text-align: center;
|
112
|
width: 26px !important;
|
113
|
height: 26px !important;
|
114
|
line-height: 26px !important;
|
115
|
font-size: 24px;
|
116
|
vertical-align: -7px;
|
117
|
}
|
118
|
|
119
|
.dashboard .sidebar_main_active #hide_controls #toggle .material-icons {
|
120
|
transform: rotateY(180deg);
|
121
|
transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
122
|
-webkit-transform: rotateY(180deg);
|
123
|
-webkit-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
124
|
-moz-transform: rotateY(180deg);
|
125
|
-moz-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
126
|
}
|
127
|
|
128
|
.dashboard .header_full #sidebar_main .sidebar_main_header {
|
129
|
min-height: auto;
|
130
|
}
|
131
|
|
132
|
.dashboard #sidebar_main .menu_section > ul > li > a {
|
133
|
font-weight: 700;
|
134
|
overflow: unset;
|
135
|
}
|
136
|
|
137
|
.dashboard #sidebar_main .menu_section > ul > li:not([class*=md-bg-]) > a:hover {
|
138
|
background-color: #F0F0F0;
|
139
|
}
|
140
|
|
141
|
.dashboard #sidebar_main .menu_section > ul > li > a > .menu_icon {
|
142
|
width: 30px;
|
143
|
}
|
144
|
|
145
|
.dashboard #sidebar_main .menu_section > ul > li > a > .menu_on_hover {
|
146
|
width: 40px;
|
147
|
}
|
148
|
|
149
|
.dashboard #sidebar_main .menu_section > ul > li > ul > li > a:hover {
|
150
|
background-color: #F0F0F0;
|
151
|
margin-right: 5px;
|
152
|
}
|
153
|
|
154
|
.dashboard #sidebar_main .menu_section > ul li > a {
|
155
|
font-size: var(--sidebar-font-size);
|
156
|
color: rgba(0, 0, 0, 0.7);
|
157
|
}
|
158
|
|
159
|
.dashboard #sidebar_main .menu_section > ul li > a > .menu_on_hover {
|
160
|
width: 40px;
|
161
|
}
|
162
|
|
163
|
.dashboard #sidebar_main .menu_section .uk-dropdown {
|
164
|
min-width: 150px;
|
165
|
}
|
166
|
|
167
|
.dashboard #sidebar_main .menu_section .uk-dropdown > ul {
|
168
|
display: block;
|
169
|
margin: 0;
|
170
|
text-align: start;
|
171
|
}
|
172
|
|
173
|
.dashboard #sidebar_main .menu_section .uk-dropdown > ul > li > a {
|
174
|
padding: 5px 10px;
|
175
|
color: black !important;
|
176
|
}
|
177
|
|
178
|
.dashboard #sidebar_main .menu_section > ul ul > li > a {
|
179
|
line-height: 20px;
|
180
|
}
|
181
|
|
182
|
.dashboard #sidebar_main .menu_section > ul li > a {
|
183
|
display: flex;
|
184
|
align-items: center;
|
185
|
}
|
186
|
|
187
|
/* Header */
|
188
|
body.dashboard {
|
189
|
padding-top: var(--header-height);
|
190
|
}
|
191
|
|
192
|
.dashboard .header_full #sidebar_main {
|
193
|
top: var(--header-height);
|
194
|
}
|
195
|
|
196
|
.dashboard #header_main {
|
197
|
-webkit-box-shadow: none;
|
198
|
box-shadow: none;
|
199
|
height: var(--header-height);
|
200
|
}
|
201
|
|
202
|
.dashboard #header_main > .uk-navbar {
|
203
|
height: var(--header-height);
|
204
|
}
|
205
|
|
206
|
.dashboard #header_main > .uk-navbar > * {
|
207
|
vertical-align: middle;
|
208
|
}
|
209
|
|
210
|
.dashboard #header_main #sidebar_main_toggle {
|
211
|
margin: calc(var(--header-height) - 48px) 0;
|
212
|
}
|
213
|
|
214
|
.dashboard #header_main .material-icons {
|
215
|
color: white;
|
216
|
}
|
217
|
|
218
|
.dashboard #header_main .login {
|
219
|
color: white;
|
220
|
font-weight: bold;
|
221
|
}
|
222
|
|
223
|
.dashboard #header_main circle, .dashboard #header_main .login svg {
|
224
|
stroke: white;
|
225
|
fill: white;
|
226
|
}
|
227
|
|
228
|
.dashboard #header_main text {
|
229
|
stroke: var(--primary-color);
|
230
|
fill: var(--primary-color);
|
231
|
}
|
232
|
|
233
|
.dashboard #header_main svg svg *{
|
234
|
stroke: var(--primary-color);
|
235
|
fill: none;
|
236
|
}
|
237
|
|
238
|
.dashboard #header_main .login svg *{
|
239
|
stroke: white;
|
240
|
fill: none;
|
241
|
}
|
242
|
|
243
|
/* Card */
|
244
|
.dashboard .md-card .md-card-content {
|
245
|
color: rgba(0, 0, 0, 0.8);
|
246
|
}
|
247
|
|
248
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions {
|
249
|
color: rgba(0, 0, 0, 0.8);
|
250
|
}
|
251
|
|
252
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
|
253
|
font-weight: 700;
|
254
|
float: none;
|
255
|
}
|
256
|
|
257
|
/* Breadcrumb*/
|
258
|
.dashboard #breadcrumbs {
|
259
|
background: inherit;
|
260
|
}
|
261
|
|
262
|
.dashboard #breadcrumbs > li a,
|
263
|
.dashboard #breadcrumbs > li span {
|
264
|
color: rgba(0, 0, 0, 0.4);
|
265
|
font-size: 12px;
|
266
|
line-height: 20px;
|
267
|
}
|
268
|
|
269
|
.dashboard #breadcrumbs > li + li a:before,
|
270
|
.dashboard #breadcrumbs > li + li span:before {
|
271
|
font-weight: 400 !important;
|
272
|
margin-top: -9px;
|
273
|
font-size: 16px;
|
274
|
}
|
275
|
|
276
|
/* Notification */
|
277
|
/* Change z-index, because of sidebar's and header's z-index are bigger that default */
|
278
|
.dashboard .uk-notification {
|
279
|
z-index: 2000;
|
280
|
}
|
281
|
|
282
|
.dashboard .uk-notification-message {
|
283
|
border-radius: 3px;
|
284
|
font-size: 14px;
|
285
|
}
|
286
|
|
287
|
.dashboard .uk-notification-message.uk-notification-message-success {
|
288
|
background-color: #e0f0d5;
|
289
|
color: #669a59;
|
290
|
}
|
291
|
|
292
|
.dashboard .uk-notification-message.uk-notification-message-danger {
|
293
|
background-color: #f2dede;
|
294
|
color: #b25654;
|
295
|
}
|
296
|
|
297
|
.dashboard .uk-notification-close.uk-close::after {
|
298
|
font-size: 16px;
|
299
|
}
|
300
|
|
301
|
.dashboard .uk-notification-close.uk-icon.uk-close svg {
|
302
|
display: none;
|
303
|
}
|
304
|
|
305
|
/* Form */
|
306
|
|
307
|
.dashboard .uk-form-stacked .uk-form-label {
|
308
|
font-size: 14px;
|
309
|
font-weight: 700;
|
310
|
padding: 0;
|
311
|
margin-top: 5px;
|
312
|
}
|
313
|
|
314
|
.dashboard .md-input {
|
315
|
color: black;
|
316
|
}
|
317
|
|
318
|
/* Modal*/
|
319
|
|
320
|
.dashboard .uk-modal .large-modal {
|
321
|
width: 800px;
|
322
|
}
|
323
|
|
324
|
.dashboard .uk-modal .uk-close::after {
|
325
|
display: none;
|
326
|
}
|
327
|
|
328
|
/* Sortable*/
|
329
|
.dashboard .uk-sortable > * {
|
330
|
cursor: move;
|
331
|
}
|
332
|
|
333
|
.dashboard .uk-sortable-drag .md-card.md-card-hover {
|
334
|
-webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
|
335
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
|
336
|
}
|
337
|
|
338
|
.dashboard .uk-sortable-drag {
|
339
|
overflow: unset !important;
|
340
|
}
|
341
|
|
342
|
.uk-drag .dashboard .disable-sortable {
|
343
|
pointer-events: none;
|
344
|
}
|
345
|
|
346
|
.dashboard .uk-sortable .uk-sortable-nodrag {
|
347
|
cursor: default;
|
348
|
}
|
349
|
|
350
|
/* List view*/
|
351
|
.dashboard .list-view {
|
352
|
max-width: 1220px;
|
353
|
}
|
354
|
|
355
|
/* Section Tools*/
|
356
|
|
357
|
.dashboard .section {
|
358
|
padding-top: 10px;
|
359
|
padding-bottom: 10px;
|
360
|
padding-right: 10px;
|
361
|
border: rgba(0, 0, 0, 0) solid 1px;
|
362
|
position: relative;
|
363
|
}
|
364
|
|
365
|
.dashboard .section .tools {
|
366
|
position: absolute;
|
367
|
top: 0;
|
368
|
left: 50%;
|
369
|
transform: translate(-50%, -100%);
|
370
|
display: none;
|
371
|
}
|
372
|
|
373
|
.dashboard .section:not(.list-view) {
|
374
|
border: white solid 1px;
|
375
|
}
|
376
|
|
377
|
.dashboard .section:not(.list-view):hover {
|
378
|
border: var(--secondary-color) solid 1px;
|
379
|
}
|
380
|
|
381
|
.dashboard .section:not(.list-view):hover .tools {
|
382
|
display: block;
|
383
|
}
|
384
|
|
385
|
.dashboard .section:hover .tools .md-btn-group .md-btn-mini {
|
386
|
border-bottom-left-radius: 0;
|
387
|
padding: 0;
|
388
|
-webkit-box-shadow: none;
|
389
|
box-shadow: none;
|
390
|
margin-left: -1px !important;
|
391
|
}
|
392
|
|
393
|
.dashboard .section:hover .tools .md-btn-group .md-btn-mini:first-child {
|
394
|
border-top-left-radius: 5px;
|
395
|
}
|
396
|
|
397
|
.dashboard .section:hover .tools .md-btn-group .md-btn-mini:last-child {
|
398
|
border-top-right-radius: 5px;
|
399
|
}
|
400
|
|
401
|
.dashboard .section .md-btn {
|
402
|
background-color: var(--secondary-color);
|
403
|
width: 20px;
|
404
|
color: white;
|
405
|
}
|
406
|
|
407
|
.dashboard .section:hover .tools .md-btn-group .md-btn-mini * {
|
408
|
color: white;
|
409
|
}
|
410
|
|
411
|
.dashboard .section:hover .tools .md-btn-group::before {
|
412
|
content: "";
|
413
|
border-bottom: 23px solid var(--secondary-color);
|
414
|
border-left:solid 12px transparent;
|
415
|
width: 0;
|
416
|
margin-left: -1px;
|
417
|
padding-bottom: 2px;
|
418
|
}
|
419
|
|
420
|
.dashboard .section:hover .tools .md-btn-group::after {
|
421
|
content: "";
|
422
|
border-bottom: 23px solid var(--secondary-color);
|
423
|
border-right: solid 12px transparent;
|
424
|
width: 0;
|
425
|
margin-left: -1px;
|
426
|
padding-bottom: 2px;
|
427
|
}
|
428
|
|
429
|
/* New section*/
|
430
|
.dashboard .new-section {
|
431
|
padding-top: 10px;
|
432
|
padding-bottom: 10px;
|
433
|
padding-right: 10px;
|
434
|
border: #cecece dashed 2px;
|
435
|
background-color: white;
|
436
|
min-height: 100px;
|
437
|
position: relative;
|
438
|
}
|
439
|
|
440
|
.dashboard .new-section .tools {
|
441
|
position: absolute;
|
442
|
top: 50%;
|
443
|
left: 50%;
|
444
|
transform: translate(-50%, -50%);
|
445
|
}
|
446
|
|
447
|
.dashboard .new-section .tools .md-btn {
|
448
|
background-color: var(--secondary-color);
|
449
|
position: relative;
|
450
|
min-width: 40px;
|
451
|
min-height: 40px;
|
452
|
border-radius: 50%;
|
453
|
}
|
454
|
|
455
|
.dashboard .new-section .tools .md-btn .material-icons {
|
456
|
position: absolute;
|
457
|
top: 50%;
|
458
|
left: 50%;
|
459
|
transform: translate(-50%, -50%);
|
460
|
margin: 0;
|
461
|
}
|
462
|
|
463
|
/* Dropdown*/
|
464
|
.dashboard .uk-dropdown {
|
465
|
opacity: 1;
|
466
|
transform: none;
|
467
|
-webkit-transform: none;
|
468
|
padding: 5px 0;
|
469
|
min-width: 160px;
|
470
|
}
|
471
|
|
472
|
.dashboard .uk-dropdown .uk-nav.uk-dropdown-nav > li > a {
|
473
|
padding: 5px 10px;
|
474
|
}
|
475
|
|
476
|
/* Badge */
|
477
|
.dashboard .badge {
|
478
|
height: 75px;
|
479
|
position: absolute;
|
480
|
top: 0;
|
481
|
left: 0;
|
482
|
z-index: 1;
|
483
|
}
|
484
|
|
485
|
.dashboard .badge.small-badge {
|
486
|
height: 70px;
|
487
|
}
|
488
|
|
489
|
.dashboard .badge.right-badge {
|
490
|
top: 0;
|
491
|
left: auto;
|
492
|
transform: rotate(90deg);
|
493
|
right: 0;
|
494
|
}
|
495
|
|
496
|
.dashboard .default.uk-badge {
|
497
|
padding: 1px 15px;
|
498
|
height: auto;
|
499
|
position: absolute;
|
500
|
left: -5px;
|
501
|
top: 0;
|
502
|
background-color: var(--primary-color);
|
503
|
}
|
504
|
|