summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2013-06-13 19:39:00 +0200
committerChristophe Simonis <chs@openerp.com>2013-06-13 19:39:00 +0200
commita61e7cb0c80ae773cab9753bd8a4e7e888bbf415 (patch)
tree019a235869a5e087055700895d4584c80e2f9afb /addons/web/static/src/css
parent5ed0ac2614b9430e61dae472d657a21c037d6ee9 (diff)
parent180e6e41d81e28df43b41e3cb6131225d4169a28 (diff)
[MERGE] forward port of branch saas-1 up to revid 4887 chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
bzr revid: chs@openerp.com-20130613172414-dln3g4j0ykcwaa02 bzr revid: chs@openerp.com-20130613173900-xl7rh321nnw2b04b
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css30
-rw-r--r--addons/web/static/src/css/base.sass28
2 files changed, 36 insertions, 22 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 863b90a0f38..74e027d3a0b 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -579,6 +579,9 @@
.openerp .oe_tags .text-wrap textarea {
width: 100% !important;
}
+.openerp .oe_tags .text-core {
+ min-height: 22px;
+}
.openerp .oe_tags .text-core .text-wrap .text-dropdown .text-list .text-suggestion em {
font-style: italic;
text-decoration: none;
@@ -698,7 +701,6 @@
display: none;
position: absolute;
top: 26px;
- left: 0;
z-index: 3;
margin: 0;
padding: 0;
@@ -1695,14 +1697,14 @@
top: 0;
right: 18px;
width: 15px;
- height: 100%;
+ height: 24px;
background: url(../img/search_reset.gif) center center no-repeat;
}
.openerp .oe_searchview .oe_searchview_unfold_drawer {
position: absolute;
top: 0;
right: 0;
- height: 100%;
+ height: 24px;
padding: 0 7px 0 4px;
color: #cccccc;
cursor: pointer;
@@ -1751,7 +1753,7 @@
}
.openerp .oe_searchview .oe_searchview_facets {
min-height: 22px;
- margin-left: 15px;
+ margin: 0 35px 0 15px;
}
.openerp .oe_searchview .oe_searchview_facets * {
vertical-align: top;
@@ -1759,7 +1761,6 @@
line-height: 17px;
}
.openerp .oe_searchview .oe_searchview_facets .oe_searchview_facet {
- height: 18px;
margin: 1px 0;
font-size: 11px;
}
@@ -1838,6 +1839,7 @@
display: block;
}
.openerp .oe_searchview .oe_searchview_drawer {
+ cursor: default;
position: absolute;
z-index: 2;
margin-top: 4px;
@@ -1990,7 +1992,6 @@
padding: 0;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced li {
- cursor: pointer;
position: relative;
list-style: none;
margin: 0;
@@ -2147,13 +2148,12 @@
.openerp .oe_form_readonly .oe_form .oe_form_field_date {
width: auto;
}
-.openerp .oe_form_readonly .oe_form_field_boolean .boolean{
+.openerp .oe_form_readonly .oe_form_field_boolean.boolean {
position: relative;
- top: -14px;
+ top: -20px;
width: 14px;
height: 14px;
- z-index:10000;
- /* IE needs a color in order for the layer to respond to mouse events */
+ z-index: 10000;
backgroundColor: "#fff";
opacity: 0;
}
@@ -2395,6 +2395,9 @@
.openerp .oe_form .oe_form_field_selection select {
width: 100%;
}
+.openerp .oe_form .oe_notebook_page .oe_form_field_text textarea {
+ min-height: 96px;
+}
.openerp .oe_form .oe_form_field_text.oe_inline, .openerp .oe_form .oe_form_field_text.oe_inline > textarea {
width: 500px;
}
@@ -2509,6 +2512,10 @@
margin-bottom: 32px;
text-align: justify;
}
+.openerp .oe_form .oe_form_field_html .oe_input_icon {
+ float: right;
+ margin: 4px 7px;
+}
.openerp .oe_form_editable .oe_form .oe_form_field_integer input {
width: 6em;
}
@@ -2997,7 +3004,6 @@
position: relative;
}
.openerp .oe_list_content th.oe_sortable div:after {
- float: right;
margin-right: 6px;
content: "";
margin-top: 7px;
@@ -3007,6 +3013,7 @@
visibility: hidden;
}
.openerp .oe_list_content th.sortup div:after {
+ float: right;
visibility: visible;
filter: alpha(opacity=60);
opacity: 0.6;
@@ -3015,6 +3022,7 @@
min-width: 70px;
}
.openerp .oe_list_content th.sortdown div:after {
+ float: right;
border-bottom: none;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 240dc912206..fc812729cd4 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -511,9 +511,11 @@ $sheet-padding: 16px
width: 100% !important
textarea
width: 100% !important
- .text-core .text-wrap .text-dropdown .text-list .text-suggestion em
- font-style: italic
- text-decoration: none
+ .text-core
+ min-height: 22px
+ .text-wrap .text-dropdown .text-list .text-suggestion em
+ font-style: italic
+ text-decoration: none
margin-bottom: 1px
// }}}
// Tooltips {{{
@@ -605,7 +607,6 @@ $sheet-padding: 16px
display: none
position: absolute
top: 26px
- left: 0
z-index: 3
margin: 0
padding: 0
@@ -1358,13 +1359,13 @@ $sheet-padding: 16px
top: 0
right: 18px
width: 15px
- height: 100%
+ height: 24px
background: url(../img/search_reset.gif) center center no-repeat
.oe_searchview_unfold_drawer
position: absolute
top: 0
right: 0
- height: 100%
+ height: 24px
padding: 0 7px 0 4px
color: #ccc
cursor: pointer
@@ -1397,13 +1398,12 @@ $sheet-padding: 16px
.oe_searchview_facets
min-height: 22px
- margin-left: 15px
+ margin: 0 35px 0 15px
*
vertical-align: top
display: inline-block
line-height: 17px
.oe_searchview_facet
- height: 18px
margin: 1px 0
font-size: 11px
&:focus
@@ -1425,7 +1425,7 @@ $sheet-padding: 16px
border-color: $tag-border-selected
@include box-shadow(0 0 3px 1px $tag-border-selected)
.oe_facet_values
- background: #f0f0fa
+ background: $tag-bg-light
@include radius(0 3px 3px 0)
.oe_facet_category, .oe_facet_value
height: 18px
@@ -1464,6 +1464,7 @@ $sheet-padding: 16px
display: block
.oe_searchview_drawer
+ cursor: default
position: absolute
z-index: 2
// detach drawer from field slightly
@@ -1581,7 +1582,6 @@ $sheet-padding: 16px
list-style: none
padding: 0
li
- cursor: pointer
position: relative
list-style: none
margin: 0
@@ -1904,6 +1904,8 @@ $sheet-padding: 16px
.oe_form_field_text textarea,
.oe_form_field_selection select
width: 100%
+ .oe_notebook_page .oe_form_field_text textarea
+ min-height: 96px
.oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
width: 500px
h1, h2, h3, h4, h5, h6
@@ -1989,6 +1991,9 @@ $sheet-padding: 16px
margin-top: 32px
margin-bottom: 32px
text-align: justify
+ .oe_form_field_html .oe_input_icon
+ float: right
+ margin: 4px 7px
.oe_form_editable
.oe_form
@@ -2372,7 +2377,6 @@ $sheet-padding: 16px
th.oe_sortable div
position: relative
th.oe_sortable div:after
- float: right
margin-right: 6px
content: ""
margin-top: 7px
@@ -2381,11 +2385,13 @@ $sheet-padding: 16px
border-color: #000 transparent
visibility: hidden
th.sortup div:after
+ float: right
visibility: visible
@include opacity(0.6)
.oe_list_header_many2many_tags
min-width: 70px
th.sortdown div:after
+ float: right
border-bottom: none
border-left: 4px solid transparent
border-right: 4px solid transparent