aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-30 19:11:59 +0100
committer0neGal <mail@0negal.com>2021-12-30 19:11:59 +0100
commit9d8ceea77b6f172f0c055c0061bc07e6f45c0d2d (patch)
tree9a0190d3ec76fe9d42ebacd9f64ba2ecec65a2e5 /src/app/main.css
parent6cf3d134060b234c1e4642d4c1701ac308493df8 (diff)
downloadViper-9d8ceea77b6f172f0c055c0061bc07e6f45c0d2d.tar.gz
Viper-9d8ceea77b6f172f0c055c0061bc07e6f45c0d2d.zip
buttons now disable when updating, and app logs
The buttons in the GUI disable whilst you're updating Northstar and potentionally doing other things in the future, I also added a way to log things in the app, albeit it just prints it in the "Welcome to Viper!" part of the app, which is just fine. I also added all the needed language strings for the GUI logs and removed "gui.missinggamepath" as we use it for both the CLI and GUI even tho "general.missinggamepath" exists, and so we now use the general one for both, as the messages are the same.
Diffstat (limited to 'src/app/main.css')
-rw-r--r--src/app/main.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/main.css b/src/app/main.css
index f49cc98..b668f55 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -1,4 +1,5 @@
:root {
+ --disabled: #656E7F;
--background: #4C515B;
--foreground: #DDE2EB;
--btnforeground: var(--foreground);
@@ -64,7 +65,9 @@ button:active {
transform: scale(0.95);
}
+
#update {background: #81A1C1}
#setpath {background: #5E81AC}
#northstar {background: #C7777F}
#vanilla, #exit {background: #656E7F}
+button:disabled {background: var(--disabled) !important; opacity: 0.5}