@@ -20,8 +20,9 @@ $white: #fff;
20
20
padding : .75rem ;
21
21
justify-content : center ;
22
22
align-items :center ;
23
+
23
24
& :hover , & :focus {
24
- background : rgba (0 ,0 , 0 , .1 );
25
+ background : rgba (0 , 0 , 0 , .1 );
25
26
}
26
27
}
27
28
@@ -35,16 +36,15 @@ $white: #fff;
35
36
white-space : nowrap ;
36
37
overflow : hidden ;
37
38
text-overflow : ellipsis ;
38
- padding-bottom : 0.1 rem ;
39
+ padding-bottom : var ( --pgn-spacing-spacer-base ) ;
39
40
}
40
41
}
41
42
42
- .user-dropdown {
43
- .btn {
44
- height : 3rem ;
45
- @media (max-width : -1 + map-get ($grid-breakpoints , " sm" )) {
46
- padding : 0 0.5rem ;
47
- }
43
+ .user-dropdown .btn {
44
+ height : 3rem ;
45
+
46
+ @media (--max-pgn-size-breakpoint-xs ) {
47
+ padding : 0 .5rem ;
48
48
}
49
49
}
50
50
}
@@ -62,59 +62,198 @@ $white: #fff;
62
62
text-decoration : none ;
63
63
cursor : pointer ;
64
64
}
65
+
65
66
img {
66
67
height : 1.5rem ;
67
68
}
68
69
}
69
70
70
71
71
72
.site-header-desktop {
72
- box-shadow : 0 1px 0 0 rgba (0 ,0 , 0 , .1 );
73
+ box-shadow : 0 1px 0 0 rgba (0 , 0 , 0 , .1 );
73
74
background : var (--pgn-color-white );
75
+
74
76
.nav-link {
75
77
text-decoration : none ;
76
78
}
79
+
77
80
.logo {
78
81
display : block ;
79
82
box-sizing : content-box ;
80
83
position : relative ;
81
84
top : -.05em ;
82
85
height : 1.75rem ;
83
- padding : 1rem 0 ;
84
- margin-right : 1rem ;
86
+ padding : var (--pgn-spacing-spacer-base ) 0 ;
87
+ margin-right : var (--pgn-spacing-spacer-base );
88
+
85
89
img {
86
90
display : block ;
87
91
height : 100% ;
88
92
}
89
93
}
94
+
90
95
.main-nav {
91
96
.nav-link {
92
- padding : 1.125rem 1 rem ;
97
+ padding : 1.125rem var ( --pgn-spacing-spacer-base ) ;
93
98
text-decoration : none ;
94
99
font-weight : 500 ;
95
100
letter-spacing : .01em ;
96
101
}
102
+
97
103
.nav-link :hover ,
98
104
.nav-link :focus ,
99
105
.nav-link.active ,
100
106
.expanded .nav-link {
101
107
background : var (--pgn-color-bg-active );
102
108
color : var (--pgn-color-active );
103
109
}
110
+
104
111
.menu {
105
112
position : static ;
113
+
106
114
.menu-content {
107
115
border-top : solid 2px var (--pgn-color-bg-active );
108
116
left : 0 ;
109
117
right : 0 ;
110
- box-shadow : 0 1 px 2 px rgba ( 0 , 0 , 0 , .25 );
118
+ box-shadow : var ( --pgn-elevation-box-shadow-down-1 );
111
119
border-bottom-left-radius : 2px ;
112
120
border-bottom-right-radius : 2px ;
113
- padding : 1 rem ;
121
+ padding : var ( --pgn-spacing-spacer-base ) ;
114
122
}
115
123
}
116
124
}
125
+
117
126
.search-input {
118
127
border-radius : var (--pgn-size-rounded-pill );
119
128
}
120
129
}
130
+
131
+ .content b {
132
+ color : var (--pgn-color-primary-500 ) !important ;
133
+ font-weight : 500 !important ;
134
+ }
135
+
136
+ .font-size-18 {
137
+ font-size : 18px !important ;
138
+ }
139
+
140
+ .font-size-12 {
141
+ font-size : 12px ;
142
+ }
143
+
144
+ .font-size-14 {
145
+ font-size : 14px ;
146
+ }
147
+
148
+ .py-10px {
149
+ padding-top : 10px ;
150
+ padding-bottom : 10px ;
151
+ }
152
+
153
+ .pb-10px {
154
+ padding-bottom : 10px ;
155
+ }
156
+
157
+ .line-height-24 {
158
+ line-height : 24px ;
159
+ }
160
+
161
+ .line-height-20 {
162
+ line-height : 20px ;
163
+ }
164
+
165
+ .line-height-10 {
166
+ line-height : 10px !important ;
167
+ }
168
+
169
+ .icon-size-20 {
170
+ width : 20px !important ;
171
+ height : 20px !important ;
172
+ }
173
+
174
+ .cursor-pointer {
175
+ cursor : pointer ;
176
+ }
177
+
178
+ .notification-button {
179
+ width : 36px ;
180
+ height : 36px ;
181
+ }
182
+
183
+ .notification-icon {
184
+ height : 23.33px !important ;
185
+ width : 23.33px !important ;
186
+ }
187
+
188
+ .notification-badge {
189
+ position : absolute ;
190
+ margin-top : 18px ;
191
+ margin-left : -21px ;
192
+ border : 2px solid var (--pgn-color-white );
193
+ font-size : 9px !important ;
194
+ }
195
+
196
+ .popover {
197
+ max-height : calc (100% - 68px );
198
+ min-height : 1220px ;
199
+ filter : none ;
200
+ box-shadow : var (--pgn-elevation-box-shadow-down-2 );
201
+
202
+ & .medium-screen {
203
+ min-width : 24.313rem ;
204
+ }
205
+
206
+ & .large-screen {
207
+ min-width : 34.313rem ;
208
+ }
209
+
210
+ .dropdown-toggle ::after {
211
+ display : none ;
212
+ }
213
+
214
+ .expandable {
215
+ position : relative !important ;
216
+ margin-left : 4px ;
217
+ padding : 2px 5px ;
218
+ border-radius : 10rem ;
219
+ font-size : 9px ;
220
+ }
221
+
222
+ .dropdown-toggle {
223
+ font-size : 14px ;
224
+ padding-top : 0 !important ;
225
+ padding-bottom : 12px !important ;
226
+
227
+ div {
228
+ min-height : 6px !important ;
229
+ min-width : 6px !important ;
230
+ }
231
+ }
232
+
233
+ .dropdown-item {
234
+ font-size : 14px ;
235
+ font-weight : 500 ;
236
+ }
237
+
238
+ .notification-content {
239
+ .notification-item-content {
240
+ display : -webkit-box ;
241
+ -webkit-line-clamp : 2 ;
242
+ -webkit-box-orient : vertical ;
243
+ text-overflow : ellipsis ;
244
+
245
+ p {
246
+ margin-bottom : 0 ;
247
+ }
248
+
249
+ b {
250
+ color : var (--pgn-color-primary-500 );
251
+ }
252
+ }
253
+
254
+ .unread {
255
+ height : 10px ;
256
+ width : 10px ;
257
+ }
258
+ }
259
+ }
0 commit comments