Skip to content

Commit

Permalink
fr
Browse files Browse the repository at this point in the history
  • Loading branch information
EdricCantu committed Mar 23, 2024
1 parent 5d4f12c commit 9467b70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
16 changes: 5 additions & 11 deletions i.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,18 +163,17 @@ input[type=range]::-webkit-slider-runnable-track {
height: 15px;
cursor: pointer;
animate: 0.2s;
box-shadow: 0px 0px 0px #000000;
background: #FFFFFF;
background: #000000;
box-shadow: #FFFFFF 0px 0px 1px 1.5px inset;
border-radius: 50px;
border: 1px solid #000000;
border: 1px solid #ffffff;
}
input[type=range]::-webkit-slider-thumb {
box-shadow: 0px 0px 0px #000000;
border: 1px solid #808080;
border: 1px solid #ffffff;
height: 30px;
width: 30px;
border-radius: 50px;
background: #808080;
background: #FFFFFF;
cursor: pointer;
-webkit-appearance: none;
margin-top: -8.5px;
Expand All @@ -187,13 +186,11 @@ input[type=range]::-moz-range-track {
height: 15px;
cursor: pointer;
animate: 0.2s;
box-shadow: 0px 0px 0px #000000;
background: #FFFFFF;
border-radius: 50px;
border: 1px solid #000000;
}
input[type=range]::-moz-range-thumb {
box-shadow: 0px 0px 0px #000000;
border: 1px solid #808080;
height: 30px;
width: 30px;
Expand All @@ -214,17 +211,14 @@ input[type=range]::-ms-fill-lower {
background: #FFFFFF;
border: 1px solid #000000;
border-radius: 100px;
box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper {
background: #FFFFFF;
border: 1px solid #000000;
border-radius: 100px;
box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb {
margin-top: 1px;
box-shadow: 0px 0px 0px #000000;
border: 1px solid #808080;
height: 30px;
width: 30px;
Expand Down
8 changes: 3 additions & 5 deletions sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if(self instanceof Window){
const cacheVersion = 'v1';
if(self.constructor.name === "Window"){
window.addEventListener('load', () => {
navigator.serviceWorker
.register('sw.js')
Expand All @@ -9,10 +10,7 @@ if(self instanceof Window){
console.log('Service Worker Registration Failed:', error);
});
});
}else if(self instanceof ServiceWorkerGlobalScope){

const cacheVersion = 'v1';

}else if(self.constructor.name === "ServiceWorkerGlobalScope"){
self.addEventListener('activate', event => {
console.log('Service Worker: Activated');
// Remove old caches
Expand Down

0 comments on commit 9467b70

Please sign in to comment.