Initial commit: Dockerize Cazubu
All checks were successful
Docker Build & Push / build-and-push (push) Successful in 1m36s

This commit is contained in:
Gemini Bot
2025-12-07 17:09:16 +00:00
commit 61ede4c325
37 changed files with 2527 additions and 0 deletions

72
css/style.css Normal file
View File

@@ -0,0 +1,72 @@
/*
* CAZUBU Custom Stylesheet
* Version 9.2 - Finaler Feinschliff
*/
/* Globale Stile & Layout */
body, html { height: 100%; }
body { background-image: url('../wallpaper.png'); background-size: cover; background-position: center; background-attachment: fixed; }
.site-container { display: flex; min-height: 100vh; }
.side-menu { width: 280px; background-color: #2f3640; color: #f5f6fa; }
.project-name { font-weight: bold; color: white; }
.nav-link-header { font-weight: bold; color: #888; padding: .5rem 1rem; font-size: 0.8rem; text-transform: uppercase; }
.site-logo { width: 80%; max-width: 180px; height: auto; margin-bottom: 10px; }
.main-content { flex-grow: 1; padding: 30px; }
.header-card { background-color: #343a40 !important; color: #f8f9fa; border-radius: 0.75rem !important; }
.modal-content { background-color: rgba(233, 236, 239, 0.95) !important; color: #212529; }
.main-content h3.text-white, .main-content h4.text-white { text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); }
/* Login/Register Seiten */
.auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-form-wrapper { max-width: 450px; width: 100%; padding: 30px; border-radius: 0.75rem; background-color: rgba(248, 249, 250, 0.95); box-shadow: 0 5px 15px rgba(0,0,0,0.2); border: 1px solid rgba(255, 255, 255, 0.2); }
/* Buttons & Icons */
.btn-cazubu { --bs-btn-color: #fff; --bs-btn-bg: #556B2F; --bs-btn-border-color: #556B2F; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #6B8E23; --bs-btn-hover-border-color: #6B8E23; }
.popover { max-width: 220px; }
.popover-body { padding: 0.5rem; }
.info-link, .info-link:hover { text-decoration: none !important; color: inherit !important; }
.notes-icon { cursor: help; color: #6c757d; margin-left: 5px; }
/* Das einheitliche, rahmenlose Cazubu Tabellen-Design */
.cazubu-table-frameless { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 0.75rem; overflow: hidden; }
.cazubu-table-frameless thead th { background-color: #2f3640; color: white; border: none; text-align: left !important; vertical-align: middle; }
.cazubu-table-frameless tbody td { background-color: rgba(233, 236, 239, 0.92) !important; color: #212529; border-top: 1px solid rgba(47, 54, 64, 0.15); text-align: left !important; vertical-align: middle; }
.cazubu-table-frameless tbody tr:first-child td { border-top: none; }
.cazubu-table-frameless.table-hover tbody tr:hover td { background-color: rgba(220, 223, 226, 0.95) !important; }
.cazubu-table-frameless .text-muted { color: #495057 !important; }
.cazubu-table-frameless .btn-outline-dark { border-color: #2f3640; color: #2f3640; }
.cazubu-table-frameless .btn-outline-dark:hover { background-color: #2f3640; color: white; }
/* Registerkarten */
.plant-tabs { margin-bottom: 1.5rem; }
.plant-tabs .nav-link { color: #fff; font-weight: 500; background-color: rgba(47, 54, 64, 0.7); margin-right: 5px; border-radius: .375rem; }
.plant-tabs .nav-link.active { background-color: #556B2F; color: #fff; font-weight: bold; }
.cazubu-table-frameless .nav-tabs { border-bottom: none; }
.cazubu-table-frameless .nav-tabs .nav-link { border: 1px solid transparent; color: #a9a9a9; padding: 0.75rem 1rem; }
.cazubu-table-frameless .nav-tabs .nav-link:hover { border-color: transparent; color: #fff; }
.cazubu-table-frameless .nav-tabs .nav-link.active { background-color: rgba(233, 236, 239, 0.92); color: #212529; font-weight: bold; border-color: transparent; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
/* Detailseite */
.plant-image-frame { background-color: #fff; padding: 0.75rem; border-radius: 0.75rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); height: 300px; display: flex; align-items: center; justify-content: center; }
.plant-image-frame img { border-radius: 0.5rem; max-width: 100%; max-height: 100%; object-fit: contain; }
.image-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; }
.gallery-item .gallery-image { width: 100%; height: 120px; object-fit: cover; border-radius: 0.5rem; border: 1px solid #dee2e6; }
.gallery-item .gallery-date { font-size: 0.75rem; color: #6c757d; text-align: left; margin-top: 0.25rem; padding-left: 0.25rem; }
.gallery-item .delete-image-btn { position: absolute; bottom: 5px; right: 5px; opacity: 0.6; transition: opacity 0.2s ease-in-out; width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.gallery-item:hover .delete-image-btn { opacity: 1; }
/* Minimalistisches DataTables Design */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate { display: none !important; }
table.dataTable.no-footer { border-bottom: none !important; }
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_desc:after {
opacity: 0.5;
}