[ticket/10472] More clearing and white-space fixes

PHPBB3-10472
This commit is contained in:
PayBas 2014-06-02 23:28:18 +02:00
parent da716058fa
commit 726573f100
5 changed files with 27 additions and 56 deletions

View file

@ -284,8 +284,6 @@
</fieldset>
</form>
<br />
<form id="change_ext" method="post" action="{U_ACTION}">
<fieldset class="tabulated">

View file

@ -2,14 +2,12 @@
<a id="maincontent"></a>
<h2>{L_INACTIVE_USERS}</h2>
<h1>{L_INACTIVE_USERS}</h1>
<p>{L_INACTIVE_USERS_EXPLAIN}</p>
<form id="inactive" method="post" action="{U_ACTION}">
<div class="clearfix"></div>
<!-- IF .pagination -->
<div class="pagination">
<!-- INCLUDE pagination.html -->

View file

@ -18,9 +18,6 @@
</div>
<!-- ENDIF -->
<div class="clearfix">&nbsp;</div>
<div><br style="clear: both;" /></div>
<!-- IF .log -->
<table class="table1 zebra-table fixed-width-table">
<thead>

View file

@ -243,9 +243,6 @@
<!-- END log -->
</tbody>
</table>
<br />
<!-- ENDIF -->
<!-- IF S_INACTIVE_USERS -->
@ -287,7 +284,6 @@
<!-- END inactive -->
</tbody>
</table>
<!-- ENDIF -->
<!-- ENDIF -->

View file

@ -154,6 +154,10 @@ a:active {
font-weight: bold;
}
a#maincontent, a#acl, a#assigned_to {
display: block;
}
/* List items */
ul, ol {
list-style-position: inside;
@ -174,7 +178,6 @@ li {
}
#page-header {
clear: both;
text-align: right;
background: url("../images/phpbb_logo.png") top left no-repeat;
height: 54px;
@ -182,12 +185,6 @@ li {
margin-bottom: 10px;
}
#page-header:after {
content: '';
clear: both;
display: block;
}
.rtl #page-header {
text-align: left;
background: url("../images/phpbb_logo.png") top right no-repeat;
@ -212,16 +209,6 @@ li {
min-width: 650px;
}
#page-body:after {
content: '';
clear: both;
display: block;
}
#page-footer {
clear: both;
}
.copyright {
font-size: 0.75em;
text-align: center;
@ -346,12 +333,6 @@ li {
padding: 0;
}
#tabs > ul:after {
content: '';
display: block;
clear: both;
}
#tabs .tab {
display: inline-block;
float: left;
@ -486,7 +467,6 @@ li {
/* Main Panel
---------------------------------------- */
#acp {
clear: both;
position: relative;
top: -2px;
margin: 0 0 2px;
@ -498,12 +478,6 @@ li {
box-shadow: #FFF 0 0 0 1px inset;
}
#acp:after {
content: '';
clear: both;
display: block;
}
#acp:first-child {
top: 0;
}
@ -740,6 +714,7 @@ td {
.table1 {
border-collapse: separate;
border-spacing: 1px;
clear: both;
}
dt#color_palette_placeholder table {
@ -1247,8 +1222,8 @@ fieldset.quick legend {
fieldset.tabulated {
background: none;
margin: 0;
margin-top: 5px;
padding: 0;
padding-top: 5px;
border: 0;
}
@ -1697,12 +1672,12 @@ input.button1:focus, input.button2:focus {
height: 1%; /* IE tweak (holly hack) */
width: auto;
text-align: right;
margin-top: 5px;
margin: 5px 0;
}
.top-pagination {
float: right;
margin: 15px 0 2px 0;
margin: 15px 0 5px 0;
}
.rtl .pagination {
@ -1898,17 +1873,7 @@ li.pagination ul {
vertical-align: middle;
}
/* Nice method for clearing floated blocks without having to insert any extra markup
From http://www.positioniseverything.net/easyclearing.html
.clearfix:after, #tabs:after, .row:after, #content:after, fieldset dl:after, #page-body:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}*/
.clearfix, .row, fieldset dl {
.row, fieldset dl {
overflow: hidden;
}
@ -2491,3 +2456,20 @@ fieldset.permissions .padding {
.responsive-show-inline { display: inline !important; }
.responsive-show-inline-block { display: inline-block !important; }
}
.clearfix {
overflow: hidden;
}
.pagination:after,
#page-header:after,
#page-body:after,
#tabs:after,
#tabs > ul:after,
#tabs li:after,
#acp:after,
#content:after {
content: '';
clear: both;
display: block;
}