From 868e6e3315292acebc1b3af8019e82e50f2fda74 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 2 Apr 2026 13:54:03 -0500 Subject: [PATCH] fixed the color of buttons --- app/sovran_systemsos_web/static/style.css | 28 ++++++++++++------- app/sovran_systemsos_web/templates/index.html | 6 ++-- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/app/sovran_systemsos_web/static/style.css b/app/sovran_systemsos_web/static/style.css index bd0ef60..e4b0b5b 100644 --- a/app/sovran_systemsos_web/static/style.css +++ b/app/sovran_systemsos_web/static/style.css @@ -1,5 +1,6 @@ /* Sovran_SystemsOS Hub — Web UI Stylesheet - Dark theme matching the Adwaita dark aesthetic */ + Dark theme matching the Adwaita dark aesthetic + v2 — cache bust */ *, *::before, *::after { box-sizing: border-box; @@ -100,9 +101,9 @@ button:disabled { opacity: 0.88; } -/* Update button: blue by default, green when updates available */ +/* Update System button: BLUE (#89b4fa) by default */ .btn-update { - background-color: var(--accent-color); + background-color: #89b4fa; color: #1e1e2e; position: relative; display: flex; @@ -114,8 +115,9 @@ button:disabled { opacity: 0.88; } +/* Update System button: GREEN when updates are available */ .btn-update.has-updates { - background-color: var(--green); + background-color: #2ec27e; color: #fff; } @@ -473,14 +475,20 @@ button:disabled { border-top: 1px solid var(--border-color); } -/* Reboot button */ -#btn-reboot { - background-color: #2ec27e !important; - color: #fff !important; +/* ── Modal footer buttons ──────────────────────────────────────── + Reboot = GREEN, Save = YELLOW, Close = GREY */ + +.modal-footer .btn-reboot, +.modal-footer button.btn-reboot, +button#btn-reboot { + background-color: #2ec27e; + color: #fff; } -#btn-reboot:hover:not(:disabled) { - background-color: #27ae6e !important; +.modal-footer .btn-reboot:hover:not(:disabled), +.modal-footer button.btn-reboot:hover:not(:disabled), +button#btn-reboot:hover:not(:disabled) { + background-color: #27ae6e; } .btn-save { diff --git a/app/sovran_systemsos_web/templates/index.html b/app/sovran_systemsos_web/templates/index.html index d6614e2..0f02e50 100644 --- a/app/sovran_systemsos_web/templates/index.html +++ b/app/sovran_systemsos_web/templates/index.html @@ -4,7 +4,7 @@ Sovran_SystemsOS Hub - + @@ -54,6 +54,6 @@ - + - + \ No newline at end of file