summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorFrédéric van der Essen <fva@openerp.com>2012-10-08 17:57:19 +0200
committerFrédéric van der Essen <fva@openerp.com>2012-10-08 17:57:19 +0200
commit41daef35ed22f605d37aa528aaa802e8d6eb568b (patch)
tree3b728f4a95b54503dca7324eb0e08a6743240b8a /addons/web/static/src
parent2ada6891489e77bfd3cbeaa6b8f76866bb5d5845 (diff)
parentf175541201a4e0ce5e49c4d9c9d41e2ec809c9ae (diff)
[MERGE] css fixes
bzr revid: fva@openerp.com-20121008155719-0xj1of9yg0w9vm4f
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css62
-rw-r--r--addons/web/static/src/css/base.sass39
2 files changed, 55 insertions, 46 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 44fcadbf9cc..c8f1567bee9 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -68,10 +68,13 @@
background-color: #f0f0f0;
}
.openerp thead th {
- border-right: 1px dotted #afafb6;
+ border-left: 1px solid #dfdfdf;
}
-.openerp thead th:last-child {
- border-right: none;
+.openerp thead th:first-child {
+ border-left: none;
+}
+.openerp thead th.null {
+ border-left: none;
}
.openerp th, .openerp td {
padding: 0;
@@ -521,28 +524,6 @@
.openerp .oe_grey {
color: #aaaaaa;
}
-.openerp header {
- position: relative;
- border-bottom: 1px solid #cacaca;
- padding-left: 2px;
- background-color: #fcfcfc;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
- background-image: -webkit-linear-gradient(top, #fcfcfc, #dedede);
- background-image: -moz-linear-gradient(top, #fcfcfc, #dedede);
- background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
- background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
- background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
-}
-.openerp header > span {
- margin-left: 4px;
-}
-.openerp header ul {
- display: inline-block;
- float: right;
-}
-.openerp header .oe_button {
- margin: 3px 2px 1px;
-}
.openerp .oe_tag {
border: 1px solid #afafb6;
font-size: 11px;
@@ -1203,7 +1184,7 @@
color: white;
padding: 2px 4px;
margin: 1px 6px 0 0;
- border: 1px solid lightGray;
+ border: 1px solid lightgrey;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
@@ -1228,7 +1209,7 @@
transform: scale(1.1);
}
.openerp .oe_secondary_submenu .oe_active {
- border-top: 1px solid lightGray;
+ border-top: 1px solid lightgrey;
border-bottom: 1px solid #dedede;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2);
@@ -2043,6 +2024,31 @@
.openerp .oe_application .oe_form_sheet .oe_notebook_page {
padding: 0 16px;
}
+.openerp .oe_form header {
+ position: relative;
+ border-bottom: 1px solid #cacaca;
+ padding-left: 2px;
+ background-color: #fcfcfc;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
+ background-image: -webkit-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: -moz-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
+ background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
+}
+.openerp .oe_form header > span {
+ margin-left: 4px;
+}
+.openerp .oe_form header ul {
+ display: inline-block;
+ float: right;
+}
+.openerp .oe_form header .oe_button {
+ margin: 3px 2px 1px;
+}
+.openerp .oe_form header .oe_button:first-child {
+ margin-left: 6px;
+}
.openerp .oe_form header .oe_tags {
margin: 5px 0 0 5px;
width: 400px;
@@ -2124,7 +2130,7 @@
}
.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {
font-size: 80%;
- color: darkGreen;
+ color: darkgreen;
vertical-align: top;
position: relative;
top: -4px;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 1ab41aa400f..823ced4e24f 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -180,9 +180,11 @@ $sheet-max-width: 860px
font-weight: bold
background-color: #f0f0f0
th
- border-right: 1px dotted $tag-border
- &:last-child
- border-right: none
+ border-left: 1px solid #dfdfdf
+ &:first-child
+ border-left: none
+ &.null
+ border-left: none
th, td
padding: 0
text-align: left
@@ -457,21 +459,6 @@ $sheet-max-width: 860px
// }}}
- // Generic blocks {{{
- header
- position: relative
- border-bottom: 1px solid #cacaca
- padding-left: 2px
- @include vertical-gradient(#fcfcfc, #dedede)
- > span
- margin-left: 4px
- ul
- display: inline-block
- float: right
- .oe_button
- margin: 3px 2px 1px
- // }}}
-
// Tags (for many2many tags, among others) {{{
.oe_tag
border: 1px solid $tag-border
@@ -1618,6 +1605,22 @@ $sheet-max-width: 860px
.oe_notebook_page
padding: 0 16px
// }}}
+ // FormView.header {{{
+ .oe_form header
+ position: relative
+ border-bottom: 1px solid #cacaca
+ padding-left: 2px
+ @include vertical-gradient(#fcfcfc, #dedede)
+ > span
+ margin-left: 4px
+ ul
+ display: inline-block
+ float: right
+ .oe_button,
+ margin: 3px 2px 1px
+ &:first-child
+ margin-left: 6px
+ // }}}
// FormView.custom tags and classes {{{
.oe_form header .oe_tags
margin: 5px 0 0 5px