[IMP] changes in 'group by' padding
authorAntoine Huvelle <ahu@openerp.com>
Fri, 16 Dec 2011 13:07:41 +0000 (14:07 +0100)
committerAntoine Huvelle <ahu@openerp.com>
Fri, 16 Dec 2011 13:07:41 +0000 (14:07 +0100)
bzr revid: ahu@openerp.com-20111216083515-tvmyyn1zzh34qzfp
bzr revid: ahu@openerp.com-20111216130741-a6f0bv7ixq16osg6

1  2 
addons/web/static/src/css/base.css
addons/web/static/src/xml/base.xml

@@@ -671,7 -669,7 +678,6 @@@ label.error 
      color: #7D7979;
      font-weight: bold;
      padding: 2px 0 2px 10px;
--    margin-top: 4px;
      text-decoration: none;
  }
  .openerp .searchview_group_string:hover {
  }
  .openerp .searchview_group.expanded .searchview_group_content {
      display: block;
++    padding-bottom:3px;
  }
  
  .openerp .searchview_group_content .oe_label, .openerp .searchview_group_content .oe_label_help {
  }
  
  .openerp .oe_search-view-buttons {
--    padding: 10px 0 10px 0;
++    padding: 2px 0 10px 0;
 +    vertical-align:middle;
  }
  .openerp .oe_search-view-filters-management {
      float: right;
      border-bottom: 1px solid #E3E3E3;
  }
  
++
 +.openerp .oe-listview td.oe-actions { 
 +    border-bottom:none;
 +}
 +
