summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-05-30 23:04:55 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-05-30 23:04:55 -0600
commitf95b51e2197aa42286b15a6759a91404503371ac (patch)
treea21a2f1f9def0a1617e69d2edb94dd1088b5dc11
parent8482f51e1546f9131835bed5cd52bba1f2895e20 (diff)
Fix IE issues with gPager, switch gPager from id to class, it's possible that we might want it to appear more than once in views.
-rw-r--r--themes/default/css/fix-ie.css22
-rw-r--r--themes/default/css/screen.css13
-rw-r--r--themes/default/views/pager.html.php2
-rw-r--r--themes/default/views/photo.html.php2
4 files changed, 20 insertions, 19 deletions
diff --git a/themes/default/css/fix-ie.css b/themes/default/css/fix-ie.css
index adf8c6d8..1e466450 100644
--- a/themes/default/css/fix-ie.css
+++ b/themes/default/css/fix-ie.css
@@ -1,5 +1,5 @@
/**
- * Fix display in IE
+ * Fix display in IE 6, 7
*/
#gHeader,
#gSiteMenu,
@@ -23,16 +23,20 @@
margin-bottom: 0;
}
-#gViewMenu a {
- width: 52px !important;
+input.submit {
+ clear: none !important;
+ display: inline !important;
}
-#gPager li.gInfo {
- width: 39%;
+#gDialog a.gCancel {
+ display: inline-block !important;
+ float: none !important;
}
-#gPager .txtright a.gButtonLink {
- clear: none !important;
- float: right !important;
- width: 45% !important;
+.gPager .txtright {
+ width: 29%;
+}
+
+.gPager .ui-icon-right {
+ width: 60px;
}
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index c6f4e202..33476a72 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -75,7 +75,6 @@ a,
a:hover,
#gDialog a:hover {
- color: #00377F !important;
text-decoration: underline;
}
@@ -347,7 +346,7 @@ form p.gError {
}
form .gError,
-#gPager .gInfo {
+.gPager .gInfo {
background-color: #fff;
}
@@ -737,20 +736,20 @@ form .gError,
/* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-#gPager {
+.gPager {
clear: both;
margin: 0;
padding: 5px 0 !important;
width: 100%;
}
-#gPager li {
+.gPager li {
float: left;
margin: 0;
width: 30%;
}
-#gPager .gInfo {
+.gPager .gInfo {
text-align: center;
width: 40%;
}
@@ -763,7 +762,7 @@ form .gError,
#gHeader:after,
.gBreadcrumbs:after,
#gAlbumGrid:after,
-#gPager:after,
+.gPager:after,
#gViewMenu:after {
clear: both;
content: ".";
@@ -843,9 +842,7 @@ form .gError,
display: inline-block;
margin: 0 4px 0 0;
padding: .2em .4em;
- position: relative;
outline: 0;
- zoom: 1;
}
.gButtonSet {
diff --git a/themes/default/views/pager.html.php b/themes/default/views/pager.html.php
index de865090..f8517f78 100644
--- a/themes/default/views/pager.html.php
+++ b/themes/default/views/pager.html.php
@@ -1,6 +1,6 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? // See http://docs.kohanaphp.com/libraries/pagination ?>
-<ul id="gPager">
+<ul class="gPager">
<? /* XXX: This message isn't easily localizable */
$from_to_msg = t("Photos %from_number - %to_number of %total",
array("from_number" => $current_first_item,
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index ab46a528..63846bc1 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -2,7 +2,7 @@
<div id="gItem">
<?= $theme->photo_top() ?>
- <ul id="gPager">
+ <ul class="gPager">
<li>
<? if ($previous_item): ?>
<a href="<?= $previous_item->url() ?>" class="gButtonLink ui-icon-left ui-state-default ui-corner-all">