[IMP] layout web, mianly dialogs and improved mit merge
authorFabien Pinckaers <fp@openerp.com>
Fri, 13 Jul 2012 22:25:28 +0000 (00:25 +0200)
committerFabien Pinckaers <fp@openerp.com>
Fri, 13 Jul 2012 22:25:28 +0000 (00:25 +0200)
bzr revid: fp@openerp.com-20120713222528-5sflq6ah9redrcry

1  2 
addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass
addons/web/static/src/js/chrome.js
addons/web/static/src/js/view_form.js

    -moz-background-clip: padding-box;
    background-clip: padding-box;
  }
--.openerp.ui-dialog .ui-dialog-titlebar, .openerp.ui-dialog .ui-dialog-content, .openerp.ui-dialog .ui-dialog-buttonpane {
++.openerp.ui-dialog .ui-dialog-content {
++  padding: 0px;
++}
++.openerp.ui-dialog .ui-dialog-titlebar, .openerp.ui-dialog .ui-dialog-buttonpane {
    padding: 16px;
  }
  .openerp.ui-dialog .ui-dialog-titlebar {
  .openerp .oe_form .oe_form_field_text.oe_inline, .openerp .oe_form .oe_form_field_text.oe_inline > textarea {
    width: 500px;
  }
--.openerp .oe_form .oe_form_field_float input {
--  width: 100px;
--}
--.openerp .oe_form h1 .oe_form_field_float input {
--  width: 140px;
--}
--.openerp .oe_form h2 .oe_form_field_float input {
--  width: 120px;
--}
  .openerp .oe_form h1, .openerp .oe_form h2, .openerp .oe_form h3, .openerp .oe_form h4, .openerp .oe_form h5, .openerp .oe_form h6 {
    margin: 0 0 4px 0;
  }
    margin: 0px;
  }
  .openerp .oe_form .oe_form_field_integer {
--  width: 180px;
++  width: 7em;
  }
  .openerp .oe_form .oe_form_field_float {
-   width: 180px;
 -  width: 112px;
++  width: 8em;
  }
  .openerp .oe_form .oe_form_field_date {
    width: 7.5em;
@@@ -214,7 -214,7 +214,9 @@@ $sheet-max-width: 860p
          @include radius(8px)
          @include box-shadow(0 1px 12px rgba(0, 0, 0, 0.6))
          @include background-clip()
--        .ui-dialog-titlebar, .ui-dialog-content, .ui-dialog-buttonpane
++        .ui-dialog-content
++            padding: 0px
++        .ui-dialog-titlebar, .ui-dialog-buttonpane
              padding: 16px
          .ui-dialog-titlebar
              border-bottom: 1px solid #cacaca
              width: 100%
          .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
              width: 500px
--        .oe_form_field_float input
--            width: 100px
--        h1 .oe_form_field_float input
--            width: 140px
--        h2 .oe_form_field_float input
--            width: 120px
          h1, h2, h3, h4, h5, h6
              margin: 0 0 4px 0
              input
              input
                  margin: 0px
          .oe_form_field_integer
--            width: 180px
++            width: 7em
          .oe_form_field_float
-             width: 180px
 -            width: 112px
++            width: 8em
          .oe_form_field_date
              width: 7.5em
          .oe_form_field_datetime
@@@ -63,7 -63,7 +63,7 @@@ instance.web.Dialog = instance.web.Widg
          this.dialog_options = {
              modal: true,
              destroy_on_close: true,
--            width: 700,
++            width: 900,
              min_width: 0,
              max_width: '95%',
              height: 'auto',
@@@ -3868,7 -3868,7 +3868,6 @@@ instance.web.form.AbstractFormPopup = i
          var self = this;
          this.renderElement();
          new instance.web.Dialog(this, {
--            width: '90%',
              min_width: '800px',
              close: function() {
                  self.check_exit(true);