details: https://code.openbravo.com/erp/devel/pi/rev/b6493c1e4f06
changeset: 13311:b6493c1e4f06
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Wed Jul 27 21:29:35 2011 +0200
summary: [imageBLOB] added magnifying glass cursor for zoom in/out the image
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/system/zoomIn.cur
| 0
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/system/zoomOut.cur
| 0
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.css
| 9 +++++
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
| 16 +++++-----
4 files changed, 17 insertions(+), 8 deletions(-)
diffs (65 lines):
diff -r f62a78d43f43 -r b6493c1e4f06
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/system/zoomIn.cur
Binary file
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/system/zoomIn.cur
has changed
diff -r f62a78d43f43 -r b6493c1e4f06
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/system/zoomOut.cur
Binary file
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/images/system/zoomOut.cur
has changed
diff -r f62a78d43f43 -r b6493c1e4f06
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.css
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.css
Wed Jul 27 20:43:17 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.css
Wed Jul 27 21:29:35 2011 +0200
@@ -732,6 +732,7 @@
.OBImageItemSmallImageContainer,
.OBImageItemSmallImageContainerRequired {
border: #CDD7BB 1px solid;
+ cursor: url("images/system/zoomIn.cur"), pointer;
}
.OBImageItemSmallImageContainer {
@@ -742,6 +743,14 @@
background-color: #FFFFCC;
}
+.OBImageItemSmallImage img {
+ cursor: url("images/system/zoomIn.cur"), pointer;
+}
+
+.OBImageItemBigImage img {
+ cursor: url("images/system/zoomOut.cur"), pointer;
+}
+
/*=======================================================================
* LinkButton Item
=======================================================================*/
diff -r f62a78d43f43 -r b6493c1e4f06
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
Wed Jul 27 20:43:17 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
Wed Jul 27 21:29:35 2011 +0200
@@ -398,23 +398,23 @@
* OBImageItem
=======================================================================*/
-isc.OBImageItemSmallImage.addProperties({
- styleName: 'OBImageItemSmallImage',
- cursor: 'pointer'
-});
-
isc.OBImageItemSmallImageContainer.addProperties({
styleName: 'OBImageItemSmallImageContainer',
- cursor: 'pointer',
+ cursor: '', //To allow set the cursor from the CSS
width:'100%',
height: '100%',
align: 'center',
defaultLayoutAlign: 'center'
});
+isc.OBImageItemSmallImage.addProperties({
+ styleName: 'OBImageItemSmallImage',
+ cursor: '' //To allow set the cursor from the CSS
+});
+
isc.OBImageItemBigImage.addProperties({
- styleName: 'OBImageItemBigImageContainer',
- cursor: 'pointer',
+ styleName: 'OBImageItemBigImage',
+ cursor: '', //To allow set the cursor from the CSS
align: 'center'
});
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits