style(ui): remove card frames for a flat design

Cards and tables no longer draw a border or background so content sits
directly on the page background, matching the requested flat look.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
BlackAngelTV committed 2026-08-28 17:55:00 +02:00
1 parent ad31e5c597
commit a4a345984b
1 file changed
+7 -4
+7 -4
View File
@@ -187,7 +187,9 @@ void MainWindow::setupUI() {
"QLabel#headerTitle { font-size: 19px; font-weight: 800; color: #e8edf9; }"
"QLabel#headerSubtitle { font-size: 12px; color: #7a8299; }"
// ---- Cards ----
"QFrame#card { background: #141927; border: 1px solid #232b3a; border-radius: 14px; }"
// Cards are intentionally frameless: the dashboard and detail panels
// use a flat look where content sits directly on the page background.
"QFrame#card { background: transparent; border: none; }"
"QLabel#cardTitle { font-size: 11px; font-weight: 700; color: #7a8299; letter-spacing: 1px; }"
"QLabel#statValue { font-size: 30px; font-weight: 800; color: #ffffff; }"
"QLabel#statTitle { font-size: 12px; color: #7a8299; font-weight: 600; }"
@@ -255,11 +257,12 @@ void MainWindow::setupUI() {
"QProgressBar { background: #1c2330; border: none; border-radius: 3px; }"
"QProgressBar::chunk { background: #7aa2f7; border-radius: 3px; }"
// ---- Package table ----
// No outer frame: the table blends with the page background, keeping
// only the column header and alternating rows as visual separators.
"QTableWidget {"
" background: #12161f;"
" background: transparent;"
" alternate-background-color: #141a25;"
" border: 1px solid #232b3a;"
" border-radius: 10px;"
" border: none;"
" gridline-color: transparent;"
" outline: 0;"
"}"