61 lines
1.6 KiB
CSS
61 lines
1.6 KiB
CSS
:root {
|
|
--portal-main-color: #9ABB55;
|
|
--portal-main-contrast: white;
|
|
--portal-dark-color: #7c9144;
|
|
|
|
--openaire-main-color: #313179;
|
|
|
|
--explore-portal-color: #D95F2D;
|
|
--provide-portal-color: #37C7E9;
|
|
--monitor-portal-color: #9ABB55;
|
|
--connect-portal-color: #EBB13E;
|
|
--develop-portal-color: #DA65AB;
|
|
|
|
--explore-portal-lower-tone: #a0462c;
|
|
--provide-portal-lower-tone: #3A8FA3;
|
|
--monitor-portal-lower-tone: #7c9144;
|
|
--connect-portal-lower-tone: #b48536;
|
|
--develop-portal-lower-tone: #9f4e7e;
|
|
|
|
--sidebar-width: 300px;
|
|
--header-height: 60px;
|
|
}
|
|
|
|
/* On link hover, his items with this class will be displayed*/
|
|
li>a .onHover {
|
|
display: none;
|
|
}
|
|
|
|
li>a:hover .onHover {
|
|
display: block;
|
|
}
|
|
/*---*/
|
|
|
|
|
|
/* Custom width of sidebar, change var: sidebar-width*/
|
|
#sidebar_main {
|
|
width: var(--sidebar-width) !important;
|
|
-webkit-transform: translate3d(calc(-1 * var(--sidebar-width)),0,0) !important;
|
|
transform: translate3d(calc(-1 * var(--sidebar-width)),0,0) !important;
|
|
}
|
|
|
|
.sidebar_main_active #sidebar_main {
|
|
-webkit-transform: translate3d(0,0,0) !important;
|
|
transform: translate3d(0,0,0) !important;
|
|
}
|
|
|
|
@media only screen and (min-width: 1220px) {
|
|
.sidebar_main_active #header_main, .sidebar_main_active #page_content, .sidebar_main_active #top_bar {
|
|
margin-left: var(--sidebar-width) !important;
|
|
}
|
|
}
|
|
/* Custom height of header, change var: header-height*/
|
|
body {
|
|
padding-top: var(--header-height) !important;
|
|
}
|
|
|
|
#header_main {
|
|
padding: calc((var(--header-height) - 48px)/2) 25px !important;
|
|
}
|
|
/*---*/
|