Files
nixos-core/homepage/config/custom.css
T
kiskaadee ef72e3ea0f refactor(core): decouple applications to separate deployments and streamline core control plane
This commit restructures the homeserver repository to isolate the core gateway and management tools (Control Plane) from user applications (Data Plane). This allows applications to have independent lifecycles and CI/CD pipelines, preventing git history contamination.

- Relocated user applications (excalidraw, gitea, jellyfin, learning-hub, mermaid, ollama) to an external deployments directory.
- Moved homepage to the root directory as a core server component and removed the empty apps directory.
- Streamlined up.sh and down.sh to deploy and stop only core services and homepage, removing --infra-only parameters.
- Replaced all hardcoded domain names with a configurable global DOMAIN environment variable in docker-compose files.
- Used Authelia templating ({{ env "DOMAIN" }}) in configuration.yml to dynamically resolve SSO cookie domains and redirection URLs.
- Updated up.sh and down.sh helpers to explicitly pass env files via --env-file flags, resolving compose interpolation warnings.
- Created a declarative NixOS module (infra/nixos/dynu-ddns.nix) to orchestrate the Dynu DDNS update script.
- Created Authelia .env-example template for setup reproducibility.
- Refactored .gitignore to exclude obsolete app cache rules and keep it minimal to core secrets, volumes, and logs.
- Updated documentation (README, architecture, roadmap, usability) to document decoupled deployments and public/SSO service templates.
2026-06-14 23:33:35 -05:00

212 lines
4.2 KiB
CSS

.hp-kanban-section {
width: 100% !important;
flex-basis: 100% !important;
margin-top: 2rem !important;
display: block !important;
}
.hp-section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
.hp-section-header h2 {
margin: 0 !important;
font-size: 1.5rem !important;
}
.hp-kanban-board {
display: flex;
gap: 20px;
margin: 10px 0 30px 0;
width: 100%;
}
.hp-kanban-col {
flex: 1;
background: rgba(15, 23, 42, 0.4);
border: 1px solid rgba(51, 65, 85, 0.3);
border-radius: 12px;
padding: 20px;
min-height: 600px; /* Enforce min height for 3-4 courses */
backdrop-filter: blur(4px);
display: flex;
flex-direction: column;
}
.hp-kanban-col h3 {
font-size: 0.9rem !important;
margin: 0 0 1.5rem 0 !important;
text-transform: uppercase;
color: #f1f5f9;
text-align: center;
letter-spacing: 0.1em;
font-weight: 700;
padding-bottom: 0.5rem;
border-bottom: 2px solid rgba(56, 189, 248, 0.3);
}
.hp-kanban-list {
display: flex;
flex-direction: column;
gap: 12px;
flex: 1;
}
.hp-kanban-card {
background: rgba(30, 41, 59, 0.8);
border: 1px solid rgba(51, 65, 85, 0.5);
border-radius: 8px;
padding: 15px;
cursor: grab;
position: relative;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hp-kanban-card:hover {
border-color: #3b82f6;
transform: translateY(-2px);
background: #1e293b;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.hp-kanban-card-title {
font-size: 0.95rem;
font-weight: 700;
margin-bottom: 6px;
color: #f8fafc;
padding-right: 40px;
}
.hp-kanban-card-desc {
font-size: 0.8rem;
color: #94a3b8;
margin-bottom: 12px;
line-height: 1.4;
}
.hp-kanban-card-links {
display: flex;
flex-direction: column;
gap: 8px;
border-top: 1px solid rgba(51, 65, 85, 0.3);
padding-top: 10px;
}
.hp-kanban-card-links a {
text-decoration: none;
font-weight: 600;
font-size: 0.75rem;
padding: 4px 8px;
border-radius: 4px;
text-align: center;
}
.milestone-link {
background: #3b82f6;
color: white !important;
}
.hub-link {
background: rgba(51, 65, 85, 0.5);
color: #94a3b8 !important;
}
.milestone-link:hover { background: #2563eb; }
.hub-link:hover { background: rgba(51, 65, 85, 0.8); color: white !important; }
.hp-kanban-card.dragging {
opacity: 0.1;
transform: scale(0.9);
}
.hp-kanban-card-actions {
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 6px;
opacity: 0;
transition: opacity 0.2s;
}
.hp-kanban-card:hover .hp-kanban-card-actions {
opacity: 1;
}
.hp-kanban-card-actions button {
background: none;
border: none;
cursor: pointer;
font-size: 0.8rem;
}
.hp-add-btn {
background: #3b82f6;
color: white;
border: none;
padding: 6px 16px;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
.hp-add-btn:hover { background: #2563eb; }
/* Modal Styles */
.hp-modal {
display: none;
position: fixed;
z-index: 10000;
inset: 0;
background: rgba(0,0,0,0.8);
backdrop-filter: blur(4px);
align-items: center;
justify-content: center;
}
.hp-modal-content {
background: #1e293b;
padding: 2rem;
border-radius: 12px;
width: 90%;
max-width: 450px;
border: 1px solid #334155;
}
.hp-form-group { margin-bottom: 1rem; }
.hp-form-group label { display: block; font-size: 0.8rem; color: #94a3b8; margin-bottom: 4px; }
.hp-form-group input, .hp-form-group textarea, .hp-form-group select {
width: 100%;
background: #0f172a;
border: 1px solid #334155;
color: white;
padding: 8px;
border-radius: 6px;
}
.hp-modal-actions {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 1.5rem;
}
.hp-modal-actions button {
padding: 8px 18px;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
}
.hp-kanban-board ~ ul,
.hp-kanban-board ~ .grid {
display: none !important;
}