Project

General

Profile

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_active #sidebar_main .menu_section {
53
  overflow: auto;
54
  flex: 1;
55
  margin-bottom: 45px;
56
}
57
.dashboard .sidebar_mini #sidebar_main .menu_section>ul>li>ul {
58
  margin-top: var(--header-height);
59
}
60

    
61
.dashboard .sidebar_main_active .submenu_trigger ul {
62
  display: block;
63
}
64

    
65

    
66
.dashboard #sidebar_main .sidebar_main_header .portalLogo{
67
  background: url("~src/assets/logo-large-monitor.png") no-repeat;
68
  background-size: contain ;
69
  margin-left: 35px;
70
  margin-top: 5px;
71
}
72

    
73
.dashboard .sidebar_mini #sidebar_main .sidebar_main_header .portalLogo{
74
  background: url("~src/assets/logo-small-monitor.png") no-repeat !important;
75
  background-size: 50px 50px !important;
76
/*  background-size: contain !important;
77
  margin-left: 5px;*/
78

    
79
}
80

    
81
.dashboard #hide_controls {
82
  bottom: 0;
83
  left: 0;
84
  position: fixed;
85
  z-index: 1205;
86
  height: 45px;
87
  width: 0;
88
  background: rgba(255, 255, 255, 0);
89
}
90

    
91
.dashboard .sidebar_main_active #hide_controls {
92
  /*background: #F0F4F2;*/
93
  /*border-top: 1px solid rgba(0,0,0,.30);*/
94
  width: 319px;
95
  transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
96
  -webkit-transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
97
  -moz-transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
98
  /*border-right: 1px solid rgba(0,0,0,.12);*/
99
}
100

    
101
@media only screen and (max-width: 767px) {
102
  .dashboard .sidebar_main_active #hide_controls {
103
    width: 280px;
104
  }
105
}
106

    
107
.dashboard #hide_controls #toggle {
108
  color: #646a6f;
109
  margin-left: 5px;
110
  margin-top: 5px;
111
  cursor: pointer;
112
  width: max-content;
113
}
114
/*
115
.dashboard #hide_controls #toggle:hover, .dashboard #hide_controls #toggle:not(.sidebar_main_open) {
116
  color: var(--primary-color);
117
}
118

    
119
.dashboard #hide_controls:hover #toggle:hover .material-icons,
120
.dashboard #hide_controls #toggle:not(.sidebar_main_open) .material-icons {
121
  color: var(--primary-color);
122
  border: var(--primary-color) solid 1px;
123
}*/
124

    
125
.dashboard #hide_controls #toggle .material-icons {
126
  transform: rotateY(0deg);
127
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
128
  -webkit-transform: rotateY(0deg);
129
  -webkit-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
130
  -moz-transform: rotateY(0deg);
131
  -moz-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
132
  background: rgba(0, 0, 0, 0);
133
  border-radius: 50%;
134
  border: rgba(0, 0, 0, 0) solid 1px;
135
  text-align: center;
136
  width: 26px !important;
137
  height: 26px !important;
138
  line-height: 26px !important;
139
  font-size: 24px;
140
  vertical-align: -7px;
141
}
142

    
143
.dashboard .sidebar_main_active #hide_controls #toggle .material-icons {
144
  transform: rotateY(180deg);
145
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
146
  -webkit-transform: rotateY(180deg);
147
  -webkit-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
148
  -moz-transform: rotateY(180deg);
149
  -moz-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
150
}
151

    
152
.dashboard .header_full #sidebar_main .sidebar_main_header {
153
  min-height: auto;
154
}
155

    
156
.dashboard #sidebar_main .menu_section > ul > li > a {
157
  /*font-weight: 700;*/
158
  overflow: unset;
159
}
160

    
161
.dashboard #sidebar_main .menu_section > ul > li:not([class*=md-bg-]) > a:hover {
162
  /*background-color: #F0F0F0;*/
163
  color: var(--portal-main-color);
164
}
165

    
166
.dashboard #sidebar_main .menu_section > ul > li > a > .menu_icon {
167
  width: 30px;
168
}
169

    
170
.dashboard #sidebar_main .menu_section > ul > li > a > .menu_on_hover {
171
  width: 40px;
172
}
173

    
174
.dashboard #sidebar_main .menu_section > ul > li > ul > li > a:hover {
175
  background-color: #F0F0F0;
176
  margin-right: 5px;
177
}
178

    
179
.dashboard #sidebar_main .menu_section > ul li > a {
180
  font-size: var(--sidebar-font-size);
181
  color: rgba(0, 0, 0, 0.7);
182
}
183

    
184
.dashboard #sidebar_main .menu_section > ul li > a > .menu_on_hover {
185
  width: 40px;
186
}
187

    
188
.dashboard #sidebar_main .menu_section .uk-dropdown {
189
  min-width: 150px;
190
}
191

    
192
.dashboard #sidebar_main .menu_section .uk-dropdown > ul {
193
  display: block;
194
  margin: 0;
195
  text-align: start;
196
}
197

    
198
.dashboard #sidebar_main .menu_section .uk-dropdown > ul > li > a {
199
  padding: 5px 10px;
