about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/forms.scss
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-04-28 10:16:55 +0200
committerThibaut Girka <thib@sitedethib.com>2020-05-03 21:44:43 +0200
commit9e5a2168782f24464353e24e497c1f174d9dc1d9 (patch)
tree3f6b1fc550c30a769efb66d49cbb677f270e521b /app/javascript/flavours/glitch/styles/forms.scss
parent4a5f93c25f747e22fa97a17fb56e216c73ee60fa (diff)
[Glitch] Fix end-user-facing uses of inline CSS
Port 0e362b7678e75cb71ce207fd45dd4dc0d955fdca to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/forms.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/forms.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/forms.scss b/app/javascript/flavours/glitch/styles/forms.scss
index 396e87c6c..5de650f0a 100644
--- a/app/javascript/flavours/glitch/styles/forms.scss
+++ b/app/javascript/flavours/glitch/styles/forms.scss
@@ -133,6 +133,10 @@ code {
     }
   }
 
+  .otp-hint {
+    margin-bottom: 25px;
+  }
+
   .card {
     margin-bottom: 15px;
   }
@@ -276,6 +280,14 @@ code {
         margin-bottom: 25px;
       }
     }
+
+    .fields-group.invited-by {
+      margin-bottom: 30px;
+
+      .hint {
+        text-align: center;
+      }
+    }
   }
 
   .input.radio_buttons .radio label {
@@ -626,6 +638,15 @@ code {
   @media screen and (max-width: 740px) and (min-width: 441px) {
     margin-top: 40px;
   }
+
+  &.translation-prompt {
+    text-align: unset;
+    color: unset;
+
+    a {
+      text-decoration: underline;
+    }
+  }
 }
 
 .form-footer {