Skip to content

Commit

Permalink
feat(scrollbars): webkit scrollbar styling for desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Jan 29, 2016
1 parent e6e2e42 commit c7f2268
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions ionic/components.core.scss
Expand Up @@ -3,6 +3,7 @@
@import
"components/app/normalize",
"components/app/structure",
"components/app/scrollbars",
"components/app/typography",
"util/util";

Expand Down
27 changes: 27 additions & 0 deletions ionic/components/app/scrollbars.scss
@@ -0,0 +1,27 @@

// Scrollbars
// --------------------------------------------------
// Styling for dekstop webkit browsers
// These do not apply for mobile browsers

::-webkit-scrollbar {
width: 9px;
}

::-webkit-scrollbar-thumb:vertical,
::-webkit-scrollbar-thumb:horizontal {
background: rgba(0, 0, 0, 0.4);
border: 2px solid transparent;
border-radius: 20px;
background-clip: padding-box;
min-height: 10px;
}

::-webkit-scrollbar-thumb:vertical:active,
::-webkit-scrollbar-thumb:horizontal:active {
background: rgba(0, 0, 0, 0.6);
border: 2px solid transparent;
border-radius: 20px;
background-clip: padding-box;
min-height: 10px;
}

0 comments on commit c7f2268

Please sign in to comment.