From 9cb057668b3dc711a4512967c4abbead520045e7 Mon Sep 17 00:00:00 2001 From: Shiro-Nek0 Date: Tue, 10 Mar 2026 21:41:15 -0300 Subject: [PATCH] login style fix --- static/style.css | 84 ++++++++++++++++++++++++++++---------------- templates/login.html | 71 +++---------------------------------- 2 files changed, 59 insertions(+), 96 deletions(-) diff --git a/static/style.css b/static/style.css index 9075076..fd19f0a 100644 --- a/static/style.css +++ b/static/style.css @@ -23,6 +23,31 @@ --table-head: #292b2f; } + [data-theme="dark"] .table { + --bs-table-color: var(--text-main); + color: var(--text-main); + } + + [data-theme="dark"] .btn-close { + filter: invert(1) grayscale(100%) brightness(200%); + } + + [data-theme="dark"] .text-muted { + color: var(--text-muted) !important; + } + + [data-theme="dark"] .modal-body .text-muted { + color: #f6f6f7 !important; + } + + [data-theme="dark"] .btn-close { + filter: invert(1) grayscale(100%) brightness(200%); + } + + [data-theme="dark"] .form-select { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dcddde' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important; + } + body { background: var(--bg); color: var(--text-main); @@ -58,7 +83,6 @@ color: var(--danger) !important; } - /* ── Cards ── */ .discord-card { background: var(--card-bg); border: 1px solid var(--border); @@ -66,7 +90,6 @@ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } - /* ── Inputs ── */ .form-control, .form-control:focus { background: var(--input-bg); @@ -83,7 +106,6 @@ color: var(--text-muted); } - /* ── Buttons ── */ .btn-accent { background: var(--accent); color: #fff; @@ -124,10 +146,7 @@ margin-top: 2px; } - [data-theme="dark"] .table { - --bs-table-color: var(--text-main); - color: var(--text-main); - } + .table thead th { background: var(--table-head); @@ -205,27 +224,6 @@ filter: var(--bs-theme-placeholder, invert(0.7) grayscale(100%) brightness(200%)); } - [data-theme="dark"] .btn-close { - filter: invert(1) grayscale(100%) brightness(200%); - } - - /* Add this inside your