200
  color: black !important;
201
}
202

    
203
.dashboard #sidebar_main .menu_section > ul ul > li > a {
204
  line-height: 20px;
205
}
206

    
207
.dashboard #sidebar_main .menu_section > ul li > a {
208
  display: flex;
209
  align-items: center;
210
}
211

    
212
/* Header */
213
body.dashboard {
214
  padding-top: var(--header-height);
215
}
216

    
217
.dashboard .header_full #sidebar_main {
218
  top: var(--header-height);
219
}
220

    
221
.dashboard #header_main {
222
  -webkit-box-shadow: none;
223
  box-shadow: none;
224
  height: var(--header-height);
225
}
226

    
227
.dashboard #header_main > .uk-navbar {
228
  height: var(--header-height);
229
}
230

    
231
.dashboard #header_main > .uk-navbar .user_actions > li > * {
232
  display: -webkit-box;
233
  display: flex;
234
  -webkit-box-pack: center;
235
  justify-content: center;
236
  -webkit-box-align: center;
237
  align-items: center;
238
  box-sizing: border-box;
239
  min-height: var(--header-height);
240
}
241

    
242
.dashboard #header_main #sidebar_main_toggle {
243
  margin: calc(var(--header-height) - 48px) 0;
244
}
245

    
246
.dashboard #header_main .material-icons {
247
  color: white;
248
}
249

    
250
/* Card */
251
.dashboard .md-card .md-card-content {
252
  color: rgba(0, 0, 0, 0.8);
253
}
254

    
255
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions {
256
  color: rgba(0, 0, 0, 0.8);
257
}
258

    
259
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
260
  font-weight: 700;
261
  float: none;
262
}
263

    
264
/* Breadcrumb*/
265
.dashboard #breadcrumbs {
266
  background: inherit;
267
}
268

    
269
.dashboard #breadcrumbs > li a,
270
.dashboard #breadcrumbs > li span {
271
  color: rgba(0, 0, 0, 0.4);
272
  font-size: 12px;
273
  line-height: 20px;
274
}
275

    
276
.dashboard #breadcrumbs > li + li a:before,
277
.dashboard #breadcrumbs > li + li span:before {
278
  font-weight: 400 !important;
279
  margin-top: -9px;
280
  font-size: 16px;
