[FIX] point_of_sale: minimal viable styling for OpenERP error dialogs
authorFrédéric van der Essen <fva@openerp.com>
Tue, 17 Dec 2013 17:06:54 +0000 (18:06 +0100)
committerFrédéric van der Essen <fva@openerp.com>
Tue, 17 Dec 2013 17:06:54 +0000 (18:06 +0100)
bzr revid: fva@openerp.com-20131217170654-qj5evj3t7ilih69b

addons/point_of_sale/static/src/css/pos.css
addons/point_of_sale/static/src/js/widgets.js

index 76a14ae..2c1dc96 100644 (file)
@@ -5,6 +5,20 @@
     src: url(../fonts/Inconsolata.otf);
 }
 
+/* --- Styling of OpenERP Elements --- */
+.ui-dialog{
+    background: white;
+    padding: 10px;
+    border-radius: 3px;
+    font-family: sans-serif;
+}
+.ui-dialog button{
+    padding: 8px;
+    min-width: 48px;
+}
+.ui-dialog .ui-icon-closethick{
+    float: right;
+}
 /* --- Generic Restyling and Resets --- */
 
 html {
index 673a81b..dddd3a2 100644 (file)
@@ -1095,6 +1095,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa
             }
 
             this.disable_rubberbanding();
+
         },
 
         changed_pending_operations: function () {