438 lines
6.6 KiB
CSS
438 lines
6.6 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: #f4f1ea;
|
|
color: #1d2528;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
.topbar {
|
|
align-items: center;
|
|
background: #17313b;
|
|
color: #fffaf0;
|
|
display: grid;
|
|
gap: 0;
|
|
grid-template-columns: minmax(13rem, 25%) 1fr;
|
|
padding: 0;
|
|
}
|
|
|
|
.brandline {
|
|
align-items: baseline;
|
|
display: flex;
|
|
gap: 0.55rem;
|
|
padding: 0.38rem 0.65rem;
|
|
}
|
|
|
|
.brandline p {
|
|
color: #d9e5e8;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
.eyebrow {
|
|
color: #e2b66a;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
margin: 0 0 0.18rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(1.2rem, 2vw, 1.75rem);
|
|
line-height: 1;
|
|
margin: 0;
|
|
}
|
|
|
|
.toolbar {
|
|
align-items: center;
|
|
align-self: stretch;
|
|
background: #d9c9ad;
|
|
display: flex;
|
|
gap: 0.45rem;
|
|
min-width: 0;
|
|
padding: 0.32rem 0.6rem;
|
|
}
|
|
|
|
.filter {
|
|
align-items: end;
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.filter label {
|
|
color: #304149;
|
|
display: grid;
|
|
font-size: 0.68rem;
|
|
gap: 0.08rem;
|
|
}
|
|
|
|
.filter select,
|
|
.filter input {
|
|
border: 0;
|
|
border-radius: 999px;
|
|
font: inherit;
|
|
padding: 0.32rem 0.62rem;
|
|
}
|
|
|
|
.filter input {
|
|
width: 9rem;
|
|
}
|
|
|
|
.filter button {
|
|
background: #17313b;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
color: #fffaf0;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
padding: 0.32rem 0.7rem;
|
|
}
|
|
|
|
.view-toggle {
|
|
background: rgba(23, 49, 59, 0.12);
|
|
border: 1px solid rgba(23, 49, 59, 0.18);
|
|
border-radius: 999px;
|
|
display: flex;
|
|
padding: 0.12rem;
|
|
}
|
|
|
|
.view-toggle a {
|
|
border-radius: 999px;
|
|
color: #17313b;
|
|
font-size: 0.76rem;
|
|
padding: 0.3rem 0.58rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.view-toggle a.selected {
|
|
background: #17313b;
|
|
color: #fffaf0;
|
|
}
|
|
|
|
.feed {
|
|
--artifacts-width: 280px;
|
|
--days-width: 144px;
|
|
display: grid;
|
|
grid-template-columns: var(--days-width) 1px var(--artifacts-width) 1px minmax(0, 1fr);
|
|
min-height: calc(100vh - 3.2rem);
|
|
}
|
|
|
|
.day-sidebar,
|
|
.artifact-sidebar,
|
|
.preview-pane {
|
|
min-width: 0;
|
|
padding: 0.55rem;
|
|
}
|
|
|
|
.day-sidebar {
|
|
background: #ebe4d5;
|
|
}
|
|
|
|
.artifact-sidebar {
|
|
background: #f8f2e7;
|
|
}
|
|
|
|
.preview-pane {
|
|
align-items: stretch;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.splitter {
|
|
background: #d9c9ad;
|
|
cursor: col-resize;
|
|
position: relative;
|
|
touch-action: none;
|
|
}
|
|
|
|
.splitter::after {
|
|
background: transparent;
|
|
bottom: 0;
|
|
content: "";
|
|
left: -4px;
|
|
position: absolute;
|
|
right: -4px;
|
|
top: 0;
|
|
}
|
|
|
|
.splitter:hover,
|
|
.is-resizing .splitter {
|
|
background: #a98d5e;
|
|
}
|
|
|
|
.is-resizing {
|
|
cursor: col-resize;
|
|
user-select: none;
|
|
}
|
|
|
|
.day-sidebar h2,
|
|
.pane-heading h2 {
|
|
color: #68543b;
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.1em;
|
|
margin: 0 0 0.45rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.day-list,
|
|
.artifact-list {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.day-link,
|
|
.artifact-row {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.day-link {
|
|
border-radius: 10px;
|
|
display: grid;
|
|
gap: 0.1rem;
|
|
padding: 0.48rem;
|
|
}
|
|
|
|
.day-link:hover,
|
|
.day-link.selected {
|
|
background: #fffaf0;
|
|
box-shadow: 0 10px 24px rgba(57, 44, 28, 0.08);
|
|
}
|
|
|
|
.day-link.selected {
|
|
background: #17313b;
|
|
color: #fffaf0;
|
|
}
|
|
|
|
.day-link.selected span,
|
|
.day-link.selected strong {
|
|
color: #fffaf0;
|
|
}
|
|
|
|
.day-link.selected .today-badge {
|
|
background: #b9e8bf;
|
|
color: #17313b;
|
|
}
|
|
|
|
.day-link span,
|
|
.pane-heading span,
|
|
.artifact-row-main strong {
|
|
color: #7b6b55;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.today-badge {
|
|
background: #cfe9cf;
|
|
border-radius: 999px;
|
|
color: #245238;
|
|
display: inline-block;
|
|
font-size: 0.62rem;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
margin-left: 0.35rem;
|
|
padding: 0.08rem 0.38rem;
|
|
}
|
|
|
|
.day-link strong {
|
|
color: #17313b;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.pane-heading {
|
|
align-items: baseline;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.45rem;
|
|
}
|
|
|
|
.artifact-list {
|
|
align-content: start;
|
|
}
|
|
|
|
.artifact-row {
|
|
align-items: center;
|
|
background: #fffaf0;
|
|
border: 1px solid #e5d8c0;
|
|
border-radius: 11px;
|
|
display: flex;
|
|
gap: 0.45rem;
|
|
padding: 0.45rem;
|
|
}
|
|
|
|
.artifact-row:hover {
|
|
border-color: #c9b38d;
|
|
box-shadow: 0 12px 28px rgba(57, 44, 28, 0.08);
|
|
}
|
|
|
|
.artifact-row.selected {
|
|
background: #17313b;
|
|
border-color: #17313b;
|
|
color: #fffaf0;
|
|
}
|
|
|
|
.artifact-row.selected .artifact-row-main strong,
|
|
.artifact-row.selected .artifact-row-main span {
|
|
color: #fffaf0;
|
|
}
|
|
|
|
.kind-icon {
|
|
align-items: center;
|
|
background: #dfe9ea;
|
|
border-radius: 7px;
|
|
color: #17313b;
|
|
display: inline-flex;
|
|
flex: 0 0 2.25rem;
|
|
font-size: 0.58rem;
|
|
font-weight: 800;
|
|
height: 1.75rem;
|
|
justify-content: center;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.kind-image {
|
|
background: #dfeee2;
|
|
color: #265336;
|
|
}
|
|
|
|
.kind-pdf {
|
|
background: #f3dedb;
|
|
color: #78352f;
|
|
}
|
|
|
|
.kind-markdown {
|
|
background: #e7e1f2;
|
|
color: #443265;
|
|
}
|
|
|
|
.kind-deck {
|
|
background: #f6e5bf;
|
|
color: #6e4a12;
|
|
}
|
|
|
|
.artifact-row-main {
|
|
display: grid;
|
|
gap: 0.1rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.artifact-row-main span {
|
|
color: #17313b;
|
|
font-size: 0.86rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.empty {
|
|
background: #fffaf0;
|
|
border-radius: 16px;
|
|
padding: 1.2rem;
|
|
}
|
|
|
|
.empty.compact {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.empty.compact h3,
|
|
.preview-empty h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.preview-empty {
|
|
max-width: 34rem;
|
|
}
|
|
|
|
.preview-frame-wrap {
|
|
align-items: center;
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
min-height: 0;
|
|
}
|
|
|
|
.artifact-actions {
|
|
align-items: center;
|
|
background: #d9c9ad;
|
|
border-top: 1px solid #c7b48f;
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
gap: 0.75rem;
|
|
justify-content: space-between;
|
|
min-height: 2.25rem;
|
|
padding: 0.28rem 0.55rem;
|
|
}
|
|
|
|
.artifact-action-links {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.artifact-action-links a,
|
|
.artifact-action-links button {
|
|
background: #fffaf0;
|
|
border: 1px solid rgba(23, 49, 59, 0.14);
|
|
border-radius: 999px;
|
|
color: #17313b;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: 0.76rem;
|
|
line-height: 1;
|
|
padding: 0.42rem 0.65rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.artifact-action-links button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.48;
|
|
}
|
|
|
|
.preview-frame {
|
|
background: #fff;
|
|
border: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.preview-image {
|
|
background: #fff;
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.topbar {
|
|
align-items: stretch;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.toolbar,
|
|
.filter,
|
|
.artifact-actions {
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.feed {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.splitter {
|
|
display: none;
|
|
}
|
|
|
|
.day-sidebar,
|
|
.artifact-sidebar {
|
|
border-bottom: 1px solid #d9c9ad;
|
|
border-right: 0;
|
|
}
|
|
}
|