Author: buscob
Date: Mon Nov 1 19:15:06 2010
New Revision: 1029794
URL: http://svn.apache.org/viewvc?rev=1029794&view=rev
Log:
Merged fix from trunk at revision 1029792
Fixed https://issues.apache.org/jira/browse/OFBIZ-4005
Buttons are too short in tomhawak with long text
Used a single larger sprite image instead of separated ones
Added:
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/button_sprite.png
- copied unchanged from r1029792,
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/button_sprite.png
Removed:
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_create.gif
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_delete.jpg
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_find.jpg
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_hot_create.gif
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_hot_delete.jpg
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_hot_find.jpg
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_hot_refresh.png
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_hot_search.png
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_refresh.png
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/images/ptrn_search.png
Modified:
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/css/style.css
Modified:
ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/css/style.css
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/css/style.css?rev=1029794&r1=1029793&r2=1029794&view=diff
==============================================================================
--- ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/css/style.css
(original)
+++ ofbiz/branches/release10.04/themes/tomahawk/webapp/tomahawk/css/style.css
Mon Nov 1 19:15:06 2010
@@ -1438,30 +1438,39 @@ text-transform:uppercase;
}
.button-bar ul a.create,.button-bar a.create {
-background: url(../images/ptrn_create.gif) no-repeat;
+background: url(../images/button_sprite.png) no-repeat 0px 0px;
padding:6px 10px 6px 30px;
}
.button-bar ul a.create:hover,.button-bar a.create:hover {
-background: url(../images/ptrn_hot_create.gif) no-repeat;
+background: url(../images/button_sprite.png) no-repeat 0px -26px;
+}
+
+.button-bar ul a.delete,.button-bar a.delete {
+background: url(../images/button_sprite.png) no-repeat 0px -52px;
+padding:6px 10px 6px 30px;
+}
+
+.button-bar ul a.delete:hover,.button-bar a.delete:hover {
+background: url(../images/button_sprite.png) no-repeat 0px -78px;
}
.button-bar ul a.refresh,.button-bar a.refresh {
-background: url(../images/ptrn_refresh.png) no-repeat;
+background: url(../images/button_sprite.png) no-repeat 0px -156px;
padding:6px 10px 6px 30px;
}
.button-bar ul a.refresh:hover,.button-bar a.refresh:hover {
-background: url(../images/ptrn_hot_refresh.png) no-repeat;
+background: url(../images/button_sprite.png) no-repeat 0px -182px;
}
.button-bar ul a.search,.button-bar a.search {
-background: url(../images/ptrn_search.png) no-repeat;
+background: url(../images/button_sprite.png) no-repeat 0px -104px;
padding:6px 10px 6px 30px;
}
.button-bar ul a.search:hover,.button-bar a.search:hover {
-background: url(../images/ptrn_hot_search.png) no-repeat;
+background: url(../images/button_sprite.png) no-repeat 0px -130px;
}
.button-bar ul a:hover,.button-bar a:hover {