mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
Merge pull request #57 from fromaline/fromaline/issue-56
Add custom scrollbar
This commit is contained in:
commit
acda1cdfa6
13
dist/chota.css
vendored
13
dist/chota.css
vendored
@ -29,6 +29,19 @@ html {
|
|||||||
-webkit-box-sizing: inherit;
|
-webkit-box-sizing: inherit;
|
||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
}
|
}
|
||||||
|
* {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar-track {
|
||||||
|
background: var(--bg-primary);
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--color-lightGrey);
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
background-color: var(--bg-color);
|
background-color: var(--bg-color);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
|
2
dist/chota.min.css
vendored
2
dist/chota.min.css
vendored
File diff suppressed because one or more lines are too long
@ -29,6 +29,23 @@ html {
|
|||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-track {
|
||||||
|
background: var(--bg-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--color-lightGrey);
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--bg-color);
|
background-color: var(--bg-color);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
|
Loading…
Reference in New Issue
Block a user