/* Define the following variables on your project css file. --sidebar-font-size: 16px; --header-height: 70px; --list-card-max-width: 1220px; --primary-color: #0d47a1; --secondary-color: #1CA9D5; */ /* Global css*/ html .dashboard { color: black; } .dashboard .clickable { cursor: pointer !important; } .dashboard #hide_controls #toggle *, .dashboard #header_main a, .dashboard #sidebar_main a { user-select: none; -webkit-user-select: none; -moz-user-select: none; } /* On link hover, his items with this class will be displayed*/ .dashboard li > a .onHover { display: none; } .dashboard li > a:hover .onHover, .dashboard li > a .onHover.uk-open { display: block; } /* Sidebar with hide controls*/ .dashboard #sidebar_main { display: flex; flex-direction: column; } .dashboard #sidebar_main .sidebar_main_header { height: auto; min-height: var(--header-height); } .dashboard #sidebar_main .menu_section { overflow: auto; flex: 1; margin-bottom: 45px; } .dashboard #hide_controls { bottom: 0; left: 0; position: fixed; z-index: 1205; height: 45px; width: 0; background: rgba(255, 255, 255, 0); } @media only screen and (max-width: 767px) { .dashboard .sidebar_main_active #hide_controls { width: 280px; } } .dashboard .sidebar_main_active #hide_controls { background: rgba(255, 255, 255, 1); border-top: 1px solid rgba(0,0,0,.30); width: 320px; transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1); -webkit-transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1); -moz-transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1); } .dashboard #hide_controls #toggle { color: #646a6f; margin-left: 5px; margin-top: 5px; cursor: pointer; width: max-content; } .dashboard #hide_controls #toggle:hover, .dashboard #hide_controls #toggle:not(.sidebar_main_open) { color: var(--primary-color); } .dashboard #hide_controls:hover #toggle:hover .material-icons, .dashboard #hide_controls #toggle:not(.sidebar_main_open) .material-icons { color: var(--primary-color); border: var(--primary-color) solid 1px; } .dashboard #hide_controls #toggle .material-icons { transform: rotateY(0deg); transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); -webkit-transform: rotateY(0deg); -webkit-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); -moz-transform: rotateY(0deg); -moz-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); background: rgba(0, 0, 0, 0); border-radius: 50%; border: rgba(0, 0, 0, 0) solid 1px; text-align: center; width: 26px !important; height: 26px !important; line-height: 26px !important; font-size: 24px; vertical-align: -7px; } .dashboard .sidebar_main_active #hide_controls #toggle .material-icons { transform: rotateY(180deg); transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); -webkit-transform: rotateY(180deg); -webkit-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); -moz-transform: rotateY(180deg); -moz-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); } .dashboard .header_full #sidebar_main .sidebar_main_header { min-height: auto; } .dashboard #sidebar_main .menu_section > ul > li > a { font-weight: 700; overflow: unset; } .dashboard #sidebar_main .menu_section > ul > li:not([class*=md-bg-]) > a:hover { background-color: #F0F0F0; } .dashboard #sidebar_main .menu_section > ul > li > a > .menu_icon { width: 30px; } .dashboard #sidebar_main .menu_section > ul > li > a > .menu_on_hover { width: 40px; } .dashboard #sidebar_main .menu_section > ul > li > ul > li > a:hover { background-color: #F0F0F0; margin-right: 5px; } .dashboard #sidebar_main .menu_section > ul li > a { font-size: var(--sidebar-font-size); color: rgba(0, 0, 0, 0.7); } .dashboard #sidebar_main .menu_section > ul li > a > .menu_on_hover { width: 40px; } .dashboard #sidebar_main .menu_section .uk-dropdown { min-width: 150px; } .dashboard #sidebar_main .menu_section .uk-dropdown > ul { display: block; margin: 0; text-align: start; } .dashboard #sidebar_main .menu_section .uk-dropdown > ul > li > a { padding: 5px 10px; color: black !important; } .dashboard #sidebar_main .menu_section > ul ul > li > a { line-height: 20px; } .dashboard #sidebar_main .menu_section > ul li > a { display: flex; align-items: center; } /* Header */ 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 > .uk-navbar { height: var(--header-height); } .dashboard #header_main > .uk-navbar > * { vertical-align: middle; } .dashboard #header_main #sidebar_main_toggle { margin: calc(var(--header-height) - 48px) 0; } .dashboard #header_main .material-icons { color: white; } .dashboard #header_main .login { color: white; font-weight: bold; } .dashboard #header_main circle, .dashboard #header_main .login svg { stroke: white; fill: white; } .dashboard #header_main text { stroke: var(--primary-color); fill: var(--primary-color); } .dashboard #header_main svg svg *{ stroke: var(--primary-color); fill: none; } .dashboard #header_main .login svg *{ stroke: white; fill: none; } /* 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; float: none; } /* 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's and header's z-index are 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; } .dashboard .uk-sortable-drag .md-card.md-card-hover { -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); } .dashboard .uk-sortable-drag { overflow: unset !important; } .uk-drag .dashboard .disable-sortable { pointer-events: none; } .dashboard .uk-sortable .uk-sortable-nodrag { cursor: default; } /* List view*/ .dashboard .list-view { max-width: 1220px; } /* Section Tools*/ .dashboard .section { padding-top: 10px; padding-bottom: 10px; padding-right: 10px; border: rgba(0, 0, 0, 0) solid 1px; position: relative; } .dashboard .section .tools { position: absolute; top: 0; left: 50%; transform: translate(-50%, -100%); display: none; } .dashboard .section:not(.list-view):hover { border: var(--secondary-color) solid 1px; } .dashboard .section:not(.list-view):hover .tools { display: block; } .dashboard .section:hover .tools .md-btn-group .md-btn-mini { border-bottom-left-radius: 0; padding: 0; -webkit-box-shadow: none; box-shadow: none; margin-left: -1px !important; } .dashboard .section:hover .tools .md-btn-group .md-btn-mini:first-child { border-top-left-radius: 5px; } .dashboard .section:hover .tools .md-btn-group .md-btn-mini:last-child { border-top-right-radius: 5px; } .dashboard .section .md-btn { background-color: var(--secondary-color); width: 20px; color: white; } .dashboard .section:hover .tools .md-btn-group .md-btn-mini * { color: white; } .dashboard .section:hover .tools .md-btn-group::before { content: ""; border-bottom: 25px solid var(--secondary-color); border-left:solid 12px transparent; width: 0; margin-left: -1px; border-top-right-radius: 5px; } .dashboard .section:hover .tools .md-btn-group::after { content: ""; border-bottom: 25px solid var(--secondary-color); border-right: solid 12px transparent; width: 0; margin-left: -1px; border-top-left-radius: 5px; } /* New section*/ .dashboard .new-section { padding-top: 10px; padding-bottom: 10px; padding-right: 10px; border: #cecece dashed 2px; background-color: white; min-height: 100px; position: relative; } .dashboard .new-section .tools { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .dashboard .new-section .tools .md-btn.add { background-color: var(--secondary-color); min-width: 40px; min-height: 40px; padding: 2px 8px; border-radius: 50%; } /* Dropdown*/ .dashboard .uk-dropdown { opacity: 1; transform: none; -webkit-transform: none; padding: 5px 0; min-width: 160px; } .dashboard .uk-dropdown .uk-nav.uk-dropdown-nav > li > a { padding: 5px 10px; } /* Badge */ .dashboard .badge { height: 75px; position: absolute; top: 0; left: 0; z-index: 1; } .dashboard .badge.small-badge { height: 70px; } .dashboard .badge.right-badge { top: 0; left: auto; transform: rotate(90deg); right: 0; } /* Login Icon*/ .loginLink.dark{ color: rgba(0,0,0,.54) !important; font-weight: bold; } circle.userBox.dark, svg .icon.userBox.dark, svg .loginLink.userBox.dark{ stroke: rgba(0,0,0,.54); fill: none; } text.userBox.dark { stroke: rgba(0,0,0,.54); fill: rgba(0,0,0,.54); }