From 46a67a4b6d922c54bf001c7faa1311b5f4ef4c7e Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 9 Nov 2008 23:03:50 +0000 Subject: IE fixes, sidebar is now fixed in IE (we were missing a yui-g class). Removed .first class, it's not needed, at least not now. Moved all top-level layout containers to page.html.php so that if themers want to replace YUI grids with something else, like Blueprint, they only really need to edit page.html.php. --- themes/default/css/screen.css | 30 +++++++++------------ themes/default/views/album.html.php | 10 +++---- themes/default/views/footer.html.php | 6 +---- themes/default/views/header.html.php | 50 +++++++++++++++++------------------ themes/default/views/page.html.php | 28 ++++++++++++++------ themes/default/views/photo.html.php | 4 +-- themes/default/views/sidebar.html.php | 8 +++--- 7 files changed, 68 insertions(+), 68 deletions(-) diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 3c2d3ebb..aa51116a 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -172,17 +172,17 @@ table.gBlockContent td { } -/* ~~~~~~~~~ album ~~~~~~~~~~ */ +/* ~~~~~~~~~ Album ~~~~~~~~~~ */ -#gAlbumGridHeader { +#gAlbumHeader { height: 40px; position: relative; } -#gAlbumGridHeader h1 { +#gAlbumHeader h1 { display: inline; } -#gAlbumGridHeader span { - padding-left: 10px; +#gAlbumHeader span { + padding-right: 10px; } #gAlbumGrid { @@ -192,15 +192,11 @@ table.gBlockContent td { border: 1px solid #ccc; float: left; list-style: none; - margin: 0 14px 10px 0; + margin: 0 24px 10px 0; padding: 5px 0 5px 0; text-align: center; } -#gAlbumGrid .first { - clear: left; -} - .gAlbum { background-color: #d4daff; } @@ -217,7 +213,7 @@ table.gBlockContent td { #gItem { margin: 0; } -#gItem a.buttonlink { +#gItem a.gButtonLink { float: right; } #gItem img { @@ -361,11 +357,9 @@ table.gMetadata td.toggle { #gLoginMenu { border: 1px solid #c0c0c0; border-top: none; + float: right; + margin-right: 5px; padding: 5px; - position: absolute; - right: 13px; - text-align: right; - top: 0; } #gLoginMenu form { margin-top: 5px; @@ -599,14 +593,14 @@ table.gMetadata td.toggle { ** ******************************************************************* */ -.buttonlink { +.gButtonLink { border: 1px solid #d3d3d3; padding: 5px; } -.buttonlink:hover { +.gButtonLink:hover { background-color: #f3f3f3; } -.understate { +.gUnderState { color: #c0c0c0; } diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index d9db24d9..b59dba01 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -1,8 +1,8 @@ -
+

title_edit ?>

- description_edit ?> - Slideshow + description_edit ?> + Slideshow
diff --git a/themes/default/views/footer.html.php b/themes/default/views/footer.html.php index 58d3b916..6e0ef428 100644 --- a/themes/default/views/footer.html.php +++ b/themes/default/views/footer.html.php @@ -1,6 +1,2 @@ -
-
- Powered by Gallery3 | About this Gallery | ... -
-
+Powered by Gallery3 | About this Gallery diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php index f2a72bef..7fe44398 100644 --- a/themes/default/views/header.html.php +++ b/themes/default/views/header.html.php @@ -1,29 +1,29 @@ -
- " src="url("images/logo.png") ?>" /> -

title_edit ?>

-
- | - -
+" src="url("images/logo.png") ?>" /> -
    -
  • -
  • -
  • -
  • -
  • -
+

title_edit ?>

- - -
- "/> - -
+
+ | +
+ +
    +
  • +
  • +
  • +
  • +
  • +
+ + + +
+ "/> + +
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index f394b076..2f6a30d4 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -9,24 +9,36 @@ media="screen,print,projection" /> " media="screen,print,projection" /> - " media="screen,print,projection" /> + " + media="screen,print,projection" /> -
- display("header.html") ?> +
+
+
+ display("header.html") ?> +
+
-
- +
+
+ +
- display("sidebar.html") ?> +
+ display("sidebar.html") ?> +
+
+
+
+ display("footer.html") ?> +
- display("footer.html") ?>
in_place_edit(); ?> diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 9448b51e..e5a3ba11 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,7 +1,7 @@
- Full size (1024x768) - Slideshow + Full size (1024x768) + Slideshow photo -
- blocks() as $block): ?> - - -
+blocks() as $block): ?> + + -- cgit v1.2.3