summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorMinh Tran <mit@openerp.com>2012-05-10 19:54:35 +0200
committerMinh Tran <mit@openerp.com>2012-05-10 19:54:35 +0200
commitdf504e2e17b12468cc520b4a48c4a9c8c3330861 (patch)
tree54119489d66b144da210badbc1c590ca3e1533ef /addons/web/static/src/css
parent5121d6693f6eae84ab6f18fbe3b7457a43cd5b33 (diff)
revert to table for header
bzr revid: mit@openerp.com-20120510175435-stbl7vszjru3xwr1
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css14
-rw-r--r--addons/web/static/src/css/base.sass14
2 files changed, 16 insertions, 12 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 5f54b1eb425..3fbe09b114e 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -925,11 +925,15 @@
-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
}
.openerp .oe_view_manager_header .oe_header_row {
- min-height: 26px;
- margin: 8px;
clear: both;
text-shadow: 0 1px 1px white;
}
+.openerp .oe_view_manager_header .oe_header_row td {
+ padding: 8px;
+}
+.openerp .oe_view_manager_header .oe_header_row:last-child td {
+ padding-top: 0;
+}
.openerp .oe_view_manager_header .oe_view_manager_sidebar {
margin: 0px auto;
width: 400px;
@@ -940,7 +944,7 @@
}
.openerp .oe_view_manager_header h2 {
font-size: 18px;
- margin-top: 3px;
+ margin: 0;
float: left;
}
.openerp .oe_view_manager_header h2 a {
@@ -983,7 +987,6 @@
margin: 8px 0;
}
.openerp .oe_view_manager_pager {
- height: 26px;
line-height: 26px;
}
.openerp .oe_pager_value {
@@ -1133,7 +1136,6 @@
min-height: 0;
padding: 0;
width: 480px;
- margin-bottom: 8px;
border: 1px solid #ababab;
-moz-border-radius: 13px;
-webkit-border-radius: 13px;
@@ -1257,7 +1259,7 @@
top: 100%;
right: 0;
background-color: white;
- width: 410px;
+ width: 480px;
display: none;
border: 1px solid #cccccc;
text-align: left;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index f0f6270f1f8..51bd2524c9e 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -722,11 +722,15 @@ $colour4: #8a89ba
@include vertical-gradient(#fcfcfc, #dedede)
@include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
.oe_header_row
- min-height: 26px
+ //min-height: 26px
//line-height: 26px
- margin: 8px
clear: both
text-shadow: 0 1px 1px white
+ td
+ padding: 8px
+ .oe_header_row:last-child
+ td
+ padding-top: 0
.oe_view_manager_sidebar
margin: 0px auto
width: 400px
@@ -735,7 +739,7 @@ $colour4: #8a89ba
line-height: 26px
h2
font-size: 18px
- margin-top: 3px
+ margin: 0
float: left
a
color: $colour4
@@ -768,7 +772,6 @@ $colour4: #8a89ba
// }}}
// ViewManager.pager {{{
.oe_view_manager_pager
- height: 26px
line-height: 26px
.oe_pager_value
float: left
@@ -885,7 +888,6 @@ $colour4: #8a89ba
min-height: 0
padding: 0
width: 480px
- margin-bottom: 8px
border: 1px solid #ababab
@include radius(13px)
@include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
@@ -1001,7 +1003,7 @@ $colour4: #8a89ba
top: 100%
right: 0
background-color: white
- width: 410px
+ width: 480px
display: none
border: 1px solid #ccc
text-align: left