Skip to content

Commit

Permalink
[Explorer] Stylises scrollbars across the website following Figma (My…
Browse files Browse the repository at this point in the history
…stenLabs#3931)

* standardize scrollbars across website

* apply more tailwind styles
  • Loading branch information
apburnie authored Aug 11, 2022
1 parent db72458 commit 054162f
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions explorer/client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,27 @@ body {
@apply m-0 text-offblack;
}

html {
scrollbar-color: #182435 #fefefe;
scrollbar-width: 6px;
}

/* Improves scrollbar look on Chromium browsers */

body::-webkit-scrollbar {
width: 10px;
::-webkit-scrollbar {
@apply w-[6px];
}

body::-webkit-scrollbar-track {
background: transparent;
::-webkit-scrollbar-track {
@apply bg-inherit;
}

body::-webkit-scrollbar-thumb {
background: #898d93;
border-radius: 5px;
::-webkit-scrollbar-thumb {
@apply bg-sui-grey-50 rounded-[10px];
}

body::-webkit-scrollbar-thumb:hover {
background: #4e555d;
::-webkit-scrollbar-thumb:hover {
@apply bg-sui-grey-100;
}

input:focus,
Expand Down

0 comments on commit 054162f

Please sign in to comment.