Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
161 lines
3.7 KiB
CSS
161 lines
3.7 KiB
CSS
/* Studio Layout & Theme */
|
|
:root {
|
|
--primary: #10b981; /* Supabase Emerald */
|
|
--primary-dark: #059669;
|
|
--sidebar-bg: #1c1c1c;
|
|
--secondary-sidebar-bg: #ffffff;
|
|
}
|
|
|
|
.studio-primary-sidebar {
|
|
width: 64px;
|
|
background: var(--sidebar-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 16px 0;
|
|
gap: 8px;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.studio-secondary-sidebar {
|
|
width: 260px;
|
|
background: var(--secondary-sidebar-bg);
|
|
border-right: 1px solid #e5e7eb;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-icon-btn {
|
|
width: 44px;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
color: #9ca3af;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.sidebar-icon-btn.active {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.sidebar-icon-btn:hover:not(.active) {
|
|
color: #ffffff;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Scrollbars */
|
|
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
|
|
.custom-scrollbar::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 10px; }
|
|
.custom-scrollbar:hover::-webkit-scrollbar-thumb { background: #d1d5db; }
|
|
|
|
/* Code Editor Dark */
|
|
.editor-bg { background: #1c1c1c; }
|
|
|
|
/* Premium Grid */
|
|
.studio-grid-header {
|
|
background: #f9fafb;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.studio-grid-cell {
|
|
border-right: 1px solid #f3f4f6;
|
|
border-bottom: 1px solid #f3f4f6;
|
|
}
|
|
|
|
/* Studio Buttons */
|
|
.btn-primary {
|
|
@apply bg-emerald-600 text-white px-4 py-2 rounded-lg font-bold shadow-md shadow-emerald-900/10 hover:bg-emerald-700 transition-all active:scale-95;
|
|
}
|
|
|
|
.btn-secondary {
|
|
@apply bg-white border border-slate-200 text-slate-600 px-4 py-2 rounded-lg font-bold hover:bg-slate-50 transition-all active:scale-95;
|
|
}
|
|
|
|
/* Secondary Sidebar Hover */
|
|
.studio-secondary-sidebar button:hover svg {
|
|
@apply text-emerald-500 opacity-100;
|
|
}
|
|
|
|
/* Table Animation */
|
|
.studio-grid-cell {
|
|
transition: background-color 0.1s;
|
|
}
|
|
|
|
/* Iframe Container */
|
|
iframe {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
/* Custom Glassmorphism Utility */
|
|
.glass {
|
|
background: rgba(255, 255, 255, 0.7);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.dark .glass {
|
|
background: rgba(15, 23, 42, 0.7);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Premium Typography Adjustments */
|
|
body {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* Micro-animations */
|
|
.hover-scale {
|
|
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
.hover-scale:hover {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.active-nav {
|
|
@apply bg-primary-600 text-white shadow-lg shadow-primary-900/20;
|
|
}
|
|
|
|
/* Custom Scrollbar for dark code areas */
|
|
.custom-scrollbar::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/* Sidebar glass */
|
|
nav {
|
|
background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Modal-like card glow */
|
|
.glass:hover {
|
|
border-color: rgba(14, 165, 233, 0.3);
|
|
box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.05), 0 8px 10px -6px rgba(14, 165, 233, 0.05);
|
|
}
|
|
|
|
/* Smooth layout transitions */
|
|
main {
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* Code area glow */
|
|
textarea:focus {
|
|
box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.1);
|
|
}
|