Author: buscob
Date: Tue Apr 12 15:42:23 2011 New Revision: 1091477 URL: http://svn.apache.org/viewvc?rev=1091477&view=rev Log: Few fixes to Tomahawk theme. - The header logo is now clickable. - Swapped header collapse icons. - Used uppercase transformation only for button-bar buttontext links so that other links as, for example, the initial letters bar in https://localhost:8443/webtools/control/ServiceList is not uppercased. Modified: ofbiz/trunk/themes/tomahawk/includes/header.ftl ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css Modified: ofbiz/trunk/themes/tomahawk/includes/header.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/includes/header.ftl?rev=1091477&r1=1091476&r2=1091477&view=diff ============================================================================== --- ofbiz/trunk/themes/tomahawk/includes/header.ftl (original) +++ ofbiz/trunk/themes/tomahawk/includes/header.ftl Tue Apr 12 15:42:23 2011 @@ -108,7 +108,7 @@ under the License. <#assign headerImageUrl = layoutSettings.VT_HDR_IMAGE_URL.get(0)> </#if> <#if headerImageUrl?exists> - <li id="logo-area"><a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>" title="${layoutSettings.companyName}"><span> </span></a></li> + <li id="logo-area"><a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>" title="${layoutSettings.companyName}"></a></li> </#if> <#if layoutSettings.middleTopMessage1?has_content && layoutSettings.middleTopMessage1 != " "> <li class="last-system-msg"> Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css?rev=1091477&r1=1091476&r2=1091477&view=diff ============================================================================== --- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css (original) +++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css Tue Apr 12 15:42:23 2011 @@ -951,6 +951,11 @@ width:385px; height:50px; } +#logo-area a{ +display:block; +height:100%; +} + #masthead { background: url(../images/header_top_bg.gif) repeat-x; font-weight: bold; @@ -1000,13 +1005,13 @@ text-decoration: none; } ul#preferences-menu .expanded { -background: url(../images/collapse.png) no-repeat right; +background: url(../images/expand.png) no-repeat right; width:22px; padding: 0; } ul#preferences-menu .collapsed { -background: url(../images/expand.png) no-repeat right; +background: url(../images/collapse.png) no-repeat right; width:32px; padding: 0; } @@ -1037,7 +1042,7 @@ background: url(../images/collapse.png) } ul#preferences-menu li.expanded a:hover { -background: url(../images/collapse.png) no-repeat right; +background: url(../images/expand.png) no-repeat right; } ul#preferences-menu li a.help-link { @@ -1463,6 +1468,9 @@ color:#000000; padding: 6px 10px 6px; line-height:19px; white-space: nowrap; +} + +.button-bar a.buttontext { text-transform:uppercase; } @@ -1505,7 +1513,6 @@ background: url(../images/button_sprite. .button-bar ul a:hover,.button-bar a:hover { color:#25292c; background-image:url(../images/ptrn_button_hover.gif); -bbbackground-color:#EDCC12; text-decoration: none; } |
Free forum by Nabble | Edit this page |