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

109 lines
2.4 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;
*/
/* Global css*/
html .dashboard {
color: black;
}
/* 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 #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;
}
.dashboard #sidebar_main .menu_section > ul > li > a {
font-weight: 700;
font-size: var(--sidebar-font-size);
color: rgba(0, 0, 0, 0.7);
}
.dashboard #sidebar_main .menu_section > ul > li ul 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_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);
}
.dashboard .md-card .md-card-toolbar .md-card-toolbar-heading-text {
font-weight: 700;
}
/* 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;
}