thors1's picture
Initial DeepSite commit
bf5cffe verified
/* Additional custom styles for ClinicalConnect Pro */
/* Smooth transitions for interactive elements */
.transition-all-200 {
transition: all 0.2s ease-in-out;
}
/* Custom scrollbar for webkit browsers */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Status pill animations */
.status-pill {
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.status-pill:hover {
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
/* Table row hover enhancement */
tr.hover-row {
transition: background-color 0.15s ease;
}
tr.hover-row:hover {
background-color: #f8fafc;
}
/* Drawer overlay backdrop blur */
@supports (backdrop-filter: blur(4px)) {
.backdrop-blur-custom {
backdrop-filter: blur(4px);
}
}
/* Calendar day hover states */
.calendar-day {
transition: background-color 0.2s ease;
}
.calendar-day:hover {
background-color: #f8fafc;
}
/* Focus ring customization */
input:focus, select:focus, button:focus {
outline: none;
ring: 2px;
ring-color: rgb(13 148 136);
}
/* Loading state animation */
@keyframes pulse-soft {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
.loading-pulse {
animation: pulse-soft 2s ease-in-out infinite;
}
/* Sticky header shadow on scroll */
.sticky-shadow {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
/* Mobile optimizations */
@media (max-width: 640px) {
.calendar-grid {
grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-day {
min-height: 80px;
padding: 2px;
}
.calendar-event {
font-size: 10px;
padding: 2px;
}
}
/* Print styles for medical records */
@media print {
.no-print {
display: none !important;
}
.print-only {
display: block !important;
}
body {
background: white;
}
header, aside, .sticky {
position: static !important;
box-shadow: none !important;
}
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* High contrast mode support */
@media (prefers-contrast: high) {
.border-gray-200 {
border-color: #000;
}
.text-gray-600 {
color: #000;
}
}