79 lines
1.5 KiB
CSS
79 lines
1.5 KiB
CSS
/* Additional custom styles for Gobsidian */
|
|
|
|
/* Dark scrollbar for Firefox */
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #475569 #1e293b;
|
|
}
|
|
|
|
/* Focus states */
|
|
.focus-ring:focus {
|
|
outline: 2px solid #3b82f6;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Loading spinner */
|
|
.spinner {
|
|
border: 2px solid #374151;
|
|
border-top: 2px solid #3b82f6;
|
|
border-radius: 50%;
|
|
width: 20px;
|
|
height: 20px;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
#sidebar {
|
|
position: fixed;
|
|
height: 100vh;
|
|
z-index: 40;
|
|
transform: translateX(-100%);
|
|
transition: transform 0.3s ease-in-out;
|
|
}
|
|
|
|
#sidebar.mobile-open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.sidebar-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 30;
|
|
}
|
|
}
|
|
|
|
/* File upload drag styles */
|
|
.drag-over {
|
|
border-color: #3b82f6 !important;
|
|
background-color: rgba(59, 130, 246, 0.1) !important;
|
|
}
|
|
|
|
/* Syntax highlighting overrides for dark theme */
|
|
.hljs {
|
|
background: #111827 !important;
|
|
color: #e5e7eb !important;
|
|
}
|
|
|
|
/* Print styles */
|
|
@media print {
|
|
#sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.no-print {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
background: white !important;
|
|
color: black !important;
|
|
}
|
|
}
|