commit 6ff292a0fb04ba131d3f7391cd099c3ca3234345
parent 33a3ade863a996cc798daa9dd5512b59686fa9c9
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sun, 4 Dec 2022 02:47:38 -0500
dedup some css
Diffstat:
8 files changed, 19 insertions(+), 89 deletions(-)
diff --git a/pkg/web/public/css/style.css b/pkg/web/public/css/style.css
@@ -38,4 +38,20 @@ input[type=text], input[type=password], input[type=number], input[type=email], i
}
.censored { background-color: black; color: black; padding: 0 3px; }
-.censored:hover { background-color: black; color: white; }
-\ No newline at end of file
+.censored:hover { background-color: black; color: white; }
+
+input.transparent-input.is-invalid {
+ border: 1px solid rgba(200, 0, 0, 0.8) !important;
+}
+input.transparent-input {
+ background-color: rgba(50, 50, 50, 0.8) !important;
+ border: 1px solid rgba(200, 255, 255, 0.8) !important;
+ color: #ccc !important;
+}
+input.transparent-input:hover {
+ background-color: rgba(50, 50, 50, 0.8) !important;
+ border: 1px solid rgba(100, 200, 255, 0.8) !important;
+}
+input.transparent-input::placeholder {
+ color: #aaa !important;
+}
+\ No newline at end of file
diff --git a/pkg/web/public/views/pages/chat-password.gohtml b/pkg/web/public/views/pages/chat-password.gohtml
@@ -42,21 +42,6 @@
background-repeat: no-repeat;
background-size: cover;
}
- input.transparent-input.is-invalid {
- border: 1px solid rgba(200, 0, 0, 0.8) !important;
- }
- input.transparent-input {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(200, 255, 255, 0.8) !important;
- color: #ccc !important;
- }
- input.transparent-input:hover {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(100, 200, 255, 0.8) !important;
- }
- input.transparent-input::placeholder {
- color: #aaa !important;
- }
#parent {
display: table;
width: 100%;
diff --git a/pkg/web/public/views/pages/first-use.gohtml b/pkg/web/public/views/pages/first-use.gohtml
@@ -18,6 +18,7 @@
<title>{{ block "title" . }}DarkForest{{ end }}</title>
{{ block "canonical-link" . }}{{ end }}
<link rel="stylesheet" type="text/css" href="/public/css/bootstrap.min.css" />
+ <link rel="stylesheet" type="text/css" href="/public/css/style.css?v={{ .VERSION }}" />
<style>
body, html {
height: 100%;
@@ -40,18 +41,6 @@
background-repeat: no-repeat;
background-size: cover;
}
- input.transparent-input {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(200, 255, 255, 0.9) !important;
- color: #ccc !important;
- }
- input.transparent-input:hover {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(100, 200, 255, 0.8) !important;
- }
- input.transparent-input::placeholder {
- color: #aaa !important;
- }
#parent {
display: table;
width: 100%;
diff --git a/pkg/web/public/views/pages/forgot-password.gohtml b/pkg/web/public/views/pages/forgot-password.gohtml
@@ -42,18 +42,6 @@
background-repeat: no-repeat;
background-size: cover;
}
- input.transparent-input {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(200, 255, 255, 0.8) !important;
- color: #ccc !important;
- }
- input.transparent-input:hover {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(100, 200, 255, 0.8) !important;
- }
- input.transparent-input::placeholder {
- color: #aaa !important;
- }
#parent {
display: table;
width: 100%;
diff --git a/pkg/web/public/views/pages/login.gohtml b/pkg/web/public/views/pages/login.gohtml
@@ -42,18 +42,6 @@
background-repeat: no-repeat;
background-size: cover;
}
- input.transparent-input {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(200, 255, 255, 0.8) !important;
- color: #ccc !important;
- }
- input.transparent-input:hover {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(100, 200, 255, 0.8) !important;
- }
- input.transparent-input::placeholder {
- color: #aaa !important;
- }
#parent {
display: table;
width: 100%;
diff --git a/pkg/web/public/views/pages/signup-invite.gohtml b/pkg/web/public/views/pages/signup-invite.gohtml
@@ -42,18 +42,6 @@
background-repeat: no-repeat;
background-size: cover;
}
- input.transparent-input {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(200, 255, 255, 0.8) !important;
- color: #ccc !important;
- }
- input.transparent-input:hover {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(100, 200, 255, 0.8) !important;
- }
- input.transparent-input::placeholder {
- color: #aaa !important;
- }
#parent {
display: table;
width: 100%;
diff --git a/pkg/web/public/views/pages/signup-wait.gohtml b/pkg/web/public/views/pages/signup-wait.gohtml
@@ -44,18 +44,6 @@
background-repeat: no-repeat;
background-size: cover;
}
- input.transparent-input {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(200, 255, 255, 0.8) !important;
- color: #ccc !important;
- }
- input.transparent-input:hover {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(100, 200, 255, 0.8) !important;
- }
- input.transparent-input::placeholder {
- color: #aaa !important;
- }
#parent {
display: table;
width: 100%;
diff --git a/pkg/web/public/views/pages/signup.gohtml b/pkg/web/public/views/pages/signup.gohtml
@@ -42,18 +42,6 @@
background-repeat: no-repeat;
background-size: cover;
}
- input.transparent-input {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(200, 255, 255, 0.8) !important;
- color: #ccc !important;
- }
- input.transparent-input:hover {
- background-color: rgba(80, 80, 80, 0.8) !important;
- border: 1px solid rgba(100, 200, 255, 0.8) !important;
- }
- input.transparent-input::placeholder {
- color: #aaa !important;
- }
#parent {
display: table;
width: 100%;