diff --git a/.gitignore b/.gitignore index 5a94247..12a5b55 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,79 @@ -.venv -.startserver.sh +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# Distribution / packaging +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# Django stuff: +*.log +*.pot +*.pyc +*.sqlite3 +db.sqlite3 +media/ +staticfiles/ +static/ + +# If you are using WhiteNoise for static file management +static_root/ + +# Django migrations (optional – nur ignorieren wenn du sie nicht versionieren willst) +# **/migrations/ + +# PyInstaller +*.manifest +*.spec + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ + +# Environments .env -sb.sqlite3 -__pycache__ \ No newline at end of file +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# IDE / Editor stuff +.vscode/ +.idea/ +*.swp +*.swo +*.sublime-project +*.sublime-workspace + +# System files +.DS_Store +Thumbs.db + + + + +db.sqlite3 \ No newline at end of file diff --git a/static/css/design.css b/static/css/design.css index c87949c..359ea4a 100644 --- a/static/css/design.css +++ b/static/css/design.css @@ -1,53 +1,45 @@ -html, body { - height: 100%; - } - .sidebar { - position: fixed; - top: 60px; - left: 0; - width: 220px; - height: calc(100% - 60px); - padding: 1rem; - border-right: 1px solid #ddd; - overflow-y: auto; - } - - .content { - margin-left: 220px; - padding: 2rem; - padding-top: 80px; - } - - .navbar.is-fixed-top { - z-index: 1000; - } - - @media (max-width: 768px) { - .sidebar { - position: relative; - width: 100%; - height: auto; - border-right: none; - padding-top: 0; - } - .content { - margin-left: 0; - padding-top: 2rem; - } - } - -/** - Breadcrumps -**/ - -.breadcrumb { - margin-bottom: 20px; +/* Topbar-Farbe erzwingen (Bulma überschreibt sonst mit weiß) */ +.navbar.topbar-nav { + background-color: #d6801e !important; /* Orange wie im Screenshot */ + box-shadow: none; } -.content li{ - margin-top: 5px !important; +/* Textfarben in der Topbar */ +.navbar.topbar-nav .navbar-item, +.navbar.topbar-nav .navbar-link { + color: #111; +} +.navbar.topbar-nav .navbar-item:hover, +.navbar.topbar-nav .navbar-link:hover { + background-color: rgba(0,0,0,.04); + color: #111; } -.content li+li { - margin: 0 !important; -} \ No newline at end of file +/* Dropdown-Pfeil in lila */ +.navbar.topbar-nav .navbar-link::after { + border-color: #6b2bbd; /* lila */ +} + +/* Lila Logo-Kachel links */ +.logo { + background: #5a2a82 !important; + color: #fff; + +} +.logo .logo-text { + color: #fff; + font-weight: 700; +} + +/* Rechte Seite: Suche + Profil */ +.actions { display: flex; align-items: center; gap: 10px; padding-right: 10px; } +.search { border: 1px solid #c7c7c7; border-radius: 4px; padding: 4px 8px; font-size: 14px; } +.profile { background: #3c7d74; color: #fff; width: 28px; height: 28px; border-radius: 9999px; + display: flex; align-items: center; justify-content: center; font-weight: 700; } + +/* Inhalt darunter */ +.content { background: #fafafa; min-height: calc(100vh - 3.25rem); } +.home-icon { font-size: 20px; display: inline-block; margin: 10px; } + +/* Dropdown optisch näher am Screenshot */ +.navbar-dropdown { border-top: none; box-shadow: 0 8px 16px rgba(0,0,0,.1); } \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 48ba376..b31b9c5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,104 +3,68 @@
-