platform-codebase/features/platform-dev/frontend-dev/src/index.css

328 lines
4 KiB
CSS

/* Base Tailwind-style utilities for dev tools pages */
.space-y-4 > * + * {
margin-top: 1rem;
}
.space-y-6 > * + * {
margin-top: 1.5rem;
}
.grid {
display: grid;
}
.grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gap-2 {
gap: 0.5rem;
}
.gap-4 {
gap: 1rem;
}
.card {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1.5rem;
}
.badge {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 500;
}
.badge-blue {
background: rgba(59, 130, 246, 0.2);
color: #3b82f6;
}
.badge-yellow {
background: rgba(234, 179, 8, 0.2);
color: #eab308;
}
.badge-green {
background: rgba(34, 197, 94, 0.2);
color: #22c55e;
}
.badge-red {
background: rgba(239, 68, 68, 0.2);
color: #ef4444;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.5rem 1rem;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
border: none;
}
.btn-primary {
background: linear-gradient(135deg, #ff69b4, #9b59b6);
color: #fff;
}
.btn-primary:hover {
opacity: 0.9;
}
.btn-secondary {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.15);
}
.btn-danger {
background: rgba(239, 68, 68, 0.2);
color: #ef4444;
}
.btn-danger:hover {
background: rgba(239, 68, 68, 0.3);
}
.text-xs {
font-size: 0.75rem;
}
.text-sm {
font-size: 0.875rem;
}
.text-2xl {
font-size: 1.5rem;
}
.text-3xl {
font-size: 1.875rem;
}
.font-bold {
font-weight: 700;
}
.font-medium {
font-weight: 500;
}
.font-mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.text-gray-500 {
color: #64748b;
}
.text-yellow-400 {
color: #facc15;
}
.text-red-400 {
color: #f87171;
}
.text-green-400 {
color: #4ade80;
}
.text-brand-400 {
color: #ff69b4;
}
.flex {
display: flex;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.justify-end {
justify-content: flex-end;
}
.p-0 {
padding: 0;
}
.p-3 {
padding: 0.75rem;
}
.p-4 {
padding: 1rem;
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.py-8 {
padding-top: 2rem;
padding-bottom: 2rem;
}
.mb-1 {
margin-bottom: 0.25rem;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mb-4 {
margin-bottom: 1rem;
}
.-mb-px {
margin-bottom: -1px;
}
.mt-4 {
margin-top: 1rem;
}
.w-full {
width: 100%;
}
.w-24 {
width: 6rem;
}
.h-2 {
height: 0.5rem;
}
.h-full {
height: 100%;
}
.overflow-hidden {
overflow: hidden;
}
.rounded-lg {
border-radius: 0.5rem;
}
.rounded-full {
border-radius: 9999px;
}
.border-t {
border-top-width: 1px;
}
.border-b {
border-bottom-width: 1px;
}
.border-b-2 {
border-bottom-width: 2px;
}
.border-gray-800 {
border-color: rgba(255, 255, 255, 0.1);
}
.border-transparent {
border-color: transparent;
}
.border-brand-500 {
border-color: #ff69b4;
}
.bg-gray-700 {
background-color: rgba(255, 255, 255, 0.1);
}
.bg-gray-800 {
background-color: rgba(0, 0, 0, 0.3);
}
.bg-red-500 {
background-color: #ef4444;
}
.bg-yellow-500 {
background-color: #eab308;
}
.bg-green-500 {
background-color: #22c55e;
}
.bg-brand-500 {
background-color: #ff69b4;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.capitalize {
text-transform: capitalize;
}
.transition-colors {
transition-property: color, background-color, border-color;
transition-duration: 0.15s;
}
.transition-all {
transition-property: all;
transition-duration: 0.2s;
}
.hover\:text-gray-300:hover {
color: #d1d5db;
}
.hover\:bg-gray-800\/50:hover {
background-color: rgba(0, 0, 0, 0.5);
}