You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bu...@apache.org on 2010/02/21 19:10:10 UTC

svn commit: r912384 - in /ofbiz/trunk/themes/tomahawk/webapp/tomahawk: css/ images/

Author: buscob
Date: Sun Feb 21 18:10:09 2010
New Revision: 912384

URL: http://svn.apache.org/viewvc?rev=912384&view=rev
Log:
Replaced single images with arrays so that to avoid image flickering on mouse hover.

Added:
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar.png   (with props)
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/cds_footer.png   (with props)
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/navigation.png   (with props)
Removed:
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar1.gif
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar2.gif
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar3.gif
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar4.gif
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_first.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_first_disabled.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_first_hot.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_last.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_last_disabled.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_last_hot.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_next.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_next_disabled.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_next_hot.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_previous.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_previous_disabled.png
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/resultset_previous_hot.png
Modified:
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css

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=912384&r1=912383&r2=912384&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css Sun Feb 21 18:10:09 2010
@@ -932,7 +932,7 @@
 color: #262626;
 float: left;
 height: 22px;
-background: url(../images/appbar4.gif) no-repeat right;
+background: url(../images/appbar.png) no-repeat right -90px;
 padding: 8px 20px 0px 10px;
 font-size: 1.5em;
 font-weight: bold;
@@ -1095,16 +1095,16 @@
 }
 
 #main-navigation {
-background: url(../images/appbar2.gif) no-repeat 100% 0%;
+background: url(../images/appbar.png) no-repeat right -30px;
 }
 .menu_selected #main-navigation {
-background: url(../images/appbar1.gif) no-repeat 100% 0%;
+background: url(../images/appbar.png) no-repeat right 0px;
 }
 #app-navigation {
-background: url(../images/appbar3.gif) no-repeat 100% 0%;
+background: url(../images/appbar.png) no-repeat right -90px;
 }
 .menu_selected #app-navigation {
-background: url(../images/appbar2.gif) no-repeat 100% 0%;
+background: url(../images/appbar.png) no-repeat right -30px;
 }
 
 #main-navigation h2,#app-navigation h2 {
@@ -1979,41 +1979,41 @@
 }
 
 .nav-pager ul .nav-first a:hover {
-background: url(../images/resultset_first_hot.png) no-repeat;
+background: url(../images/navigation.png) no-repeat 0px -46px;
 }
 .nav-pager ul .nav-previous a:hover {
-background: url(../images/resultset_previous_hot.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -23px -46px;
 }
 .nav-pager ul .nav-next a:hover {
-background: url(../images/resultset_next_hot.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -46px -46px;
 }
 .nav-pager ul .nav-last a:hover {
-background: url(../images/resultset_last_hot.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -69px -46px;
 }
 
 .nav-pager ul .nav-first a {
-background: url(../images/resultset_first.png) no-repeat;
+background: url(../images/navigation.png) no-repeat 0px -23px;
 }
 .nav-pager ul .nav-previous a {
-background: url(../images/resultset_previous.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -23px -23px;
 }
 .nav-pager ul .nav-next a {
-background: url(../images/resultset_next.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -46px -23px;
 }
 .nav-pager ul .nav-last a {
-background: url(../images/resultset_last.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -69px -23px;
 }
 .nav-pager ul .nav-first-disabled {
-background: url(../images/resultset_first_disabled.png) no-repeat;
+background: url(../images/navigation.png) no-repeat 0px 0px;
 }
 .nav-pager ul .nav-previous-disabled {
-background: url(../images/resultset_previous_disabled.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -23px 0px;
 }
 .nav-pager ul .nav-next-disabled {
-background: url(../images/resultset_next_disabled.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -46px 0px;
 }
 .nav-pager ul .nav-last-disabled {
-background: url(../images/resultset_last_disabled.png) no-repeat;
+background: url(../images/navigation.png) no-repeat -69px 0px;
 }
 
 .nav-pager ul .nav-first a,
@@ -2025,7 +2025,7 @@
 .nav-pager ul .nav-next-disabled,
 .nav-pager ul .nav-last-disabled {
 width: 23px;
-height:25px;
+height:23px;
 }
 
 .nav-pager ul .nav-pagesize {
@@ -2131,8 +2131,7 @@
 }
 
 .calendar_date_select .cds_footer {
-background-color: #4682B4;
-background-image: url(../images/appbar4.gif);
+background: url(../images/cds_footer.png) repeat-x;
 padding: 3px;
 font-size: 11px;
 color:#23190f;

Added: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar.png?rev=912384&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/appbar.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/cds_footer.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/cds_footer.png?rev=912384&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/cds_footer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/navigation.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/navigation.png?rev=912384&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/navigation.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Re: svn commit: r912384 - in /ofbiz/trunk/themes/tomahawk/webapp/tomahawk: css/ images/

Posted by Bruno Busco <br...@gmail.com>.
+1

2010/2/21 Adam Heath <do...@brainfood.com>:
> buscob@apache.org wrote:
>> Author: buscob
>> Date: Sun Feb 21 18:10:09 2010
>> New Revision: 912384
>>
>> URL: http://svn.apache.org/viewvc?rev=912384&view=rev
>> Log:
>> Replaced single images with arrays so that to avoid image flickering on mouse hover.
>
> You mean css sprites.  It's not just for removing flicker, but for
> reducing download time.
>

Re: svn commit: r912384 - in /ofbiz/trunk/themes/tomahawk/webapp/tomahawk: css/ images/

Posted by Adam Heath <do...@brainfood.com>.
buscob@apache.org wrote:
> Author: buscob
> Date: Sun Feb 21 18:10:09 2010
> New Revision: 912384
> 
> URL: http://svn.apache.org/viewvc?rev=912384&view=rev
> Log:
> Replaced single images with arrays so that to avoid image flickering on mouse hover.

You mean css sprites.  It's not just for removing flicker, but for
reducing download time.