mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Theming the scrollbar of the body
This commit is contained in:
parent
0ed1b8afc0
commit
64a28a2708
@ -47,6 +47,6 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main >
|
||||
<main>
|
||||
<router-outlet></router-outlet>
|
||||
</main>
|
||||
|
@ -20,13 +20,13 @@
|
||||
|
||||
.link
|
||||
{
|
||||
outline: none;
|
||||
color: inherit;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none !important;
|
||||
}
|
||||
outline: none;
|
||||
color: inherit;
|
||||
|
||||
&:hover
|
||||
{
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link
|
||||
@ -107,4 +107,33 @@ input::-webkit-search-cancel-button
|
||||
.dropButton
|
||||
{
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
main
|
||||
{
|
||||
max-height: calc(100vh - 68px) !important;
|
||||
|
||||
&:last-child
|
||||
{
|
||||
display: block;
|
||||
overflow-y: auto;
|
||||
|
||||
scrollbar-color: #999 transparent;
|
||||
|
||||
&::-webkit-scrollbar
|
||||
{
|
||||
width: 8px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb
|
||||
{
|
||||
background-color: #999;
|
||||
|
||||
&:host-context(.hoverEnabled) &:hover
|
||||
{
|
||||
background-color: rgb(134, 127, 127);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -107,5 +107,5 @@ mat-icon
|
||||
|
||||
.cdk-overlay-container
|
||||
{
|
||||
z-index: 2000 !important;
|
||||
z-index: 2000 !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user