mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-04 12:13:28 -07:00
106 lines
2.3 KiB
CSS
106 lines
2.3 KiB
CSS
@import '@mantine/core/styles.css';
|
|
@import '@fontsource/inter/latin-400.css';
|
|
@import '@fontsource/inter/latin-500.css';
|
|
@import '@fontsource/inter/latin-600.css';
|
|
|
|
#root {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
border-left: 1px solid rgba(0, 0, 0, 0.15);
|
|
border-right: 1px solid rgba(0, 0, 0, 0.15);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
[data-mantine-color-scheme='dark'] #root {
|
|
border-left: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
[data-mantine-color-scheme='light'] .mantine-Select-option:hover {
|
|
background-color: #e9ecef !important;
|
|
}
|
|
|
|
/* Custom scrollbars */
|
|
::-webkit-scrollbar {
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(134, 142, 150, 0.5);
|
|
border-radius: 0.25rem;
|
|
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 */
|
|
[data-mantine-color-scheme='dark'] ::-webkit-scrollbar-thumb {
|
|
background: rgba(173, 181, 189, 0.5);
|
|
}
|
|
|
|
[data-mantine-color-scheme='dark'] ::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(173, 181, 189, 0.8);
|
|
}
|
|
|
|
[data-mantine-color-scheme='dark'] ::-webkit-scrollbar-thumb:active {
|
|
background: rgba(206, 212, 218, 0.9);
|
|
}
|
|
|
|
/* TitleBar gerbil icon animations */
|
|
@keyframes elephantShake {
|
|
0%,
|
|
100% {
|
|
transform: scale(1.1) rotate(5deg) translateX(0);
|
|
}
|
|
10% {
|
|
transform: scale(1.2) rotate(-3deg) translateX(-2px);
|
|
}
|
|
20% {
|
|
transform: scale(1.3) rotate(8deg) translateX(2px);
|
|
}
|
|
30% {
|
|
transform: scale(1.2) rotate(-5deg) translateX(-1px);
|
|
}
|
|
40% {
|
|
transform: scale(1.4) rotate(10deg) translateX(3px);
|
|
}
|
|
50% {
|
|
transform: scale(1.2) rotate(-8deg) translateX(-2px);
|
|
}
|
|
60% {
|
|
transform: scale(1.3) rotate(6deg) translateX(1px);
|
|
}
|
|
70% {
|
|
transform: scale(1) rotate(-4deg) translateX(-1px);
|
|
}
|
|
80% {
|
|
transform: scale(1.2) rotate(3deg) translateX(2px);
|
|
}
|
|
90% {
|
|
transform: scale(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);
|
|
}
|
|
}
|