details:   /erp/devel/pi/rev/75688c6f01c6
changeset: 12227:75688c6f01c6
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Wed May 18 14:40:40 2011 +0200
summary:   Related to issue 16695:
* Improved [ Delete ] button underline
* Fixed [ Delete ] button font-color
* Added some space between last row and next sectin (when there are lot of 
notes)

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
                                                        |   4 +-
 
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
 |  15 ++++++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diffs (68 lines):

diff -r 4520c6299164 -r 75688c6f01c6 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
    Wed May 18 13:51:15 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
    Wed May 18 14:40:40 2011 +0200
@@ -278,10 +278,10 @@
         // the current user
         if (record.createdBy === OB.User.id) {
           value = value +
-              ' <span class="OBNoteListGridDelete" >[ <a 
class="OBNoteListGridDelete" href="#" onclick="' +
+              ' <span class="OBNoteListGridDelete" ><a 
class="OBNoteListGridDelete" href="#" onclick="' +
               this.layout.ID + '.deleteNote(\'' +
               record.id +
-              '\')">' + OB.I18N.getLabel('OBUIAPP_delete') + ' </a>]</span>';
+              '\')">[ ' + OB.I18N.getLabel('OBUIAPP_delete') + ' ]</a></span>';
         } 
         return value;
       },
diff -r 4520c6299164 -r 75688c6f01c6 
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
     Wed May 18 13:51:15 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
     Wed May 18 14:40:40 2011 +0200
@@ -784,8 +784,12 @@
 /*=======================================================================
  * Note section
 =======================================================================*/
+
 .OBNoteListGrid,
-.OBNoteListGridOver,
+.OBNoteListGridOver {
+   margin: 0px 0px 8px 8px;
+}
+
 .OBNoteListGridCell,
 .OBNoteListGridCellOver,
 .OBNoteListGridCurrentUserNoteCell,
@@ -796,13 +800,14 @@
 .OBNoteListGridOtherUserNoteCellOver {
    border: 0px;
    background-color: transparent;
-   padding:5px; 
-   font-family: arial;
+   padding: 5px;
+   font-family: arial, sans-serif;
    font-size: 12px;
 }
 
 .OBNoteListGridCurrentUserNoteCell,
 .OBNoteListGridCurrentUserNoteCellOver {
+    width: 1px; /* To avoid strange IE effect where the bar is too width. Even 
with this is still widther than FF and Chrome */
     background-color: #898989;
 }
 
@@ -812,7 +817,7 @@
 }
 
 .OBNoteListGridAuthor {
-  font-family: arial;
+  font-family: arial, sans-serif;
   font-style: italic;
   font-size: 11px;
   margin-left: 3px;
@@ -822,7 +827,7 @@
   font-family: 'lucida sans', sans-serif;
   font-style: normal;
   font-size: 12px;
-  color: #0d7813;
+  color: #58a618;
   margin-left: 0px;
 }
 

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to