about summary refs log tree commit diff
path: root/app/assets/stylesheets/forms.scss
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-08 22:20:08 +0200
committerGitHub <noreply@github.com>2017-04-08 22:20:08 +0200
commit9acdb166e8871632f592bfcd2386dfc288d81a07 (patch)
tree3ab00999fc01fee2146c70aef2016dbf29939196 /app/assets/stylesheets/forms.scss
parent470eb0042ea99e0632ccc62a0b7c01e910f70491 (diff)
Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278)
* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled
TOTP secret is not shown again after 2FA is enabled

* Clean up
Diffstat (limited to 'app/assets/stylesheets/forms.scss')
-rw-r--r--app/assets/stylesheets/forms.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/forms.scss b/app/assets/stylesheets/forms.scss
index ceccc14cd..2e3a4f147 100644
--- a/app/assets/stylesheets/forms.scss
+++ b/app/assets/stylesheets/forms.scss
@@ -25,6 +25,10 @@ code {
     margin-bottom: 15px;
   }
 
+  strong {
+    font-weight: 500;
+  }
+
   .label_input {
     display: flex;
 
@@ -224,7 +228,12 @@ code {
   }
 }
 
+.qr-wrapper {
+  display: flex;
+}
+
 .qr-code {
+  flex: 0 0 auto;
   background: #fff;
   padding: 4px;
   margin-bottom: 20px;
@@ -236,3 +245,13 @@ code {
     margin: 0;
   }
 }
+
+.qr-alternative {
+  margin-left: 10px;
+  color: $color3;
+
+  samp {
+    display: block;
+    font-size: 14px;
+  }
+}