File tree 3 files changed +27
-54
lines changed
3 files changed +27
-54
lines changed Original file line number Diff line number Diff line change 4
4
flex-grow : 1 ;
5
5
z-index : 5 ;
6
6
7
- @media screen and (max-width : 1150 px ) {
7
+ @media screen and (max-width : 940 px ) {
8
8
display : none ;
9
9
}
10
10
}
Original file line number Diff line number Diff line change 6
6
align-items : center ;
7
7
padding : 0 14px ;
8
8
9
+ @media screen and (min-width : 767px ) and (max-width : 1400px ) {
10
+ grid-template : ' ratio-bar ratio-bar ratio-bar ratio-bar ratio-bar ratio-bar' 24px ' left . menus . icon-bar toggle' 48px / 1fr 16px auto 24px 1fr auto ;
11
+ }
12
+
9
13
& .mobile {
10
14
grid-template : ' left toggle' ' menus menus' ' right right' auto / 1fr auto ;
11
15
max-height : 100vh ;
18
22
display : flex ;
19
23
column-gap : 32px ;
20
24
25
+ @media screen and (min-width : 767px ) and (max-width : 1400px ) {
26
+ column-gap : 12px ;
27
+ }
28
+
21
29
@media screen and (max-width : 767px ) {
22
30
& .top-nav__site-logo ,
23
31
& .top-nav__branding i {
33
41
column-gap : 40px ;
34
42
justify-content : end ;
35
43
44
+ @media screen and (min-width : 767px ) and (max-width : 1400px ) {
45
+ display : contents ;
46
+ }
47
+
36
48
& .mobile {
37
49
display : flex ;
38
50
flex-direction : column ;
179
191
z-index : 1000 ;
180
192
}
181
193
194
+ @media screen and (min-width : 767px ) and (max-width : 1400px ) {
195
+ .top-nav__dropdown > ul {
196
+ top : calc (48px + 24px - 5px );
197
+ }
198
+ }
199
+
182
200
.top-nav__dropdown > ul ::before {
183
201
content : ' ' ;
184
202
display : block ;
273
291
margin : 0 ;
274
292
275
293
@media screen and (min-width : 767px ) and (max-width : 1400px ) {
276
- display : none ;
294
+ grid-area : ratio- bar;
295
+ grid-template-rows : auto ;
296
+ grid-template-columns : repeat (8 , auto );
277
297
}
278
298
279
299
@media screen and (min-width : 2100px ) {
338
358
list-style-type : none ;
339
359
column-gap : 14px ;
340
360
align-items : center ;
341
- grid-area : icon- bar;
342
361
margin : 0 ;
343
362
padding : 0 ;
344
363
364
+ @media screen and (min-width : 767px ) and (max-width : 1400px ) {
365
+ grid-area : icon- bar;
366
+ justify-content : end ;
367
+ }
368
+
345
369
@media screen and (max-width : 767px ) {
346
370
display : none ;
347
371
}
412
436
border-radius : var (--top-nav-icon-bar-icon-border-radius );
413
437
}
414
438
415
- /* Stats
416
- ******************************************************************************/
417
-
418
- .top-nav__stats {
419
- display : none ;
420
- grid-template : ' up down ratio' auto ' up down ratio' auto / auto auto auto ;
421
- column-gap : 18px ;
422
- align-items : center ;
423
- flex-direction : column ;
424
- grid-area : stats;
425
- list-style-type : none ;
426
- font-size : 12px ;
427
- color : var (--top-nav-stats-fg );
428
- font-weight : bold ;
429
- margin : 0 ;
430
- padding : 0 ;
431
-
432
- @media screen and (min-width : 1023px ) and (max-width : 1400px ) {
433
- display : grid ;
434
- }
435
- }
436
-
437
- .top-nav__stats-up {
438
- grid-area : up ;
439
- white-space : nowrap ;
440
- }
441
-
442
- .top-nav__stats-down {
443
- grid-area : down ;
444
- white-space : nowrap ;
445
- }
446
-
447
- .top-nav__stats-ratio {
448
- grid-area : ratio;
449
- white-space : nowrap ;
450
- }
451
-
452
439
/* Menu toggle
453
440
******************************************************************************/
454
441
Original file line number Diff line number Diff line change @@ -248,20 +248,6 @@ class="progress-bar"
248
248
@endif
249
249
</ul >
250
250
<div class =" top-nav__right" x-bind:class =" expanded && 'mobile'" >
251
- <ul class =" top-nav__stats" x-bind:class =" expanded && 'mobile'" >
252
- <li class =" top-nav__stats-up" title =" {{ __ (' common.upload' ) } }" >
253
- <i class =" {{ config (' other.font-awesome' ) } } fa-arrow-up text-green" ></i >
254
- {{ $user -> formatted_uploaded } }
255
- </li >
256
- <li class =" top-nav__stats-down" title =" {{ __ (' common.download' ) } }" >
257
- <i class =" {{ config (' other.font-awesome' ) } } fa-arrow-down text-red" ></i >
258
- {{ $user -> formatted_downloaded } }
259
- </li >
260
- <li class =" top-nav__stats-ratio" title =" {{ __ (' common.ratio' ) } }" >
261
- <i class =" {{ config (' other.font-awesome' ) } } fa-sync-alt text-blue" ></i >
262
- {{ $user -> formatted_ratio } }
263
- </li >
264
- </ul >
265
251
<ul class =" top-nav__ratio-bar" x-bind:class =" expanded && 'mobile'" >
266
252
<li class =" ratio-bar__uploaded" title =" {{ __ (' common.upload' ) } }" >
267
253
<a href =" {{ route (' users.torrents.index' , [' user' => auth ()-> user ()]) } }" >
You can’t perform that action at this time.
0 commit comments