From e6836d8a5ed06cb25c3f0d61b1c24a48e49e93f3 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 22 Feb 2009 02:09:48 +0000 Subject: Apply button styles to pager buttons and position in consistent locations. --- themes/default/css/screen.css | 31 ++++++++++++++++++++++--------- themes/default/views/pager.html.php | 30 +++++++++++++++++++++--------- themes/default/views/photo.html.php | 20 +++++++++++++------- 3 files changed, 56 insertions(+), 25 deletions(-) diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 18395db6..1288e7b6 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -110,8 +110,6 @@ td { vertical-align: top; } - - /* Forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ fieldset { @@ -233,6 +231,10 @@ li.gError select { margin: 1em 0 1em 1em; } +.txtright { + text-align: right; +} + /** ******************************************************************* * 3) Reusable content blocks *********************************************************************/ @@ -460,6 +462,15 @@ form p.gError { /* Individual photo content ~~~~~~~~~~~~~~ */ +#gContent #gItem { + width: 99%; +} + +#gContent #gItem .gFullSizeLink img { + display: block; + margin: 1em auto !important; +} + #gContent #gComments { margin-top: 2em; } @@ -685,20 +696,22 @@ form p.gError { /* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#gPager { + #gPager { clear: both; - padding: 5px; + margin: 0; + padding: 5px 0 !important; + width: 100%; } #gPager li { float: left; - margin-right: 1em; + margin: 0; + width: 25%; } -#gPager li span { - display: inline-block; - height: 1em; - width: 16px; +#gPager .gInfo { + text-align: center; + width: 50%; } /** ******************************************************************* diff --git a/themes/default/views/pager.html.php b/themes/default/views/pager.html.php index dd702086..de865090 100644 --- a/themes/default/views/pager.html.php +++ b/themes/default/views/pager.html.php @@ -6,25 +6,37 @@ array("from_number" => $current_first_item, "to_number" => $current_last_item, "total" => $total_items)) ?> -
  • +
  • -
  • + + -
  • + + -
  • + + -
  • + + + +
  • +
  • -
  • + + -
  • + + -
  • + + -
  • + + + diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 666fa9ee..ec7a0576 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -3,13 +3,19 @@ photo_top() ?> ">resize_tag(array("id" => "gPhotoId-{$item->id}")) ?> -- cgit v1.2.3