aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-30 22:05:54 +0100
committer0neGal <mail@0negal.com>2021-12-30 22:05:54 +0100
commitee885beeed57d95ffb58922cfc6b826b7ebf9a31 (patch)
tree6cc217060683a950561b3e5da828d52f7b60c63a /src/app/main.css
parent823d34f6f41c65c7b1cb8e55bd429b9efc4f3878 (diff)
downloadViper-ee885beeed57d95ffb58922cfc6b826b7ebf9a31.tar.gz
Viper-ee885beeed57d95ffb58922cfc6b826b7ebf9a31.zip
first-ish draft of the mod UI and utils
Diffstat (limited to 'src/app/main.css')
-rw-r--r--src/app/main.css25
1 files changed, 17 insertions, 8 deletions
diff --git a/src/app/main.css b/src/app/main.css
index b668f55..3684d10 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -1,7 +1,9 @@
:root {
+ --padding: 15px;
--disabled: #656E7F;
- --background: #4C515B;
--foreground: #DDE2EB;
+ --background: #4C515B;
+ --boxbackground: #666E7F;
--btnforeground: var(--foreground);
}
@@ -9,6 +11,7 @@
:root {
--background: #FFFFFF;
--foreground: #4C566A;
+ --boxbackground: #EEF0F4;
--btnforeground: var(--background);
}
}
@@ -33,30 +36,36 @@ nobr {white-space: nowrap}
.line {
display: flex;
- margin-top: 15px;
+ margin-top: var(--padding);
+}
+
+#modsdiv {
+ border-radius: var(--padding);
+ background: var(--boxbackground);
+ margin: calc(var(--padding) / 3) var(--padding);
}
.buttons {
text-align: right;
margin-left: auto;
- margin-right: 7px;
+ margin-right: calc(var(--padding) / 1.9);
}
.text {max-width: 38vw}
.buttons {max-width: 55vw}
-button, .text {
+button, .text, .mod {
border: none;
outline: none;
- padding: 5px 15px;
border-radius: 50px;
transition: 0.2s ease-in-out;
+ padding: calc(var(--padding) / 3) var(--padding);
}
button {
- margin-bottom: 10px;
color: var(--btnforeground);
-webkit-app-region: no-drag;
+ margin-bottom: calc(var(--padding) / 1.5);
}
button:hover {opacity: 0.9}
@@ -66,8 +75,8 @@ button:active {
}
-#update {background: #81A1C1}
+#update, #installmod {background: #81A1C1}
#setpath {background: #5E81AC}
-#northstar {background: #C7777F}
#vanilla, #exit {background: #656E7F}
+#northstar, #removeall, #removemod {background: #C7777F}
button:disabled {background: var(--disabled) !important; opacity: 0.5}