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