Skip to content

Commit 4081bd6

Browse files
committed
v1.1.0.1-alpha
1 parent 6526ec7 commit 4081bd6

15 files changed

Lines changed: 287 additions & 172 deletions

friends.custom.css

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,22 @@
55

66

77

8-
body {
9-
background-color: rgb(var(--background)) !important;
10-
}
11-
128
.singleWindowFocusBar {
139
mask: unset;
1410
-webkit-mask: unset;
1511
background: unset;
1612
}
1713

18-
.friendsListContainer,
19-
.multiChatDialog {
20-
height: calc(100% - 48px);
21-
margin: 32px 16px 16px;
22-
}
2314

24-
25-
/* Title Bar */
2615
.TitleBar {
2716
top: -32px;
2817
width: calc(100% + 32px);
29-
height: 32px;
30-
min-height: 32px;
3118
margin-left: -16px;
3219
}
3320

34-
.TitleBar .title-area-highlight {
35-
mask: unset;
36-
-webkit-mask: unset;
37-
background: unset;
38-
}
3921

40-
.TitleBar .title-area-icon {
41-
width: 42px;
42-
}
43-
.TitleBar .title-area-icon:hover {
44-
background-color: rgb(var(--color-3));
45-
}
46-
.TitleBar .title-area-icon:hover .SVGIcon_Button rect,
47-
.TitleBar .title-area-icon:hover .SVGIcon_Button line,
48-
.TitleBar .title-area-icon:hover .SVGIcon_Button polyline {
49-
stroke: #dddddd;
22+
.friendsListContainer,
23+
.multiChatDialog {
24+
height: calc(100% - 48px);
25+
margin: 32px 16px 16px;
5026
}

menu.custom.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@ body.DesktopUI {
33
background: unset !important;
44
}
55

6-
body.DesktopUI .LQkrbbayZPY11qHm01t7F {
6+
body.DesktopUI .PP7LM0Ow1K5qkR8WElLpt {
77
background: unset;
88
}
99

10-
body.DesktopUI ._2y2tUbsMx8OIwkimGSyHmb {
10+
body.DesktopUI ._2EstNjFIIZm_WUSKm5Wt7n {
1111
padding: 6px !important;
1212
border: 2px solid rgb(var(--color-5));
1313
border-radius: 8px;
1414
background-color: rgb(var(--color-3));
1515
}
1616

1717
/* Items */
18-
body.DesktopUI .pFo3kQOzrl9qVLPXXGIMp {
18+
body.DesktopUI ._1n7Wloe5jZ6fSuvV18NNWI {
1919
padding: 6px 12px;
2020
font-weight: 500;
2121
border-radius: 8px;
2222
color: #9c9c9c;
2323
}
24-
body.DesktopUI .pFo3kQOzrl9qVLPXXGIMp:hover {
24+
body.DesktopUI ._1n7Wloe5jZ6fSuvV18NNWI:hover {
2525
color: #fff;
2626
background-color: rgb(var(--color-2));
2727
}
28-
body.DesktopUI ._1F2EcTc-0vNkdiBz8ATakM._1F2EcTc-0vNkdiBz8ATakM+.pFo3kQOzrl9qVLPXXGIMp {
28+
body.DesktopUI .WUOrULWKkGLl3ZUQdDXg8.WUOrULWKkGLl3ZUQdDXg8+._1n7Wloe5jZ6fSuvV18NNWI {
2929
border: none;
3030
}
3131

3232
/* Divider */
3333
body.DesktopUI ._2jXHP0742MyApMUVUM8IFn._21GPYlKBCLsHQpTsHw_RL_,
34-
body.DesktopUI ._1F2EcTc-0vNkdiBz8ATakM {
34+
body.DesktopUI .WUOrULWKkGLl3ZUQdDXg8 {
3535
width: auto;
3636
height: 3px;
3737
margin: 2px 6px;
@@ -42,7 +42,7 @@ body.DesktopUI ._1F2EcTc-0vNkdiBz8ATakM {
4242
}
4343

4444
/* Hide last Divider from tray menu */
45-
body.DesktopUI ._1F2EcTc-0vNkdiBz8ATakM:nth-last-child(1) {
45+
body.DesktopUI .WUOrULWKkGLl3ZUQdDXg8:nth-last-child(1) {
4646
display: none;
4747
}
4848

options/experimental.css

Lines changed: 98 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -41,83 +41,6 @@
4141

4242

4343

44-
/*
45-
! Downloadbar
46-
*/
47-
._1_yS5UP7el0aN4vntx3dx {
48-
visibility: hidden;
49-
height: 0;
50-
}
51-
._1_yS5UP7el0aN4vntx3dx:has(.yZ55NhARZGx1Awk2qs8pS) {
52-
visibility: visible;
53-
height: unset;
54-
}
55-
56-
._1_yS5UP7el0aN4vntx3dx>div:has(._2iJsgdTIX9Tj23rWnB7Q-c) {
57-
display: none;
58-
}
59-
60-
._3vCzSrrXZzZjVJFZNg9SGu {
61-
flex: unset;
62-
margin-top: 12px;
63-
padding: 12px;
64-
border-radius: 8px;
65-
background-color: rgb(var(--color-2));
66-
box-shadow: none !important;
67-
}
68-
69-
/* Hide Add Game & Friends button */
70-
._2foCkpRXhqq0UGVE50BWqj,
71-
._1TdaAqMFadi0UTqilrkelR {
72-
display: none;
73-
}
74-
75-
/* Progress */
76-
.ip-YZhijAMZcuRoXBGiye {
77-
width: 100%;
78-
padding: 0;
79-
}
80-
81-
._2VtAqT03BpBsVdmxwptn9D {
82-
flex-direction: column;
83-
align-items: unset;
84-
gap: 6px;
85-
width: 100%;
86-
}
87-
88-
/* Icon */
89-
._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F {
90-
display: flex;
91-
align-items: center;
92-
gap: 6px;
93-
width: unset;
94-
height: unset;
95-
margin-bottom: -17px;
96-
box-shadow: none;
97-
}
98-
._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F ._3d_bT685lnWotXxgzKW6am.yDr03475kalWBTwAE-Rnw {
99-
width: 32px;
100-
height: 32px;
101-
}
102-
103-
._2VtAqT03BpBsVdmxwptn9D ._21vPQjHoo0uwud5lfCD_x- {
104-
display: none;
105-
}
106-
107-
/* Progressbar */
108-
._2_FomluqqgQ2Hx8ON3AVep ._1xCcFYWIrJ7W8WRDmGvR3y {
109-
justify-content: flex-end;
110-
}
111-
112-
._2_FomluqqgQ2Hx8ON3AVep .wi0pDywRgOCxhG7OqQNaA {
113-
--color-progress-bar-foreground: rgb(var(--accent-2));
114-
--color-progress-bar-background: rgb(var(--background));
115-
}
116-
.yZ55NhARZGx1Awk2qs8pS._1CcdviLW6hebdTPh-3a7DC::after {
117-
border-radius: 8px;
118-
}
119-
120-
12144
/*
12245
! Userpannel
12346
*/
@@ -182,12 +105,21 @@
182105
height: 28px;
183106
}
184107

185-
._2Szzh5sKyGgnLUR870zbDE {
108+
._3cykd-VfN_xBxf3Qxriccm ._1TdaAqMFadi0UTqilrkelR {
109+
flex-shrink: unset;
110+
align-items: center;
111+
justify-content: center;
112+
padding: 0;
113+
}
114+
115+
._2Szzh5sKyGgnLUR870zbDE,
116+
._1TdaAqMFadi0UTqilrkelR {
186117
border-radius: 8px !important;
187118
background-color: rgb(var(--color-3)) !important;
188119
transition: background-color 0.15s ease-in-out;
189120
}
190-
._2Szzh5sKyGgnLUR870zbDE:hover {
121+
._2Szzh5sKyGgnLUR870zbDE:hover,
122+
._1TdaAqMFadi0UTqilrkelR:hover {
191123
background-color: rgb(var(--color-1)) !important;
192124
}
193125

@@ -204,7 +136,93 @@
204136
margin: 0;
205137
}
206138

207-
._2Szzh5sKyGgnLUR870zbDE svg {
139+
._3cykd-VfN_xBxf3Qxriccm ._3OhUxFVlQYr9W5ThxstR8k {
140+
display: none;
141+
}
142+
143+
._2Szzh5sKyGgnLUR870zbDE svg,
144+
._1TdaAqMFadi0UTqilrkelR ._1KrJ3sFAqPBN9mfpaNTU5F {
208145
width: 16px !important;
209146
height: 16px !important;
147+
}
148+
149+
150+
151+
/*
152+
! Downloadbar
153+
*/
154+
._1_yS5UP7el0aN4vntx3dx {
155+
visibility: hidden;
156+
height: 0;
157+
}
158+
._1_yS5UP7el0aN4vntx3dx:has(.yZ55NhARZGx1Awk2qs8pS) {
159+
visibility: visible;
160+
height: unset;
161+
}
162+
163+
._1_yS5UP7el0aN4vntx3dx>div:has(._2iJsgdTIX9Tj23rWnB7Q-c) {
164+
display: none;
165+
}
166+
167+
._3vCzSrrXZzZjVJFZNg9SGu {
168+
flex: unset;
169+
margin-top: 12px;
170+
padding: 12px;
171+
border-radius: 8px;
172+
background-color: rgb(var(--color-2));
173+
box-shadow: none !important;
174+
}
175+
176+
/* Hide Add Game */
177+
._2foCkpRXhqq0UGVE50BWqj {
178+
display: none;
179+
}
180+
181+
/* Progress */
182+
.ip-YZhijAMZcuRoXBGiye {
183+
width: 100%;
184+
padding: 0;
185+
}
186+
187+
._2VtAqT03BpBsVdmxwptn9D {
188+
flex-direction: column;
189+
align-items: unset;
190+
gap: 0px;
191+
width: 100%;
192+
}
193+
194+
/* Icon */
195+
._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F {
196+
display: none;
197+
}
198+
199+
._2VtAqT03BpBsVdmxwptn9D ._21vPQjHoo0uwud5lfCD_x- {
200+
display: none;
201+
}
202+
203+
/* Progressbar */
204+
._2_FomluqqgQ2Hx8ON3AVep ._1xCcFYWIrJ7W8WRDmGvR3y {
205+
justify-content: flex-end;
206+
}
207+
208+
._2_FomluqqgQ2Hx8ON3AVep .wi0pDywRgOCxhG7OqQNaA {
209+
height: 4px;
210+
margin-top: 4px;
211+
--color-progress-bar-foreground: rgb(var(--accent-2));
212+
--color-progress-bar-background: rgb(var(--background));
213+
}
214+
.yZ55NhARZGx1Awk2qs8pS._1CcdviLW6hebdTPh-3a7DC::after {
215+
border-radius: 8px;
216+
}
217+
218+
219+
220+
/*
221+
! Notice
222+
*/
223+
._3GaHEQJW9B1Rlt0Ddz3E8D {
224+
display: block;
225+
margin-top: 12px;
226+
padding: 6px;
227+
border-radius: 8px;
210228
}

options/experimental.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ waitForElement('.Rp8QOGJ2DypeDniMnRBhr').then(() => {
6565
// Userpannel
6666
var userPannel = await waitForElement('._3cykd-VfN_xBxf3Qxriccm._1-9sir4j_KQiMqdkZjQN0u');
6767
var downloadBar = await waitForElement('._1_yS5UP7el0aN4vntx3dx');
68+
var friendButton = await waitForElement('._1TdaAqMFadi0UTqilrkelR')
6869
var parent = await waitForElement('._3cykd-VfN_xBxf3Qxriccm');
6970

7071
const buttonContainer = document.createElement('div');
@@ -81,12 +82,13 @@ waitForElement('.Rp8QOGJ2DypeDniMnRBhr').then(() => {
8182

8283
gameListSidebar.appendChild(downloadBar);
8384
gameListSidebar.appendChild(userPannel);
85+
buttonContainer.appendChild(friendButton);
8486
parent.appendChild(buttonContainer);
8587

8688

8789
// Download bar
88-
var downloadingText = await waitForElement('._1sCy-pm412Smb0wJx0W-4');
89-
var downloadingIconDiv = await waitForElement('._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F');
90+
//var downloadingText = await waitForElement('._1sCy-pm412Smb0wJx0W-4');
91+
//var downloadingIconDiv = await waitForElement('._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F');
9092

91-
downloadingIconDiv.appendChild(downloadingText);
93+
//downloadingIconDiv.appendChild(downloadingText);
9294
})();

options/navigateButton.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
._3Z3ohQ8-1NKnCZkbS6fvy ._2D64jIEK7wpUR_NlObDW76 svg {
2+
display: none;
3+
}

0 commit comments

Comments
 (0)