monitor-dashboard/src/assets/theme-assets/dashboard-custom.css

168 lines
3.3 KiB
CSS
Raw Normal View History

/*
Define the following variables on your project css file.
--sidebar-width: 320px;
--sidebar-font-size: 16px;
--header-height: 70px;
--list-card-max-width: 1220px;
*/
/* Global css*/
html .dashboard {
color: black;
}
.dashboard .clickable {
cursor: pointer !important;
}
/* On link hover, his items with this class will be displayed*/
.dashboard li > a .onHover {
display: none;
}
.dashboard li > a:hover .onHover {
display: block;
}
/* Custom width of sidebar, change var: sidebar-width*/
.dashboard .main_logo_top {
min-width: var(--sidebar-width);
}
.dashboard #sidebar_main {
width: var(--sidebar-width);
-webkit-transform: translate3d(calc(-1 * var(--sidebar-width)), 0, 0);
transform: translate3d(calc(-1 * var(--sidebar-width)), 0, 0);
}
.dashboard .sidebar_main_active #sidebar_main {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.dashboard #sidebar_main .sidebar_main_header {
color: #000000;
height: auto;
min-height: var(--header-height);
}
.dashboard .header_full #sidebar_main .sidebar_main_header {
min-height: auto;
}
.dashboard #sidebar_main .menu_section > ul > li > a {
font-weight: 700;
}
.dashboard #sidebar_main .menu_section > ul li > a {
font-size: var(--sidebar-font-size);
color: rgba(0, 0, 0, 0.7);
}
@media only screen and (min-width: 1220px) {
.dashboard .sidebar_main_active #header_main,
.dashboard .sidebar_main_active #page_content,
.dashboard .sidebar_main_active #top_bar {
margin-left: var(--sidebar-width);
}
}
/* Custom height of header, change var: header-height*/
body.dashboard {
padding-top: var(--header-height);
}
.dashboard .header_full #sidebar_main {
top: var(--header-height);
}
.dashboard #header_main {
padding: calc((var(--header-height) - 48px) / 2) 25px;
}
/* Custom card*/
.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);
}
@media only screen and (max-width: 767px) {
.dashboard .md-card .md-card-toolbar .md-card-toolbar-actions span {
display: none;
}
}
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
font-weight: 700;
float: none;
}
.dashboard .list .md-card {
max-width: var(--list-card-max-width);
}
/* Breadcrumb*/
.dashboard #breadcrumbs {
background: inherit;
}
.dashboard #breadcrumbs > li a,
.dashboard #breadcrumbs > li span {
color: rgba(0, 0, 0, 0.4);
font-size: 12px;
line-height: 20px;
}
.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*/
.dashboard .uk-close::after {
content: '';
}
/* Change z-index, because of sidebar and header z-index is bigger that default */
.dashboard .uk-notification {
z-index: 2000;
}
/* Form */
.dashboard .uk-form-stacked .uk-form-label {
font-size: 14px;
font-weight: 700;
padding: 0;
margin-top: 5px;
}
.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;
}