6868 @include tutor-flex (row , center );
6969 }
7070
71+ .tutor-avatar {
72+ margin : 0 auto ;
73+ }
74+
7175 & -user-avatar {
7276 @include tutor-button-reset ();
7377 width : 32px ;
9094 }
9195
9296 & -user-popover {
93- width : 220 px ;
97+ width : 230 px ;
9498 padding : $tutor-spacing-4 ;
99+ z-index : calc ($tutor-z-highest + 1 ) !important ;
95100
96101 & -profile {
97102 @include tutor-flex (column , center , flex-start );
98103 gap : $tutor-spacing-5 ;
99104 background-color : $tutor-surface-brand-tertiary ;
100105 padding : $tutor-spacing-6 $tutor-spacing-5 ;
101106 border-radius : $tutor-radius-md ;
102- margin-bottom : $tutor-spacing-4 ;
107+ margin-bottom : $tutor-spacing-5 ;
108+
109+ .tutor-edit-profile-link {
110+ color : $tutor-icon-idle ;
111+ }
103112 }
104113
105114 & -menu {
146155 }
147156 }
148157 }
149- }
158+
159+ @include tutor-breakpoint-down (sm) {
160+ height : 60px ;
161+
162+ & -user-avatar {
163+ width : 22px ;
164+ height : 22px ;
165+ }
166+
167+ & -user-popover {
168+ top : 0px !important ;
169+ left : 0px !important ;
170+ width : 100% !important ;
171+ max-width : 100% !important ;
172+ height : 100% !important ;
173+ max-height : 100% !important ;
174+ overflow-y : auto ;
175+ padding : $tutor-spacing-none ;
176+ @include tutor-flex (column );
177+
178+ & -profile {
179+ padding : $tutor-spacing-none ;
180+ gap : $tutor-spacing-none ;
181+ margin-bottom : $tutor-spacing-6 ;
182+
183+ .tutor-profile-header-top {
184+ width : 100% ;
185+ @include tutor-flex (row , center , space-between )
186+ }
187+
188+ .tutor-user-profile-info {
189+ width : 100% ;
190+ flex-direction : row ;
191+ gap : 10px ;
192+ background : $tutor-surface-l1 ;
193+ }
194+
195+ .tutor-user-profile-meta {
196+ align-items : flex-start ;
197+ }
198+
199+ .tutor-edit-profile-link {
200+ align-self : center ;
201+ margin-inline-start : auto ;
202+ }
203+
204+ .tutor-avatar {
205+ margin : unset ;
206+ }
207+ }
208+
209+ & -menu-wrapper {
210+ @include tutor-flex (column , stretch , space-between );
211+ background : $tutor-surface-base ;
212+ height : 100vh ;
213+ }
214+
215+ & -menu {
216+ gap : 10px ;
217+ padding : $tutor-spacing-6 $tutor-spacing-7 ;
218+
219+ li {
220+ & :last-of-type {
221+ display : none ;
222+ border-top : 1px solid $tutor-border-idle ;
223+ padding-top : $tutor-spacing-2 ;
224+ }
225+
226+ a {
227+ padding : $tutor-spacing-6 $tutor-spacing-5 ;
228+ border : 1px solid $tutor-border-idle ;
229+
230+ & .active {
231+ background-color : unset ;
232+ color : unset ;
233+ }
234+
235+ & .focus {
236+ background-color : $tutor-tab-sidebar-l2-active ;
237+ color : $tutor-text-brand ;
238+ }
239+ }
240+ }
241+ }
242+
243+ .tutor-mobile-logout-wrapper {
244+ margin-top : auto ;
245+
246+ a {
247+ width : 100% ;
248+ padding : $tutor-spacing-6 $tutor-spacing-5 ;
249+ border : 1px solid $tutor-border-idle ;
250+ }
251+ }
252+ }
253+ }
254+ }
0 commit comments