chore: removed body scrollbar style

This commit is contained in:
Junseo Park 2021-02-14 22:34:29 +09:00
parent f711a9dc4e
commit 0ae3757b33

10
app.css
View File

@ -39,13 +39,13 @@ i {
width: 20px width: 20px
} }
* ::-webkit-scrollbar { html * ::-webkit-scrollbar {
-webkit-appearance: none; -webkit-appearance: none;
width: 8px; width: 8px;
height: 8px; height: 8px;
} }
* ::-webkit-scrollbar-thumb, html ::-webkit-scrollbar-thumb { html * ::-webkit-scrollbar-thumb {
cursor: pointer; cursor: pointer;
border-radius: 5px; border-radius: 5px;
background: #ccc; background: #ccc;
@ -53,7 +53,7 @@ i {
transition: color .2s ease; transition: color .2s ease;
} }
.dark * ::-webkit-scrollbar-thumb, html.dark ::-webkit-scrollbar-thumb { html .dark * ::-webkit-scrollbar-thumb {
cursor: pointer; cursor: pointer;
border-radius: 5px; border-radius: 5px;
background: #202225; background: #202225;
@ -61,14 +61,14 @@ i {
transition: color .2s ease; transition: color .2s ease;
} }
* ::-webkit-scrollbar-track, html ::-webkit-scrollbar-track { html * ::-webkit-scrollbar-track {
background: #f2f2f2; background: #f2f2f2;
border-radius: 0; border-radius: 0;
border: 4px solid transparent; border: 4px solid transparent;
border-radius: 8px; border-radius: 8px;
} }
.dark * ::-webkit-scrollbar-track, html.dark ::-webkit-scrollbar-track { html .dark * ::-webkit-scrollbar-track {
background: #2e3338; background: #2e3338;
border-radius: 0; border-radius: 0;
} }