Project

General

Profile

1
/*
2
  Define the following variables on your project css file.
3

    
4
  --sidebar-font-size: 16px;
5
  --header-height: 70px;
6
  --list-card-max-width: 1220px;
7
*/
8

    
9
/* Global css*/
10
html .dashboard {
11
  color: black;
12
}
13

    
14
.dashboard .clickable {
15
  cursor: pointer !important;
16
}
17

    
18
/* On link hover, his items with this class will be displayed*/
19
.dashboard li > a .onHover {
20
  display: none;
21
}
22

    
23
.dashboard li > a:hover .onHover {
24
  display: block;
25
}
26

    
27
/* Custom height of header, change var: header-height*/
28
.dashboard #sidebar_main .sidebar_main_header {
29
  height: auto;
30
  min-height: var(--header-height);
31
}
32

    
33
.dashboard .header_full #sidebar_main .sidebar_main_header {
34
  min-height: auto;
35
}
36

    
37
.dashboard #sidebar_main .menu_section > ul > li > a {
38
  font-weight: 700;
39
}
40

    
41
.dashboard #sidebar_main .uk-inline {
42
  vertical-align: text-bottom;
43
}
44

    
45
.dashboard #sidebar_main .menu_section > ul li > a > .menu_icon {
46
  width: 30px;
47
}
48

    
49
.dashboard #sidebar_main .menu_section > ul li > a {
50
  font-size: var(--sidebar-font-size);
51
  color: rgba(0, 0, 0, 0.7);
52
}
53

    
54
body.dashboard {
55
  padding-top: var(--header-height);
56
}
57

    
58
.dashboard .header_full #sidebar_main {
59
  top: var(--header-height);
60
}
61

    
62
.dashboard #header_main {
63
  height: var(--header-height);
64
}
65

    
66
.dashboard #header_main > nav {
67
  height: var(--header-height);
68
  display: table;
69
}
70

    
71
.dashboard #header_main > nav > * {
72
  display: table-cell;
73
  vertical-align: middle;
74
  float: none;
75
  line-height: inherit;
76
}
77

    
78
.dashboard #header_main #sidebar_main_toggle {
79
  margin: calc(var(--header-height) - 48px) 0;
80
}
81

    
82
/* Custom card*/
83
.dashboard .md-card .md-card-content {
84
  color: rgba(0, 0, 0, 0.8);
85
}
86

    
87
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions {
88
  color: rgba(0, 0, 0, 0.8);
89
}
90

    
91
@media only screen and (max-width: 767px) {
92
  .dashboard .md-card .md-card-toolbar .md-card-toolbar-actions span {
93
    display: none;
94
  }
95
}
96

    
97
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
98
  font-weight: 700;
99
  float: none;
100
}
101

    
102
.dashboard .list {
103
  max-width: 1220px;
104
}
105

    
106
/* Breadcrumb*/
107
.dashboard #breadcrumbs {
108
  background: inherit;
109
}
110

    
111
.dashboard #breadcrumbs > li a,
112
.dashboard #breadcrumbs > li span {
113
  color: rgba(0, 0, 0, 0.4);
114
  font-size: 12px;
115
  line-height: 20px;
116
}
117

    
118
.dashboard #breadcrumbs > li + li a:before,
119
.dashboard #breadcrumbs > li + li span:before {
120
  font-weight: 400 !important;
121
  margin-top: -9px;
122
  font-size: 16px;
123
}
124

    
125
/* Notification */
126
/* Change z-index, because of sidebar and header z-index is bigger that default */
127
.dashboard .uk-notification {
128
  z-index: 2000;
129
}
130

    
131
.dashboard .uk-notification-message {
132
  border-radius: 3px;
133
  font-size: 14px;
134
}
135

    
136
.dashboard .uk-notification-message.uk-notification-message-success {
137
  background-color: #e0f0d5;
138
  color: #669a59;
139
}
140

    
141
.dashboard .uk-notification-message.uk-notification-message-danger {
142
  background-color: #f2dede;
143
  color: #b25654;
144
}
145

    
146
.dashboard .uk-notification-close.uk-close::after {
147
  font-size: 16px;
148
}
149

    
150

    
151
.dashboard .uk-notification-close.uk-icon.uk-close svg {
152
  display: none;
153
}
154

    
155
/* Form */
156

    
157
.dashboard .uk-form-stacked .uk-form-label {
158
  font-size: 14px;
159
  font-weight: 700;
160
  padding: 0;
161
  margin-top: 5px;
162
}
163

    
164
.dashboard .md-input {
165
  color: black;
166
}
167

    
168
/* Modal*/
169
.dashboard .uk-modal .large-modal {
170
  width: 800px;
171
}
172

    
173
.dashboard .uk-modal .uk-close::after {
174
  display: none;
175
}
176

    
177
/* Sortable*/
178
.dashboard .uk-sortable > * {
179
  cursor: move;
180
}
181

    
182
.uk-drag .dashboard .disable-sortable {
183
  pointer-events: none;
184
}
185

    
186
.dashboard .uk-sortable .uk-sortable-nodrag {
187
  cursor: default;
188
}
189

    
190
/* Dropdown*/
191
.dashboard .uk-dropdown {
192
  opacity: 1;
193
  transform: none;
194
  -webkit-transform: none;
195
  padding: 5px 0;
196
}
197

    
198
.dashboard .md-card-dropdown .uk-dropdown {
199
  min-width: 160px;
200
}
201

    
202
.dashboard .uk-dropdown .uk-nav.uk-dropdown-nav > li > a {
203
  padding: 5px 10px;
204
}
    (1-1/1)