2
2
position : fixed;
3
3
height : 100% ;
4
4
width : 250px ;
5
- border-right : 1px solid # a5a5a5 ;
5
+ border-right : 1px solid # c1c1c1 ;
6
6
padding : 6px 14px ;
7
7
z-index : 103 ;
8
8
transition : 0.5s ease;
9
9
padding : 0 0.2rem ;
10
10
display : flex;
11
11
flex-direction : column;
12
12
align-items : flex-start;
13
- gap : 10px ;
14
13
}
15
14
16
15
nav .logo-details {
17
- height : 60 px ;
16
+ height : 70 px ;
18
17
width : 100% ;
19
18
display : flex;
20
19
align-items : center;
@@ -52,12 +51,6 @@ nav.open .logo-details .toggled {
52
51
position : initial;
53
52
}
54
53
55
- nav i {
56
- color : var (--bg-color-secondary );
57
- min-width : 60px ;
58
- font-size : 28px ;
59
- text-align : center;
60
- }
61
54
62
55
nav .nav-list {
63
56
width : 100% ;
@@ -77,22 +70,23 @@ nav li.mobile {
77
70
}
78
71
79
72
nav li .tooltip {
80
- position : absolute;
81
- top : -20px ;
82
- left : calc (100% + 15px );
83
- z-index : 3 ;
84
- color : var (--font-color-primary );
85
73
background : var (--bg-color-card );
86
- box-shadow : 0 5px 10px rgba (0 , 0 , 0 , 0.3 );
87
- padding : 6px 12px ;
88
74
border-radius : 4px ;
75
+ border : 1px solid # c1c1c1 ;
76
+ box-shadow : 0 5px 10px rgba (0 , 0 , 0 , 0.3 );
77
+ color : var (--font-color-primary );
78
+ display : none;
89
79
font-size : 15px ;
90
- font-weight : 400 ;
80
+ font-weight : 500 ;
81
+ left : calc (100% + 25px );
91
82
opacity : 0 ;
92
- white-space : nowrap ;
83
+ padding : 6 px 12 px ;
93
84
pointer-events : none;
85
+ position : absolute;
86
+ top : -20px ;
94
87
transition : 0s ;
95
- display : none;
88
+ white-space : nowrap;
89
+ z-index : 3 ;
96
90
}
97
91
98
92
nav li : hover .tooltip {
@@ -104,32 +98,33 @@ nav li:hover .tooltip {
104
98
}
105
99
106
100
nav li a {
107
- display : flex;
108
- height : 100% ;
109
- width : 100% ;
110
- border-radius : 40px ;
111
101
align-items : center;
112
- text-decoration : none;
113
- transition : 0.5s ease;
114
102
background : transparent;
103
+ border-radius : 40px ;
104
+ color : var (--font-color-secondary );
115
105
cursor : pointer;
106
+ display : flex;
107
+ font-size : 18px ;
108
+ font-weight : 600 ;
109
+ gap : 0.8rem ;
110
+ height : 100% ;
111
+ padding : 0 ;
112
+ text-decoration : none;
113
+ transition : 0.2s ease;
114
+ width : 100% ;
116
115
}
117
116
118
117
nav li a : hover ,
119
- . profile . profile-details : hover ,
120
- .active {
121
- background : var (--bg-hover ) !important ;
118
+ nav li a . active ,
119
+ .profile . profile-details : hover {
120
+ color : var (--font-color-primary ) ;
122
121
}
123
122
124
123
nav li a .links_name {
125
- color : var (--font-color-primary );
126
- font-size : 19px ;
127
- font-weight : 500 ;
128
124
white-space : nowrap;
129
125
opacity : 0 ;
130
126
letter-spacing : 1px ;
131
127
pointer-events : none;
132
- transition : 0.4s ;
133
128
opacity : 1 ;
134
129
}
135
130
@@ -139,8 +134,9 @@ nav li a:hover i {
139
134
}
140
135
141
136
nav li i {
142
- font-size : 30 px ;
137
+ font-size : 32 px ;
143
138
border-radius : 12px ;
139
+ min-width : fit-content;
144
140
}
145
141
146
142
nav .profile {
@@ -220,6 +216,11 @@ nav .profile {
220
216
@media (max-width : 1280px ) {
221
217
nav {
222
218
width : 80px ;
219
+ align-items : center;
220
+ }
221
+
222
+ nav .nav-list {
223
+ width : fit-content;
223
224
}
224
225
225
226
nav li .tooltip {
@@ -281,7 +282,7 @@ nav .profile {
281
282
transition : none;
282
283
background : var (--bg-color );
283
284
border-right : none;
284
- border-top : 1px solid # a5a5a5 ;
285
+ border-top : 1px solid # c1c1c1 ;
285
286
}
286
287
287
288
nav .profile ,
@@ -293,13 +294,10 @@ nav .profile {
293
294
nav .nav-list {
294
295
flex-direction : row;
295
296
bottom : 0 ;
296
- justify-content : space-evenly;
297
+ justify-content : center;
298
+ gap : 4px ;
297
299
}
298
300
299
- /* nav li {
300
- padding: 10px 0;
301
- } */
302
-
303
301
nav li .tooltip {
304
302
display : none;
305
303
}
0 commit comments