Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit bd50ee0

Browse files
authored
Add files via upload
1 parent 1365a4a commit bd50ee0

File tree

2 files changed

+267
-0
lines changed

2 files changed

+267
-0
lines changed

rumi.js

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
rumi.js
3+
15/1/2023
4+
Miyasaki Rumi
5+
https://www.facebook.com/d347hcl1ck/
6+
*/
7+
8+
function insertCss(css) {
9+
const style = document.createElement("style");
10+
style.textContent = css;
11+
document.body.append(style);
12+
}
13+
14+
window.addEventListener("DOMContentLoaded", () => {
15+
insertCss(require("rumi.theme.css"));
16+
});
17+
18+
window.addEventListener('load', () => {
19+
// Wait for viewport root
20+
const interval = setInterval(() => {
21+
const manager = document.getElementById('rcp-fe-viewport-root')
22+
if (manager) {
23+
clearInterval(interval)
24+
new MutationObserver(mutations => {
25+
document.querySelector('.regalia-loaded').shadowRoot.querySelector('.regalia-profile-banner-backdrop.regalia-banner-loaded').setAttribute('style', 'opacity: 0.5; filter: grayscale(100%) brightness(3);');
26+
const socialChatGroup = document.querySelectorAll('.group-header');
27+
for (let i = 0; i < socialChatGroup.length; i++) {
28+
socialChatGroup[i].setAttribute('style', 'background: rgba(0,0,0,0); color: dimgray;');
29+
}
30+
const member_name = document.querySelectorAll('.member-name');
31+
for (let j = 0; j < member_name.length; j++) {
32+
member_name[j].setAttribute('style', 'color: dimgray;');
33+
}
34+
}).observe(manager, {
35+
childList: true,
36+
subtree: true
37+
})
38+
}
39+
}, 500)
40+
})
41+
42+
console.clear();
43+
console.log("Injected!");

rumi.theme.css

