Skip to content

Commit

Permalink
v1.1.0.1-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEnergy committed Sep 12, 2024
1 parent 6526ec7 commit 4081bd6
Show file tree
Hide file tree
Showing 15 changed files with 287 additions and 172 deletions.
32 changes: 4 additions & 28 deletions friends.custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,22 @@



body {
background-color: rgb(var(--background)) !important;
}

.singleWindowFocusBar {
mask: unset;
-webkit-mask: unset;
background: unset;
}

.friendsListContainer,
.multiChatDialog {
height: calc(100% - 48px);
margin: 32px 16px 16px;
}


/* Title Bar */
.TitleBar {
top: -32px;
width: calc(100% + 32px);
height: 32px;
min-height: 32px;
margin-left: -16px;
}

.TitleBar .title-area-highlight {
mask: unset;
-webkit-mask: unset;
background: unset;
}

.TitleBar .title-area-icon {
width: 42px;
}
.TitleBar .title-area-icon:hover {
background-color: rgb(var(--color-3));
}
.TitleBar .title-area-icon:hover .SVGIcon_Button rect,
.TitleBar .title-area-icon:hover .SVGIcon_Button line,
.TitleBar .title-area-icon:hover .SVGIcon_Button polyline {
stroke: #dddddd;
.friendsListContainer,
.multiChatDialog {
height: calc(100% - 48px);
margin: 32px 16px 16px;
}
14 changes: 7 additions & 7 deletions menu.custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,35 @@ body.DesktopUI {
background: unset !important;
}

body.DesktopUI .LQkrbbayZPY11qHm01t7F {
body.DesktopUI .PP7LM0Ow1K5qkR8WElLpt {
background: unset;
}

body.DesktopUI ._2y2tUbsMx8OIwkimGSyHmb {
body.DesktopUI ._2EstNjFIIZm_WUSKm5Wt7n {
padding: 6px !important;
border: 2px solid rgb(var(--color-5));
border-radius: 8px;
background-color: rgb(var(--color-3));
}

/* Items */
body.DesktopUI .pFo3kQOzrl9qVLPXXGIMp {
body.DesktopUI ._1n7Wloe5jZ6fSuvV18NNWI {
padding: 6px 12px;
font-weight: 500;
border-radius: 8px;
color: #9c9c9c;
}
body.DesktopUI .pFo3kQOzrl9qVLPXXGIMp:hover {
body.DesktopUI ._1n7Wloe5jZ6fSuvV18NNWI:hover {
color: #fff;
background-color: rgb(var(--color-2));
}
body.DesktopUI ._1F2EcTc-0vNkdiBz8ATakM._1F2EcTc-0vNkdiBz8ATakM+.pFo3kQOzrl9qVLPXXGIMp {
body.DesktopUI .WUOrULWKkGLl3ZUQdDXg8.WUOrULWKkGLl3ZUQdDXg8+._1n7Wloe5jZ6fSuvV18NNWI {
border: none;
}

/* Divider */
body.DesktopUI ._2jXHP0742MyApMUVUM8IFn._21GPYlKBCLsHQpTsHw_RL_,
body.DesktopUI ._1F2EcTc-0vNkdiBz8ATakM {
body.DesktopUI .WUOrULWKkGLl3ZUQdDXg8 {
width: auto;
height: 3px;
margin: 2px 6px;
Expand All @@ -42,7 +42,7 @@ body.DesktopUI ._1F2EcTc-0vNkdiBz8ATakM {
}

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

Expand Down
178 changes: 98 additions & 80 deletions options/experimental.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,83 +41,6 @@



/*
! Downloadbar
*/
._1_yS5UP7el0aN4vntx3dx {
visibility: hidden;
height: 0;
}
._1_yS5UP7el0aN4vntx3dx:has(.yZ55NhARZGx1Awk2qs8pS) {
visibility: visible;
height: unset;
}

._1_yS5UP7el0aN4vntx3dx>div:has(._2iJsgdTIX9Tj23rWnB7Q-c) {
display: none;
}

._3vCzSrrXZzZjVJFZNg9SGu {
flex: unset;
margin-top: 12px;
padding: 12px;
border-radius: 8px;
background-color: rgb(var(--color-2));
box-shadow: none !important;
}

/* Hide Add Game & Friends button */
._2foCkpRXhqq0UGVE50BWqj,
._1TdaAqMFadi0UTqilrkelR {
display: none;
}

/* Progress */
.ip-YZhijAMZcuRoXBGiye {
width: 100%;
padding: 0;
}

._2VtAqT03BpBsVdmxwptn9D {
flex-direction: column;
align-items: unset;
gap: 6px;
width: 100%;
}

/* Icon */
._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F {
display: flex;
align-items: center;
gap: 6px;
width: unset;
height: unset;
margin-bottom: -17px;
box-shadow: none;
}
._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F ._3d_bT685lnWotXxgzKW6am.yDr03475kalWBTwAE-Rnw {
width: 32px;
height: 32px;
}

._2VtAqT03BpBsVdmxwptn9D ._21vPQjHoo0uwud5lfCD_x- {
display: none;
}

/* Progressbar */
._2_FomluqqgQ2Hx8ON3AVep ._1xCcFYWIrJ7W8WRDmGvR3y {
justify-content: flex-end;
}

._2_FomluqqgQ2Hx8ON3AVep .wi0pDywRgOCxhG7OqQNaA {
--color-progress-bar-foreground: rgb(var(--accent-2));
--color-progress-bar-background: rgb(var(--background));
}
.yZ55NhARZGx1Awk2qs8pS._1CcdviLW6hebdTPh-3a7DC::after {
border-radius: 8px;
}


/*
! Userpannel
*/
Expand Down Expand Up @@ -182,12 +105,21 @@
height: 28px;
}

._2Szzh5sKyGgnLUR870zbDE {
._3cykd-VfN_xBxf3Qxriccm ._1TdaAqMFadi0UTqilrkelR {
flex-shrink: unset;
align-items: center;
justify-content: center;
padding: 0;
}

._2Szzh5sKyGgnLUR870zbDE,
._1TdaAqMFadi0UTqilrkelR {
border-radius: 8px !important;
background-color: rgb(var(--color-3)) !important;
transition: background-color 0.15s ease-in-out;
}
._2Szzh5sKyGgnLUR870zbDE:hover {
._2Szzh5sKyGgnLUR870zbDE:hover,
._1TdaAqMFadi0UTqilrkelR:hover {
background-color: rgb(var(--color-1)) !important;
}

Expand All @@ -204,7 +136,93 @@
margin: 0;
}

._2Szzh5sKyGgnLUR870zbDE svg {
._3cykd-VfN_xBxf3Qxriccm ._3OhUxFVlQYr9W5ThxstR8k {
display: none;
}

._2Szzh5sKyGgnLUR870zbDE svg,
._1TdaAqMFadi0UTqilrkelR ._1KrJ3sFAqPBN9mfpaNTU5F {
width: 16px !important;
height: 16px !important;
}



/*
! Downloadbar
*/
._1_yS5UP7el0aN4vntx3dx {
visibility: hidden;
height: 0;
}
._1_yS5UP7el0aN4vntx3dx:has(.yZ55NhARZGx1Awk2qs8pS) {
visibility: visible;
height: unset;
}

._1_yS5UP7el0aN4vntx3dx>div:has(._2iJsgdTIX9Tj23rWnB7Q-c) {
display: none;
}

._3vCzSrrXZzZjVJFZNg9SGu {
flex: unset;
margin-top: 12px;
padding: 12px;
border-radius: 8px;
background-color: rgb(var(--color-2));
box-shadow: none !important;
}

/* Hide Add Game */
._2foCkpRXhqq0UGVE50BWqj {
display: none;
}

/* Progress */
.ip-YZhijAMZcuRoXBGiye {
width: 100%;
padding: 0;
}

._2VtAqT03BpBsVdmxwptn9D {
flex-direction: column;
align-items: unset;
gap: 0px;
width: 100%;
}

/* Icon */
._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F {
display: none;
}

._2VtAqT03BpBsVdmxwptn9D ._21vPQjHoo0uwud5lfCD_x- {
display: none;
}

/* Progressbar */
._2_FomluqqgQ2Hx8ON3AVep ._1xCcFYWIrJ7W8WRDmGvR3y {
justify-content: flex-end;
}

._2_FomluqqgQ2Hx8ON3AVep .wi0pDywRgOCxhG7OqQNaA {
height: 4px;
margin-top: 4px;
--color-progress-bar-foreground: rgb(var(--accent-2));
--color-progress-bar-background: rgb(var(--background));
}
.yZ55NhARZGx1Awk2qs8pS._1CcdviLW6hebdTPh-3a7DC::after {
border-radius: 8px;
}



/*
! Notice
*/
._3GaHEQJW9B1Rlt0Ddz3E8D {
display: block;
margin-top: 12px;
padding: 6px;
border-radius: 8px;
}
8 changes: 5 additions & 3 deletions options/experimental.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ waitForElement('.Rp8QOGJ2DypeDniMnRBhr').then(() => {
// Userpannel
var userPannel = await waitForElement('._3cykd-VfN_xBxf3Qxriccm._1-9sir4j_KQiMqdkZjQN0u');
var downloadBar = await waitForElement('._1_yS5UP7el0aN4vntx3dx');
var friendButton = await waitForElement('._1TdaAqMFadi0UTqilrkelR')
var parent = await waitForElement('._3cykd-VfN_xBxf3Qxriccm');

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

gameListSidebar.appendChild(downloadBar);
gameListSidebar.appendChild(userPannel);
buttonContainer.appendChild(friendButton);
parent.appendChild(buttonContainer);


// Download bar
var downloadingText = await waitForElement('._1sCy-pm412Smb0wJx0W-4');
var downloadingIconDiv = await waitForElement('._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F');
//var downloadingText = await waitForElement('._1sCy-pm412Smb0wJx0W-4');
//var downloadingIconDiv = await waitForElement('._2VtAqT03BpBsVdmxwptn9D ._1KrJ3sFAqPBN9mfpaNTU5F');

downloadingIconDiv.appendChild(downloadingText);
//downloadingIconDiv.appendChild(downloadingText);
})();
3 changes: 3 additions & 0 deletions options/navigateButton.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
._3Z3ohQ8-1NKnCZkbS6fvy ._2D64jIEK7wpUR_NlObDW76 svg {
display: none;
}
Loading

0 comments on commit 4081bd6

Please sign in to comment.