63 lines
1.6 KiB
CSS

/* Custom Styles for TimeTracker */
body {
font-family: 'Inter', sans-serif;
}
.hidden {
display: none;
}
/* Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal-content {
background: white;
padding: 2rem;
border-radius: 0.5rem;
width: 90%;
max-width: 500px;
}
/* Tab Styles */
.tab-btn {
/* Smooth transition for color and border changes */
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
/* A transparent bottom border on all tabs to prevent layout shift */
border-bottom: 3px solid transparent;
}
.active-tab {
/* The blue bottom border for the active tab */
border-color: #2563EB; /* Tailwind's blue-600 */
/* A darker text color for the active tab to make it stand out */
color: #1E40AF; /* Tailwind's blue-800 */
font-weight: 500;
}
.admin-tabs-content.calendar-full-bleed {
padding: 0;
}
/* Sticky Message Box Styles */
#message-box {
position: fixed; /* 'Fixes' the element relative to the browser window */
top: 1rem; /* 1rem (16px) from the top */
left: 50%; /* Start at 50% from the left */
transform: translateX(-50%); /* Shift left by half its own width to perfectly center it */
z-index: 2000; /* Ensures it appears on top of all other content */
width: 90%; /* Make it 90% of the screen width */
max-width: 500px; /* But no wider than 500px */
}