Spaces:
Configuration error
Configuration error
Download web/libs/editor/src/components/Timeline/Controls/Slider.prefix.css from bisalsaha/lebel-studio: direct link, hf CLI and curl.
- Browser
- Download file 2.7 kB
-
https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/editor/src/components/Timeline/Controls/Slider.prefix.css
- Command line
-
hf download hf://spaces/bisalsaha/lebel-studio/web/libs/editor/src/components/Timeline/Controls/Slider.prefix.css
-
curl -L -o Slider.prefix.css https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/editor/src/components/Timeline/Controls/Slider.prefix.css
2.7 kB
| .audio-slider { | |
| --background-active-color: var(--color-primary-surface-active); | |
| --button-color: var(--primary_link); | |
| position: relative; | |
| &__range { | |
| margin: 0 20px; | |
| width: calc(100% - 40px); | |
| padding: 0; | |
| appearance: none; | |
| height: 4px; | |
| background: var(--color-neutral-surface); | |
| border-radius: 8px; | |
| background-image: linear-gradient(var(--background-active-color), var(--background-active-color)); | |
| background-size: 70% 100%; | |
| background-repeat: no-repeat; | |
| border: none; | |
| } | |
| &__control { | |
| padding: 4px 16px 8px; | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: space-between; | |
| align-items: center; | |
| font-size: 14px; | |
| } | |
| &__info { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| & svg { | |
| display: block; | |
| } | |
| } | |
| &__input { | |
| width: 40px; | |
| height: 24px; | |
| border-radius: 2px; | |
| background: var(--color-neutral-surface); | |
| border: 1px solid var(--color-neutral-border); | |
| line-height: 24px; | |
| padding: 0; | |
| text-align: center; | |
| outline: none; | |
| &_error_control { | |
| color: var(--color-negative-content); | |
| border: 1px solid var(--color-negative-border); | |
| } | |
| } | |
| & input[type="range"]::-webkit-slider-thumb { | |
| appearance: none; | |
| height: 12px; | |
| width: 12px; | |
| border-radius: 50%; | |
| background: var(--button-color); | |
| cursor: ew-resize; | |
| transition: background 0.3s ease-in-out; | |
| z-index: 2; | |
| } | |
| & input[type="range"]::-moz-range-thumb { | |
| appearance: none; | |
| height: 12px; | |
| width: 12px; | |
| border-radius: 50%; | |
| background: var(--button-color); | |
| cursor: ew-resize; | |
| box-shadow: 0 0 2px 0 var(--sand_700); | |
| transition: background 0.3s ease-in-out; | |
| } | |
| & input[type="range"]::-ms-thumb { | |
| appearance: none; | |
| height: 12px; | |
| width: 12px; | |
| border-radius: 50%; | |
| background: var(--button-color); | |
| cursor: ew-resize; | |
| box-shadow: 0 0 2px 0 var(--sand_700); | |
| transition: background 0.3s ease-in-out; | |
| } | |
| & input[type="range"]::-webkit-slider-thumb:hover { | |
| background: var(--button-color); | |
| } | |
| & input[type="range"]::-moz-range-thumb:hover { | |
| background: var(--button-color); | |
| } | |
| & input[type="range"]::-ms-thumb:hover { | |
| background: var(--button-color); | |
| } | |
| & input[type="range"]::-webkit-slider-runnable-track { | |
| appearance: none; | |
| box-shadow: none; | |
| border: none; | |
| background: transparent; | |
| } | |
| & input[type="range"]::-moz-range-track { | |
| appearance: none; | |
| box-shadow: none; | |
| border: none; | |
| background: transparent; | |
| } | |
| & input[type="range"]::-ms-track { | |
| appearance: none; | |
| box-shadow: none; | |
| border: none; | |
| background: transparent; | |
| } | |
| } | |