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="author_email()) ?>"> author_name()) ?>

-
+
item() ?>
diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php index ce693d73..cdfe6cfd 100644 --- a/modules/gallery/views/admin_maintenance.html.php +++ b/modules/gallery/views/admin_maintenance.html.php @@ -63,7 +63,7 @@ " - 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"> @@ -102,7 +102,7 @@ id?csrf=$csrf") ?>" - 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"> @@ -136,7 +136,7 @@ " - 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"> 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 @@
-
+
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 @@ - @@ -48,7 +48,7 @@
  • name) ?> - (count ?>) + (count ?>) id") ?>" class="gDialogLink delete-link gButtonLink"> 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 @@
    " - class="gDialogLink gButtonLink right ui-icon-left ui-state-default ui-corner-all" + class="gDialogLink gButtonLink g-right ui-icon-left ui-state-default ui-corner-all" title="for_html_attr() ?>"> diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css index 3aee0719..d006463d 100644 --- a/themes/admin_wind/css/screen.css +++ b/themes/admin_wind/css/screen.css @@ -5,7 +5,6 @@ * * Sheet organization: * 1) Basic HTML elements - * 2) Reusable classes * 3) Reusable content blocks * 4) Page layout containers * 5) Content blocks in specific layout containers @@ -239,29 +238,6 @@ li.gError select { border: 2px solid red; } -/** ******************************************************************* - * 2) Reusable generic classes - *********************************************************************/ - -.inactive, .understate { - color: #ccc; - font-weight: normal; -} - -.left { - float: left; - margin: 1em 1em 1em 0; -} - -.right { - float: right; - margin: 1em 0 1em 1em; -} - -.txtright { - text-align: right; -} - /** ******************************************************************* * 3) Reusable content blocks *********************************************************************/ diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index ef15ed25..b18f010a 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -10,6 +10,7 @@ css("yui/reset-fonts-grids.css") ?> css("themeroller/ui.base.css") ?> css("superfish/css/superfish.css") ?> + css("gallery.common.css") ?> css("screen.css") ?>
  • + count()) ?>