mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 22:10:31 +02:00
random css changes
This commit is contained in:
parent
4fe7a03796
commit
148ce28c45
3 changed files with 20 additions and 6 deletions
|
@ -27,7 +27,6 @@
|
|||
<div class="player" id="player">
|
||||
<div>
|
||||
<img class="pfp" id="pfp" src="https://cdn.discordapp.com/avatars/1201415921802170388/3ccc13a2825eb8c98b5371fa0706e450.webp?size=1024&width=640&height=640">
|
||||
<div class="tooltip" data-tooltip="" id="status"></div>
|
||||
</div>
|
||||
<div data-tooltip="" class="tooltip" id="name">zyqunix</div>
|
||||
<span class="desc" id="typewriter"></span>
|
||||
|
|
|
@ -12,14 +12,10 @@ lanyard({
|
|||
offline: "#80848e"
|
||||
};
|
||||
|
||||
const borderColor = statusColors[data.discord_status] || offline;
|
||||
status.style.background = `${borderColor}`;
|
||||
|
||||
if (customStatus) {
|
||||
nameDiv.setAttribute("data-tooltip", customStatus.state);
|
||||
} else {
|
||||
nameDiv.setAttribute("data-tooltip", "No custom status");
|
||||
}
|
||||
|
||||
status.setAttribute("data-tooltip", data.discord_status);
|
||||
})
|
||||
})
|
||||
|
|
|
@ -368,6 +368,25 @@ body {
|
|||
border: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
.slider::-moz-range-thumb,
|
||||
#volumeSlider::-moz-range-thumb {
|
||||
opacity: 1;
|
||||
transition: 0.1s;
|
||||
}
|
||||
|
||||
.slider::-moz-range-thumb:active,
|
||||
#volumeSlider::-moz-range-thumb:active {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.slider:not(:hover)::-moz-range-thumb,
|
||||
#volumeSlider:not(:hover)::-moz-range-thumb {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
#currentTime,
|
||||
#totalDuration {
|
||||
text-shadow: #000000 3px 2px 7px !important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue