7
7
overflow : hidden !important ;
8
8
}
9
9
10
- html , body , # main-window , # navigator-toolbox , # nav-bar , # browser , # tabbrowser-tabpanels , .tab-background , # tabbrowser-tabs , # sidebar-main , body : not (: has (toolbarbutton [expanded ])) # sidebar-wrapper {
10
+ html , body , # main-window , # navigator-toolbox , # nav-bar , # browser , # tabbrowser-tabpanels , .tab-background : not ([ selected = "" ]) , # tabbrowser-tabs , # sidebar-main , body : not (: has (toolbarbutton [expanded ])) # sidebar-wrapper {
11
11
background-color : transparent !important ;
12
+ /* background-color: #2e3440 !important; */
12
13
background : none !important ;
13
14
border : none !important ;
14
15
}
@@ -225,7 +226,7 @@ body:has(#urlbar:not([open])):has(#urlbar:not([open]):hover, #nav-bar-customizat
225
226
}
226
227
227
228
228
- . unified-extensions-item , # unified-extensions-button , # PanelUI-button , # sidebar-button {
229
+ # unified-extensions-button , # PanelUI-button , # sidebar-button {
229
230
opacity : 1 !important ;
230
231
}
231
232
@@ -235,9 +236,9 @@ body:has(#urlbar:not([open])):has(#urlbar:not([open]):hover, #nav-bar-customizat
235
236
}
236
237
237
238
# nav-bar {
238
- background-color : light-dark ( # fff , # 000 ) !important ;
239
+ background-color : var ( --toolbar-field-background-color ) !important ;
239
240
opacity : 1 !important ;
240
- border-radius : 1 em !important ;
241
+ border-radius : 0.75 em !important ;
241
242
}
242
243
243
244
}
@@ -473,7 +474,8 @@ tab[soundplaying] .tab-background{
473
474
474
475
/* bg tint */
475
476
# main-window {
476
- background-color : light-dark (# fff5 , # 0005 ) !important ;
477
+ /* background-color: light-dark(#fff5 , #0005) !important; */
478
+ /* background-color: #2e3440 !important; */
477
479
}
478
480
479
481
/* urlbar mods */
@@ -507,3 +509,73 @@ tab[soundplaying] .tab-background{
507
509
# urlbar {
508
510
padding-left : 10px !important ;
509
511
}
512
+
513
+ # nav-bar {
514
+ margin-left : 0.25em !important ;
515
+ margin-top : 0.25em !important ;
516
+ max-width : fit-content !important ;
517
+
518
+
519
+ .unified-extensions-item {
520
+ width : 0px !important ;
521
+ padding : 0 !important ;
522
+ margin : 0 !important ;
523
+ opacity : 0 !important ;
524
+ transition : all 0.3s ease-in-out !important ;
525
+ }
526
+
527
+ & : has (# unified-extensions-button : hover , .unified-extensions-item : hover , [open ], # PanelUI-button : hover ){
528
+ .unified-extensions-item {
529
+ width : 30px !important ;
530
+ padding : inherit !important ;
531
+ margin : initial !important ;
532
+ opacity : 1 !important ;
533
+ }
534
+ }
535
+
536
+ [widget-id = "sidebar-button" ]{
537
+ display : none !important ;
538
+ }
539
+
540
+ # nav-bar-customization-target {
541
+ max-width : fit-content !important ;
542
+ }
543
+ }
544
+
545
+ /* =================== context menu ===================== */
546
+ # contentAreaContextMenu , # toolbar-context-menu , # tabContextMenu {
547
+ # context-savepage ,
548
+ # context-pocket ,
549
+ # context-sendpagetodevice ,
550
+ # context-selectall ,
551
+ menuseparator ,
552
+ # context-viewsource ,
553
+ # context-inspect-a11y ,
554
+ menu .menu-iconic ,
555
+ # context-openlinkintab ,
556
+ # context-openlinkinusercontext-menu ,
557
+ # context-openlink ,
558
+ # context-openlinkprivate ,
559
+ # context-bookmarklink ,
560
+ # context-savelink ,
561
+ # context-savelinktopocket ,
562
+
563
+ # toolbar-context-openANewTab ,
564
+ # toolbar-context-reloadSelectedTab ,
565
+ # toolbar-context-bookmarkSelectedTab ,
566
+ # toolbar-context-undoCloseTab ,
567
+
568
+ # context_bookmarkTab ,
569
+ # context_moveTabOptions ,
570
+ .share-tab-url-item ,
571
+ # context_reopenInContainer ,
572
+ # context_selectAllTabs ,
573
+ # context_closeTab ,
574
+ # context_closeDuplicateTabs ,
575
+ # context_closeTabOptions ,
576
+ # context_undoCloseTab
577
+ {
578
+ display : none !important ;
579
+ }
580
+
581
+ }
0 commit comments