Project

General

Profile

1
:root {
2
    --portal-main-color: #9ABB55;
3
    --portal-main-contrast: white;
4
    --portal-dark-color: #7c9144;
5

    
6
    --openaire-main-color: #313179;
7

    
8
    --explore-portal-color: #D95F2D;
9
    --provide-portal-color: #37C7E9;
10
    --monitor-portal-color: #9ABB55;
11
    --connect-portal-color: #EBB13E;
12
    --develop-portal-color: #DA65AB;
13

    
14
    --explore-portal-lower-tone: #a0462c;
15
    --provide-portal-lower-tone: #3A8FA3;
16
    --monitor-portal-lower-tone: #7c9144;
17
    --connect-portal-lower-tone: #b48536;
18
    --develop-portal-lower-tone: #9f4e7e;
19

    
20
    --sidebar-width: 300px;
21
    --header-height: 60px;
22
}
23

    
24
/* On link hover, his items with this class will be displayed*/
25
li>a .onHover {
26
    display: none;
27
}
28

    
29
li>a:hover .onHover {
30
    display: block;
31
}
32
/*---*/
33

    
34

    
35
/* Custom width of sidebar, change var: sidebar-width*/
36
#sidebar_main {
37
    width: var(--sidebar-width) !important;
38
    -webkit-transform: translate3d(calc(-1 * var(--sidebar-width)),0,0) !important;
39
    transform: translate3d(calc(-1 * var(--sidebar-width)),0,0) !important;
40
}
41

    
42
.sidebar_main_active #sidebar_main {
43
    -webkit-transform: translate3d(0,0,0) !important;
44
    transform: translate3d(0,0,0) !important;
45
}
46

    
47
@media only screen and (min-width: 1220px) {
48
    .sidebar_main_active #header_main, .sidebar_main_active #page_content, .sidebar_main_active #top_bar {
49
        margin-left: var(--sidebar-width) !important;
50
    }
51
}
52
/* Custom width of sidebar, change var: sidebar-width*/
53
body {
54
    padding-top: var(--header-height) !important;
55
}
56

    
57
#header_main {
58
    padding: calc((var(--header-height) - 48px)/2) 25px !important;
59
}
60
/*---*/
(2-2/4)