fixed tabs flickering and margin

bzr revid: mit@openerp.com-20120619135357-5wa1ywcvqh90086j
This commit is contained in:
Minh Tran 2012-06-19 15:53:57 +02:00
parent 57edcce3a0
commit 69363d8288
4 changed files with 30 additions and 27 deletions

View File

@ -1,4 +1,4 @@
@charset "utf-8"; @charset "UTF-8";
@font-face { @font-face {
font-family: "mnmliconsRegular"; font-family: "mnmliconsRegular";
src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot"); src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot");
@ -182,9 +182,6 @@
.openerp .ui-menu .ui-menu-item a.ui-state-active { .openerp .ui-menu .ui-menu-item a.ui-state-active {
background: #f0f0fa; background: #f0f0fa;
} }
.openerp .ui-tabs {
margin: 0 -16px;
}
.openerp .oe_i { .openerp .oe_i {
font-family: "mnmliconsRegular" !important; font-family: "mnmliconsRegular" !important;
font-size: 21px; font-size: 21px;
@ -302,7 +299,7 @@
} }
.openerp .oe_notebook { .openerp .oe_notebook {
margin: 8px 0; margin: 8px 0;
padding: 0 8px; padding: 0 16px;
list-style: none; list-style: none;
zoom: 1; zoom: 1;
} }
@ -328,7 +325,6 @@
} }
.openerp .oe_notebook > li { .openerp .oe_notebook > li {
position: relative; position: relative;
margin-bottom: -1px;
} }
.openerp .oe_notebook > li > a { .openerp .oe_notebook > li > a {
padding: 0 12px; padding: 0 12px;
@ -1667,6 +1663,16 @@
max-width: 960px; max-width: 960px;
margin: 0 auto; margin: 0 auto;
} }
.openerp .oe_form_title {
width: 55%;
}
.openerp .oe_form_title:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.openerp ul.oe_form_steps { .openerp ul.oe_form_steps {
height: 30px; height: 30px;
padding: 0; padding: 0;
@ -1746,6 +1752,9 @@
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
} }
.openerp .oe_application .oe_form_sheet .ui-tabs {
margin: 0 -16px;
}
.openerp .oe_form td.oe_form_group_cell_label { .openerp .oe_form td.oe_form_group_cell_label {
border-right: 1px solid #dddddd; border-right: 1px solid #dddddd;
padding: 2px 0px 2px 0px; padding: 2px 0px 2px 0px;
@ -1758,6 +1767,9 @@
.openerp .oe_form td.oe_form_group_cell + .oe_form_group_cell { .openerp .oe_form td.oe_form_group_cell + .oe_form_group_cell {
padding-left: 8px; padding-left: 8px;
} }
.openerp .oe_form .oe_form_group {
margin: 5px 0px 5px 0px;
}
.openerp .oe_form .oe_form_label_help[for], .openerp .oe_form .oe_form_label[for] { .openerp .oe_form .oe_form_label_help[for], .openerp .oe_form .oe_form_label[for] {
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
@ -1976,19 +1988,6 @@
position: relative; position: relative;
overflow: hidden; overflow: hidden;
} }
.openerp .oe_form .oe_form_title {
width: 55%;
}
.openerp .oe_form .oe_form_title:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.openerp .oe_form .oe_form_group {
margin: 5px 0px 5px 0px;
}
.openerp .oe_hidden_input_file { .openerp .oe_hidden_input_file {
overflow: hidden; overflow: hidden;
position: relative; position: relative;

View File

@ -268,7 +268,7 @@ $colour4: #8a89ba
// Notebook {{{ // Notebook {{{
.oe_notebook .oe_notebook
margin: 8px 0 margin: 8px 0
padding: 0 8px padding: 0 16px
list-style: none list-style: none
zoom: 1 zoom: 1
.oe_notebook:before, .oe_notebook:after .oe_notebook:before, .oe_notebook:after
@ -288,7 +288,6 @@ $colour4: #8a89ba
border-width: 0 0 1px border-width: 0 0 1px
.oe_notebook > li .oe_notebook > li
position: relative position: relative
margin-bottom: -1px
.oe_notebook > li > a .oe_notebook > li > a
padding: 0 12px padding: 0 12px
margin-right: 2px margin-right: 2px

View File

@ -1,4 +1,3 @@
@charset "utf-8";
.openerp .oe_kanban_view { .openerp .oe_kanban_view {
height: inherit; height: inherit;
} }
@ -16,6 +15,9 @@
.openerp .oe_kanban_view .oe_kanban_clear { .openerp .oe_kanban_view .oe_kanban_clear {
clear: both; clear: both;
} }
.openerp .oe_kanban_view .oe_kanban_content div:first-child {
margin-right: 12px;
}
.openerp .oe_kanban_view .oe_kanban_groups { .openerp .oe_kanban_view .oe_kanban_groups {
height: inherit; height: inherit;
width: 100%; width: 100%;
@ -385,8 +387,8 @@
} }
.openerp .oe_kanban_view a.oe_kanban_menuaction { .openerp .oe_kanban_view a.oe_kanban_menuaction {
position: absolute; position: absolute;
top: 0px; top: 3px;
right: 3px; right: 6px;
display: none; display: none;
color: #4c4c4c; color: #4c4c4c;
cursor: pointer; cursor: pointer;
@ -399,7 +401,7 @@
position: absolute; position: absolute;
top: 30px; top: 30px;
right: -140px; right: -140px;
padding: 8px; padding: 4px;
border: 1px solid #afafb6; border: 1px solid #afafb6;
min-width: 160px; min-width: 160px;
overflow-x: hidden; overflow-x: hidden;

View File

@ -32,6 +32,9 @@
float: right float: right
.oe_kanban_clear .oe_kanban_clear
clear: both clear: both
.oe_kanban_content
div:first-child
margin-right: 12px
// }}} // }}}
// KanbanGroups {{{ // KanbanGroups {{{
.oe_kanban_groups .oe_kanban_groups
@ -318,8 +321,8 @@
// KanbanDropDown {{{ // KanbanDropDown {{{
a.oe_kanban_menuaction a.oe_kanban_menuaction
position: absolute position: absolute
top: 0px top: 3px
right: 3px right: 6px
display: none display: none
color: #4c4c4c color: #4c4c4c
cursor: pointer cursor: pointer