mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 09:33:10 -07:00
97 lines
1.8 KiB
CSS
97 lines
1.8 KiB
CSS
@import '@mantine/core/styles.css';
|
|
|
|
/* Global smooth scrolling */
|
|
* {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* Custom scrollbars */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(134, 142, 150, 0.5);
|
|
border-radius: 4px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(134, 142, 150, 0.8);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:active {
|
|
background: rgba(73, 80, 87, 0.9);
|
|
}
|
|
|
|
/* Dark mode scrollbar support */
|
|
@media (prefers-color-scheme: dark) {
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(173, 181, 189, 0.5);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(173, 181, 189, 0.8);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:active {
|
|
background: rgba(206, 212, 218, 0.9);
|
|
}
|
|
}
|
|
|
|
/* AppHeader animations */
|
|
@keyframes elephantShake {
|
|
0%,
|
|
100% {
|
|
transform: scale(1.3) rotate(5deg) translateX(0px);
|
|
}
|
|
10% {
|
|
transform: scale(1.4) rotate(-3deg) translateX(-2px);
|
|
}
|
|
20% {
|
|
transform: scale(1.5) rotate(8deg) translateX(2px);
|
|
}
|
|
30% {
|
|
transform: scale(1.4) rotate(-5deg) translateX(-1px);
|
|
}
|
|
40% {
|
|
transform: scale(1.6) rotate(10deg) translateX(3px);
|
|
}
|
|
50% {
|
|
transform: scale(1.3) rotate(-8deg) translateX(-2px);
|
|
}
|
|
60% {
|
|
transform: scale(1.5) rotate(6deg) translateX(1px);
|
|
}
|
|
70% {
|
|
transform: scale(1.2) rotate(-4deg) translateX(-1px);
|
|
}
|
|
80% {
|
|
transform: scale(1.4) rotate(3deg) translateX(2px);
|
|
}
|
|
90% {
|
|
transform: scale(1.1) rotate(-2deg) translateX(-1px);
|
|
}
|
|
}
|
|
|
|
@keyframes mouseSqueak {
|
|
0% {
|
|
transform: scale(1) rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: scale(1.15) rotate(2deg);
|
|
}
|
|
100% {
|
|
transform: scale(1) rotate(0deg);
|
|
}
|
|
}
|