Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot-32 committed Nov 27, 2024
1 parent cca96ac commit 9504fe0
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 43 deletions.
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

94 changes: 52 additions & 42 deletions src/components/widget/DisplaySettings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,50 +42,60 @@ $: if (hue || hue === 0) {
</div>
</div>


<style lang="stylus">
#display-setting
input[type="range"]
-webkit-appearance: none;
height: 1.5rem;
background-image: var(--color-selection-bar)
transition: background-image 0.15s ease-in-out
#display-setting {
input[type="range"] {
-webkit-appearance: none;
height: 1.5rem;
background-image: var(--color-selection-bar);
transition: background-image 0.15s ease-in-out;
}
/* Input Thumb */
::-webkit-slider-thumb
-webkit-appearance: none;
height: 1rem;
width: 0.5rem;
border-radius: 0.125rem;
background: rgba(255, 255, 255, 0.7);
box-shadow: none;
&:hover
background: rgba(255, 255, 255, 0.8);
&:active
background: rgba(255, 255, 255, 0.6);
/* Input Thumb */
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 1rem;
width: 0.5rem;
border-radius: 0.125rem;
background: rgba(255, 255, 255, 0.7);
box-shadow: none;
&:hover {
background: rgba(255, 255, 255, 0.8);
}
&:active {
background: rgba(255, 255, 255, 0.6);
}
}
::-moz-range-thumb
-webkit-appearance: none;
height: 1rem;
width: 0.5rem;
border-radius: 0.125rem;
border-width: 0
background: rgba(255, 255, 255, 0.7);
box-shadow: none;
&:hover
background: rgba(255, 255, 255, 0.8);
&:active
background: rgba(255, 255, 255, 0.6);
input[type="range"]::-moz-range-thumb {
-webkit-appearance: none;
height: 1rem;
width: 0.5rem;
border-radius: 0.125rem;
border-width: 0;
background: rgba(255, 255, 255, 0.7);
box-shadow: none;
&:hover {
background: rgba(255, 255, 255, 0.8);
}
&:active {
background: rgba(255, 255, 255, 0.6);
}
}
&::-ms-thumb
-webkit-appearance: none;
height: 1rem;
width: 0.5rem;
border-radius: 0.125rem;
background: rgba(255, 255, 255, 0.7);
box-shadow: none;
&:hover
background: rgba(255, 255, 255, 0.8);
&:active
background: rgba(255, 255, 255, 0.6);
input[type="range"]::-ms-thumb {
-webkit-appearance: none;
height: 1rem;
width: 0.5rem;
border-radius: 0.125rem;
background: rgba(255, 255, 255, 0.7);
box-shadow: none;
&:hover {
background: rgba(255, 255, 255, 0.8);
}
&:active {
background: rgba(255, 255, 255, 0.6);
}
}
}
</style>

0 comments on commit 9504fe0

Please sign in to comment.