postpilot-pro / style.css
quanndm's picture
nav bar is disappeared, please show it
9752d5c verified
Raw History Blame Contribute Delete
2.79 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--navbar-height: 64px;
}
.dark {
--bg-color: #1a202c;
--text-color: #f7fafc;
--card-bg: #2d3748;
--border-color: #4a5568;
--hover-bg: #4a5568;
--input-bg: #2d3748;
--input-border: #4a5568;
--shadow-color: rgba(0, 0, 0, 0.3);
}
.dark body {
background-color: var(--bg-color);
color: var(--text-color);
}
.dark .bg-white {
background-color: var(--card-bg);
}
.dark .text-gray-600,
.dark .text-gray-700,
.dark .text-gray-800,
.dark .text-gray-900 {
color: var(--text-color);
}
.dark .border-gray-300,
.dark .border-gray-200 {
border-color: var(--border-color);
}
.dark .bg-gray-50 {
background-color: var(--hover-bg);
}
.dark input,
.dark textarea,
.dark select {
background-color: var(--input-bg);
border-color: var(--input-border);
color: var(--text-color);
}
.dark .shadow-md {
box-shadow: 0 4px 6px var(--shadow-color);
}
body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
margin: 0;
padding-top: var(--navbar-height);
background-color: #f9fafb;
}
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
height: var(--navbar-height);
background: white;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
/* Sidebar layout adjustments */
body.flex {
padding-top: 0;
padding-left: 250px;
}
main {
flex: 1;
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 2rem 1rem;
}
.grid-container {
display: grid;
gap: 2rem;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
width: 100%;
}
/* Animation for modal */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideIn {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.modal-overlay {
animation: fadeIn 0.3s ease-out;
background-color: rgba(0, 0, 0, 0.5);
z-index: 2000;
}
.modal-content {
animation: slideIn 0.3s ease-out;
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
}
.modal-content::-webkit-scrollbar {
width: 6px;
}
.modal-content::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 0 0.5rem 0.5rem 0;
}
.modal-content::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}