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
}
75

    
76
.dashboard #header_main > nav > .main_logo_top {
77
  float: none;
78
  line-height: inherit;
79
}
80

    
81
.dashboard #header_main #sidebar_main_toggle {
82
  margin: calc(var(--header-height) - 48px) 0;
83
}
84

    
85
/* Custom card*/
86
.dashboard .md-card .md-card-content {
87
  color: rgba(0, 0, 0, 0.8);
88
}
89

    
90
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions {
91
  color: rgba(0, 0, 0, 0.8);
92
}
93

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

    
100
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
101
  font-weight: 700;
102
  float: none;
103
}
104

    
105
.dashboard .list {
106
  max-width: 1220px;
107
}
108

    
109
/* Breadcrumb*/
110
.dashboard #breadcrumbs {
111
  background: inherit;
112
}
113

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

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

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

    
134
.dashboard .uk-notification-message {
135
  border-radius: 3px;
136
  font-size: 14px;
137
}
138

    
139
.dashboard .uk-notification-message.uk-notification-message-success {
140
  background-color: #e0f0d5;
141
  color: #669a59;
142
}
143

    
144
.dashboard .uk-notification-message.uk-notification-message-danger {
145
  background-color: #f2dede;
146
  color: #b25654;
147
}
148

    
149
.dashboard .uk-notification-close.uk-close::after {
150
  font-size: 16px;
151
}
152

    
153

    
154
.dashboard .uk-notification-close.uk-icon.uk-close svg {
155
  display: none;
156
}
157

    
158
/* Form */
159

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

    
167
.dashboard .md-input {
168
  color: black;
169
}
170

    
171
/* Modal*/
172
.dashboard .uk-modal .large-modal {
173
  width: 800px;
174
}
175

    
176
.dashboard .uk-modal .uk-close::after {
177
  display: none;
178
}
179

    
180
/* Sortable*/
181
.dashboard .uk-sortable > * {
182
  cursor: move;
183
}
184

    
185
.uk-drag .dashboard .disable-sortable {
186
  pointer-events: none;
187
}
188

    
189
.dashboard .uk-sortable .uk-sortable-nodrag {
190
  cursor: default;
191
}
192

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

    
201
.dashboard .md-card-dropdown .uk-dropdown {
202
  min-width: 160px;
203
}
204

    
205
.dashboard .uk-dropdown .uk-nav.uk-dropdown-nav > li > a {
206
  padding: 5px 10px;
207
}
    (1-1/1)