src/yawning_titan_gui/static/css/form-range.css
/*generated with Input range slider CSS style generator (version 20211225)
https://toughengineer.github.io/demo/slider-styler*/
input[type=range].form-range {
    height: .5rem;
    -webkit-appearance: none;
  }

  /*progress support*/
  input[type=range].form-range.slider-progress {
    --range: calc(var(--max) - var(--min));
    --ratio: calc((var(--value) - var(--min)) / var(--range));
    --sx: calc(0.5 * 1rem + var(--ratio) * (100% - 1rem));
  }

  input[type=range].form-range:focus {
    outline: none;
  }

  /*webkit*/
  input[type=range].form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    border-radius: .25rem;
    background: var(--primary);
    border: none;
    box-shadow: 0 0 2px black;
    margin-top: calc(max((.5rem - 1px - 1px) * 0.5,0px) - 1rem * 0.5);
  }

  input[type=range].form-range::-webkit-slider-runnable-track {
    height: .5rem;
    border: 1px solid #b2b2b2;
    border-radius: 0.5em;
    background: #efefef;
    box-shadow: none;
  }

  input[type=range].form-range::-webkit-slider-thumb:hover {
    background: #0061c3;
  }

  input[type=range].form-range:hover::-webkit-slider-runnable-track {
    background: #e5e5e5;
    border-color: #9a9a9a;
  }

  input[type=range].form-range::-webkit-slider-thumb:active {
    background: #2f98f9;
  }

  input[type=range].form-range:active::-webkit-slider-runnable-track {
    background: #f5f5f5;
    border-color: #c1c1c1;
  }

  input[type=range].form-range.slider-progress::-webkit-slider-runnable-track {
    background: linear-gradient(var(--primary),var(--primary)) 0/var(--sx) 100% no-repeat, #efefef;
  }

  input[type=range].form-range.slider-progress:hover::-webkit-slider-runnable-track {
    background: linear-gradient(#0061c3,#0061c3) 0/var(--sx) 100% no-repeat, #e5e5e5;
  }

  input[type=range].form-range.slider-progress:active::-webkit-slider-runnable-track {
    background: linear-gradient(#2f98f9,#2f98f9) 0/var(--sx) 100% no-repeat, #f5f5f5;
  }

  /*mozilla*/
  input[type=range].form-range::-moz-range-thumb {
    width: .5rem;
    height: .5rem;
    border-radius: .1rem;
    background: var(--primary);
    border: none;
    box-shadow: 0 0 2px black;
  }

  input[type=range].form-range::-moz-range-track {
    height: max(calc(.5rem - 1px - 1px),0px);
    border: 1px solid #b2b2b2;
    border-radius: 0.5em;
    background: #efefef;
    box-shadow: none;
  }

  input[type=range].form-range::-moz-range-thumb:hover {
    background: #0061c3;
  }

  input[type=range].form-range:hover::-moz-range-track {
    background: #e5e5e5;
    border-color: #9a9a9a;
  }

  input[type=range].form-range::-moz-range-thumb:active {
    background: #2f98f9;
  }

  input[type=range].form-range:active::-moz-range-track {
    background: #f5f5f5;
    border-color: #c1c1c1;
  }

  input[type=range].form-range.slider-progress::-moz-range-track {
    background: linear-gradient(var(--primary),var(--primary)) 0/var(--sx) 100% no-repeat, #efefef;
  }

  input[type=range].form-range.slider-progress:hover::-moz-range-track {
    background: linear-gradient(#0061c3,#0061c3) 0/var(--sx) 100% no-repeat, #e5e5e5;
  }

  input[type=range].form-range.slider-progress:active::-moz-range-track {
    background: linear-gradient(#2f98f9,#2f98f9) 0/var(--sx) 100% no-repeat, #f5f5f5;
  }

  /*ms*/
  input[type=range].form-range::-ms-fill-upper {
    background: transparent;
    border-color: transparent;
  }

  input[type=range].form-range::-ms-fill-lower {
    background: transparent;
    border-color: transparent;
  }

  input[type=range].form-range::-ms-thumb {
    width: .5rem;
    height: .5rem;
    border-radius: .1rem;
    background: var(--primary);
    border: none;
    box-shadow: 0 0 2px black;
    margin-top: 0;
    box-sizing: border-box;
  }

  input[type=range].form-range::-ms-track {
    height: .5rem;
    border-radius: 0.5em;
    background: #efefef;
    border: 1px solid #b2b2b2;
    box-shadow: none;
    box-sizing: border-box;
  }

  input[type=range].form-range::-ms-thumb:hover {
    background: #0061c3;
  }

  input[type=range].form-range:hover::-ms-track {
    background: #e5e5e5;
    border-color: #9a9a9a;
  }

  input[type=range].form-range::-ms-thumb:active {
    background: #2f98f9;
  }

  input[type=range].form-range:active::-ms-track {
    background: #f5f5f5;
    border-color: #c1c1c1;
  }

  input[type=range].form-range.slider-progress::-ms-fill-lower {
    height: max(calc(.5rem - 1px - 1px),0px);
    border-radius: 0.5em 0 0 0.5em;
    margin: -1px 0 -1px -1px;
    background: var(--primary);
    border: 1px solid #b2b2b2;
    border-right-width: 0;
  }

  input[type=range].form-range.slider-progress:hover::-ms-fill-lower {
    background: #0061c3;
    border-color: #9a9a9a;
  }

  input[type=range].form-range.slider-progress:active::-ms-fill-lower {
    background: #2f98f9;
    border-color: #c1c1c1;
  }
