@@ -11,9 +11,11 @@ div._3Z7VQ1IMk4E3HsHvrkLNgo div._3s0lkohH8wU2do0K1il28Y
1111 position : absolute !important ;
1212 right : calc (var (--adw-windowcontrols-margin-right ) + 6px ) !important ;
1313 top : 6px !important ;
14+ width : 38px !important ;
1415 height : 38px !important ;
1516 border-radius : var (--adw-button-radius ) !important ;
16- background : transparent !important ;
17+ background : rgb (var (--adw-headerbar-bg-rgb )) !important ;
18+ transition : width 200ms var (--adw-base-transition-curve ), background 200ms var (--adw-base-transition-curve ) !important ;
1719
1820 /* Menu button */
1921 div ._2UyOBeiSdBayaFdRa39N2O
@@ -25,9 +27,13 @@ div._3Z7VQ1IMk4E3HsHvrkLNgo div._3s0lkohH8wU2do0K1il28Y
2527 height : 34px !important ;
2628 padding : 9px !important ;
2729 transition : var (--adw-button-transition );
28- display : none !important ;
2930 color : rgb (var (--adw-headerbar-fg-rgb )) !important ;
3031
32+ /* Keep all menu buttons visible and in the same place to prevent Steam from recalculating menu positions */
33+ position : absolute !important ;
34+ top : 2px !important ;
35+ right : 2px !important ;
36+
3137 & : hover
3238 {
3339 background : rgba (var (--adw-headerbar-fg-rgb ), var (--adw-hover-opacity )) !important ;
@@ -72,38 +78,46 @@ div._3Z7VQ1IMk4E3HsHvrkLNgo div._3s0lkohH8wU2do0K1il28Y
7278 -webkit-mask-image : var (--adw-icon-menu-main );
7379 }
7480
75- & : nth-of-type (2 ):: before
81+ & : nth-of-type (2 )
7682 {
77- -webkit-mask-image : var (--adw-icon-menu-view );
83+ right : 42px !important ;
84+ & ::before
85+ {
86+ -webkit-mask-image : var (--adw-icon-menu-view );
87+ }
7888 }
7989
80- & : nth-of-type (3 ):: before
90+ & : nth-of-type (3 )
8191 {
82- -webkit-mask-image : var (--adw-icon-menu-friends );
92+ right : 82px !important ;
93+ & ::before
94+ {
95+ -webkit-mask-image : var (--adw-icon-menu-friends );
96+ }
8397 }
8498
85- & : nth-of-type (4 ):: before
99+ & : nth-of-type (4 )
86100 {
87- -webkit-mask-image : var (--adw-icon-menu-games );
101+ right : 122px !important ;
102+ & ::before
103+ {
104+ -webkit-mask-image : var (--adw-icon-menu-games );
105+ }
88106 }
89107
90- & : nth-of-type (5 ):: before
108+ & : nth-of-type (5 )
91109 {
92- -webkit-mask-image : var (--adw-icon-menu-help );
110+ right : 162px !important ;
111+ & ::before
112+ {
113+ -webkit-mask-image : var (--adw-icon-menu-help );
114+ }
93115 }
94116 }
95117
96- & : hover ,
97118 & : has (div ._3rgV8pPmQvZC-01x9l-q-N )
98119 {
120+ width : 198px !important ;
99121 background : rgb (var (--adw-secondary-sidebar-bg-rgb )) !important ;
100122 }
101-
102- /* Show all menu buttons on hover or when a menu is open */
103- & : hover div ._2UyOBeiSdBayaFdRa39N2O ,
104- & : has (div ._3rgV8pPmQvZC-01x9l-q-N ) div ._2UyOBeiSdBayaFdRa39N2O ,
105- div ._2UyOBeiSdBayaFdRa39N2O : first-child
106- {
107- display : block !important ;
108- }
109123}
0 commit comments