1 | .navbar .logo {
|
---|
2 | width: 100px;
|
---|
3 | height: 60px;
|
---|
4 | display: inline-block;
|
---|
5 | background: url("../../../public/images/logo.png") no-repeat center center;
|
---|
6 | background-size: contain;
|
---|
7 | margin-right: 0;
|
---|
8 |
|
---|
9 | }
|
---|
10 |
|
---|
11 | .navbar .brand-name {
|
---|
12 | width: 190px;
|
---|
13 | height: 150px;
|
---|
14 | display: inline-block;
|
---|
15 | background: url("../../../public/images/brand-name-2.png") no-repeat center center;
|
---|
16 | background-size: contain;
|
---|
17 | margin-right: 70px;
|
---|
18 | }
|
---|
19 |
|
---|
20 | .navbar {
|
---|
21 | width: 100%;
|
---|
22 | height: 80px;
|
---|
23 | background-color: #f8f9fa;
|
---|
24 | font-family: Poppins, sans-serif;
|
---|
25 | position: fixed;
|
---|
26 | z-index: 10;
|
---|
27 | box-sizing: border-box;
|
---|
28 | }
|
---|
29 |
|
---|
30 | .navbar .nav-item {
|
---|
31 | color: rgba(1,38,90,0.9);
|
---|
32 | margin-right: 15px;
|
---|
33 | border-radius: 10px;
|
---|
34 | text-transform: uppercase;
|
---|
35 | font-size: 20px;
|
---|
36 | font-weight: 600;
|
---|
37 | font-family: Poppins, sans-serif;
|
---|
38 | }
|
---|
39 | .navbar .nav-item:hover {
|
---|
40 | color: white;
|
---|
41 | background-color: rgba(1,38,90,0.9);
|
---|
42 | }
|
---|
43 | .active {
|
---|
44 | color: white !important;
|
---|
45 | background-color: rgba(1,38,90,0.9);
|
---|
46 | }
|
---|
47 |
|
---|
48 | /*NOVO*/
|
---|
49 |
|
---|
50 | :root {
|
---|
51 | --gray: #555;
|
---|
52 | --purple: #4e65ff;
|
---|
53 | --green-blue: #92effd;
|
---|
54 | --white: #fff;
|
---|
55 | }
|
---|
56 |
|
---|
57 | .navigation {
|
---|
58 | position: fixed;
|
---|
59 | top: 10px;
|
---|
60 | right: 20px;
|
---|
61 | width: 120px;
|
---|
62 | height: 60px;
|
---|
63 | display: flex;
|
---|
64 | justify-content: space-between;
|
---|
65 | border-radius: 5px;
|
---|
66 | background: var(--white);
|
---|
67 | box-shadow: 0 25px 35px rgba(0, 0, 0, 0.3);
|
---|
68 | /*box-shadow: 0px 0px 18px 4px rgba(0,0,0,0.46);*/
|
---|
69 | overflow: hidden;
|
---|
70 | transition: height 0.5s, width 0.5s;
|
---|
71 | transition-delay: 0s, 0.3s;
|
---|
72 | z-index: 15;
|
---|
73 | /*border: 2px solid var(--gray);*/
|
---|
74 | }
|
---|
75 |
|
---|
76 | .navigation .user-box {
|
---|
77 | position: relative;
|
---|
78 | width: 60px;
|
---|
79 | height: 60px;
|
---|
80 | display: flex;
|
---|
81 | align-items: center;
|
---|
82 | overflow: hidden;
|
---|
83 | transition: 0.3s;
|
---|
84 | transition-delay: 0.3s;
|
---|
85 | }
|
---|
86 |
|
---|
87 | .navigation .user-box .username {
|
---|
88 | font-size: 1.2rem;
|
---|
89 | font-weight: bold;
|
---|
90 | white-space: nowrap;
|
---|
91 | margin: 0;
|
---|
92 | color: black;
|
---|
93 | padding-top: 10px;
|
---|
94 |
|
---|
95 | }
|
---|
96 |
|
---|
97 | .navigation .user-box .role {
|
---|
98 | color: darkgray;
|
---|
99 | margin-bottom: 10px;
|
---|
100 | font-size: 1rem;
|
---|
101 | }
|
---|
102 |
|
---|
103 | .navigation .user-box .image-box {
|
---|
104 | position: relative;
|
---|
105 | min-width: 60px;
|
---|
106 | height: 60px;
|
---|
107 | background: var(--white);
|
---|
108 | border-radius: 50%;
|
---|
109 | overflow: hidden;
|
---|
110 | border: 10px solid var(--white);
|
---|
111 |
|
---|
112 | }
|
---|
113 |
|
---|
114 | .navigation .user-box .image-box img {
|
---|
115 | position: absolute;
|
---|
116 | top: 0;
|
---|
117 | left: 0;
|
---|
118 | width: 100%;
|
---|
119 | height: 100%;
|
---|
120 | object-fit: cover;
|
---|
121 | /*border: 1px solid black*/
|
---|
122 | }
|
---|
123 |
|
---|
124 | .navigation .menu-toggle {
|
---|
125 | position: relative;
|
---|
126 | width: 60px;
|
---|
127 | height: 60px;
|
---|
128 | display: flex;
|
---|
129 | justify-content: center;
|
---|
130 | align-items: center;
|
---|
131 | cursor: pointer;
|
---|
132 | }
|
---|
133 |
|
---|
134 | .navigation .menu-toggle::before {
|
---|
135 | content: "";
|
---|
136 | position: absolute;
|
---|
137 | width: 32px;
|
---|
138 | height: 2px;
|
---|
139 | background: var(--gray);
|
---|
140 | transform: translateY(-10px);
|
---|
141 | box-shadow: 0 10px var(--gray);
|
---|
142 | transition: 0.5s;
|
---|
143 | }
|
---|
144 |
|
---|
145 | .navigation .menu-toggle::after {
|
---|
146 | content: "";
|
---|
147 | position: absolute;
|
---|
148 | width: 32px;
|
---|
149 | height: 2px;
|
---|
150 | background: var(--gray);
|
---|
151 | transform: translateY(10px);
|
---|
152 | transition: 0.5s;
|
---|
153 | }
|
---|
154 |
|
---|
155 | .menu {
|
---|
156 | position: absolute;
|
---|
157 | width: 100%;
|
---|
158 | /*height: calc(100% - 60px);*/
|
---|
159 | margin-top: 60px;
|
---|
160 | padding: 0;
|
---|
161 | border-top: 1px solid rgba(0, 0, 0, 0.1);
|
---|
162 | }
|
---|
163 |
|
---|
164 | .menu .menu-link {
|
---|
165 | text-decoration: none;
|
---|
166 | color: black;
|
---|
167 | display: flex;
|
---|
168 | align-items: center;
|
---|
169 | gap: 10px;
|
---|
170 | font-size: 1.1rem;
|
---|
171 | padding: 15px 30px;
|
---|
172 | }
|
---|
173 | .menu .menu-link:hover {
|
---|
174 | background-color: #EEEEEE;
|
---|
175 | }
|
---|
176 |
|
---|
177 |
|
---|
178 | .navigation.active .menu-toggle::before {
|
---|
179 | transform: translateY(0px) rotate(45deg);
|
---|
180 | box-shadow: none;
|
---|
181 | }
|
---|
182 |
|
---|
183 | .navigation.active .menu-toggle::after {
|
---|
184 | transform: translateY(0px) rotate(-45deg);
|
---|
185 | }
|
---|
186 |
|
---|
187 | .navigation.active {
|
---|
188 | width: 300px;
|
---|
189 | height: 175px;
|
---|
190 | transition: width 0.3s, height 0.3s;
|
---|
191 | transition-delay: 0s, 0.3s;
|
---|
192 | }
|
---|
193 |
|
---|
194 | .navigation.active .user-box {
|
---|
195 | width: calc(100% - 60px);
|
---|
196 | transition-delay: 0s;
|
---|
197 | }
|
---|
198 |
|
---|
199 |
|
---|
200 |
|
---|
201 |
|
---|
202 |
|
---|