diff --git a/plugins/plugins/not-actual-fullscreen/dist/index.js b/plugins/plugins/not-actual-fullscreen/dist/index.js index 39053e6..a5c06a1 100644 --- a/plugins/plugins/not-actual-fullscreen/dist/index.js +++ b/plugins/plugins/not-actual-fullscreen/dist/index.js @@ -1,4 +1,4 @@ -var C=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var O=(e,t)=>()=>(e&&(t=e(e=0)),t);var P=(e,t)=>{for(var s in t)C(e,s,{get:t[s],enumerable:!0})},_=(e,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of R(t))!B.call(e,n)&&n!==s&&C(e,n,{get:()=>t[n],enumerable:!(a=k(t,n))||a.enumerable});return e};var L=e=>_(C({},"__esModule",{value:!0}),e);var v={};P(v,{Tracer:()=>g,libTrace:()=>q});import{actions as b}from"@neptune";var g,q,E=O(()=>{"use strict";g=e=>{let t=i=>{let m=(...l)=>{i(e,...l)};return m.withContext=l=>(...y)=>{i(e,l,...y)},m},s=t(console.log),a=t(console.warn),n=t(console.error),r=t(console.debug),o=(i,m,l)=>{let y=u=>{i(u),m({message:`${e} - ${u}`,category:"OTHER",severity:l})};return y.withContext=u=>{let A=i.withContext(u);return d=>{A(d),d instanceof Error&&(d=d.message),m({message:`${e}.${u} - ${d}`,category:"OTHER",severity:l})}},y};return{log:s,warn:a,err:n,debug:r,msg:{log:o(s,b.message.messageInfo,"INFO"),warn:o(a,b.message.messageWarn,"WARN"),err:o(n,b.message.messageError,"ERROR")}}},q=g("[lib]")});E();var T=[];function w(e,t,s=1){setTimeout(()=>{let a=document.querySelector('[class*="moreContainer"'),n=document.createElement("button");n.style.width="32px",n.style.height="32px",n.style.border="none",n.classList.add("xcl_customButton");let r=document.createElement("img");r.src=t,r.style.width="100%",r.style.height="100%",n.onclick=e,n.appendChild(r);let o=Array.from(a.children);return s<=o.length?a.insertBefore(n,o[s-1]):a.appendChild(n),T.push(n),n},1e3)}function S(){Array.from(T).forEach(e=>{e.remove()}),Array.from(document.getElementsByClassName("xcl_customButton")).forEach(e=>{e.remove()})}import{intercept as M}from"@neptune";E();var U=g("[Clean View]"),$=` +var C=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var _=(e,t)=>()=>(e&&(t=e(e=0)),t);var O=(e,t)=>{for(var s in t)C(e,s,{get:t[s],enumerable:!0})},P=(e,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of R(t))!B.call(e,n)&&n!==s&&C(e,n,{get:()=>t[n],enumerable:!(a=k(t,n))||a.enumerable});return e};var L=e=>P(C({},"__esModule",{value:!0}),e);var v={};O(v,{Tracer:()=>g,libTrace:()=>q});import{actions as b}from"@neptune";var g,q,E=_(()=>{"use strict";g=e=>{let t=i=>{let m=(...l)=>{i(e,...l)};return m.withContext=l=>(...y)=>{i(e,l,...y)},m},s=t(console.log),a=t(console.warn),n=t(console.error),r=t(console.debug),o=(i,m,l)=>{let y=u=>{i(u),m({message:`${e} - ${u}`,category:"OTHER",severity:l})};return y.withContext=u=>{let A=i.withContext(u);return d=>{A(d),d instanceof Error&&(d=d.message),m({message:`${e}.${u} - ${d}`,category:"OTHER",severity:l})}},y};return{log:s,warn:a,err:n,debug:r,msg:{log:o(s,b.message.messageInfo,"INFO"),warn:o(a,b.message.messageWarn,"WARN"),err:o(n,b.message.messageError,"ERROR")}}},q=g("[lib]")});E();var T=[];function w(e,t,s=1){setTimeout(()=>{let a=document.querySelector('[class*="_moreContainer"'),n=document.createElement("button");n.style.width="32px",n.style.height="32px",n.style.border="none",n.classList.add("xcl_customButton");let r=document.createElement("img");r.src=t,r.style.width="100%",r.style.height="100%",n.onclick=e,n.appendChild(r);let o=Array.from(a.children);return s<=o.length?a.insertBefore(n,o[s-1]):a.appendChild(n),T.push(n),n},1e3)}function S(){Array.from(T).forEach(e=>{e.remove()}),Array.from(document.getElementsByClassName("xcl_customButton")).forEach(e=>{e.remove()})}import{intercept as M}from"@neptune";E();var U=g("[Clean View]"),$=` [data-test="footer-player"], [class*="tabItems"] { opacity: 0 !important; transition: opacity 0.3s ease-in-out; diff --git a/plugins/plugins/not-actual-fullscreen/dist/manifest.json b/plugins/plugins/not-actual-fullscreen/dist/manifest.json index 07bd0b6..bff5572 100644 --- a/plugins/plugins/not-actual-fullscreen/dist/manifest.json +++ b/plugins/plugins/not-actual-fullscreen/dist/manifest.json @@ -1 +1 @@ -{"name":"Clean View","description":"Make your \"Now Playing View\" clean wherever you want, heavily based in beautiful-lyrics from @surfbryce!.","author":"itzzexcel@github","hash":"a3edc0e65617751e83ec3a69672f5a89","metafile":{"inputs":{"plugins/not-actual-fullscreen/src/tracer.js":{"bytes":1596,"imports":[{"path":"@neptune","kind":"import-statement","external":true}],"format":"esm"},"plugins/not-actual-fullscreen/src/ui.js":{"bytes":1305,"imports":[],"format":"esm"},"plugins/not-actual-fullscreen/src/index.js":{"bytes":7055,"imports":[{"path":"plugins/not-actual-fullscreen/src/tracer.js","kind":"import-statement","original":"./tracer"},{"path":"plugins/not-actual-fullscreen/src/ui.js","kind":"import-statement","original":"./ui"},{"path":"@neptune","kind":"import-statement","external":true},{"path":"plugins/not-actual-fullscreen/src/tracer.js","kind":"require-call","original":"./tracer"}],"format":"esm"}},"outputs":{"plugins/not-actual-fullscreen/dist/index.js":{"imports":[{"path":"@neptune","kind":"import-statement","external":true},{"path":"@neptune","kind":"import-statement","external":true}],"exports":["onUnload"],"entryPoint":"plugins/not-actual-fullscreen/src/index.js","inputs":{"plugins/not-actual-fullscreen/src/tracer.js":{"bytesInOutput":693},"plugins/not-actual-fullscreen/src/index.js":{"bytesInOutput":3525},"plugins/not-actual-fullscreen/src/ui.js":{"bytesInOutput":602}},"bytes":5291}}}} \ No newline at end of file +{"name":"Clean View","description":"Make your \"Now Playing View\" clean wherever you want, heavily based in beautiful-lyrics from @surfbryce!.","author":"itzzexcel@github","hash":"ae3bdec88031ad6c292d0fd8e93c142f","metafile":{"inputs":{"plugins/not-actual-fullscreen/src/tracer.js":{"bytes":1596,"imports":[{"path":"@neptune","kind":"import-statement","external":true}],"format":"esm"},"plugins/not-actual-fullscreen/src/ui.js":{"bytes":1306,"imports":[],"format":"esm"},"plugins/not-actual-fullscreen/src/index.js":{"bytes":7055,"imports":[{"path":"plugins/not-actual-fullscreen/src/tracer.js","kind":"import-statement","original":"./tracer"},{"path":"plugins/not-actual-fullscreen/src/ui.js","kind":"import-statement","original":"./ui"},{"path":"@neptune","kind":"import-statement","external":true},{"path":"plugins/not-actual-fullscreen/src/tracer.js","kind":"require-call","original":"./tracer"}],"format":"esm"}},"outputs":{"plugins/not-actual-fullscreen/dist/index.js":{"imports":[{"path":"@neptune","kind":"import-statement","external":true},{"path":"@neptune","kind":"import-statement","external":true}],"exports":["onUnload"],"entryPoint":"plugins/not-actual-fullscreen/src/index.js","inputs":{"plugins/not-actual-fullscreen/src/tracer.js":{"bytesInOutput":693},"plugins/not-actual-fullscreen/src/index.js":{"bytesInOutput":3525},"plugins/not-actual-fullscreen/src/ui.js":{"bytesInOutput":603}},"bytes":5292}}}} \ No newline at end of file diff --git a/plugins/plugins/not-actual-fullscreen/src/separated-lyrics.css b/plugins/plugins/not-actual-fullscreen/src/separated-lyrics.css index 5355a4a..1fa163a 100644 --- a/plugins/plugins/not-actual-fullscreen/src/separated-lyrics.css +++ b/plugins/plugins/not-actual-fullscreen/src/separated-lyrics.css @@ -24,21 +24,21 @@ src: url("https://excel.lexploits.top/extra/tidal/LyricsBold.woff2") format("woff2"); } -[class*="lyricsText--"]>span[class*="active--"] { +[class*="_lyricsText"]>span[class*="_active"] { text-shadow: 0 0 2px #fff, 0 0 20px #fff; padding-left: 20px; transition-duration: 0.7s; font-size: 60px; } -[class*="lyricsText--"]>span { +[class*="_lyricsText"]>span { text-shadow: 0 0 0px transparent, 0 0 0px transparent; transition-duration: 0.25s; color: rgba(128, 128, 128, 0.4); font-size: 45px; } -[class*="lyricsText--"]>span:hover { +[class*="_lyricsText"]>span:hover { text-shadow: 0 0 2px lightgray, 0 0 20px lightgray; color: lightgray; padding-left: 20px; @@ -49,7 +49,7 @@ text-shadow: 0 0 1px #fff, 0 0 30px #fff; } -[class^="bottomGradient"] { +[class^="_bottomGradient"] { visibility: hidden; } @@ -80,7 +80,7 @@ transition-duration: 0.7s; } -[class^="lyricsContainer"]>div>div>span { +[class^="_lyricsContainer"]>div>div>span { margin-bottom: 2rem; opacity: 1; font-family: "AbyssFont", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; @@ -88,10 +88,10 @@ font-size: 43px !important; } -[class^="lyricsProvider"] { +[class^="_lyricsProvider"] { visibility: hidden; } -[class^="syncButton"] { +[class^="_syncButton"] { margin-bottom: 10px; } \ No newline at end of file diff --git a/plugins/plugins/not-actual-fullscreen/src/ui.js b/plugins/plugins/not-actual-fullscreen/src/ui.js index 7af23d0..bf1de31 100644 --- a/plugins/plugins/not-actual-fullscreen/src/ui.js +++ b/plugins/plugins/not-actual-fullscreen/src/ui.js @@ -2,7 +2,7 @@ var buttonElementList = []; export function NewPlayerButton(callback, icon, customIndex = 1) { setTimeout(() => { - let iconHolder = document.querySelector("[class*=\"moreContainer\""); + let iconHolder = document.querySelector("[class*=\"_moreContainer\""); let button = document.createElement("button"); button.style.width = "32px"; diff --git a/themes/black-neptune-theme.css b/themes/black-neptune-theme.css index 909965d..9a0f430 100644 --- a/themes/black-neptune-theme.css +++ b/themes/black-neptune-theme.css @@ -51,6 +51,7 @@ [title="Unfollow"], [title="Follow"], [title="Unfollow"]>span, + [title="Follow"]>span { background-color: var(--wave-color-solid-rainbow-yellow-fill) !important; color: var(--wave-color-solid-base-brighter); @@ -62,7 +63,7 @@ border-radius: 3px; } -[class^="sidebarWrapper"] { +[data-test="main-layout-sidebar-wrapper"] { border-right: rgb(25, 25, 25) 1px solid; } @@ -76,15 +77,15 @@ color: var(--wave-color-solid-accent-fill) !important; } -[class^="sidebarItem"]>span { +[class^="_sidebarItem"]>span { color: var(--wave-color-solid-accent-dark); } -[class^="sidebarItem"]:hover span { +[class^="_sidebarItem"]:hover span { color: var(--wave-color-solid-contrast-fill); } -[class^="sidebarItem"] [class^="active"]>span { +[class^="_sidebarItem"] [class^="active"]>span { color: var(--wave-color-solid-accent-dark) !important; } @@ -131,7 +132,8 @@ display: none; } -[class^="headerButtons"]>button, +[class^="_headerButtons"]>button, +[class^="_headerButtons"]>button>span, [data-test="toggle-picture-in-picture"] { background-color: var(--wave-color-solid-accent-fill) !important; color: black; @@ -143,7 +145,7 @@ border-radius: 4px; } -[class^="buttons"]>button>span { +[class^="_buttons"]>button>span { color: black !important; } @@ -156,7 +158,7 @@ margin-top: 10px; } -[class^="player"] { +[data-test="footer-player"] { width: calc(100% - 20px); bottom: 10px; left: 10px; @@ -165,12 +167,12 @@ position: absolute !important; } -[class^="tooltipContainer"]>button { +[class^="_tooltipContainer"]>button { background-color: var(--wave-color-solid-accent-fill); color: black; } -[class^="tooltipContainer"]>button:hover { +[class^="_tooltipContainer"]>button:hover { background-color: lightgray !important; } @@ -227,7 +229,7 @@ button[data-test="close-now-playing"]:hover { [data-test="main-layout-header"], [data-test="feed-sidebar"], [data-test="stream-metadata"], -[class^="player"] { +[data-test="footer-player"] { background-color: rgba(0, 0, 0, 0.8) !important; backdrop-filter: blur(10px); border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin) !important; @@ -274,7 +276,7 @@ button[data-test="close-now-playing"]:hover { backdrop-filter: blur(10px); } -[class^="bottomGradient"] { +[class^="_bottomGradient"] { visibility: hidden; } [data-test="settings-page"] { @@ -290,7 +292,3 @@ button[data-test="close-now-playing"]:hover { [data-test="contextmenu"] { border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin) !important; } - -[class^="subMenu--"] { - border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin) !important; -} \ No newline at end of file