- .openerp .oe-listview .oe-record-selector {
+ .openerp .oe-listview .oe-record-selector, .openerp .oe-listview .oe-record-edit-link {
      border-bottom: 1px solid #E3E3E3;
  }
+ .openerp .oe-listview .oe-record-edit-link {
+     cursor: pointer;
+ }
  
  .openerp .oe-listview .oe-field-cell {
      cursor: pointer;
@@@ -1811,102 -1743,101 +1822,198 @@@ ul.oe-arrow-list li.oe-arrow-list-selec
  }
  .openerp .oe_view_editor_tree_grid a {
      display: block;
 +}
 +
 +.openerp .oe_vm_switch {
 +    margin:2px 0 0 0;
 +}
 +
 +.openerp .oe_vm_switch button {
 +    background: url("/web/static/src/img/views-icons-a.png") repeat-x scroll left top transparent;
 +    overflow: hidden;
 +    width: 22px;
 +    height: 21px;
 +    border: none;
 +}
 +
 +.openerp .oe_vm_switch button {
 +    background-position:0px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="list"] {
 +    background-position:0px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="list"]:active,
 +.openerp .oe_vm_switch button[data-view-type="list"]:hover,
 +.openerp .oe_vm_switch button[data-view-type="list"]:focus,
 +.openerp .oe_vm_switch button[data-view-type="list"][disabled="disabled"] {
 +    background-position:0px -21px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="form"] {
 +    background-position:-22px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="form"]:active,
 +.openerp .oe_vm_switch button[data-view-type="form"]:hover,
 +.openerp .oe_vm_switch button[data-view-type="form"]:focus,
 +.openerp .oe_vm_switch button[data-view-type="form"][disabled="disabled"] {
 +    background-position:-22px -21px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="graph"] {
 +    background-position:-44px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="graph"]:active,
 +.openerp .oe_vm_switch button[data-view-type="graph"]:hover,
 +.openerp .oe_vm_switch button[data-view-type="graph"]:focus,
 +.openerp .oe_vm_switch button[data-view-type="graph"][disabled="disabled"] {
 +    background-position:-44px -21px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="gantt"] {
 +    background-position:-66px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="gantt"]:active,
 +.openerp .oe_vm_switch button[data-view-type="gantt"]:hover,
 +.openerp .oe_vm_switch button[data-view-type="gantt"]:focus,
 +.openerp .oe_vm_switch button[data-view-type="gantt"][disabled="disabled"] {
 +    background-position:-66px -21px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="calendar"] {
 +    background-position:-88px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="calendar"]:active,
 +.openerp .oe_vm_switch button[data-view-type="calendar"]:hover,
 +.openerp .oe_vm_switch button[data-view-type="calendar"]:focus,
 +.openerp .oe_vm_switch button[data-view-type="calendar"][disabled="disabled"]{
 +    background-position:-88px -21px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="kanban"] {
 +    background-position:-110px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="kanban"]:active,
 +.openerp .oe_vm_switch button[data-view-type="kanban"]:hover,
 +.openerp .oe_vm_switch button[data-view-type="kanban"]:focus,
 +.openerp .oe_vm_switch button[data-view-type="kanban"][disabled="disabled"] {
 +    background-position:-110px -21px;
 +}
 +
 +.openerp .oe_vm_switch button[data-view-type="diagram"] {
 +    background-position:0px 0px;
 +}
 +.openerp .oe_vm_switch button[data-view-type="diagram"]:active,
 +.openerp .oe_vm_switch button[data-view-type="diagram"]:hover,
 +.openerp .oe_vm_switch button[data-view-type="diagram"]:focus,
 +.openerp .oe_vm_switch button[data-view-type="diagram"][disabled="disabled"] {
 +    background-position:0px -21px;
 +}
 +
 +.openerp .oe-list-pager button[disabled="disabled"], .openerp .oe_form_pager button[disabled="disabled"] {
 +    opacity:0.5;
 +      filter:alpha(opacity=50); /* For IE8 and earlier */ 
 +}
 +.openerp .oe-list-pager button[data-pager-action="first"], .openerp .oe_form_pager button[data-pager-action="first"] {
 +    background: url("/web/static/src/img/pager_first.png") no-repeat scroll center center transparent;
 +}
 +.openerp .oe-list-pager button[data-pager-action="previous"], .openerp .oe_form_pager button[data-pager-action="previous"] {
 +    background: url("/web/static/src/img/pager_left.png") no-repeat scroll center center transparent;
 +}
 +.openerp .oe-list-pager button[data-pager-action="next"], .openerp .oe_form_pager button[data-pager-action="next"] {
 +    background: url("/web/static/src/img/pager_right.png") no-repeat scroll center center transparent;
 +}
 +.openerp .oe-list-pager button[data-pager-action="last"], .openerp .oe_form_pager button[data-pager-action="last"] {
 +    background: url("/web/static/src/img/pager_last.png") no-repeat scroll center center transparent;
  }
  
+ /* Buttons */
+ .openerp a.button:link,
+ .openerp a.button:visited,
+ .openerp button {
+     display: inline-block;
+     border: 1px solid #ababab;
+     color: #404040;
+     font-size: 12px;
+     padding: 3px 10px;
+     text-align: center;
+     -o-background-size: 100% 100%;
+     -moz-background-size: 100% 100%;
+     -webkit-background-size: auto auto !important;
+     background-size: 100% 100%;
+     background: #d8d8d8 none;
+     background: none, -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8));
+     background: none, -webkit-linear-gradient(#efefef, #d8d8d8);
+     background: none, -moz-linear-gradient(#efefef, #d8d8d8);
+     background: none, -o-linear-gradient(top, #efefef, #d8d8d8);
+     background: none, -khtml-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8));
+     -moz-border-radius: 3px;
+     -webkit-border-radius: 3px;
+     -o-border-radius: 3px;
+     -ms-border-radius: 3px;
+     border-radius: 3px;
+     -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+     -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+     -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+     text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
+     -webkit-font-smoothing: antialiased;
+     outline: none;
+ }
+ .openerp a.button:hover,
+ .openerp button:hover {
+     -o-background-size: 100% 100%;
+     -moz-background-size: 100% 100%;
+     -webkit-background-size: auto auto !important;
+     background-size: 100% 100%;
+     background: #e3e3e3 none;
+     background: none, -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
+     background: none, -webkit-linear-gradient(#f6f6f6, #e3e3e3);
+     background: none, -moz-linear-gradient(#f6f6f6, #e3e3e3);
+     background: none, -o-linear-gradient(top, #f6f6f6, #e3e3e3);
+     background: none, -khtml-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
+     cursor: pointer;
+ }
+ .openerp a.button:focus,
+ .openerp button:focus {
+     border: 1px solid #80bfff;
+     -o-background-size: 100% 100%;
+     -moz-background-size: 100% 100%;
+     -webkit-background-size: auto auto !important;
+     background-size: 100% 100%;
+     background: #e3e3e3, none;
+     background: none, -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
+     background: none, -webkit-linear-gradient(#f6f6f6, #e3e3e3);
+     background: none, -moz-linear-gradient(#f6f6f6, #e3e3e3);
+     background: none, -o-linear-gradient(top, #f6f6f6, #e3e3e3);
+     background: none, -khtml-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
+     -moz-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+     -webkit-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+     -o-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+     box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
+ }
+ .openerp a.button:active,
+ .openerp a.button.active,
+ .openerp button:active,
+ .openerp button.active {
+     background: #e3e3e3;
+     background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;
+     background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f;
+     background: linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f;
+     -moz-box-shadow: none, 0 0 0 transparent;
+     -webkit-box-shadow: none, 0 0 0 transparent;
+     -o-box-shadow: none, 0 0 0 transparent;
+     box-shadow: none, 0 0 0 transparent;
+ }
+ .openerp a.button.disabled,
+ .openerp button:disabled {
+     background: #efefef !important;
+     border: 1px solid #d1d1d1 !important;
+     font-size: 12px;
+     padding: 3px 10px;
+     -moz-box-shadow: none !important, 0 0 0 transparent;
+     -webkit-box-shadow: none !important, 0 0 0 transparent;
+     -o-box-shadow: none !important, 0 0 0 transparent;
+     box-shadow: none !important, 0 0 0 transparent;
+     color: #aaaaaa !important;
+     cursor: default;
+     text-shadow: 0 1px 1px white !important;
+ }
                  </h2>
                  <div class="oe_vm_switch">
                      <t t-if="views.length != 1" t-foreach="views" t-as="view">
-                         <button type="button" t-att-data-view-type="view.view_type" t-att-title="view.view_type"></button>
 -                        <button type="button" t-att-data-view-type="view.view_type">
 -                            <t t-esc="view.label || view.view_type"/>
++
++                        <button type="button" t-att-data-view-type="view.view_type" t-att-title="view.view_type">
++
+                         </button>
                      </t>
                  </div>
              </div>
      </div>
  </t>
  <t t-name="FieldURI.readonly">
 -    <a href="#" class="oe_form_uri">#</a>
 +    <div>
-         <a href="#">#</a>
++        <a href="#" class="oe_form_uri">#</a>
 +    </div>
  </t>
  <t t-name="FieldEmail">
      <table cellpadding="0" cellspacing="0" border="0" width="100%">