+224
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
/*
2+
rumi.theme.css
3+
15/1/2023
4+
Miyasaki Rumi
5+
https://www.facebook.com/d347hcl1ck/
6+
*/
7+
8+
.league-client-logo {
9+
display: none !important;
10+
}
11+
12+
.basic-button {
13+
position: absolute;
14+
top: 10px;
15+
width: 122px;
16+
height: 38px;
17+
padding: 7px 0;
18+
cursor: default;
19+
pointer-events: none;
20+
}
21+
22+
.play-button-container {
23+
width: 100%;
24+
height: 100%;
25+
display: inline-block;
26+
padding: 10px;
27+
border: 1px solid #4f4f4f;
28+
border-radius: 4px;
29+
transition: all 0.2s ease-in;
30+
position: relative;
31+
overflow: hidden;
32+
font-size: 19px;
33+
color: black;
34+
z-index: 1;
35+
}
36+
37+
.play-button-container:before {
38+
content: "";
39+
position: absolute;
40+
left: 50%;
41+
transform: translateX(-50%) scaleY(1) scaleX(1.25);
42+
top: 100%;
43+
width: 140%;
44+
height: 180%;
45+
background-color: rgba(0, 0, 0, 0.05);
46+
border-radius: 50%;
47+
display: block;
48+
transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
49+
z-index: -1;
50+
}
51+
52+
.play-button-container:after {
53+
content: "";
54+
position: absolute;
55+
left: 55%;
56+
transform: translateX(-50%) scaleY(1) scaleX(1.45);
57+
top: 180%;
58+
width: 160%;
59+
height: 190%;
60+
background-color: #39bda7;
61+
border-radius: 50%;
62+
display: block;
63+
transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
64+
z-index: -1;
65+
}
66+
67+
.play-button-container:hover {
68+
color: #ffffff;
69+
border: 1px solid #39bda7;
70+
}
71+
72+
.play-button-container:hover:before {
73+
top: -35%;
74+
background-color: #39bda7;
75+
transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
76+
}
77+
78+
.play-button-container:hover:after {
79+
top: -45%;
80+
background-color: #39bda7;
81+
transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
82+
}
83+
84+
.play-button-container:active {
85+
box-shadow: 0 0 0.6em .25em var(--glow-color),
86+
0 0 2.5em 2em var(--glow-spread-color),
87+
inset 0 0 .5em .25em var(--glow-color);
88+
}
89+
90+
.play-button-content {
91+
width: unset !important;
92+
left: unset !important;
93+
}
94+
95+
.play-button-text {
96+
width: unset !important;
97+
}
98+
99+
.play-button-container:hover {
100+
background-color: rgba(59, 59, 59, 0.719);
101+
}
102+
103+
.play-button-container,
104+
.play-button-frame {
105+
background-image: none !important;
106+
}
107+
108+
.loot-backdrop.background-static {
109+
background-image: none;
110+
}
111+
112+
.loot-backdrop .lol-uikit-video-content{
113+
display: none;
114+
}
115+
116+
.lol-social-sidebar {
117+
width: 100%;
118+
height: 100%;
119+
position: relative;
120+
display: flex;
121+
flex-direction: column;
122+
font-size: 12px;
123+
cursor: default;
124+
-webkit-user-drag: none;
125+
-webkit-user-select: none;
126+
background-color: transparent !important;
127+
background: transparent;
128+
}
129+
130+
.collections-application {
131+
background-image: url('https://rawcdn.githack.com/rum1337/aaaaa/8396b25d39170ac978105f55e48e2dd704c74f2d/017d0296-35e2-11ed-a525-0242c0a88002.jpg') !important;
132+
background-position: center;
133+
background-repeat: no-repeat;
134+
background-size: cover;
135+
}
136+
137+
.parties-view .parties-background {
138+
opacity: 0;
139+
}
140+
141+
#rcp-fe-viewport-root {
142+
background-image: url('https://rawcdn.githack.com/rum1337/aaaaa/8396b25d39170ac978105f55e48e2dd704c74f2d/017d0296-35e2-11ed-a525-0242c0a88002.jpg') !important;
143+
background-position: center;
144+
background-repeat: no-repeat;
145+
background-size: cover;
146+
}
147+
148+
.rcp-fe-viewport-sidebar {
149+
background: rgba(0, 0, 0, 0) !important;
150+
}
151+
152+
#rcp-fe-viewport-root > .rcp-fe-viewport-full-screen {
153+
background-color: transparent;
154+
position: absolute;
155+
top: 0;
156+
left: 0;
157+
width: 100%;
158+
height: 100%;
159+
pointer-events: none;
160+
-webkit-user-select: none;
161+
box-shadow: inset 0px 0px 40px rgba(255, 255, 255, 0.2);
162+
}
163+
164+
.currency-be-icon-container {
165+
166+
filter: brightness(0) invert(1)!important;
167+
}
168+
169+
.currency-rp {
170+
filter: brightness(0) invert(1)!important;
171+
}
172+
173+
.main-navigation-menu-item {
174+
min-width: 40px;
175+
height: 100%;
176+
pointer-events: auto;
177+
position: relative;
178+
--disabled-color: rgba(240,230,210,0.5);
179+
filter: brightness(0) invert(1)!important;
180+
}
181+
182+
.style-profile-sub-nav {
183+
filter: brightness(0) invert(1)!important;
184+
}
185+
.style-profile-skin-picker-button {
186+
filter: grayscale(100%) brightness(1);
187+
}
188+
189+
.ticker-button {
190+
filter: grayscale(100%) brightness(1);
191+
}
192+
193+
.loot-currency-container {
194+
filter: grayscale(100%) brightness(2);
195+
}
196+
197+
.rcp-fe-lol-profiles-main > .component-factory-application > .ember-view > .style-profile-backdrop-component.ember-view > .style-profile-backdrop-container > .style-profile-masked-image {
198+
display: none;
199+
}
200+
201+
.loot-contents,
202+
.parties-content, {
203+
background-color: rgba(22, 22, 22, 0.626) !important;
204+
transition: all 0.2s ease-in-out !important;
205+
}
206+
207+
.custom-game-teams {
208+
background-color: rgba(0, 0, 0, 0.8);
209+
padding: 1rem;
210+
border-radius: 10px;
211+
}
212+
213+
lol-uikit-flat-input input[type="search"] {
214+
line-height: 15px;
215+
padding-left: 24px;
216+
background: no-repeat 5px center/16px
217+
url("/fe/lol-static-assets/images/uikit/magnifying-glass-icon.png")
218+
rgba(0, 0, 0, 0);
219+
}
220+
221+
.vng-age-rating {
222+
display: none !important;
223+
}
224+

0 commit comments

Comments
 (0)