my-favs/frontend/src/style.css
RamonCalvo 8caa836102
All checks were successful
Deploy / deploy (push) Successful in 9s
feat: add version footer with VITE_DEPLOYED_VERSION
Shows v:dev locally and v:<commit-hash> in deployed builds.
Variable passed as build arg through Docker Compose.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 20:47:23 -06:00

401 lines
6.3 KiB
CSS

*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: #0a0a0a;
color: #e0e0e0;
line-height: 1.5;
overflow: hidden;
height: 100vh;
}
#app {
height: 100vh;
}
/* Layout */
.layout {
display: grid;
grid-template-columns: 1fr auto;
grid-template-rows: 1fr auto;
border: 1px solid #222;
margin: 12px;
height: calc(100vh - 24px);
}
/* Left panel */
.panel-left {
display: flex;
flex-direction: column;
padding: 2.5rem 3rem;
overflow: hidden;
}
.section-subtitle {
font-size: 0.8rem;
font-weight: 300;
color: #666;
letter-spacing: 0.05em;
margin-bottom: 0.5rem;
}
.section-title {
font-size: clamp(4rem, 10vw, 8rem);
font-weight: 900;
color: #fff;
line-height: 0.95;
letter-spacing: -0.03em;
margin-bottom: 2rem;
transition: opacity 0.3s;
}
.section-divider {
width: 100%;
height: 1px;
background: #222;
margin-bottom: 1.5rem;
}
.section-meta {
display: flex;
justify-content: space-between;
align-items: baseline;
margin-bottom: 0.75rem;
}
.section-year {
font-size: 0.8rem;
font-weight: 300;
color: #888;
}
.section-count {
font-size: 0.8rem;
font-weight: 300;
color: #888;
}
.section-description {
font-size: 0.85rem;
color: #777;
line-height: 1.6;
max-width: 480px;
margin-bottom: 1.5rem;
}
/* Content area */
.content-area {
flex: 1;
overflow-y: auto;
padding-right: 1rem;
scrollbar-width: thin;
scrollbar-color: #222 transparent;
}
.content-area::-webkit-scrollbar {
width: 4px;
}
.content-area::-webkit-scrollbar-thumb {
background: #222;
border-radius: 2px;
}
/* Navigation tabs (right panel) */
.panel-right {
display: flex;
border-left: 1px solid #222;
}
.nav-tab {
display: flex;
align-items: flex-start;
justify-content: center;
padding: 2.5rem 1.25rem 2rem;
background: none;
border: none;
border-left: 1px solid #222;
color: #555;
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
font-weight: 400;
cursor: pointer;
transition: color 0.2s, background 0.2s;
min-width: 70px;
letter-spacing: 0.02em;
}
.nav-tab:first-child {
border-left: none;
}
.nav-tab:hover {
color: #aaa;
background: #111;
}
.nav-tab.active {
color: #fff;
font-weight: 700;
background: #0f0f0f;
}
/* Bookmark form */
.bookmark-form {
display: flex;
gap: 0.5rem;
margin-bottom: 1.25rem;
}
.bookmark-form input {
flex: 1;
padding: 0.5rem 0;
border: none;
border-bottom: 1px solid #222;
background: transparent;
color: #e0e0e0;
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
outline: none;
transition: border-color 0.2s;
}
.bookmark-form input:focus {
border-color: #555;
}
.bookmark-form input::placeholder {
color: #444;
}
.btn-add {
padding: 0.5rem 1rem;
background: #fff;
color: #0a0a0a;
border: none;
font-family: 'Inter', sans-serif;
font-size: 0.75rem;
font-weight: 700;
cursor: pointer;
letter-spacing: 0.05em;
text-transform: uppercase;
transition: opacity 0.2s;
}
.btn-add:hover {
opacity: 0.85;
}
/* Bookmark list */
.bookmark-item {
display: flex;
align-items: baseline;
justify-content: space-between;
padding: 0.5rem 0;
border-bottom: 1px solid #151515;
}
.bookmark-info {
min-width: 0;
flex: 1;
}
.bookmark-title {
color: #fff;
text-decoration: none;
font-size: 0.825rem;
font-weight: 400;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
transition: color 0.15s;
}
.bookmark-title:hover {
color: #888;
}
.bookmark-meta {
font-size: 0.65rem;
color: #444;
margin-top: 0.15rem;
font-weight: 300;
}
.bookmark-category {
color: #555;
margin-right: 0.5rem;
text-transform: lowercase;
}
.btn-delete {
background: none;
border: none;
color: #333;
padding: 0.25rem 0.5rem;
font-size: 0.65rem;
cursor: pointer;
font-family: 'Inter', sans-serif;
letter-spacing: 0.05em;
transition: color 0.15s;
}
.btn-delete:hover {
color: #ef4444;
}
/* Actions bar */
.actions-bar {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.btn-action {
padding: 0.35rem 0.75rem;
background: transparent;
color: #555;
border: 1px solid #222;
font-family: 'Inter', sans-serif;
font-size: 0.7rem;
font-weight: 400;
cursor: pointer;
letter-spacing: 0.03em;
transition: all 0.2s;
}
.btn-action:hover {
color: #fff;
border-color: #444;
}
.btn-action:disabled {
opacity: 0.4;
cursor: default;
}
.status {
font-size: 0.7rem;
color: #555;
font-weight: 300;
}
.empty {
color: #333;
font-size: 0.8rem;
padding: 3rem 0;
text-align: center;
font-weight: 300;
letter-spacing: 0.05em;
}
/* Login */
.login-screen {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
gap: 1rem;
}
.login-title {
font-size: clamp(5rem, 15vw, 12rem);
font-weight: 900;
color: #fff;
letter-spacing: -0.04em;
line-height: 0.9;
}
.login-subtitle {
color: #444;
font-size: 0.8rem;
font-weight: 300;
letter-spacing: 0.1em;
margin-bottom: 1.5rem;
}
.btn-google {
padding: 0.625rem 2rem;
background: #fff;
color: #0a0a0a;
border: none;
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
letter-spacing: 0.03em;
transition: opacity 0.2s;
}
.btn-google:hover {
opacity: 0.85;
}
/* Header */
.header-bar {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.75rem;
margin-bottom: 0.5rem;
}
.user-email {
font-size: 0.65rem;
color: #444;
font-weight: 300;
}
.btn-logout {
background: none;
border: none;
color: #444;
font-family: 'Inter', sans-serif;
font-size: 0.65rem;
cursor: pointer;
letter-spacing: 0.05em;
transition: color 0.15s;
padding: 0;
}
.btn-logout:hover {
color: #fff;
}
/* Footer */
.footer {
grid-column: 1 / -1;
border-top: 1px solid #222;
padding: 0.5rem 1.5rem;
display: flex;
justify-content: flex-end;
}
.footer-version {
font-size: 0.6rem;
color: #333;
font-weight: 300;
font-family: 'Inter', monospace;
letter-spacing: 0.05em;
}
/* Loading */
.loading-screen {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
color: #333;
font-size: 0.8rem;
font-weight: 300;
letter-spacing: 0.1em;
}