281
}
282

    
283
/* Notification */
284
/* Change z-index, because of sidebar's and header's z-index are bigger that default */
285
.dashboard .uk-notification {
286
  z-index: 2000;
287
}
288

    
289
.dashboard .uk-notification-message {
290
  border-radius: 3px;
291
  font-size: 14px;
292
}
293

    
294
.dashboard .uk-notification-message.uk-notification-message-success {
295
  background-color: #e0f0d5;
296
  color: #669a59;
297
}
298

    
299
.dashboard .uk-notification-message.uk-notification-message-danger {
300
  background-color: #f2dede;
301
  color: #b25654;
302
}
303

    
304
.dashboard .uk-notification-close.uk-close::after {
305
  font-size: 16px;
306
}
307

    
308
.dashboard .uk-notification-close.uk-icon.uk-close svg {
309
  display: none;
310
}
311

    
312
/* Form */
313

    
314
.dashboard .uk-form-stacked .uk-form-label {
315
  font-size: 14px;
316
  font-weight: 700;
317
  padding: 0;
318
  margin-top: 5px;
319
}
320

    
321
.dashboard .md-input {
322
  color: black;
323
}
324

    
325
/* Modal*/
326

    
327
.dashboard .uk-modal .large-modal {
328
  width: 800px;
329
}
330

    
331
.dashboard .uk-modal .uk-close::after {
332
  display: none;
333
}
334

    
335
/* Sortable*/
336
.dashboard .uk-sortable > * {
337
  cursor: move;
338
}
339

    
340
.dashboard .uk-sortable-drag .md-card.md-card-hover {
341
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
342
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
343
}
344

    
345
.dashboard .uk-sortable-drag  {
346
  overflow: unset !important;
347
}
348

    
349
.uk-drag .dashboard .disable-sortable {
350
  pointer-events: none;
351
}
352

    
353
.dashboard .uk-sortable .uk-sortable-nodrag {
354
  cursor: default;
355
}
356

    
357
/* List view*/
358
.dashboard .list-view {
359
  max-width: 1220px;
360
}
361

    
362
/* Section Tools*/
363

    
364
.dashboard .section {
365
  padding-top: 10px;
366
  padding-bottom: 10px;
367
  padding-right: 10px;
368
  border: rgba(0, 0, 0, 0) solid 1px;
369
  position: relative;
370
}
371

    
372
.dashboard .section .tools {
373
  position: absolute;
374
  top: 0;
375
  left: 50%;
376
  transform: translate(-50%, -100%);
377
  display: none;
378
}
379

    
380
.dashboard .section:not(.list-view) {
381
  border: white solid 1px;
382
}
383

    
384
.dashboard .section:not(.list-view):hover {
385
  border: var(--secondary-color) solid 1px;
386
}
387

    
388
.dashboard .section:not(.list-view):hover .tools {
389
  display: block;
390
}
391

    
392
.dashboard .section:hover .tools .md-btn-group .md-btn-mini {
393
  border-bottom-left-radius: 0;
394
  padding: 0;
395
  -webkit-box-shadow: none;
396
  box-shadow: none;
397
  margin-left: -1px !important;
398
}
399

    
400
.dashboard .section:hover .tools .md-btn-group .md-btn-mini:first-child {
401
  border-top-left-radius: 5px;
402
}
403

    
404
.dashboard .section:hover .tools .md-btn-group .md-btn-mini:last-child {
405
  border-top-right-radius: 5px;
406
}
407

    
408
.dashboard .section .md-btn {
409
  background-color: var(--secondary-color);
410
  width: 20px;
411
  color: white;
412
}
413

    
414
.dashboard .section:hover .tools .md-btn-group .md-btn-mini * {
415
  color: white;
416
}
417

    
418
.dashboard .section:hover .tools .md-btn-group::before {
419
  content: "";
420
  border-bottom: 24px solid var(--secondary-color);
421
  border-left:solid 12px transparent;
422
  width: 0;
423
  position: absolute;
424
  top: 0;
425
  bottom: 0;
426
  left: -12px;
427
}
428

    
429
.dashboard .section:hover .tools .md-btn-group::after {
430
  content: "";
431
  border-bottom: 24px solid var(--secondary-color);
432
  border-right: solid 12px transparent;
433
  width: 0;
434
  position: absolute;
435
  top: 0;
436
  bottom: 0;
437
  right: -11px;
438
}
439

    
440
/* New section*/
441
.dashboard .new-section {
442
  padding-top: 10px;
443
  padding-bottom: 10px;
444
  padding-right: 10px;
445
  border: #cecece dashed 2px;
446
  background-color: white;
447
  min-height: 100px;
448
  position: relative;
449
}
450

    
451
.dashboard .new-section .tools {
452
  position: absolute;
453
  top: 50%;
454
  left: 50%;
455
  transform: translate(-50%, -50%);
456
}
457

    
458
.dashboard .new-section .tools .md-btn {
459
  background-color: var(--secondary-color);
460
  position: relative;
461
  min-width: 40px;
462
  min-height: 40px;
463
  border-radius: 50%;
464
}
465

    
466
.dashboard .new-section .tools .md-btn .material-icons {
467
  position: absolute;
468
  top: 50%;
469
  left: 50%;
470
  transform: translate(-50%, -50%);
471
  margin: 0;
472
}
473

    
474
/* Dropdown*/
475
.dashboard .uk-dropdown {
476
  opacity: 1;
477
  transform: none;
478
  -webkit-transform: none;
479
  min-width: 160px;
480
  padding: 15px;
481
}
482

    
483
.dashboard .uk-dropdown .uk-nav.uk-dropdown-nav > li > a {
484
  padding: 5px 10px;
485
}
486

    
487
/* Badge */
488
.dashboard .badge {
489
  height: 59px;
490
  position: absolute;
491
  top: 0;
492
  left: 0;
493
  z-index: 1;
494
}
495

    
496
.dashboard .badge.small-badge {
497
  height: 70px;
498
}
499

    
500
.dashboard .badge.right-badge {
501
  top: 0;
502
  left: auto;
503
  transform: rotate(90deg);
504
  right: 0;
505
}
506

    
507
.dashboard .default.uk-badge {
508
  padding: 1px 15px;
509
  height: auto;
510
  position: absolute;
511
  left: -5px;
512
  top: 0;
513
  background-color: var(--primary-color);
514
}
515

    
516
.dashboard {
517
  background-color: white;
518
}
519
.dashboard #sidebar_main{
520
  /*background-color: #F0F4F2;*/
521
}
522

    
523
.dashboard .md-card {
524
  background: #FFFFFF no-repeat padding-box;
525
 /* box-shadow: 1px 10px 12px #00000026;
526
  border: 1px solid #E0E0E0;*/
527
  border-radius: 5px;
528
  opacity: 1;
529
}
530

    
531
.dashboard [class*="uk-icon-"][class*="uk-button-"]:not(.uk-button-default) {
532
  color: #fff;
533
}
534

    
535
.selectedFilterLabel {
536
  /*background: var(--portal-main-color) !important;*/
537
  color: #424242 !important;
538
  padding: 6px 10px !important;
539
  border-radius: 5px !important;
540
}
541
/*
542
.selectedFilterLabel:hover {
543
  background: var(--portal-dark-color) !important;
544
}
545

    
546
.selectedFilterLabel .uk-link-text {
547
  color: var(--portal-main-contrast) !important;
548
}
549

    
550
.selectedFilterLabel .material-icons{
551
  color: var(--portal-main-contrast) !important;
552
}*/
553

    
554
#style_switcher_toggle{
555
  left: -36px !important;
556
  width: 36px !important;
557
}
558

    
559
.uk-grid.uk-grid-small > .uk-grid-margin{
560
  margin-top: 15px !important;
561
}
(2-2/3)