2296 lines
42 KiB
CSS
2296 lines
42 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
/* Global Styles */
|
|
|
|
/* Reset and base styles */
|
|
*,
|
|
::before,
|
|
::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
border-color: transparent;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
background-color: #f8fafc;
|
|
color: #1e293b;
|
|
line-height: 1.6;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
/* Typography */
|
|
h1 {
|
|
font-size: 2.25rem;
|
|
margin-bottom: 1rem;
|
|
color: #0f172a;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.875rem;
|
|
margin-bottom: 0.75rem;
|
|
color: #0f172a;
|
|
font-weight: 600;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
color: #1e293b;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Layout */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #3b82f6;
|
|
color: white;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #2563eb;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #94a3b8;
|
|
color: white;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #64748b;
|
|
}
|
|
|
|
.btn-outline {
|
|
background-color: transparent;
|
|
border: 1px solid #cbd5e1;
|
|
color: #64748b;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background-color: #f1f5f9;
|
|
}
|
|
|
|
/* Forms */
|
|
.form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.25rem;
|
|
font-weight: 500;
|
|
color: #334155;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea,
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus,
|
|
.form-group select:focus {
|
|
outline: none;
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-row .form-group {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Task List */
|
|
.task-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.task-list li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* Task Item */
|
|
.task-item {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.task-item:hover {
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.task-item.completed {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.task-item h4 {
|
|
margin: 0 0 0.5rem 0;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.task-item p {
|
|
margin: 0 0 0.5rem 0;
|
|
color: #64748b;
|
|
}
|
|
|
|
.time-indicator {
|
|
font-size: 0.875rem;
|
|
color: #3b82f6;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Weekly Calendar View */
|
|
.weekly-calendar-view {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.calendar-header {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.week-navigation {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.nav-button {
|
|
padding: 0.5rem 1rem;
|
|
background-color: #f1f5f9;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.nav-button:hover {
|
|
background-color: #e2e8f0;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.week-range {
|
|
font-weight: 600;
|
|
font-size: 1.125rem;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.calendar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
|
|
.day-column {
|
|
background: white;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
border: 1px solid #e2e8f0;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.day-column:hover {
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.day-header {
|
|
background-color: #3b82f6;
|
|
color: white;
|
|
padding: 0.75rem;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.day-content {
|
|
padding: 1rem;
|
|
min-height: 200px;
|
|
}
|
|
|
|
/* Task Form */
|
|
.task-form {
|
|
background: white;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
margin-bottom: 2rem;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.submit-button {
|
|
background-color: #22c55e;
|
|
color: white;
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
width: 100%;
|
|
}
|
|
|
|
.submit-button:hover {
|
|
background-color: #16a34a;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Empty state */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
color: #64748b;
|
|
background-color: #f8fafc;
|
|
border-radius: 8px;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
/* Calendar Events */
|
|
.calendar-event {
|
|
border-left-width: 4px;
|
|
border-left-style: solid;
|
|
margin-bottom: 0.75rem;
|
|
padding: 0.75rem;
|
|
border-radius: 0 6px 6px 0;
|
|
background-color: #f8fafc;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.calendar-event:hover {
|
|
transform: translateX(2px);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
/* Auth Form */
|
|
.auth-form {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 2rem;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
/* Loading States */
|
|
.loading-spinner {
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 3px solid rgba(255, 255, 255, .3);
|
|
border-radius: 50%;
|
|
border-top-color: #3b82f6;
|
|
animation: spin 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.form-row {
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.calendar-grid {
|
|
grid-template-columns: repeat(1, 1fr);
|
|
}
|
|
|
|
.week-navigation {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.week-range {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.day-header {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
/* Dark Mode Support */
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: #0f172a;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.task-item,
|
|
.task-form,
|
|
.day-column,
|
|
.calendar-settings,
|
|
.auth-form {
|
|
background-color: #1e293b;
|
|
border-color: #334155;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea,
|
|
.form-group select {
|
|
background-color: #1e293b;
|
|
border-color: #334155;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.nav-button {
|
|
background-color: #334155;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.nav-button:hover {
|
|
background-color: #475569;
|
|
}
|
|
|
|
.empty-state {
|
|
background-color: #1e293b;
|
|
border-color: #334155;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.calendar-event {
|
|
background-color: #1e293b;
|
|
border-color: #334155;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
TEUXDEUX STYLES
|
|
============================================ */
|
|
|
|
:root {
|
|
--weekly-teal: #009a9a;
|
|
--weekly-bg: #ffffff;
|
|
--weekly-text: #000000;
|
|
--weekly-text-light: #a6a6a7;
|
|
--weekly-border: #eeeeee;
|
|
--weekly-completed: #cccccc;
|
|
--weekly-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
|
|
/* Weekly Main Container */
|
|
.weekly-container {
|
|
min-height: 100vh;
|
|
background: var(--weekly-bg);
|
|
font-family: var(--weekly-font);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Weekly Header */
|
|
.weekly-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
background: var(--weekly-bg);
|
|
border-bottom: 1px solid var(--weekly-border);
|
|
padding: 0.75rem 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
}
|
|
|
|
.weekly-logo {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
.weekly-logo sup {
|
|
color: var(--weekly-teal);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.weekly-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.weekly-nav-btn {
|
|
background: none;
|
|
border: none;
|
|
padding: 0.5rem;
|
|
cursor: pointer;
|
|
color: var(--weekly-text-light);
|
|
font-size: 1rem;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.weekly-nav-btn:hover {
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
/* Week Number Display */
|
|
.weekly-week-number {
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--weekly-teal);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
/* Slide Animations - Two-phase animation: slide out then slide in */
|
|
/* Slide OUT animations (current content exits) */
|
|
@keyframes slideOutLeft {
|
|
0% {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(-100px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes slideOutRight {
|
|
0% {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(100px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/* Slide IN animations (new content enters) */
|
|
@keyframes slideInFromLeft {
|
|
0% {
|
|
transform: translateX(-100px);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideInFromRight {
|
|
0% {
|
|
transform: translateX(100px);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* Going to next (content exits left, enters from right) */
|
|
.slide-out-left {
|
|
animation: slideOutLeft 0.25s ease-in forwards;
|
|
}
|
|
|
|
.slide-in-left {
|
|
animation: slideInFromRight 0.25s ease-out forwards;
|
|
}
|
|
|
|
/* Going to previous (content exits right, enters from left) */
|
|
.slide-out-right {
|
|
animation: slideOutRight 0.25s ease-in forwards;
|
|
}
|
|
|
|
.slide-in-right {
|
|
animation: slideInFromLeft 0.25s ease-out forwards;
|
|
}
|
|
|
|
/* Weekly Day Columns Grid */
|
|
.weekly-days-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.weekly-days-grid.cols-1 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.weekly-days-grid.cols-3 {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.weekly-days-grid.cols-5 {
|
|
grid-template-columns: repeat(5, 1fr);
|
|
}
|
|
|
|
.weekly-days-grid.cols-7 {
|
|
grid-template-columns: repeat(7, 1fr);
|
|
}
|
|
|
|
/* Weekly Day Column */
|
|
.weekly-day-column {
|
|
border-left: 1px solid #eee;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 400px;
|
|
max-height: calc(100vh - 200px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.weekly-day-column:first-child {
|
|
border-left: none;
|
|
}
|
|
|
|
/* Day Header */
|
|
.weekly-day-header {
|
|
padding: 1rem 1rem 0.75rem;
|
|
text-align: left;
|
|
min-height: 60px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.weekly-day-date {
|
|
font-size: 0.65rem;
|
|
color: var(--weekly-text-light);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.weekly-day-name {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
.weekly-day-name.is-today {
|
|
color: var(--weekly-teal);
|
|
}
|
|
|
|
/* Task List */
|
|
.weekly-task-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.weekly-task-item {
|
|
padding: 0.25rem 1rem;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all 0.2s ease;
|
|
border-bottom: 1px solid var(--weekly-border); /* Restore lines */
|
|
}
|
|
|
|
/* Remove border from last item to look cleaner, or keep for paper look */
|
|
.weekly-task-list .weekly-task-item:last-child {
|
|
border-bottom: 1px solid transparent;
|
|
}
|
|
|
|
.weekly-task-item:hover {
|
|
background-color: rgba(0,0,0,0.02);
|
|
}
|
|
|
|
.weekly-task-item.completed {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.weekly-task-item.completed .weekly-task-text {
|
|
text-decoration: line-through;
|
|
color: var(--weekly-completed);
|
|
}
|
|
|
|
.weekly-task-text {
|
|
flex: 1;
|
|
font-size: var(--base-font-size);
|
|
line-height: 1.5;
|
|
color: var(--weekly-text);
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
font-family: inherit;
|
|
resize: none;
|
|
min-height: 1.5em;
|
|
padding-top: 2px; /* Align with icons */
|
|
}
|
|
|
|
/* Task Actions Visibility */
|
|
.weekly-task-item .task-actions {
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.weekly-task-item:hover .task-actions {
|
|
opacity: 1;
|
|
}
|
|
|
|
.weekly-task-text.completed {
|
|
text-decoration: line-through;
|
|
color: var(--weekly-completed);
|
|
}
|
|
|
|
.weekly-task-text::placeholder {
|
|
color: var(--weekly-text-light);
|
|
}
|
|
|
|
/* Inline Notes */
|
|
.weekly-notes-inline {
|
|
width: 100%;
|
|
margin-top: 0.5rem;
|
|
padding-left: 0;
|
|
padding-right: 0.5rem;
|
|
}
|
|
|
|
.weekly-notes-editor-inline {
|
|
width: 100%;
|
|
min-height: 80px;
|
|
padding: 0.5rem;
|
|
border: 1px solid #ddd; /* Light border for editor */
|
|
border-radius: 4px;
|
|
font-family: inherit;
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
color: var(--weekly-text);
|
|
background: #fdfdfd;
|
|
resize: vertical;
|
|
outline: none;
|
|
}
|
|
|
|
.weekly-notes-editor-inline:focus {
|
|
border-color: var(--weekly-teal);
|
|
background: #fff;
|
|
}
|
|
|
|
/* Rolling Indicator */
|
|
.rolling-icon-indicator {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
color: var(--weekly-teal);
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border-radius: 50%;
|
|
padding: 2px;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
|
opacity: 0.8;
|
|
pointer-events: none; /* Just visual */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Notes Toolbar */
|
|
.notes-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
padding: 0.25rem 0.5rem;
|
|
background: #f8f8f8;
|
|
border-radius: 4px;
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
.notes-toolbar-btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: var(--weekly-text-light);
|
|
font-size: 0.85rem;
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
min-width: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.notes-toolbar-btn:hover {
|
|
background: rgba(0,0,0,0.05);
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
/* Action Buttons Styling */
|
|
.task-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.task-action-btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
color: var(--weekly-text-light);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.task-action-btn:hover {
|
|
color: var(--weekly-text);
|
|
background: rgba(0,0,0,0.05);
|
|
}
|
|
|
|
/* Specific button styles */
|
|
.task-action-btn.delete:hover {
|
|
color: #ef4444; /* Red for delete */
|
|
}
|
|
|
|
.task-action-btn.active {
|
|
color: var(--weekly-teal);
|
|
}
|
|
|
|
/* Task Input */
|
|
.weekly-task-input {
|
|
padding: 0.5rem 1rem 0.5rem 2.5rem;
|
|
border-bottom: 1px solid var(--weekly-border);
|
|
}
|
|
|
|
.weekly-task-input input {
|
|
width: 100%;
|
|
border: none;
|
|
outline: none;
|
|
font-size: 0.9375rem;
|
|
font-family: inherit;
|
|
color: var(--weekly-text);
|
|
background: transparent;
|
|
}
|
|
|
|
.weekly-task-input input::placeholder {
|
|
color: var(--weekly-text-light);
|
|
}
|
|
|
|
/* Someday Section */
|
|
.weekly-someday {
|
|
background: #faf8f5;
|
|
/* Light beige paper color */
|
|
transition: max-height 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.weekly-someday.collapsed {
|
|
max-height: 40px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.weekly-someday.expanded {
|
|
max-height: 400px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.weekly-someday-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 0.75rem 1.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
.weekly-someday-toggle {
|
|
background: none;
|
|
border: none;
|
|
font-size: 0.875rem;
|
|
color: var(--weekly-text-light);
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
padding: 0.5rem;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.weekly-someday-toggle:hover {
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
.weekly-someday-title {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--weekly-text-light);
|
|
}
|
|
|
|
.weekly-someday-count {
|
|
font-size: 0.75rem;
|
|
color: var(--weekly-text-light);
|
|
}
|
|
|
|
.weekly-someday-add {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1rem;
|
|
color: var(--weekly-text-light);
|
|
cursor: pointer;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.weekly-someday-add:hover {
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
/* Someday Lists Container - Horizontal Scroll */
|
|
.weekly-someday-lists-grid {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
gap: 1rem;
|
|
border-top: 1px solid var(--weekly-border);
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
overflow-y: hidden; /* Prevent vertical Scrollbar on container */
|
|
padding-bottom: 0.5rem; /* Space for scrollbar */
|
|
align-items: flex-start;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* Scrollbar Styling for Someday Container */
|
|
.weekly-someday-lists-grid::-webkit-scrollbar {
|
|
height: 8px;
|
|
}
|
|
|
|
.weekly-someday-lists-grid::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.weekly-someday-lists-grid::-webkit-scrollbar-thumb {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.weekly-someday-lists-grid::-webkit-scrollbar-thumb:hover {
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Remove grid column classes as we are using flex now */
|
|
.weekly-someday-lists-grid.cols-1,
|
|
.weekly-someday-lists-grid.cols-2,
|
|
.weekly-someday-lists-grid.cols-3,
|
|
.weekly-someday-lists-grid.cols-4,
|
|
.weekly-someday-lists-grid.cols-5,
|
|
.weekly-someday-lists-grid.cols-6,
|
|
.weekly-someday-lists-grid.cols-7 {
|
|
/* No specfic grid columns, let flex handle it */
|
|
grid-template-columns: none;
|
|
}
|
|
|
|
/* Old container class - deprecated or unused now? Keeping just in case */
|
|
.weekly-someday-lists {
|
|
display: none;
|
|
}
|
|
|
|
/* Ruled paper lines for someday tasks */
|
|
.weekly-someday-list {
|
|
/* border-right: 1px solid var(--weekly-border); Removed for cleaner look */
|
|
padding: 0;
|
|
min-height: 200px;
|
|
flex: 0 0 280px; /* Fixed width for horizontal scrolling */
|
|
width: 280px;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
max-height: 380px;
|
|
background-image: repeating-linear-gradient(
|
|
transparent,
|
|
transparent 31px,
|
|
var(--weekly-border) 31px,
|
|
var(--weekly-border) 32px
|
|
);
|
|
background-attachment: local;
|
|
background-position: 0 40px; /* Offset for the header */
|
|
}
|
|
|
|
/* Placeholder styling */
|
|
.weekly-someday-list.placeholder-list {
|
|
background-image: repeating-linear-gradient(
|
|
transparent,
|
|
transparent 31px,
|
|
#f5f5f5 31px,
|
|
#f5f5f5 32px
|
|
);
|
|
}
|
|
|
|
.weekly-someday-list:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.weekly-someday-list.is-dragging {
|
|
opacity: 0.4;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.weekly-someday-list .weekly-task-item {
|
|
border-bottom: 1px solid transparent;
|
|
height: 32px;
|
|
padding: 0 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.weekly-someday-list .weekly-task-text {
|
|
font-size: var(--base-font-size);
|
|
line-height: 32px;
|
|
max-height: 32px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
padding: 0;
|
|
}
|
|
|
|
.weekly-someday-list-title-header {
|
|
padding: 0.75rem 1rem 0.25rem;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.weekly-someday-list-title-input {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--weekly-text, #333);
|
|
background: transparent;
|
|
border: none;
|
|
border-bottom: 1px solid transparent;
|
|
width: 100%;
|
|
padding: 2px 0;
|
|
outline: none;
|
|
transition: border-color 0.15s ease;
|
|
}
|
|
|
|
.weekly-someday .weekly-task-item {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Someday task item divider lines */
|
|
.weekly-someday .weekly-task-item {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Someday add task button */
|
|
.someday-add-task-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #aaa;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
padding: 4px 0;
|
|
text-align: left;
|
|
width: 100%;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.someday-add-task-btn:hover {
|
|
color: #666;
|
|
}
|
|
|
|
/* Preferences Slide-in Panel */
|
|
.preferences-panel {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
width: 280px;
|
|
height: 100vh;
|
|
background: #1a1a2e;
|
|
color: #e0e0e0;
|
|
z-index: 2000;
|
|
transform: translateX(100%);
|
|
transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
box-shadow: -4px 0 20px rgba(0,0,0,0.3);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.preferences-panel.open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.preferences-panel-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
.preferences-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1999;
|
|
background: rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.pref-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.7rem 0;
|
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
}
|
|
|
|
.pref-label {
|
|
font-size: 0.9rem;
|
|
color: #ccc;
|
|
}
|
|
|
|
.pref-options {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: center;
|
|
}
|
|
|
|
.pref-option-btn {
|
|
background: rgba(255,255,255,0.08);
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
color: #aaa;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.pref-option-btn:hover {
|
|
background: rgba(255,255,255,0.15);
|
|
color: #fff;
|
|
}
|
|
|
|
.pref-option-btn.active {
|
|
background: rgba(255,255,255,0.2);
|
|
color: #fff;
|
|
border-color: rgba(255,255,255,0.3);
|
|
}
|
|
|
|
.pref-toggle {
|
|
background: none;
|
|
border: none;
|
|
color: #666;
|
|
font-size: 1.2rem;
|
|
cursor: pointer;
|
|
padding: 2px 6px;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.pref-toggle.active {
|
|
color: #4dd0e1;
|
|
}
|
|
|
|
.pref-full-settings-btn {
|
|
background: rgba(255,255,255,0.08);
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
color: #ccc;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
text-align: center;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.pref-full-settings-btn:hover {
|
|
background: rgba(255,255,255,0.15);
|
|
color: #fff;
|
|
}
|
|
|
|
.preferences-close-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #888;
|
|
font-size: 1.2rem;
|
|
padding: 1rem;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.preferences-close-btn:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
/* Weekly Footer */
|
|
.weekly-footer {
|
|
position: sticky;
|
|
bottom: 0;
|
|
z-index: 100;
|
|
background: var(--weekly-bg);
|
|
border-top: 1px solid var(--weekly-border);
|
|
padding: 0.5rem 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.weekly-view-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.weekly-view-btn {
|
|
background: none;
|
|
border: none;
|
|
padding: 0.375rem 0.5rem;
|
|
font-size: 0.875rem;
|
|
color: var(--weekly-text-light);
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.weekly-view-btn:hover {
|
|
background: #f5f5f5;
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
.weekly-view-btn.active {
|
|
color: var(--weekly-text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.weekly-footer-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.weekly-sync-status {
|
|
font-size: 0.75rem;
|
|
color: var(--weekly-text-light);
|
|
}
|
|
|
|
.weekly-dark-toggle {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
color: var(--weekly-text-light);
|
|
}
|
|
|
|
/* Calendar Events in Day Column */
|
|
.weekly-calendar-event {
|
|
padding: 0.5rem 1rem;
|
|
border-left: 3px solid var(--weekly-teal);
|
|
background: #f8fafa;
|
|
margin: 0.25rem 0.5rem;
|
|
border-radius: 0 4px 4px 0;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.weekly-calendar-event-time {
|
|
font-size: 0.75rem;
|
|
color: var(--weekly-teal);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.weekly-calendar-event-title {
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
/* Drag and Drop States */
|
|
.weekly-task-item.dragging {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.weekly-day-column.drop-target {
|
|
background: #f0fafa;
|
|
}
|
|
|
|
/* Settings Modal */
|
|
.weekly-settings-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.weekly-settings-modal {
|
|
background: var(--weekly-bg);
|
|
border-radius: 8px;
|
|
width: 90%;
|
|
max-width: 600px;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.weekly-settings-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem 1.5rem;
|
|
border-bottom: 1px solid var(--weekly-border);
|
|
}
|
|
|
|
.weekly-settings-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.weekly-settings-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
color: var(--weekly-text-light);
|
|
}
|
|
|
|
.weekly-settings-content {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
/* Dark Mode */
|
|
.weekly-container.dark-mode {
|
|
--weekly-bg: #1a1a1a;
|
|
--weekly-text: #f0f0f0;
|
|
--weekly-text-light: #888888;
|
|
--weekly-border: #333333;
|
|
--weekly-completed: #666666;
|
|
}
|
|
|
|
.weekly-container.dark-mode .weekly-task-item:hover {
|
|
background-color: #2a2a2a;
|
|
}
|
|
|
|
.weekly-container.dark-mode .weekly-calendar-event {
|
|
background: #2a3a3a;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.weekly-days-grid {
|
|
grid-template-columns: 1fr !important;
|
|
}
|
|
|
|
.weekly-someday-lists {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.time-column {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
TIME GRID STYLES
|
|
============================================ */
|
|
|
|
/* .time-grid-controls removed, using Tailwind classes */
|
|
|
|
.time-grid-controls input[type="checkbox"] {
|
|
accent-color: var(--weekly-teal);
|
|
}
|
|
|
|
.cell-duration-select {
|
|
padding: 0.25rem 0.5rem;
|
|
border: 1px solid var(--weekly-border);
|
|
border-radius: 4px;
|
|
background: var(--weekly-bg);
|
|
color: var(--weekly-text);
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.time-grid-wrapper {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Time Column (Hours) */
|
|
.time-column {
|
|
width: 50px;
|
|
flex-shrink: 0;
|
|
border-right: 1px solid var(--weekly-border);
|
|
background: var(--weekly-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.time-column-header {
|
|
padding: 1rem 0.5rem 0.75rem;
|
|
min-height: 60px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.time-column-slots {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.time-slot-label {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: flex-end;
|
|
padding: 0 0.25rem;
|
|
font-size: 0.65rem;
|
|
color: var(--weekly-text-light);
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
}
|
|
|
|
.time-slot-label.hour-start {
|
|
font-weight: 500;
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
.time-slot-label span {
|
|
transform: translateY(50%);
|
|
background: var(--weekly-bg);
|
|
padding: 0 2px;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Time Slots Container */
|
|
.time-slots-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.time-slot {
|
|
position: relative;
|
|
/* Transition for theme switching */
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
padding: 0px 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
overflow: visible;
|
|
cursor: text;
|
|
background: transparent;
|
|
}
|
|
|
|
.time-slot.hour-start {
|
|
/* Weekly-style: subtle dotted line at hour boundaries */
|
|
border-top: 1px dotted rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.time-slot:hover {
|
|
/* Very subtle hover - almost invisible */
|
|
background: transparent;
|
|
}
|
|
|
|
.time-slot.active {
|
|
/* Minimal active state */
|
|
background: transparent;
|
|
}
|
|
|
|
.time-slot.drop-target:hover {
|
|
/* Subtle drop indicator */
|
|
background: rgba(0, 154, 154, 0.04);
|
|
}
|
|
|
|
/* Slot Input Form */
|
|
.slot-input-form {
|
|
width: 100%;
|
|
}
|
|
|
|
.slot-input {
|
|
width: 100%;
|
|
border: none;
|
|
background: transparent;
|
|
font-size: 0.875rem;
|
|
font-family: inherit;
|
|
padding: 2px 0;
|
|
outline: none;
|
|
caret-color: var(--weekly-teal);
|
|
}
|
|
|
|
.time-slot-task {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.25rem;
|
|
padding: 2px 0;
|
|
background: transparent;
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
transition: color 0.15s ease;
|
|
position: relative;
|
|
/* Weekly-style: clean text, no boxes */
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
.time-slot-task:hover {
|
|
color: var(--weekly-teal);
|
|
}
|
|
|
|
.time-slot-task:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.time-slot-task.dragging {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.time-slot-task.completed {
|
|
/* Weekly-style strikethrough */
|
|
text-decoration: line-through;
|
|
color: var(--weekly-completed);
|
|
}
|
|
|
|
/* Calendar Events in Time Slots */
|
|
.time-slot-event {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.1rem;
|
|
padding: 4px 8px;
|
|
background: rgba(0, 154, 154, 0.1);
|
|
border-left: 3px solid var(--weekly-teal);
|
|
font-size: 0.85rem;
|
|
color: var(--weekly-teal);
|
|
border-radius: 0 4px 4px 0;
|
|
margin: 1px 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.time-slot-event .event-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.time-slot-event .event-indicator {
|
|
font-size: 0.75rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.time-slot-event .event-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
flex: 1;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.time-slot-event .event-time-row {
|
|
font-size: 0.65rem;
|
|
opacity: 0.8;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.time-slot-event:hover {
|
|
background: rgba(0, 154, 154, 0.15);
|
|
}
|
|
|
|
/* Make day columns scrollable when using time grid */
|
|
.time-grid-wrapper .weekly-days-grid {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.time-grid-wrapper .weekly-day-column {
|
|
max-height: none;
|
|
min-height: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.time-grid-wrapper .weekly-day-header {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.time-grid-wrapper .time-slots-container {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* All-Day Events Section */
|
|
.all-day-events-section {
|
|
background: var(--weekly-bg);
|
|
border-top: 1px solid var(--weekly-border);
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
.all-day-events-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.25rem 1rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.all-day-events-title {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: var(--weekly-text-light);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
.all-day-events-count {
|
|
background: var(--weekly-teal);
|
|
color: white;
|
|
padding: 0.1rem 0.4rem;
|
|
border-radius: 10px;
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.all-day-events-grid {
|
|
display: grid;
|
|
/* margin-left is set dynamically via inline style based on showTimeGrid */
|
|
padding: 0 0;
|
|
}
|
|
|
|
.all-day-events-grid.cols-1 { grid-template-columns: repeat(1, 1fr); }
|
|
.all-day-events-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
|
|
.all-day-events-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
|
|
.all-day-events-grid.cols-7 { grid-template-columns: repeat(7, 1fr); }
|
|
|
|
.all-day-events-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
padding: 0 0.25rem;
|
|
min-height: 28px;
|
|
border-right: 1px solid var(--weekly-border);
|
|
}
|
|
|
|
.all-day-events-column:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.all-day-event {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
padding: 0.25rem 0.5rem;
|
|
background: rgba(0, 154, 154, 0.1);
|
|
border-left: 3px solid var(--weekly-teal);
|
|
border-radius: 0 4px 4px 0;
|
|
font-size: 0.75rem;
|
|
color: var(--weekly-text);
|
|
cursor: default;
|
|
}
|
|
|
|
.all-day-event .event-indicator {
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.all-day-event-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: calc(100% - 24px); /* Account for icon */
|
|
flex: 1;
|
|
}
|
|
|
|
.all-day-empty {
|
|
min-height: 28px;
|
|
}
|
|
|
|
/* "Now" Line - Current time indicator */
|
|
.now-line {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: #d50000;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.now-line::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -5px;
|
|
top: -4px;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #d50000;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Drop Preview for Drag-n-Drop */
|
|
.drop-preview {
|
|
position: absolute;
|
|
left: 4px;
|
|
right: 4px;
|
|
height: 30px;
|
|
background: rgba(0, 154, 154, 0.15);
|
|
border: 2px dashed var(--weekly-teal);
|
|
border-radius: 4px;
|
|
pointer-events: none;
|
|
z-index: 20;
|
|
transition: top 0.1s ease;
|
|
}
|
|
|
|
/* Task being dragged - source placeholder */
|
|
.weekly-task-item.drag-source,
|
|
.time-slot-task.drag-source {
|
|
opacity: 0.4;
|
|
background: rgba(0, 154, 154, 0.05);
|
|
border: 1px dashed var(--weekly-teal);
|
|
}
|
|
|
|
/* Calendar connect button */
|
|
.calendar-connect-btn {
|
|
flex: 1;
|
|
padding: 1rem;
|
|
border: 1px solid var(--weekly-border);
|
|
border-radius: 8px;
|
|
background: var(--weekly-bg);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.9rem;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.calendar-connect-btn:hover {
|
|
border-color: var(--weekly-teal);
|
|
background: rgba(0, 154, 154, 0.05);
|
|
}
|
|
|
|
.calendar-connect-btn span {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
/* Draggable task items */
|
|
.weekly-task-item {
|
|
cursor: grab;
|
|
}
|
|
|
|
.weekly-task-item:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.weekly-task-item.dragging {
|
|
opacity: 0.4;
|
|
background: rgba(0, 154, 154, 0.1);
|
|
}
|
|
|
|
/* Dark mode additions for time grid */
|
|
.weekly-container.dark-mode .cell-duration-select {
|
|
background: #2a2a2a;
|
|
border-color: var(--weekly-border);
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
.weekly-container.dark-mode .time-slot {
|
|
border-bottom-color: #2a2a2a;
|
|
}
|
|
|
|
.weekly-container.dark-mode .time-slot.hour-start {
|
|
border-bottom-color: var(--weekly-border);
|
|
}
|
|
|
|
.weekly-container.dark-mode .time-slot.drop-target:hover {
|
|
background: rgba(0, 154, 154, 0.15);
|
|
}
|
|
|
|
.weekly-container.dark-mode .time-slot-task {
|
|
background: rgba(0, 154, 154, 0.2);
|
|
}
|
|
|
|
.weekly-container.dark-mode .calendar-connect-btn {
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
.weekly-container.dark-mode .calendar-connect-btn:hover {
|
|
background: rgba(0, 154, 154, 0.15);
|
|
}
|
|
|
|
/* ============================================
|
|
LIST VIEW STYLES
|
|
============================================ */
|
|
|
|
.weekly-container.list-view .weekly-day-column {
|
|
border-left-width: 0px;
|
|
}
|
|
|
|
.weekly-container.list-view .time-slot.hour-start {
|
|
margin-left: 20px;
|
|
border-right-width: 20px;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.weekly-container.list-view .time-column {
|
|
width: 40px;
|
|
}
|
|
|
|
/* Event Protection Overlay - matches exact event position and height */
|
|
.event-protection-overlay {
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: flex-start;
|
|
padding: 4px;
|
|
}
|
|
|
|
/* Clickable lock/unlock button on calendar events */
|
|
.event-unlock-btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
padding: 2px;
|
|
border-radius: 4px;
|
|
opacity: 0.7;
|
|
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.event-unlock-btn:hover {
|
|
opacity: 1;
|
|
transform: scale(1.15);
|
|
}
|
|
|
|
/* All-day chevron positioning */
|
|
.all-day-chevron {
|
|
position: absolute;
|
|
top: 0.25rem;
|
|
right: 1rem;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 0.75rem;
|
|
color: #666;
|
|
padding: 0.25rem;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.all-day-chevron:hover {
|
|
color: var(--weekly-text);
|
|
}
|
|
|
|
/* ============================================
|
|
AUTH PAGES STYLES (Weekly-style)
|
|
============================================ */
|
|
|
|
.weekly-auth-container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
|
|
padding: 2rem;
|
|
}
|
|
|
|
.weekly-auth-card {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
|
|
padding: 3rem;
|
|
width: 100%;
|
|
max-width: 380px;
|
|
text-align: center;
|
|
}
|
|
|
|
.weekly-auth-logo {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: #1a1a1a;
|
|
letter-spacing: 0.02em;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.weekly-auth-tagline {
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.weekly-auth-error {
|
|
background: #fef2f2;
|
|
border: 1px solid #fecaca;
|
|
color: #dc2626;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 6px;
|
|
font-size: 0.875rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.weekly-auth-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.weekly-auth-field {
|
|
width: 100%;
|
|
}
|
|
|
|
.weekly-auth-input {
|
|
width: 100%;
|
|
padding: 0.875rem 1rem;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
outline: none;
|
|
}
|
|
|
|
.weekly-auth-input:focus {
|
|
border-color: var(--weekly-teal, #009a9a);
|
|
box-shadow: 0 0 0 3px rgba(0, 154, 154, 0.1);
|
|
}
|
|
|
|
.weekly-auth-input::placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
.weekly-auth-button {
|
|
width: 100%;
|
|
padding: 0.875rem 1rem;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.weekly-auth-button.primary {
|
|
background: var(--weekly-teal, #009a9a);
|
|
color: white;
|
|
border: none;
|
|
}
|
|
|
|
.weekly-auth-button.primary:hover {
|
|
background: #008888;
|
|
}
|
|
|
|
.weekly-auth-button.primary:disabled {
|
|
background: #ccc;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.weekly-auth-button.google {
|
|
background: white;
|
|
color: #333;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.weekly-auth-button.google:hover {
|
|
background: #f9f9f9;
|
|
border-color: #ccc;
|
|
}
|
|
|
|
.weekly-auth-button.google:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.weekly-auth-button .google-icon {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.weekly-auth-divider {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.weekly-auth-divider::before,
|
|
.weekly-auth-divider::after {
|
|
content: '';
|
|
flex: 1;
|
|
height: 1px;
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.weekly-auth-divider span {
|
|
padding: 0 1rem;
|
|
color: #999;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.weekly-auth-links {
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.weekly-auth-link {
|
|
color: var(--weekly-teal, #009a9a);
|
|
text-decoration: none;
|
|
font-size: 0.875rem;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.weekly-auth-link:hover {
|
|
color: #008888;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.weekly-auth-link-divider {
|
|
color: #ccc;
|
|
}
|
|
|
|
.weekly-auth-text {
|
|
color: #666;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.weekly-auth-footer {
|
|
margin-top: 2rem;
|
|
color: #999;
|
|
font-size: 0.8rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* --- FIXES & NEW FEATURES --- */
|
|
|
|
/* Fix 1: Animation Overrides (Single-phase slide-in to prevent blank flash) */
|
|
@keyframes slideInFromLeft {
|
|
0% {
|
|
transform: translateX(-50px);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideInFromRight {
|
|
0% {
|
|
transform: translateX(50px);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.slide-in-left {
|
|
animation: slideInFromRight 0.5s ease-out forwards;
|
|
}
|
|
|
|
.slide-in-right {
|
|
animation: slideInFromLeft 0.5s ease-out forwards;
|
|
}
|
|
|
|
/* Fix 2: Task Hover Actions */
|
|
.weekly-task-item,
|
|
.time-slot-task {
|
|
/* Ensure positioning context for absolute actions if needed, though flex is used */
|
|
position: relative;
|
|
}
|
|
|
|
.weekly-task-item .task-actions,
|
|
.time-slot-task .task-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
margin-left: auto;
|
|
/* Push to far right */
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.weekly-task-item:hover .task-actions,
|
|
.time-slot-task:hover .task-actions {
|
|
opacity: 1;
|
|
}
|
|
|
|
.task-action-btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: #999;
|
|
padding: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.task-action-btn:hover {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
color: #333;
|
|
}
|
|
|
|
.task-action-btn.delete:hover {
|
|
color: #d32f2f;
|
|
background-color: rgba(211, 47, 47, 0.1);
|
|
}
|
|
|
|
/* Roll Menu Dropdown */
|
|
.roll-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
background: white;
|
|
border-radius: 6px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
z-index: 100;
|
|
min-width: 120px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.roll-menu button {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
background: none;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
color: var(--weekly-text);
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.roll-menu button:hover {
|
|
background: var(--weekly-teal);
|
|
color: white;
|
|
}
|
|
|
|
/* Notes Modal */
|
|
.weekly-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.weekly-modal-content {
|
|
background: white;
|
|
padding: 24px;
|
|
border-radius: 12px;
|
|
width: 90%;
|
|
max-width: 500px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.weekly-modal-content h3 {
|
|
margin: 0 0 16px 0;
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.weekly-notes-editor {
|
|
width: 100%;
|
|
height: 200px;
|
|
margin-bottom: 16px;
|
|
padding: 12px;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 6px;
|
|
font-family: inherit;
|
|
resize: vertical;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.weekly-modal-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
}
|
|
|
|
.weekly-btn {
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.weekly-btn-secondary {
|
|
background: #f5f5f5;
|
|
color: #333;
|
|
}
|
|
|
|
.weekly-btn-secondary:hover {
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.weekly-btn-primary {
|
|
background: #000;
|
|
color: #fff;
|
|
}
|
|
|
|
.weekly-btn-primary:hover {
|
|
background: #333;
|
|
}
|
|
|
|
/* --- VIEW TRANSITION ANIMATION (Weekly-like) --- */
|
|
|
|
/* Only apply Container transitions (Full Slide) when navType is 'week' */
|
|
[data-nav-type="week"] .weekly-days-grid {
|
|
view-transition-name: week-grid;
|
|
}
|
|
|
|
/* When navType="day", NO name on container, so columns animate individually via inline view-transition-name */
|
|
|
|
@keyframes slideOutToLeft {
|
|
to {
|
|
transform: translateX(-100%);
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
@keyframes slideInFromRight {
|
|
from {
|
|
transform: translateX(100%);
|
|
}
|
|
|
|
to {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
@keyframes slideOutToRight {
|
|
to {
|
|
transform: translateX(100%);
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
@keyframes slideInFromLeft {
|
|
from {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
to {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
::view-transition-group(week-grid) {
|
|
animation-duration: 0.6s;
|
|
animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
}
|
|
|
|
/* Next (forward): Old slides Left, New enters from Right */
|
|
[data-transition-direction="next"]::view-transition-old(week-grid) {
|
|
animation: slideOutToLeft 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;
|
|
mix-blend-mode: normal;
|
|
}
|
|
|
|
[data-transition-direction="next"]::view-transition-new(week-grid) {
|
|
animation: slideInFromRight 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;
|
|
mix-blend-mode: normal;
|
|
}
|
|
|
|
/* Prev (backward): Old slides Right, New enters from Left */
|
|
[data-transition-direction="prev"]::view-transition-old(week-grid) {
|
|
animation: slideOutToRight 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;
|
|
mix-blend-mode: normal;
|
|
}
|
|
|
|
[data-transition-direction="prev"]::view-transition-new(week-grid) {
|
|
animation: slideInFromLeft 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;
|
|
mix-blend-mode: normal;
|
|
}/* Smooth View Transitions */
|
|
::view-transition-group(root) {
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
::view-transition-old(root),
|
|
::view-transition-new(root) {
|
|
/* Ensure they mix/cross-fade or slide as expected */
|
|
/* Default is usually fine, but duration control is key */
|
|
}
|