mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
Refactor CSS
This commit is contained in:
@@ -229,8 +229,7 @@ input[type="text"]:focus, input[type="password"]:focus, select.form-control:focu
|
||||
.form-range::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
/* background: linear-gradient(to right, #4a47a3 0%, #4a47a3 50%, #ddd 50%); */
|
||||
background: linear-gradient(to right, #4a47a3 0%, #4a47a3 calc(var(--value) * 100% - 10px), #ddd calc(var(--value) * 100% - 10px), #ddd 100%);
|
||||
background: linear-gradient(to right, #4a47a3 calc(var(--value) * 100%), #ddd 100%, #ddd 100%);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
const oAuthBtn = document.getElementById('oauth_btn');
|
||||
let currentAuthorizationToken = null;
|
||||
const servicesRequiringCredentials = ['pikpak',];
|
||||
const rangeInput = document.querySelector('.form-range');
|
||||
const providerSignupLinks = {
|
||||
pikpak: 'https://mypikpak.com/drive/activity/invited?invitation-code=52875535',
|
||||
seedr: 'https://www.seedr.cc/?r=2726511',
|
||||
@@ -308,7 +307,3 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
return new bootstrap.Tooltip(tooltipTriggerEl)
|
||||
});
|
||||
});
|
||||
|
||||
rangeInput.addEventListener('input', function() {
|
||||
this.style.setProperty('--value', (this.value - this.min) / (this.max - this.min));
|
||||
});
|
||||
Reference in New Issue
Block a user