164 lines
4.9 KiB
CSS
164 lines
4.9 KiB
CSS
.planner-grid-viewport {
|
|
height: calc(100vh - 64px) !important;
|
|
overflow: auto !important;
|
|
background: white;
|
|
position: relative;
|
|
display: block;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.planner-grid-viewport::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
.planner-grid-viewport::-webkit-scrollbar-track { background: #f1f5f9; }
|
|
.planner-grid-viewport::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 20px; border: 2px solid #f1f5f9; }
|
|
|
|
.planner-grid-content {
|
|
display: inline-block;
|
|
min-width: fit-content;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.planner-grid-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
border-bottom: 1px solid #f1f5f9;
|
|
}
|
|
|
|
.planner-grid-left-col {
|
|
width: var(--left-col-width);
|
|
min-width: var(--left-col-width);
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 20;
|
|
background: white;
|
|
border-right: 1px solid var(--border-color);
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.planner-grid-row-eod { position: sticky; top: 0; z-index: 40; height: var(--h-eod); background: #fffafb; }
|
|
.planner-grid-row-status { position: sticky; top: var(--h-eod); z-index: 39; height: var(--h-status); background: white; }
|
|
.planner-grid-row-dates { position: sticky; top: calc(var(--h-eod) + var(--h-status)); z-index: 38; height: var(--h-dates); background: #fdfdfd; }
|
|
|
|
.planner-grid-row-eod .planner-grid-left-col { z-index: 60; background: #fffafb; color: #db2777; border-bottom: 1px solid #fce7f3; }
|
|
.planner-grid-row-status .planner-grid-left-col { z-index: 59; background: white; color: #64748b; }
|
|
.planner-grid-row-dates .planner-grid-left-col { z-index: 58; background: #fdfdfd; padding-right: 12px; border-bottom: 1px solid var(--border-color); }
|
|
|
|
.planner-grid-cells-area { display: flex; flex-direction: row; }
|
|
|
|
.planner-grid-cell {
|
|
width: var(--cell-width);
|
|
min-width: var(--cell-width);
|
|
height: 58px;
|
|
border-right: 1px solid #f1f5f9;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
transition: background 0.1s ease;
|
|
}
|
|
.planner-grid-cell:hover:not(.cursor-not-allowed) { background-color: #f8fafc; }
|
|
.planner-grid-cell-compact { height: 42px; }
|
|
|
|
.planner-grid-shift-badge {
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
width: 90%;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-bottom: 2px;
|
|
border: 1px solid rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.planner-grid-group-header-l1 {
|
|
background: #eef2ff;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
color: #3730a3;
|
|
letter-spacing: 0.05em;
|
|
height: 36px;
|
|
border-top: 1px solid #c7d2fe;
|
|
border-bottom: 1px solid #e0e7ff;
|
|
}
|
|
.planner-grid-group-header-l1 .planner-grid-left-col { background: #eef2ff; color: #3730a3; }
|
|
|
|
.planner-grid-group-header-l2 {
|
|
background: #f8fafc;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
color: #64748b;
|
|
letter-spacing: 0.025em;
|
|
height: 32px;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
.planner-grid-group-header-l2 .planner-grid-left-col { background: #f8fafc; color: #64748b; padding-left: 24px; }
|
|
|
|
.planner-grid-locked-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(241, 245, 249, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 5;
|
|
}
|
|
|
|
.planner-grid-search-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
width: 100%;
|
|
}
|
|
|
|
.planner-grid-bg-weekend { background-color: #f1f5f9 !important; }
|
|
.text-sat { color: #166534 !important; }
|
|
.text-sun { color: #991b1b !important; }
|
|
|
|
.planner-grid-bg-reading-mode { background-color: #fff9c4 !important; }
|
|
.planner-grid-bg-reading-mode-intersection { background-color: #fff176 !important; }
|
|
.planner-grid-reading-active-header { background-color: #fef08a !important; border-bottom: 2px solid #eab308; }
|
|
|
|
.planner-grid-row-highlighted .planner-grid-left-col {
|
|
background-color: #fff9c4 !important;
|
|
}
|
|
|
|
.planner-grid-agent-row-trigger .planner-grid-agent-highlight-btn {
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.planner-grid-agent-row-trigger:hover .planner-grid-agent-highlight-btn,
|
|
.planner-grid-agent-highlight-btn.is-active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.planner-grid-date-header-trigger .planner-grid-header-highlight-btn {
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.planner-grid-date-header-trigger:hover .planner-grid-header-highlight-btn,
|
|
.planner-grid-header-highlight-btn.is-active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.planner-grid-col-hovered {
|
|
background-color: var(--highlight-bg) !important;
|
|
box-shadow: inset 1px 0 0 var(--highlight-border), inset -1px 0 0 var(--highlight-border);
|
|
z-index: 1;
|
|
}
|
|
|
|
.planner-grid-row-item.crosshair-enabled:hover {
|
|
background-color: var(--highlight-bg);
|
|
box-shadow: inset 0 1px 0 var(--highlight-border), inset 0 -1px 0 var(--highlight-border);
|
|
}
|
|
.planner-grid-row-item.crosshair-enabled:hover .planner-grid-left-col {
|
|
background-color: #e0e7ff !important;
|
|
border-top: 1px solid var(--highlight-border);
|
|
border-bottom: 1px solid var(--highlight-border);
|
|
color: #3730a3;
|
|
} |