1
|
/*
|
2
|
Define the following variables on your project css file.
|
3
|
|
4
|
--sidebar-width: 320px;
|
5
|
--sidebar-font-size: 16px;
|
6
|
|
7
|
--header-height: 70px;
|
8
|
|
9
|
--list-card-max-width: 1220px;
|
10
|
*/
|
11
|
|
12
|
/* Global css*/
|
13
|
|
14
|
html .dashboard {
|
15
|
color: black;
|
16
|
}
|
17
|
|
18
|
.dashboard .clickable {
|
19
|
cursor: pointer !important;
|
20
|
}
|
21
|
|
22
|
/* On link hover, his items with this class will be displayed*/
|
23
|
.dashboard li > a .onHover {
|
24
|
display: none;
|
25
|
}
|
26
|
|
27
|
.dashboard li > a:hover .onHover {
|
28
|
display: block;
|
29
|
}
|
30
|
|
31
|
/* Custom width of sidebar, change var: sidebar-width*/
|
32
|
.dashboard .main_logo_top {
|
33
|
min-width: var(--sidebar-width);
|
34
|
}
|
35
|
|
36
|
.dashboard #sidebar_main {
|
37
|
width: var(--sidebar-width);
|
38
|
-webkit-transform: translate3d(calc(-1 * var(--sidebar-width)), 0, 0);
|
39
|
transform: translate3d(calc(-1 * var(--sidebar-width)), 0, 0);
|
40
|
}
|
41
|
|
42
|
.dashboard .sidebar_main_active #sidebar_main {
|
43
|
-webkit-transform: translate3d(0, 0, 0);
|
44
|
transform: translate3d(0, 0, 0);
|
45
|
}
|
46
|
|
47
|
.dashboard #sidebar_main .sidebar_main_header {
|
48
|
color: #000000;
|
49
|
height: auto;
|
50
|
min-height: var(--header-height);
|
51
|
}
|
52
|
|
53
|
.dashboard .header_full #sidebar_main .sidebar_main_header {
|
54
|
min-height: auto;
|
55
|
}
|
56
|
|
57
|
.dashboard #sidebar_main .menu_section > ul > li > a {
|
58
|
font-weight: 700;
|
59
|
}
|
60
|
|
61
|
.dashboard #sidebar_main .menu_section > ul li > a {
|
62
|
font-size: var(--sidebar-font-size);
|
63
|
color: rgba(0, 0, 0, 0.7);
|
64
|
}
|
65
|
|
66
|
@media only screen and (min-width: 1220px) {
|
67
|
.dashboard .sidebar_main_active #header_main,
|
68
|
.dashboard .sidebar_main_active #page_content,
|
69
|
.dashboard .sidebar_main_active #top_bar {
|
70
|
margin-left: var(--sidebar-width);
|
71
|
}
|
72
|
}
|
73
|
|
74
|
/* Custom height of header, change var: header-height*/
|
75
|
body.dashboard {
|
76
|
padding-top: var(--header-height);
|
77
|
}
|
78
|
|
79
|
.dashboard .header_full #sidebar_main {
|
80
|
top: var(--header-height);
|
81
|
}
|
82
|
|
83
|
.dashboard #header_main {
|
84
|
padding: calc((var(--header-height) - 48px) / 2) 25px;
|
85
|
}
|
86
|
|
87
|
/* Custom card*/
|
88
|
.dashboard .md-card .md-card-content {
|
89
|
color: rgba(0, 0, 0, 0.8);
|
90
|
}
|
91
|
|
92
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions {
|
93
|
color: rgba(0, 0, 0, 0.8);
|
94
|
}
|
95
|
|
96
|
@media only screen and (max-width: 767px) {
|
97
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions span {
|
98
|
display: none;
|
99
|
}
|
100
|
}
|
101
|
|
102
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
|
103
|
font-weight: 700;
|
104
|
float: none;
|
105
|
}
|
106
|
|
107
|
.dashboard .list .md-card {
|
108
|
max-width: var(--list-card-max-width);
|
109
|
}
|
110
|
|
111
|
/* Breadcrumb*/
|
112
|
.dashboard #breadcrumbs {
|
113
|
background: inherit;
|
114
|
}
|
115
|
|
116
|
.dashboard #breadcrumbs > li a,
|
117
|
.dashboard #breadcrumbs > li span {
|
118
|
color: rgba(0, 0, 0, 0.4);
|
119
|
font-size: 12px;
|
120
|
line-height: 20px;
|
121
|
}
|
122
|
|
123
|
.dashboard #breadcrumbs > li + li a:before,
|
124
|
.dashboard #breadcrumbs > li + li span:before {
|
125
|
font-weight: 400 !important;
|
126
|
margin-top: -9px;
|
127
|
font-size: 16px;
|
128
|
}
|
129
|
|
130
|
/* Notification */
|
131
|
/* Remove the second close added by theme because it was used uikit 2*/
|
132
|
.dashboard .uk-close::after {
|
133
|
content: '';
|
134
|
}
|
135
|
|
136
|
/* Change z-index, because of sidebar and header z-index is bigger that default */
|
137
|
.dashboard .uk-notification {
|
138
|
z-index: 2000;
|
139
|
}
|
140
|
|
141
|
/* Form */
|
142
|
|
143
|
.dashboard .uk-form-stacked .uk-form-label {
|
144
|
font-size: 14px;
|
145
|
font-weight: 700;
|
146
|
padding: 0;
|
147
|
margin-top: 5px;
|
148
|
}
|
149
|
|
150
|
.dashboard .md-input {
|
151
|
color: black;
|
152
|
}
|
153
|
|
154
|
/* Modal*/
|
155
|
|
156
|
.dashboard .uk-modal .large-modal {
|
157
|
width: 800px;
|
158
|
}
|
159
|
|
160
|
/* Sortable*/
|
161
|
.dashboard .uk-sortable > * {
|
162
|
cursor: move;
|
163
|
}
|
164
|
|
165
|
.dashboard .uk-sortable .uk-sortable-nodrag {
|
166
|
cursor: default;
|
167
|
}
|