You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/09/14 22:00:28 UTC

svn commit: r280931 - in /incubator/roller/branches/roller_2.0/web/theme: banner.jsp logo-shadow.png menu.css roller.css spacer.png sun/colors.css tan/colors.css tan/menutab-sel.gif tan/menutab-unsel.gif transparent-logo.png

Author: snoopdave
Date: Wed Sep 14 13:00:16 2005
New Revision: 280931

URL: http://svn.apache.org/viewcvs?rev=280931&view=rev
Log:
Using transparent logo for easier customization, but need fix for IE

Added:
    incubator/roller/branches/roller_2.0/web/theme/logo-shadow.png   (with props)
    incubator/roller/branches/roller_2.0/web/theme/spacer.png   (with props)
    incubator/roller/branches/roller_2.0/web/theme/transparent-logo.png   (with props)
Modified:
    incubator/roller/branches/roller_2.0/web/theme/banner.jsp
    incubator/roller/branches/roller_2.0/web/theme/menu.css
    incubator/roller/branches/roller_2.0/web/theme/roller.css
    incubator/roller/branches/roller_2.0/web/theme/sun/colors.css
    incubator/roller/branches/roller_2.0/web/theme/tan/colors.css
    incubator/roller/branches/roller_2.0/web/theme/tan/menutab-sel.gif
    incubator/roller/branches/roller_2.0/web/theme/tan/menutab-unsel.gif

Modified: incubator/roller/branches/roller_2.0/web/theme/banner.jsp
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/banner.jsp?rev=280931&r1=280930&r2=280931&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/web/theme/banner.jsp (original)
+++ incubator/roller/branches/roller_2.0/web/theme/banner.jsp Wed Sep 14 13:00:16 2005
@@ -7,5 +7,9 @@
 request.setAttribute("logourl", logourl);
 %>
 <div class="bannerBox">
-   <img class="bannerlogo" src='<c:url value="${logourl}" />' />
+    <div id="logoshadow">
+       <div id="logoimage">
+       </div>
+    </div>
 </div>
+

Added: incubator/roller/branches/roller_2.0/web/theme/logo-shadow.png
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/logo-shadow.png?rev=280931&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/branches/roller_2.0/web/theme/logo-shadow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/roller/branches/roller_2.0/web/theme/menu.css
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/menu.css?rev=280931&r1=280930&r2=280931&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/web/theme/menu.css (original)
+++ incubator/roller/branches/roller_2.0/web/theme/menu.css Wed Sep 14 13:00:16 2005
@@ -6,20 +6,24 @@
 
 div.menu-tl {
     margin: 0px; 
+    padding: 0px; 
     height: 100%;
-    background: url("images/menutab-tl.gif") no-repeat left top;    
+    background: url("images/menutab-tl.gif") no-repeat top left;   
     background-repeat: no-repeat;
+    vertical-align: middle;
+    display: table;
 }
 div.menu-tr {
     margin: 0px; 
+    padding: 0px; 
     height: 100%;
-    background: url("images/menutab-tr.gif") no-repeat right top;    
+    background: url("images/menutab-tr.gif") no-repeat top right;    
     background-repeat: no-repeat;
 }
 
-td.menuTabSelected a, td.menuTabUnselected a {
-    vertical-align: middle;
-    text-align: middle;
+td div.menu-tr div.menu-tl a {
+   display: table-cell;
+   vertical-align: middle;
 }
 
 /* ----------------------------------------------------------------------
@@ -27,22 +31,22 @@
 ---------------------------------------------------------------------- */
 
 .menuTabTable {
-    height: 21px;
+    height: 25px;
+    _height: 21px; /* for IE */
+    margin: 0px; 
+    padding: 0px; 
 }
 td.menuTabSeparator {
     width: 4px;
 }  
 td.menuTabSelected {
-    padding-right: 0px;
-    padding-left: 0px;
-    padding-bottom: 0px;
-    margin: 0px;
-    padding-TOP: 0px;
+    margin: 0px; 
+    padding: 0px; 
     font-weight: bold;
 }
 td.menuTabUnselected {
-    padding: 0px 0px 0px 0px; 
-    margin: 0px 0px 0px 0px;
+    margin: 0px; 
+    padding: 0px; 
 }
 
 /* ----------------------------------------------------------------------

Modified: incubator/roller/branches/roller_2.0/web/theme/roller.css
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/roller.css?rev=280931&r1=280930&r2=280931&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/web/theme/roller.css (original)
+++ incubator/roller/branches/roller_2.0/web/theme/roller.css Wed Sep 14 13:00:16 2005
@@ -517,6 +517,24 @@
     padding-left: 8px;
 }
 
+#logoshadow {
+    position: absolute;
+    top: 15px;
+    left: 15px;    
+    width: 165px;
+    height: 50px;
+    background: url("logo-shadow.png") top left;
+    _background: #600 url("/roller20/theme/spacer.png") repeat;
+    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/roller20/theme/logo-shadow.png', sizingMethod='crop');
+}
+#logoimage {
+    width: 159px;
+    height: 44px;  
+    background: url("transparent-logo.png") top left;
+    _background: #600 url("/roller20/theme/spacer.png") repeat;
+    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/roller20/theme/transparent-logo.png', sizingMethod='crop');
+}
+
 
 
         

Added: incubator/roller/branches/roller_2.0/web/theme/spacer.png
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/spacer.png?rev=280931&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/branches/roller_2.0/web/theme/spacer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/roller/branches/roller_2.0/web/theme/sun/colors.css
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/sun/colors.css?rev=280931&r1=280930&r2=280931&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/web/theme/sun/colors.css (original)
+++ incubator/roller/branches/roller_2.0/web/theme/sun/colors.css Wed Sep 14 13:00:16 2005
@@ -4,8 +4,8 @@
 /* ------------------------------------------------------------------------ */
 /* add colors and images to roller.css */
 
-.bannerlogo {
-    margin: 0px 0px 0px 5px;
+#logoimage {
+    background-color: #e77100;
 }
 .bannerBox {
     background: url("two-banner.gif") repeat-x top;

Modified: incubator/roller/branches/roller_2.0/web/theme/tan/colors.css
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/tan/colors.css?rev=280931&r1=280930&r2=280931&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/web/theme/tan/colors.css (original)
+++ incubator/roller/branches/roller_2.0/web/theme/tan/colors.css Wed Sep 14 13:00:16 2005
@@ -4,11 +4,9 @@
 /* ------------------------------------------------------------------------ */
 /* add colors and images to roller.css */
 
-.bannerlogo {
-    /* margin: 15px 0px 0px 15px; */
-    margin: 0px;
+#logoimage {
+    background-color: #ad3431;
 }
-
 .bannerBox {
     background: url("two-banner.gif") repeat-x top;
 }

Modified: incubator/roller/branches/roller_2.0/web/theme/tan/menutab-sel.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/tan/menutab-sel.gif?rev=280931&r1=280930&r2=280931&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/roller/branches/roller_2.0/web/theme/tan/menutab-unsel.gif
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/tan/menutab-unsel.gif?rev=280931&r1=280930&r2=280931&view=diff
==============================================================================
Binary files - no diff available.

Added: incubator/roller/branches/roller_2.0/web/theme/transparent-logo.png
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/theme/transparent-logo.png?rev=280931&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/branches/roller_2.0/web/theme/transparent-logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream