@@ -240,7 +240,7 @@ a.label,
240
240
}
241
241
242
242
.page-content .header-wrapper ,
243
- .page-content .new -menu {
243
+ .page-content .overflow -menu {
244
244
margin-top : -15px !important ;
245
245
padding-top : 15px !important ;
246
246
}
@@ -1331,59 +1331,21 @@ strong.attention-caution, span.attention-caution {
1331
1331
}
1332
1332
}
1333
1333
1334
- .ui .menu .new -menu {
1334
+ .ui .menu .overflow -menu {
1335
1335
margin-bottom : 15px ;
1336
1336
background : var (--color-header-wrapper );
1337
1337
border-bottom : 1px solid var (--color-secondary ) !important ;
1338
- overflow : auto;
1339
1338
}
1340
1339
1341
- .ui .menu .new -menu .new -menu-inner {
1340
+ .ui .menu .overflow -menu .overflow -menu-items {
1342
1341
display : flex;
1343
- margin-left : auto;
1344
- margin-right : auto;
1345
- overflow-x : auto;
1346
1342
width : 100% ;
1347
- mask-image : linear-gradient (to right, # 000 0% , # 000 calc (100% - 60px ), transparent 100% );
1348
- -webkit-mask-image : linear-gradient (to right, # 000 0% , # 000 calc (100% - 60px ), transparent 100% );
1349
1343
}
1350
1344
1351
- .ui .menu .new -menu .item {
1345
+ .ui .menu .overflow -menu . overflow-menu-items .item {
1352
1346
margin-bottom : 0 !important ; /* reset fomantic's margin, because the active menu has special bottom border */
1353
1347
}
1354
1348
1355
- @media (max-width : 767.98px ) {
1356
- .ui .menu .new-menu .item {
1357
- width : auto !important ;
1358
- }
1359
- }
1360
-
1361
- .ui .menu .new-menu .item : first-child {
1362
- margin-left : auto; /* "justify-content: center" doesn't work with "overflow: auto", so use margin: auto */
1363
- }
1364
-
1365
- .ui .menu .new-menu .item : last-child {
1366
- padding-right : 30px !important ;
1367
- margin-right : auto;
1368
- }
1369
-
1370
- .ui .menu .new-menu ::-webkit-scrollbar {
1371
- height : 6px ;
1372
- display : none;
1373
- }
1374
-
1375
- .ui .menu .new-menu ::-webkit-scrollbar-track {
1376
- background : none !important ;
1377
- }
1378
-
1379
- .ui .menu .new-menu ::-webkit-scrollbar-thumb {
1380
- box-shadow : none !important ;
1381
- }
1382
-
1383
- .ui .menu .new-menu : hover ::-webkit-scrollbar {
1384
- display : block;
1385
- }
1386
-
1387
1349
.repos-search {
1388
1350
padding-bottom : 0 !important ;
1389
1351
}
0 commit comments