about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-09 15:10:09 +0100
committerThibaut Girka <thib@sitedethib.com>2018-11-09 15:10:09 +0100
commitc6fc3e0c65a0ae78e76ebb5da1a12a23727b72c8 (patch)
tree4c07c5eeb4e4f8307da8061aab706ae47c2bf083
parent9201398507be60ee67c1b36d3763da800812af5b (diff)
[Glitch] Fix form validation flash message color and input borders
Port ccbdf689e824f93bc9a950bb29a4f1ce58e0f1c9 to glitch-soc
-rw-r--r--app/javascript/flavours/glitch/styles/forms.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/forms.scss b/app/javascript/flavours/glitch/styles/forms.scss
index 8c4c934ea..46ef85774 100644
--- a/app/javascript/flavours/glitch/styles/forms.scss
+++ b/app/javascript/flavours/glitch/styles/forms.scss
@@ -330,9 +330,12 @@ code {
     }
 
     input[type=text],
+    input[type=number],
     input[type=email],
-    input[type=password] {
-      border-bottom-color: $valid-value-color;
+    input[type=password],
+    textarea,
+    select {
+      border-color: lighten($error-red, 12%);
     }
 
     .error {