OddSite 4.0.0

Range Inputs

[type='range']

scss
[type='range'] {
  appearance: none;
  background: var(--border) no-repeat;
  border-radius: 0.25em;
  border: thin solid var(--text);
  display: block;
  height: 1.5em;
  width: 100%;
  padding: 0;

  @include range.track {
    appearance: none;
    background: none;
    cursor: pointer;
  }

  @include range.thumb {
    appearance: none;
    border: medium solid var(--accent);
    height: 1.5em;
    width: 1em;
    border-radius: 0.25em;
    box-shadow:
      0 0 0 1px var(--bg),
      0 0 0 1px var(--bg) inset;
    background: transparent;
    cursor: pointer;
  }
}

Reset the browser styles for a range input, and re-style the track/thumb to match our branding.