vier: The alt-pager and the birthday- and eventreminder is optically improved

This commit is contained in:
Michael Vogel 2012-12-17 21:12:11 +01:00
parent a6b1275f16
commit 4164257cb2
2 changed files with 44 additions and 4 deletions

View file

@ -292,11 +292,11 @@ function alt_pager(&$a, $i) {
$o .= '<div class="pager">'; $o .= '<div class="pager">';
if($a->pager['page']>1) if($a->pager['page']>1)
$o .= "<a href=\"$url"."&page=".($a->pager['page'] - 1).'">' . t('newer') . '</a>'; $o .= "<a href=\"$url"."&page=".($a->pager['page'] - 1).'" class="pager_newer">' . t('newer') . '</a>';
if($i>0) { if($i>0) {
if($a->pager['page']>1) if($a->pager['page']>1)
$o .= "&nbsp;-&nbsp;"; $o .= "&nbsp;-&nbsp;";
$o .= "<a href=\"$url"."&page=".($a->pager['page'] + 1).'">' . t('older') . '</a>'; $o .= "<a href=\"$url"."&page=".($a->pager['page'] + 1).'" class="pager_older">' . t('older') . '</a>';
} }

View file

@ -313,6 +313,45 @@
cursor: url('lock.cur'), pointer; cursor: url('lock.cur'), pointer;
} }
div.pager, .birthday-notice {
text-align: center;
height: 1.2em;
padding-bottom: 12px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
background-color: #f2f2f2;
clear: left;
margin-top: 15px;
padding: 1%;
height: 1em;
margin-bottom: 15px;
}
.birthday-notice {
margin-top: 5px;
margin-bottom: 5px;
}
#live-network {
/* border-bottom: 1px solid #BDCDD4; */
border-bottom: 1px solid #D2D2D2;
width: 100%;
height: 10px;
}
.pager a {
}
.pager a.pager_older {
float: right;
}
.pager a.pager_newer {
float: left;
}
.shared_header { .shared_header {
height: 32px; height: 32px;
color: #999; color: #999;
@ -1008,7 +1047,8 @@ section {
} }
/* wall item */ /* wall item */
.tread-wrapper { .tread-wrapper {
border-bottom: 1px solid #D2D2D2; /* border-bottom: 1px solid #BDCDD4; */
border-bottom: 1px solid #D2D2D2;
position: relative; position: relative;
padding: 5px; padding: 5px;
margin-bottom: 0px; margin-bottom: 0px;
@ -1869,7 +1909,7 @@ ul.tabs li .active, ul.tabs a:hover {
/* page footer */ /* page footer */
footer { footer {
height: 100px; /* height: 100px; */
display: table-row; display: table-row;
} }