Skip to content
Snippets Groups Projects
Commit 34a070ac authored by Thijs Kinkhorst's avatar Thijs Kinkhorst Committed by GitHub
Browse files

Merge pull request #620 from poikilotherm/fix_mobile_layout

Fix for #618, correcting the login layout on mobile screens.
parents 66d5d0d8 43f8ea86
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ if ($this->data['errorcode'] !== null) { ...@@ -36,7 +36,7 @@ if ($this->data['errorcode'] !== null) {
<form action="?" method="post" name="f"> <form action="?" method="post" name="f">
<table> <table>
<tr> <tr>
<td rowspan="2" id="loginicon"> <td rowspan="2" class="loginicon">
<img alt="" <img alt=""
src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-authentication.48x48.png" /> src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-authentication.48x48.png" />
</td> </td>
...@@ -146,8 +146,8 @@ if ($this->data['errorcode'] !== null) { ...@@ -146,8 +146,8 @@ if ($this->data['errorcode'] !== null) {
<?php <?php
} }
?> ?>
<tr id="regularsubmit"> <tr id="submit">
<td></td><td></td> <td class="loginicon"></td><td></td>
<td> <td>
<button class="btn" <button class="btn"
onclick="this.value='<?php echo $this->t('{login:processing}'); ?>'; onclick="this.value='<?php echo $this->t('{login:processing}'); ?>';
...@@ -156,14 +156,6 @@ if ($this->data['errorcode'] !== null) { ...@@ -156,14 +156,6 @@ if ($this->data['errorcode'] !== null) {
</button> </button>
</td> </td>
</tr> </tr>
<tr id="mobilesubmit">
<td></td><td></td>
<td>
<button class="btn" tabindex="6">
<?php echo $this->t('{login:login_button}'); ?>
</button>
</td>
</tr>
</table> </table>
<?php <?php
foreach ($this->data['stateparams'] as $name => $value) { foreach ($this->data['stateparams'] as $name => $value) {
......
...@@ -58,7 +58,7 @@ a:link, a:visited { ...@@ -58,7 +58,7 @@ a:link, a:visited {
} }
a:visited { a:visited {
color: #999; color: #999;
} }
a:hover, a:active { a:hover, a:active {
color: #069; color: #069;
...@@ -91,11 +91,11 @@ dt { ...@@ -91,11 +91,11 @@ dt {
#wrap { #wrap {
background: #fff; background: #fff;
border: 1px solid #fff; border: 1px solid #fff;
position: relative; position: relative;
text-align: left; text-align: left;
margin: 20px 75px 2em 75px; margin: 20px 75px 2em 75px;
max-width: 950px; max-width: 950px;
} }
...@@ -114,7 +114,7 @@ dt { ...@@ -114,7 +114,7 @@ dt {
text-decoration: none; text-decoration: none;
color: #333; color: #333;
border-bottom: 1px solid #333; border-bottom: 1px solid #333;
} }
#header { #header {
...@@ -284,15 +284,15 @@ th.rowtitle { ...@@ -284,15 +284,15 @@ th.rowtitle {
} }
.metadatabox { .metadatabox {
overflow: scroll; overflow: scroll;
border: 1px solid #eee; border: 1px solid #eee;
padding: 0.5em; padding: 0.5em;
border-radius: 3px; border-radius: 3px;
} }
div.preferredidp { div.preferredidp {
border: 1px dashed #ccc; border: 1px dashed #ccc;
background: #eee; background: #eee;
padding: 2px 2em 2px 2em; padding: 2px 2em 2px 2em;
} }
table.modules { table.modules {
...@@ -322,14 +322,14 @@ table.attributes tr.even td { ...@@ -322,14 +322,14 @@ table.attributes tr.even td {
} }
table.attributes tr td { table.attributes tr td {
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
border-left: 0px; border-left: 0px;
border-right: 0px; border-right: 0px;
background: #fff; background: #fff;
padding-top: 5px; padding-top: 5px;
padding-left: 1em; padding-left: 1em;
padding-right: 1em; padding-right: 1em;
vertical-align: top; vertical-align: top;
} }
...@@ -374,12 +374,12 @@ caption { ...@@ -374,12 +374,12 @@ caption {
float: left; float: left;
} }
#mobilesubmit, #mobile_remember_username, #mobile_remember_me { #mobile_remember_username, #mobile_remember_me {
display: none; display: none;
} }
@media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 480px) { @media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
#header, #languagebar, #footer, .erroricon, #loginicon, .logintext, #regularsubmit, #header, #languagebar, #footer, .erroricon, .loginicon, .logintext,
#regular_remember_username, #regular_remember_me { #regular_remember_username, #regular_remember_me {
display: none; display: none;
} }
...@@ -392,7 +392,7 @@ caption { ...@@ -392,7 +392,7 @@ caption {
h1,h2,h3,h4 { h1,h2,h3,h4 {
font-size: 110%; font-size: 110%;
} }
#content { #content {
margin-bottom: 10px; margin-bottom: 10px;
padding: 0; padding: 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment