Related to issue 20207: Styles improvement to adapt HTML5 doctype
authorDavid Baz Fayos <david.baz@openbravo.com>
Thu, 26 Apr 2012 19:04:30 +0200
changeset 16346 88d2e735fd0d
parent 16345 f3e6950011bd
child 16347 2132d66191f9
Related to issue 20207: Styles improvement to adapt HTML5 doctype
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-application-styles.css
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-dialog-styles.css
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.css
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-grid-styles.css
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-tab-styles.css
src/index.jsp
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-application-styles.css	Thu Apr 26 15:43:01 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-application-styles.css	Thu Apr 26 19:04:30 2012 +0200
@@ -33,7 +33,6 @@
   overflow: hidden;
   font-family: 'lucida sans', sans-serif;
   font-size: 1em;
-  line-height: 1.6em;
   color: #333;
 }
 
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-dialog-styles.css	Thu Apr 26 15:43:01 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-dialog-styles.css	Thu Apr 26 19:04:30 2012 +0200
@@ -21,6 +21,7 @@
   font-family: 'lucida sans', sans-serif;
   font-size: 12px;
   color: #333333;
+  line-height: 1.4em;
 }
 
 .OBDialogLabel a {
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.css	Thu Apr 26 15:43:01 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.css	Thu Apr 26 19:04:30 2012 +0200
@@ -63,6 +63,7 @@
   font-family: 'lucida sans', sans-serif;
   padding: 4px 8px 4px 8px;
   vertical-align: top;
+  line-height: 1.4em;
 }
 
 .OBFormFieldLabel,
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-grid-styles.css	Thu Apr 26 15:43:01 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-grid-styles.css	Thu Apr 26 19:04:30 2012 +0200
@@ -189,7 +189,7 @@
   font-size: 11px;
   font-weight: normal;
   color: #333333;
-  padding: 2px 0px 0px 0px;
+  padding: 3px 0px 0px 0px;
 }
 
 .OBGridFilterStaticTextLink:hover {
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-tab-styles.css	Thu Apr 26 15:43:01 2012 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-tab-styles.css	Thu Apr 26 19:04:30 2012 +0200
@@ -152,8 +152,7 @@
 .OBTabBarButtonMainTitleDisabledInactive,
 .OBTabBarButtonMainTitleSelectedDisabledInactive {
   color: #333333;
-  padding-top: 4px;
-  padding-bottom:1px;
+  padding-top: 2px;
 }
 
 .OBTabBarButtonMainTitleSelected,
@@ -180,7 +179,6 @@
 .OBTabBarButtonMainTitleDisabledInactive,
 .OBTabBarButtonMainTitleSelectedDisabledInactive {
   color: #777;
-  padding-bottom: 1px;
 }
 
 
@@ -317,8 +315,6 @@
 .OBTabBarButtonChildTitleDisabledInactive,
 .OBTabBarButtonChildTitleSelectedDisabledInactive {
   color: #ffffff;
-  padding-top: 2px;
-  padding-bottom: 1px;
 }
 
 .OBTabBarButtonChildTitleOver,
@@ -331,5 +327,4 @@
 .OBTabBarButtonChildTitleDisabledInactive,
 .OBTabBarButtonChildTitleSelectedDisabledInactive {
   color: #777;
-  padding-bottom: 1px;
 }
--- a/src/index.jsp	Thu Apr 26 15:43:01 2012 +0200
+++ b/src/index.jsp	Thu Apr 26 19:04:30 2012 +0200
@@ -81,9 +81,8 @@
 %>
 <!DOCTYPE html>
 
-<html>
+<html dir="<%=(OBContext.isRightToLeft() ? "RTL" : "LTR")%>">
 <head>
-<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
 <meta http-equiv="Expires" content="Tue, 24 Apr 1979 00:00:01 GMT"/>
 <meta http-equiv="Content-type" content="text/html;charset=utf-8"/>
 <meta http-equiv="Cache-Control" content="no-cache no-store must-revalidate" >
@@ -132,7 +131,7 @@
 </style>
 
 </head>
-<body dir="<%=(OBContext.isRightToLeft() ? "RTL" : "LTR")%>">
+<body>
 
 <!-- shows the loading div -->
 <div class="OBLoadingPromptModalMask" id="OBLoadingDiv">