]> source.dussan.org Git - nextcloud-server.git/commitdiff
Improve layout of buttons for two factor auth 4865/head
authorMorris Jobke <hey@morrisjobke.de>
Mon, 15 May 2017 03:19:09 +0000 (22:19 -0500)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 15 May 2017 16:45:15 +0000 (11:45 -0500)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/twofactor_backupcodes/css/style.css
core/css/guest.css

index 0e15290b86a892e6fee9d25cb46a05c7e387f02a..396192b43a7b4b46c9be94ab3d3b8959068dbd80 100644 (file)
@@ -5,11 +5,13 @@
 .challenge {
        margin-top: 0 !important;
        margin-left: 0 !important;
+       box-sizing: border-box !important;
+       width: 100% !important;
 }
 
 .confirm-inline {
        position: absolute;
-       right: 10px;
+       right: 0;
        top: 0;
        margin: 0 !important;
        padding-right: 25px !important;
index 657a4adbdef039713464797ba7f0278444d271d7..d55d8785b438e2abd2a823e70896d22588b8895c 100644 (file)
@@ -347,8 +347,18 @@ form .warning input[type='checkbox']+label {
 }
 .two-factor-link {
        display: inline-block;
-       padding: 12px;
        color: rgba(255, 255, 255, 0.75);
+       width: 100%;
+}
+.two-factor-link .button {
+       padding: 10px;
+       border-radius: 3px;
+       color: #555 !important;
+       display: inline-block;
+       margin: 5px 0;
+       text-align: center;
+       width: 100%;
+       box-sizing: border-box
 }
 
 /* Additional login options */
@@ -453,6 +463,9 @@ form #selectDbType label.ui-state-active {
        border-radius: 3px;
        cursor: default;
 }
+.warning {
+       margin-top: 15px;
+}
 .warning.updateAnyways {
        text-align: center;
 }