[enh] misc styling fixes for bootstrap

This commit is contained in:
Benjamin Sonntag 2018-06-21 19:15:18 +02:00
parent 6762429c68
commit fe09524ff3
3 changed files with 22 additions and 18 deletions

View File

@ -59,7 +59,7 @@ foreach( variables_list() as $vars) { ?>
<tr class="lst"> <tr class="lst">
<td><?php ehe($vars['name']); ?></td> <td><?php ehe($vars['name']); ?></td>
<td><input type="text" name="<?php ehe($vars['name']); ?>" value="<?php ehe($vars['value']); ?>" /></td> <td><input type="text" class="int" name="<?php ehe($vars['name']); ?>" value="<?php ehe($vars['value']); ?>" style="width: 200px"/></td>
<td><?php ehe($vars['comment']); ?></td> <td><?php ehe($vars['comment']); ?></td>
</tr> </tr>
<?php } ?> <?php } ?>

View File

@ -136,7 +136,11 @@ $dom->unlock();
} else { } else {
__("Add this subdomain"); __("Add this subdomain");
} }
?>" /></td> ?>" />
<?php if ($isedit) { ?>
<input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location = 'dom_edit.php?domain=<?php echo $domain; ?>'"/>
<?php } ?>
</td>
</tr> </tr>
</table> </table>
</form> </form>

View File

@ -38,7 +38,7 @@ body {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px; font-size: 14px;
color: #000000; color: #000000;
background-color: #f8f8f8; background-color: #f0f0f0;
margin:0px; margin:0px;
} }
@ -74,7 +74,7 @@ table {
} }
thead tr th:hover, table.tlist tbody tr:first-child th:hover { thead tr th:hover, table.tlist tbody tr:first-child th:hover {
background-color: #f8f8f8 !important; background-color: #f0f0f0 !important;
} }
tbody tr:first-child { tbody tr:first-child {
@ -116,8 +116,8 @@ th {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px; font-size: 14px;
color: black; color: black;
background: #f8f8f8; background: #f0f0f0;
font-weight: normal; font-weight: bold;
text-align: left; text-align: left;
} }
@ -268,7 +268,7 @@ input.inb, input.ina{
input.inb:hover, input.ina:hover { input.inb:hover, input.ina:hover {
border: 1px solid #999; border: 1px solid #999;
text-decoration: none; text-decoration: none;
background-color: #F8F8F8; background-color: #F0F0F0;
} }
input.inb:focus, input.ina.focus { input.inb:focus, input.ina.focus {
@ -365,7 +365,7 @@ input.inav, .inav a {
input.inav:hover, .inav a:hover, a.inav:hover, input.inav:hover, .inav a:hover, a.inav:hover,
input.ina:hover, .ina a:hover, .inb a:hover { input.ina:hover, .ina a:hover, .inb a:hover {
background-color: #F8F8F8; background-color: #F0F0F0;
} }
.ina a, a.ina, .inb a, a.inb,.inav a, a.inav { .ina a, a.ina, .inb a, a.inb,.inav a, a.inav {
@ -427,7 +427,7 @@ span#newsubname {
} }
.bff { .bff {
border: 1px solid #999; border: 1px solid #999;
background-color: #F8F8F8; background-color: #F0F0F0;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 13px; font-size: 13px;
padding-left: 2px; padding-left: 2px;
@ -450,15 +450,11 @@ form[action='adm_dodefquotas.php'] table {
border-radius: 4px; border-radius: 4px;
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
min-height: 2em; min-height: 2em;
padding-left: 6px;
} }
span.intleft, #usernpfx, #newdomwww { span.intleft, #usernpfx, #newdomwww {
display: inline-table; border: 0; /* disabled, not compatible with bootstrap */
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
padding-bottom: 4px;
padding-top: 3px;
padding-right: 10px;
} }
form#formlist1 > span.int.intleft { form#formlist1 > span.int.intleft {
@ -716,7 +712,7 @@ form[action="mman_edit.php"] > table > tbody > tr.lst1:hover, form[action="mman_
#menu { #menu {
display: block; display: block;
background-color: #f8f8f8; background-color: #f0f0f0;
float: left; float: left;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
@ -750,7 +746,7 @@ form[action="mman_edit.php"] > table > tbody > tr.lst1:hover, form[action="mman_
.menu-box { .menu-box {
font-size: 14px; font-size: 14px;
background-color: #f8f8f8; background-color: #f0f0f0;
border-top-color: transparent; border-top-color: transparent;
height: auto; height: auto;
} }
@ -758,7 +754,7 @@ form[action="mman_edit.php"] > table > tbody > tr.lst1:hover, form[action="mman_
.menu-box .menu-title { .menu-box .menu-title {
display: block; display: block;
color: #000000; color: #000000;
background-color: #f8f8f8; background-color: #f0f0f0;
padding: 3px; padding: 3px;
} }
@ -771,6 +767,9 @@ form[action="mman_edit.php"] > table > tbody > tr.lst1:hover, form[action="mman_
margin: 0 5px 5px 5px; margin: 0 5px 5px 5px;
} }
.menu-content {
background: white;
}
.menu-content ul li a span { .menu-content ul li a span {
margin-left: 22px; margin-left: 22px;
} }
@ -1621,6 +1620,7 @@ body.login_page {
.login_page .block_list { .login_page .block_list {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
padding: 0 10%;
} }
.login_page .block_login_page { .login_page .block_login_page {
margin: 10px 15px; margin: 10px 15px;