Files
MultiRoombaRover/webui/src/index.css
T
2026-01-24 02:58:36 -05:00

140 lines
2.5 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
sans-serif;
@apply bg-black text-slate-100;
}
body {
margin: 0;
min-height: 100vh;
@apply bg-black text-slate-100;
}
* {
scrollbar-width: thin;
scrollbar-color: #3b82f6 rgba(255, 255, 255, 0.08);
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
*::-webkit-scrollbar {
width: 1px;
height: 1px;
}
*::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.08);
}
*::-webkit-scrollbar-thumb {
background-color: #3b82f6;
border-radius: 9999px;
}
@layer components {
.panel {
@apply bg-black text-white p-0 rounded-md;
}
.panel-section {
@apply bg-neutral-900 text-white p-0 rounded-md;
}
.panel-muted {
@apply text-sm text-slate-400 rounded-md;
}
.surface {
@apply bg-neutral-800 text-white px-0.5 py-0.5 rounded-md;
}
.surface-muted {
@apply bg-neutral-700 text-neutral-100 px-0.5 py-0.5 rounded-md;
}
.field-input {
@apply bg-neutral-800 text-white px-0.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-sky-500 rounded-md;
}
.button-dark {
@apply px-0.5 py-0.5 text-sm font-medium text-white transition-colors bg-sky-600 hover:bg-sky-500 rounded-md;
}
.button-danger {
@apply px-0.5 py-0.5 text-sm font-medium text-white transition-colors bg-rose-600 hover:bg-rose-500 rounded-md;
}
.rainbow-animate-bg {
background: linear-gradient(
270deg,
#ff0000,
#ff7f00,
#ffff00b3,
#00ff00,
#0000ff,
#4b0082,
#8b00ff
/* less colors: */
/* #ff0000,
#00ff00,
#0000ff */
/* blue, white, pink */
/* #00e5ff,
#ffffff,
#ff69b4 */
/* discord colors */
/* #5865f2,
#ffffff,
#ff4754 */
);
background-size: 1400% 1400%;
animation: rainbowBG 300s ease infinite;
}
@keyframes rainbowBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.kofi-animate-bg {
background: linear-gradient(
270deg,
#ff5f5f,
#ff9f43,
#ffd166,
#ff5f5f
);
background-size: 800% 800%;
animation: rainbowBG 240s ease infinite;
}
}
@layer utilities {
.no-touch-select {
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-webkit-touch-callout: none;
}
}