[open-ils-commits] r8026 - in trunk/Open-ILS/web/opac/skin/default:
css xml xml/home
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Nov 7 08:11:47 EST 2007
Author: dbs
Date: 2007-11-07 07:56:05 -0500 (Wed, 07 Nov 2007)
New Revision: 8026
Modified:
trunk/Open-ILS/web/opac/skin/default/css/layout.css
trunk/Open-ILS/web/opac/skin/default/xml/body.xml
trunk/Open-ILS/web/opac/skin/default/xml/footer.xml
trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml
Log:
Small XHTML tidying: move from <center> elements to <div> + CSS
Modified: trunk/Open-ILS/web/opac/skin/default/css/layout.css
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/css/layout.css 2007-11-06 22:46:55 UTC (rev 8025)
+++ trunk/Open-ILS/web/opac/skin/default/css/layout.css 2007-11-07 12:56:05 UTC (rev 8026)
@@ -203,11 +203,42 @@
.copy_more_info { padding-left: 6px; color: #804070; }
-
.invalid_hold { background: #F0F0D0; }
.myopac_summary_table td { padding : 3px; }
.jacket_attrib { font-size: 7pt; }
+/* block that contains footer links and copyright */
+#copyright_block {
+ width: 100%;
+ text-align: center;
+ vertical-align: bottom;
+ margin-top: 10px;
+}
+/* block that contains the footer links */
+#footer_links {
+ width: 80%;
+ text-align: center;
+ padding: 10px;
+ margin: auto;
+}
+/* span for each link in the footer */
+.footer-link {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+
+/* block that contains the copyright text */
+#copyright_text {
+ margin-top: 4px;
+}
+
+/* block that contains the logo */
+#footer_logo {
+ text-align: center;
+ margin: auto;
+}
+
+
Modified: trunk/Open-ILS/web/opac/skin/default/xml/body.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/body.xml 2007-11-06 22:46:55 UTC (rev 8025)
+++ trunk/Open-ILS/web/opac/skin/default/xml/body.xml 2007-11-07 12:56:05 UTC (rev 8026)
@@ -29,7 +29,5 @@
</tr>
</tbody>
</table>
- <center>
<!--#include virtual='footer.xml'-->
- </center>
</body>
Modified: trunk/Open-ILS/web/opac/skin/default/xml/footer.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/footer.xml 2007-11-06 22:46:55 UTC (rev 8025)
+++ trunk/Open-ILS/web/opac/skin/default/xml/footer.xml 2007-11-07 12:56:05 UTC (rev 8026)
@@ -1,15 +1,5 @@
-<div
- style='width: 100%; text-align:center; vertical-align: bottom; margin-top: 20px;'>
- <center id='copyright_block'>
- <style>
- .footer_link {
- margin-left: 10px;
- margin-right: 10px;
- }
- </style>
-
- <div style='width: 60%; text-align:center; padding: 10px; font-size: 8pt;'>
-
+<div id='copyright_block'>
+ <div id='footer_links'>
<span class='footer_link'>
<a class='classic_link'
href='/opac/<!--#echo var="locale"-->/extras/slimpac/start.html'>&opac.basic;</a>
@@ -31,16 +21,14 @@
</span>
<span> | </span>
<span class='footer_link'>
- <a target='' class='classic_link' id='eg_gal_link'
+ <a target='_blank' class='classic_link' id='eg_gal_link'
href='&footer.union.url;'>&footer.union;</a>
</span>
- <br/>
- <div style='margin-top: 4px; font-size: 7pt;'>
- <span>&footer.copyright;</span>
- </div>
</div>
- <div>&footer.logo;
+ <div id='copyright_text'>
+ <span>&footer.copyright;</span>
+ </div>
+ <div id='footer_logo'>&footer.logo;
<a href='http://open-ils.org'><img style='border:none;' src='../../../../images/eg_tiny_logo.jpg'/></a>
</div>
- </center>
</div>
Modified: trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml 2007-11-06 22:46:55 UTC (rev 8025)
+++ trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml 2007-11-07 12:56:05 UTC (rev 8026)
@@ -31,9 +31,7 @@
} catch(ee) {}
}
</script>
- <center>
<!--#include virtual='../footer.xml'-->
- </center>
</body>
More information about the open-ils-commits
mailing list