aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-03 00:54:03 +0100
committer0neGal <mail@0negal.com>2022-01-03 00:54:03 +0100
commita210128d806bb1479c25198fa2399df99ee92bd0 (patch)
tree08eea8ce17f3afcbeee85fa832ad46cc1cd44b20 /src/app/main.css
parentbf7bd0993714f20fd0ab360de956378113e1d9c2 (diff)
downloadViper-a210128d806bb1479c25198fa2399df99ee92bd0.tar.gz
Viper-a210128d806bb1479c25198fa2399df99ee92bd0.zip
improved visuals of disabled tag
Diffstat (limited to 'src/app/main.css')
-rw-r--r--src/app/main.css16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/app/main.css b/src/app/main.css
index 8776ec9..60a05c6 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -6,6 +6,10 @@
--boxbackground: #666E7F;
--subforeground: #AFAFAF;
--btnforeground: var(--foreground);
+
+ --red: #C7777F;
+ --blue: #81A1C1;
+ --yellow: #ECD19A;
}
@media (prefers-color-scheme: light) {
@@ -60,6 +64,12 @@ nobr {white-space: nowrap}
.mod.selected {background: var(--background)}
+.mod .disabled {
+ color: var(--red);
+ position: absolute;
+ right: calc(var(--padding) * 2.5);
+}
+
.buttons {
text-align: right;
margin-left: auto;
@@ -96,7 +106,7 @@ button:active {
#setpath {background: #5E81AC}
#vanilla, #exit {background: #656E7F}
-#update, #installmod {background: #81A1C1}
-#togglemod, #toggleall {background: #ECD19A}
-#northstar, #removeall, #removemod {background: #C7777F}
+#update, #installmod {background: var(--blue)}
+#togglemod, #toggleall {background: var(--yellow)}
+#northstar, #removeall, #removemod {background: var(--red)}
button:disabled {background: var(--disabled) !important; opacity: 0.5}