Files
pic/webui/src/index.css
T
Constantin 2277b11563 init
2025-09-12 23:04:52 +03:00

60 lines
1.2 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
font-family: 'Inter', system-ui, sans-serif;
}
body {
@apply bg-gray-50 text-gray-900;
}
}
@layer components {
.btn {
@apply px-4 py-2 rounded-lg font-medium transition-colors duration-200;
}
.btn-primary {
@apply bg-primary-600 text-white hover:bg-primary-700;
}
.btn-secondary {
@apply bg-gray-200 text-gray-800 hover:bg-gray-300;
}
.btn-danger {
@apply bg-danger-600 text-white hover:bg-danger-700;
}
.btn-success {
@apply bg-success-600 text-white hover:bg-success-700;
}
.card {
@apply bg-white rounded-lg shadow-sm border border-gray-200 p-6;
}
.input {
@apply w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent;
}
.status-indicator {
@apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
}
.status-online {
@apply bg-success-100 text-success-800;
}
.status-offline {
@apply bg-danger-100 text-danger-800;
}
.status-warning {
@apply bg-warning-100 text-warning-800;
}
}