summaryrefslogtreecommitdiff
path: root/Static/Css/navbar.css
blob: 6887f0dd6980ac20729ea04da5432b381cf09a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130

/* 
############################################################################
#                                                                          #
# Description: CSS spécifique au header et à la navbar                     #
#                                                                          #
############################################################################ 
*/

.showNav {
    top: 0vh !important;
}

.navLinkClicked {
    color:     var(--mainSiteColor) !important;
    transform: scale(1.2) rotate(90deg);
}

.headerInfoAdmin {
    color: darkblue;
}

.headerInfoPro {
    color: brown;
}

.headerInfoClient {
    color: darkolivegreen;
}

header {
    z-index:          1;
    display:          flex;
    justify-content:  space-around;
    height:           10vh;
    text-align:       center;
    background-color: var(--headerBg);
    border-top:       var(--mainSiteColor) solid 6px;
    border-bottom:    var(--mainSiteColor) solid 3px;
}

header h2 {
    margin:      0px;
    font-family: akira;
    color:       var(--mainSiteColor) !important;
}

header a {
    display:         flex;
    flex-direction:  column;
    justify-content: center;
    text-align:      center;
    flex-grow:       1;
    text-decoration: none;
    color:           var(--navbarTextColor);
    transition:      all 0.1s ease-in-out;
}

header form {
    display:         flex;
    flex-direction:  column;
    justify-content: center;
    flex-grow:       1;
}

header a:hover {
    transform: scale(1.1);
}

header a:first-child {
    border-right:     3px solid var(--mainSiteColor);
    background-color: var(--navBg);
}

header a:first-child:hover {
    transform: none;
}

header a:first-child i {
    margin:     0px;
    color:     #404040;
    font-size:  var(--fontSizeLarge);
    transition: all 0.1s ease-in-out;
}

header a:first-child i:hover {
    cursor: pointer;
}

nav {
    top:              -10.5vh;
    display:          flex;
    position:         relative;
    justify-content:  space-around;
    height:           10vh;
    background-color: var(--navBg);
    border-bottom:    var(--mainSiteColor) solid 3px;
    box-shadow:       0px 0px 6px #0e0e0e;
    transition:       all 0.1s ease-in-out;
}

nav a {
    display:         flex;
    flex-direction:  column;
    justify-content: center;
    text-align:      center;
    flex-grow:       1;
    text-decoration: none;
    color:           var(--navbarTextColor);
    transition:      all 0.1s ease-in-out;
}

nav a:hover {
    color:     var(--mainSiteColor);
    transform: scale(1.2);
}

nav p {
    display:         flex;
    flex-direction:  column;
    justify-content: center;
    text-align:      center;
    flex-grow:       1;
}

@media screen and (max-width: 768px) {
    header a:first-child {
        min-width: 20%;
    }
}