Sha256: 5f93a41a72035d53da50d177ff0b4de4a05329f315bfd707a7327db588a54d09

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

.u-thinscrollbar {
  overflow-y: scroll;

  // entire scrollbar
  &::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
  }

  // handle
  &::-webkit-scrollbar-thumb {
    border-radius: $border-radius-object;
    background-color: transparent;
  }

  // track bar
  &::-webkit-scrollbar-track {
    display: none;
  }

  // arrow buttons
  &::-webkit-scrollbar-button {
    display: none;
  }

  &:hover {
    &::-webkit-scrollbar-thumb {
      background-color: hsl(var(--db-accent-color-h), var(--db-accent-color-s), 80%);

      &:hover {
        background-color: hsl(var(--db-accent-color-h), var(--db-accent-color-s), 70%);
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
databook-theme-0.1.1 _sass/utilities/_thinscrollbar.scss