{"id":16783156,"url":"https://github.com/rikschennink/scrollscreen","last_synced_at":"2025-04-10T22:19:34.036Z","repository":{"id":143907829,"uuid":"152716219","full_name":"rikschennink/scrollscreen","owner":"rikschennink","description":"🌁 Custom styled vertical scrollbars","archived":false,"fork":false,"pushed_at":"2020-04-10T06:26:26.000Z","size":994,"stargazers_count":13,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T19:21:42.680Z","etag":null,"topics":["custom","scroll","scrollbar","style","vertical"],"latest_commit_sha":null,"homepage":"https://rikschennink.github.io/scrollscreen/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rikschennink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-12T08:10:09.000Z","updated_at":"2025-01-04T13:35:31.000Z","dependencies_parsed_at":"2023-03-26T15:49:05.266Z","dependency_job_id":null,"html_url":"https://github.com/rikschennink/scrollscreen","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikschennink%2Fscrollscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikschennink%2Fscrollscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikschennink%2Fscrollscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikschennink%2Fscrollscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rikschennink","download_url":"https://codeload.github.com/rikschennink/scrollscreen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248306291,"owners_count":21081655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom","scroll","scrollbar","style","vertical"],"created_at":"2024-10-13T07:49:05.247Z","updated_at":"2025-04-10T22:19:34.014Z","avatar_url":"https://github.com/rikschennink.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scrollscreen\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/rikschennink/scrollscreen/blob/gh-pages/LICENSE)\n[![npm version](https://badge.fury.io/js/scrollscreen.svg)](https://badge.fury.io/js/scrollscreen)\n\nScrollscreen is a 1KB dependency free JavaScript library that positions a layer precisely on top of the browser default scrollbar in turn allowing custom styles.\n\nTested on IE11, Edge, Firefox, Chrome, Safari and iOS.\n\n[Live demo](https://rikschennink.github.io/scrollscreen/)\n\n\u003cimg src=\"https://github.com/rikschennink/scrollscreen/blob/master/demo.gif?raw=true\" width=\"370\" alt=\"\"/\u003e\n\n## Installation\n\nAdd CSS file to `\u003chead\u003e` and add JS file before end of `\u003cbody\u003e`.\n\n\n## Usage\n\nPut the `scrollscreen` CSS class on a container. Make sure the container's height is limited somehow so it's content overflows.\n\n```html\n\u003cstyle\u003e\n.scrollscreen--track {\n    /* width of track, 18px covers native track on MacOS and Windows */\n    width: 18px;\n    background: #bebec1;\n}\n\n.scrollscreen--slider {\n    /* use for spacing between slider and track */\n    padding: .25em;\n}\n\n.scrollscreen--slider::after {\n    /* the slider button style */\n    background: #5f6165;\n    border-radius: 9999em;\n}\n    \n.scrollscreen {\n    /* set scrollscreen to a fixed height to make scrollbars appear */\n    height: 100px;\n}\n\u003c/style\u003e\n\u003cdiv class=\"scrollscreen\"\u003e\n    \u003ch1\u003eHi! I'm Scrollscreen!\u003c/h1\u003e\n    \u003cp\u003eScrollscreen positions a layer precisely on top of the browser default scrollbar allowing custom styles.\u003c/p\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikschennink%2Fscrollscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frikschennink%2Fscrollscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikschennink%2Fscrollscreen/lists"}