2019-11-12 16:55:37 +01:00
|
|
|
/*
|
|
|
|
Define the following variables on your project css file.
|
|
|
|
|
|
|
|
--sidebar-width: 320px;
|
|
|
|
--sidebar-font-size: 16px;
|
|
|
|
|
|
|
|
--header-height: 70px;
|
2019-11-19 15:25:19 +01:00
|
|
|
|
|
|
|
--list-card-max-width: 1220px;
|
2019-11-12 16:55:37 +01:00
|
|
|
*/
|
|
|
|
|
2019-11-13 17:01:33 +01:00
|
|
|
/* Global css*/
|
|
|
|
|
|
|
|
html .dashboard {
|
|
|
|
color: black;
|
|
|
|
}
|
2019-11-12 16:55:37 +01:00
|
|
|
|
2019-11-19 15:25:19 +01:00
|
|
|
.dashboard .clickable {
|
2019-11-24 17:30:04 +01:00
|
|
|
cursor: pointer !important;
|
2019-11-19 15:25:19 +01:00
|
|
|
}
|
|
|
|
|
2019-11-12 16:55:37 +01:00
|
|
|
/* On link hover, his items with this class will be displayed*/
|
2019-11-19 15:25:19 +01:00
|
|
|
.dashboard li > a .onHover {
|
2019-11-12 16:55:37 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-11-19 15:25:19 +01:00
|
|
|
.dashboard li > a:hover .onHover {
|
2019-11-12 16:55:37 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Custom width of sidebar, change var: sidebar-width*/
|
2019-11-14 11:09:13 +01:00
|
|
|
.dashboard .main_logo_top {
|
|
|
|
min-width: var(--sidebar-width);
|
|
|
|
}
|
|
|
|
|
2019-11-13 15:19:04 +01:00
|
|
|
.dashboard #sidebar_main {
|
|
|
|
width: var(--sidebar-width);
|
2019-11-19 15:25:19 +01:00
|
|
|
-webkit-transform: translate3d(calc(-1 * var(--sidebar-width)), 0, 0);
|
|
|
|
transform: translate3d(calc(-1 * var(--sidebar-width)), 0, 0);
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
2019-11-13 15:19:04 +01:00
|
|
|
.dashboard .sidebar_main_active #sidebar_main {
|
2019-11-19 15:25:19 +01:00
|
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
|
|
transform: translate3d(0, 0, 0);
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
2019-11-13 17:01:33 +01:00
|
|
|
.dashboard #sidebar_main .sidebar_main_header {
|
|
|
|
color: #000000;
|
2019-11-14 16:20:51 +01:00
|
|
|
height: auto;
|
|
|
|
min-height: var(--header-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard .header_full #sidebar_main .sidebar_main_header {
|
|
|
|
min-height: auto;
|
2019-11-13 17:01:33 +01:00
|
|
|
}
|
|
|
|
|
2019-11-13 15:19:04 +01:00
|
|
|
.dashboard #sidebar_main .menu_section > ul > li > a {
|
|
|
|
font-weight: 700;
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
2019-11-14 16:20:51 +01:00
|
|
|
.dashboard #sidebar_main .menu_section > ul li > a {
|
2019-11-13 15:19:04 +01:00
|
|
|
font-size: var(--sidebar-font-size);
|
2019-11-13 17:01:33 +01:00
|
|
|
color: rgba(0, 0, 0, 0.7);
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1220px) {
|
2019-11-13 15:19:04 +01:00
|
|
|
.dashboard .sidebar_main_active #header_main,
|
|
|
|
.dashboard .sidebar_main_active #page_content,
|
|
|
|
.dashboard .sidebar_main_active #top_bar {
|
|
|
|
margin-left: var(--sidebar-width);
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
}
|
2019-11-13 17:01:33 +01:00
|
|
|
|
2019-11-12 16:55:37 +01:00
|
|
|
/* Custom height of header, change var: header-height*/
|
2019-11-13 15:19:04 +01:00
|
|
|
body.dashboard {
|
|
|
|
padding-top: var(--header-height);
|
2019-11-14 11:09:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard .header_full #sidebar_main {
|
|
|
|
top: var(--header-height);
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
2019-11-13 15:19:04 +01:00
|
|
|
.dashboard #header_main {
|
2019-11-19 15:25:19 +01:00
|
|
|
padding: calc((var(--header-height) - 48px) / 2) 25px;
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Custom card*/
|
2019-11-13 17:01:33 +01:00
|
|
|
.dashboard .md-card .md-card-content {
|
|
|
|
color: rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions {
|
|
|
|
color: rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
2019-11-19 15:25:19 +01:00
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-13 17:01:33 +01:00
|
|
|
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
|
2019-11-13 15:19:04 +01:00
|
|
|
font-weight: 700;
|
2019-11-19 15:25:19 +01:00
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard .list .md-card {
|
|
|
|
max-width: var(--list-card-max-width);
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Breadcrumb*/
|
2019-11-13 15:19:04 +01:00
|
|
|
.dashboard #breadcrumbs {
|
|
|
|
background: inherit;
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
|
|
|
|
2019-11-13 17:01:33 +01:00
|
|
|
.dashboard #breadcrumbs > li a,
|
|
|
|
.dashboard #breadcrumbs > li span {
|
|
|
|
color: rgba(0, 0, 0, 0.4);
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
2019-11-12 16:55:37 +01:00
|
|
|
|
2019-11-13 17:01:33 +01:00
|
|
|
.dashboard #breadcrumbs > li + li a:before,
|
|
|
|
.dashboard #breadcrumbs > li + li span:before {
|
|
|
|
font-weight: 400 !important;
|
|
|
|
margin-top: -9px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Notification */
|
|
|
|
/* Remove the second close added by theme because it was used uikit 2*/
|
2019-11-19 15:25:19 +01:00
|
|
|
.dashboard .uk-close::after {
|
|
|
|
content: '';
|
|
|
|
}
|
2019-11-12 16:55:37 +01:00
|
|
|
|
2019-11-13 17:01:33 +01:00
|
|
|
/* Change z-index, because of sidebar and header z-index is bigger that default */
|
2019-11-13 15:19:04 +01:00
|
|
|
.dashboard .uk-notification {
|
|
|
|
z-index: 2000;
|
2019-11-12 16:55:37 +01:00
|
|
|
}
|
2019-11-19 15:25:19 +01:00
|
|
|
|
|
|
|
/* Form */
|
|
|
|
|
|
|
|
.dashboard .uk-form-stacked .uk-form-label {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 700;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2019-11-24 17:30:04 +01:00
|
|
|
|
|
|
|
.dashboard .md-input {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Modal*/
|
|
|
|
|
|
|
|
.dashboard .uk-modal .large-modal {
|
|
|
|
width: 800px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Sortable*/
|
|
|
|
.dashboard .uk-sortable > * {
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard .uk-sortable .uk-sortable-nodrag {
|
|
|
|
cursor: default;
|
|
|
|
}
|