From daa3a2b43cd6e1458014e763e9640b8db16cc0c1 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Wed, 30 Sep 2009 00:32:52 -0600
Subject: First round of CSS refactor updates. Added calls to
gallery.common.css from wind and admin_wind. Replaced basic text align and
block float classes. Removed section #2 from both themes screen styles.
---
lib/gallery.common.css | 10 +++++----
modules/comment/views/admin_comments.html.php | 2 +-
modules/gallery/views/admin_maintenance.html.php | 6 +++---
.../gallery/views/admin_maintenance_task.html.php | 2 +-
modules/tag/views/admin_tags.html.php | 4 ++--
modules/user/views/admin_users.html.php | 2 +-
themes/admin_wind/css/screen.css | 24 ----------------------
themes/admin_wind/views/admin.html.php | 1 +
themes/admin_wind/views/pager.html.php | 2 +-
themes/wind/css/fix-ie.css | 2 +-
themes/wind/css/screen.css | 24 ----------------------
themes/wind/views/movie.html.php | 2 +-
themes/wind/views/page.html.php | 1 +
themes/wind/views/pager.html.php | 2 +-
themes/wind/views/photo.html.php | 2 +-
15 files changed, 21 insertions(+), 65 deletions(-)
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index eb686bcf..0aa9cc29 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -108,12 +108,14 @@ form .g-error {
* 3) Positioning and order
**********************************************************************/
-.g-right {
- float: right;
-}
-
.g-left {
float: left;
+ margin: 1em 1em 1em 0;
+}
+
+.g-right {
+ float: right;
+ margin: 1em 0 1em 1em;
}
.g-first {
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 455cd714..5e9ffb1a 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -116,7 +116,7 @@
title="= html::clean_attribute($comment->author_email()) ?>"> = html::clean($comment->author_name()) ?>
-
+
$item = $comment->item() ?>
|
@@ -136,7 +136,7 @@
= t("Action") ?>
"
- class="gButtonLink ui-icon-left ui-state-default ui-corner-all right">
+ class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
= t("remove all finished") ?>
|
diff --git a/modules/gallery/views/admin_maintenance_task.html.php b/modules/gallery/views/admin_maintenance_task.html.php
index ddd5bd17..c0bc0d43 100644
--- a/modules/gallery/views/admin_maintenance_task.html.php
+++ b/modules/gallery/views/admin_maintenance_task.html.php
@@ -57,7 +57,7 @@
= t("Starting up...") ?>
-
+
diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php
index 8f3693aa..23a00567 100644
--- a/modules/tag/views/admin_tags.html.php
+++ b/modules/tag/views/admin_tags.html.php
@@ -23,7 +23,7 @@
$column_tag_count = 0 ?>
-
+
= t2("There is one tag", "There are %count tags", $tags->count()) ?>
@@ -48,7 +48,7 @@
= html::clean($tag->name) ?>
- (= $tag->count ?>)
+ (= $tag->count ?>)
id") ?>"
class="gDialogLink delete-link gButtonLink">
= t("Delete this tag") ?>
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php
index c065e4b1..348747dd 100644
--- a/modules/user/views/admin_users.html.php
+++ b/modules/user/views/admin_users.html.php
@@ -43,7 +43,7 @@