mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Increase base scrollbar size
This commit is contained in:
@@ -13,7 +13,7 @@ const StyledScrollArea = styled(MantineScrollArea)`
|
|||||||
}
|
}
|
||||||
|
|
||||||
& .mantine-ScrollArea-scrollbar {
|
& .mantine-ScrollArea-scrollbar {
|
||||||
width: 8px;
|
width: 12px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: var(--scrollbar-track-bg);
|
background: var(--scrollbar-track-bg);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,8 +46,8 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 10px;
|
width: 12px;
|
||||||
height: 10px;
|
height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-corner {
|
::-webkit-scrollbar-corner {
|
||||||
@@ -91,6 +91,32 @@ button {
|
|||||||
display: none; /* Safari and Chrome */
|
display: none; /* Safari and Chrome */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeOut {
|
||||||
|
from {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mantine-ScrollArea-thumb[data-state="visible"] {
|
||||||
|
animation: fadeIn 0.3s forwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mantine-ScrollArea-scrollbar[data-state="hidden"] {
|
||||||
|
animation: fadeOut 0.2s forwards;
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "AnekTamil";
|
font-family: "AnekTamil";
|
||||||
src: url("../fonts/AnekTamil-Regular.ttf") format("truetype");
|
src: url("../fonts/AnekTamil-Regular.ttf") format("truetype");
|
||||||
|
|||||||
Reference in New Issue
Block a user