[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/skins/ - removed netscape 4.x hack

Yvo Schubbe y.2010 at wcm-solutions.de
Fri Feb 26 07:43:39 EST 2010


Log message for revision 109461:
  - removed netscape 4.x hack
  - fixed ContextActionsBox style

Changed:
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/werebear/main_template.pt
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/main_template.pt
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/zpt_stylesheet.css

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/werebear/main_template.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/werebear/main_template.pt	2010-02-26 12:39:23 UTC (rev 109460)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/werebear/main_template.pt	2010-02-26 12:43:38 UTC (rev 109461)
@@ -17,11 +17,6 @@
 
 <div metal:define-macro="top_bar">
 
- <!-- hack around netscape 4.x to ensure table is solid -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td>
-
  <!-- Top bar -->
  <table id="Masthead"
         width="100%" cellpadding="0" cellspacing="0" border="0">
@@ -68,26 +63,16 @@
  </table>
  <!-- end topbar -->
 
- </td>
- </tr>
- </table>
- <!-- end NS4 hack -->
-
 <!-- end top_bar-->
 </div>
 
 <div metal:define-macro="user_menu_bar"
      tal:define="uname globals/membername" >
 
- <!-- hack around netscape 4.x to ensure table is solid -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0"
-        i18n:domain="cmf_default">
- <tr>
- <td>
-
  <!-- user_menu_bar -->
  <table id="MemberActionsBox"
-        width="100%" border="0" cellpadding="0" cellspacing="0">
+        width="100%" border="0" cellpadding="0" cellspacing="0"
+        i18n:domain="cmf_default">
   <tr>
    <td class="ActionTitle" tal:content="uname">Guest</td>
    <td class="ActionLink" align="right">
@@ -107,11 +92,6 @@
  </table>
  <!-- end user_menu_bar -->
 
- </td>
- </tr>
- </table>
- <!-- end NS4 hack -->
-
 <!-- end user_menu_bar div-->
 </div>
 
@@ -123,10 +103,7 @@
  <td width="200px">
 
   <!-- actions box -->
-  <table class="ContextActionsBox"
-         width="100%"
-         style="float: left;"
-         metal:define-macro="actions_box">
+  <table id="ContextActionsBox" metal:define-macro="actions_box">
 
    <!-- object actions -->
    <tr class="ContextActionsRow">

Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/main_template.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/main_template.pt	2010-02-26 12:39:23 UTC (rev 109460)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/main_template.pt	2010-02-26 12:43:38 UTC (rev 109461)
@@ -43,11 +43,6 @@
 
 <div metal:define-macro="top_bar">
 
- <!-- hack around netscape 4.x to ensure table is solid -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td>
-
  <!-- Top bar -->
  <table id="Masthead"
         width="100%" cellpadding="0" cellspacing="0" border="0">
@@ -94,26 +89,16 @@
  </table>
  <!-- end topbar -->
 
- </td>
- </tr>
- </table>
- <!-- end NS4 hack -->
-
 <!-- end top_bar-->
 </div>
 
 <div metal:define-macro="user_menu_bar"
      tal:define="uname python: isAnon and 'Guest' or member.getUserName()" >
 
- <!-- hack around netscape 4.x to ensure table is solid -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0"
-        i18n:domain="cmf_default">
- <tr>
- <td>
-
  <!-- user_menu_bar -->
  <table id="MemberActionsBox"
-        width="100%" border="0" cellpadding="0" cellspacing="0">
+        width="100%" border="0" cellpadding="0" cellspacing="0"
+        i18n:domain="cmf_default">
   <tr>
    <td class="ActionTitle" tal:content="uname">Guest</td>
    <td class="ActionLink" align="right">
@@ -134,11 +119,6 @@
  </table>
  <!-- end user_menu_bar -->
 
- </td>
- </tr>
- </table>
- <!-- end NS4 hack -->
-
 <!-- end user_menu_bar div-->
 </div>
 
@@ -150,10 +130,7 @@
  <td width="200px">
 
   <!-- actions box -->
-  <table class="ContextActionsBox"
-         width="100%"
-         style="float: left;"
-         metal:define-macro="actions_box">
+  <table id="ContextActionsBox" metal:define-macro="actions_box">
 
    <!-- object actions -->
    <tr class="ContextActionsRow">

Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/zpt_stylesheet.css
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/zpt_stylesheet.css	2010-02-26 12:39:23 UTC (rev 109460)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/zpt_stylesheet.css	2010-02-26 12:43:38 UTC (rev 109461)
@@ -136,8 +136,8 @@
 }
 
 #ContextActionsBox {
-    border-color: #AAAAAA;
-    background-color: #AAAAAA;
+    width: 100%;
+    float: left;
     padding: 0;
 }
 



More information about the checkins mailing list