]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add WebAuthn as an alternative 2FA method
authorsantiagorodriguez96 <46354312+santiagorodriguez96@users.noreply.github.com>
Mon, 24 Aug 2020 14:46:27 +0000 (11:46 -0300)
committerThibaut Girka <thib@sitedethib.com>
Sun, 30 Aug 2020 15:21:16 +0000 (17:21 +0200)
Port CSS changes from e8d41bc2fe9418613cdc118c8674fc5fe7856685

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/forms.scss

index 5dd312ce1483cd1dc9c66f2240480c2fc45d7df7..d53567bc36302d764727fc6465c28f79d9cc248b 100644 (file)
@@ -12,6 +12,10 @@ code {
 }
 
 .simple_form {
+  &.hidden {
+    display: none;
+  }
+
   .input {
     margin-bottom: 15px;
     overflow: hidden;
@@ -100,6 +104,14 @@ code {
     }
   }
 
+  .title {
+    color: #d9e1e8;
+    font-size: 20px;
+    line-height: 28px;
+    font-weight: 400;
+    margin-bottom: 30px;
+  }
+
   .hint {
     color: $darker-text-color;
 
@@ -133,7 +145,7 @@ code {
     }
   }
 
-  .otp-hint {
+  .authentication-hint {
     margin-bottom: 25px;
   }
 
@@ -583,6 +595,10 @@ code {
     color: $error-value-color;
   }
 
+  &.hidden {
+    display: none;
+  }
+
   a {
     display: inline-block;
     color: $darker-text-color;