From 560bca344ae467cda03e758159fbf131d5c49f43 Mon Sep 17 00:00:00 2001
From: Go MAEDA <maeda@farend.jp>
Date: Sat, 29 Aug 2020 06:21:50 +0000
Subject: Adds two factor authentication support (#1237).
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 public/stylesheets/application.css | 2 ++
 public/stylesheets/responsive.css  | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

(limited to 'public/stylesheets')

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 282a4adf6..f7aa80c35 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -122,6 +122,7 @@ html>body #content { min-height: 600px; }
 #login-form input[type=text], #login-form input[type=password] {margin-bottom: 15px;}
 #login-form a.lost_password {float:right; font-weight:normal;}
 #login-form input#openid_url {background:#fff url(../images/openid-bg.gif) no-repeat 4px 50%; padding-left:24px !important;}
+#login-form h3 {text-align: center;}
 
 div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
 div.modal h3.title {display:none;}
@@ -793,6 +794,7 @@ html>body .tabular p {overflow:hidden;}
 
 .tabular input, .tabular select {max-width:95%}
 .tabular textarea {width:95%; resize:vertical;}
+input#twofa_code, img#twofa_code { width: 140px; }
 
 .tabular label{
   font-weight: bold;
diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css
index 6ac4299d6..9e689523b 100644
--- a/public/stylesheets/responsive.css
+++ b/public/stylesheets/responsive.css
@@ -664,7 +664,8 @@
 
   #login-form input#username,
   #login-form input#password,
-  #login-form input#openid_url {
+  #login-form input#openid_url,
+  #login-form input#twofa_code {
     width: 100%;
     height: auto;
   }
-- 
cgit v1.2.3