summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorvta vta@openerp.com <>2012-08-08 14:18:25 +0200
committervta vta@openerp.com <>2012-08-08 14:18:25 +0200
commit3a139b4916c92405d5789fdcae6425bdbd17c025 (patch)
tree1d06fdddc66e002552ff2080b27ed77ebfe5c350 /addons/web/static/src/css
parent52a01828c6b0fd9b7e51ed32ac6bb4fec69669d2 (diff)
parent9db8f8ac64c9ce3cd5e5b1610c8aaed1ffbd4364 (diff)
[MERGE] Latest trunk.
bzr revid: vta@openerp.com-20120808121825-o7sodegi37ineu8r
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css53
-rw-r--r--addons/web/static/src/css/base.sass50
2 files changed, 88 insertions, 15 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 6eeb5e333c5..85c59ccada7 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -78,7 +78,7 @@
background: white;
/* http://www.quirksmode.org/dom/inputfile.html
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
- */
+ */ */
}
.openerp :-moz-placeholder {
color: #afafb6 !important;
@@ -509,6 +509,14 @@
.openerp .oe_avatar + div {
margin-left: 5px;
}
+.openerp .oe_image_small > img {
+ max-width: 50px;
+ max-height: 50px;
+}
+.openerp .oe_image_medium > img {
+ max-width: 180px;
+ max-height: 180px;
+}
.openerp .oe_button.oe_link {
border: none;
padding: 0;
@@ -602,6 +610,19 @@
.openerp.oe_tooltip .oe_tooltip_technical_title {
font-weight: bold;
}
+.openerp.oe_tooltip .oe_tooltip_close {
+ margin: -5px 0 0 2px;
+ cursor: default;
+ float: right;
+ color: white;
+}
+.openerp.oe_tooltip .oe_tooltip_close:hover {
+ color: #999999;
+ cursor: pointer;
+}
+.openerp.oe_tooltip .oe_tooltip_message {
+ max-width: 310px;
+}
.openerp .oe_notebook {
margin: 8px 0;
padding: 0 16px;
@@ -2238,7 +2259,7 @@
width: 100%;
display: inline-block;
padding: 2px 2px 2px 0px;
- line-height: 18px;
+ line-height: 1em;
}
.openerp .oe_form .oe_form_field input {
margin: 0px;
@@ -2327,10 +2348,10 @@
overflow: hidden;
}
.openerp .oe_form_editable .oe_form .oe_form_field_integer {
- width: 7em !important;
+ width: 6em !important;
}
.openerp .oe_form_editable .oe_form .oe_form_field_float {
- width: 8em !important;
+ width: 7em !important;
}
.openerp .oe_form_editable .oe_form .oe_form_field_date {
width: 7.5em !important;
@@ -2449,6 +2470,11 @@
.openerp .oe_list {
position: relative;
}
+.openerp .oe_list .oe_form .oe_form_nosheet {
+ margin: 0;
+ padding: 0;
+ border: none;
+}
.openerp .oe_list .oe_form .oe_form_field {
width: auto;
position: absolute;
@@ -2560,6 +2586,25 @@
.openerp .oe_list_content .numeric input {
text-align: right;
}
+.openerp .oe_list_content th.oe_list_header_handle {
+ font-size: 1px;
+ overflow: hidden;
+ text-indent: -9001px;
+}
+.openerp .oe_list_content td.oe_list_field_handle {
+ width: 1em;
+ cursor: ns-resize;
+}
+.openerp .oe_list_content td.oe_list_field_handle .oe_list_handle {
+ font-size: 1px;
+ letter-spacing: -1px;
+ color: transparent;
+}
+.openerp .oe_list_content td.oe_list_field_handle .oe_list_handle:before {
+ font: 21px "mnmliconsRegular";
+ content: "ö";
+ color: #404040;
+}
.openerp .tree_header {
background-color: #f0f0f0;
border-bottom: 1px solid #cacaca;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 688c306169b..4963369ecbb 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -408,6 +408,12 @@ $sheet-max-width: 860px
border: none
.oe_avatar + div
margin-left: 5px
+ .oe_image_small > img
+ max-width: 50px
+ max-height: 50px
+ .oe_image_medium > img
+ max-width: 180px
+ max-height: 180px
.oe_button.oe_link
@include reset()
img
@@ -429,9 +435,6 @@ $sheet-max-width: 860px
text-decoration: none
.oe_star_on
color: gold
- .oe_bounce
- -moz-animation: bounce .40s linear
- -webkit-animation: bounce .40s linear
// }}}
// Tags (for many2many tags, among others) {{{
.oe_tag
@@ -469,6 +472,16 @@ $sheet-max-width: 860px
list-style: circle
.oe_tooltip_technical_title
font-weight: bold
+ .oe_tooltip_close
+ margin: -5px 0 0 2px
+ cursor: default
+ float: right
+ color: white
+ &:hover
+ color: #999
+ cursor: pointer
+ .oe_tooltip_message
+ max-width: 310px
// }}}
// Notebook {{{
.oe_notebook
@@ -1645,7 +1658,7 @@ $sheet-max-width: 860px
width: 100%
display: inline-block
padding: 2px 2px 2px 0px
- line-height: 18px
+ line-height: 1em
input
margin: 0px
input[type="text"], input[type="password"], input[type="file"], select
@@ -1712,9 +1725,9 @@ $sheet-max-width: 860px
.oe_form_editable
.oe_form
.oe_form_field_integer
- width: 7em !important
+ width: 6em !important
.oe_form_field_float
- width: 8em !important
+ width: 7em !important
.oe_form_field_date
width: 7.5em !important
.oe_form_field_datetime
@@ -1831,11 +1844,16 @@ $sheet-max-width: 860px
.oe_list
position: relative
- .oe_form .oe_form_field
- width: auto
- position: absolute
- margin: 0 !important // dammit
- padding: 0
+ .oe_form
+ .oe_form_nosheet
+ margin: 0 // FIXME: either class or border should not be by default
+ padding: 0
+ border: none
+ .oe_form_field
+ width: auto
+ position: absolute
+ margin: 0 !important // dammit
+ padding: 0
.oe_list_content
width: 100%
@@ -1908,6 +1926,16 @@ $sheet-max-width: 860px
width: 82px
input
text-align: right
+ th.oe_list_header_handle
+ font-size: 1px
+ overflow: hidden
+ text-indent: -9001px
+ td.oe_list_field_handle
+ width: 1em
+ cursor: ns-resize
+ .oe_list_handle
+ @include text-to-icon("ö")
+
// }}}
// Tree view {{{
.tree_header