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

215 lines
3.8 KiB
CSS

/*
Define the following variables on your project css file.
--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 height of header, change var: header-height*/
.dashboard #sidebar_main .sidebar_main_header {
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 > .menu_icon {
width: 30px;
}
.dashboard #sidebar_main .menu_section > ul li > a {
font-size: var(--sidebar-font-size);
line-height: 19px;
color: rgba(0, 0, 0, 0.7);
}
.dashboard #sidebar_main .menu_section > ul li > a {
display: flex;
align-items: center;
}
body.dashboard {
padding-top: var(--header-height);
}
.dashboard .header_full #sidebar_main {
top: var(--header-height);
}
.dashboard #header_main {
height: var(--header-height);
}
.dashboard #header_main > nav {
height: var(--header-height);
display: table;
}
.dashboard #header_main > nav > * {
display: table-cell;
vertical-align: middle;
float: none;
line-height: inherit;
}
.dashboard #header_main #sidebar_main_toggle {
margin: calc(var(--header-height) - 48px) 0;
}
/* 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 .max-width-large {
max-width: 1220px;
}
/* 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 */
/* Change z-index, because of sidebar and header z-index is bigger that default */
.dashboard .uk-notification {
z-index: 2000;
}
.dashboard .uk-notification-message {
border-radius: 3px;
font-size: 14px;
}
.dashboard .uk-notification-message.uk-notification-message-success {
background-color: #e0f0d5;
color: #669a59;
}
.dashboard .uk-notification-message.uk-notification-message-danger {
background-color: #f2dede;
color: #b25654;
}
.dashboard .uk-notification-close.uk-close::after {
font-size: 16px;
}
.dashboard .uk-notification-close.uk-icon.uk-close svg {
display: none;
}
/* 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;
}
.dashboard .uk-modal .uk-close::after {
display: none;
}
/* Sortable*/
.dashboard .uk-sortable > * {
cursor: move;
}
.uk-drag .dashboard .disable-sortable {
pointer-events: none;
}
.dashboard .uk-sortable .uk-sortable-nodrag {
cursor: default;
}
/* Dropdown*/
.dashboard .uk-dropdown {
opacity: 1;
transform: none;
-webkit-transform: none;
padding: 5px 0;
}
.dashboard .md-card-dropdown .uk-dropdown {
min-width: 160px;
}
.dashboard .uk-dropdown .uk-nav.uk-dropdown-nav > li > a {
padding: 5px 10px;
}
.large-badge {
height: 104px;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}