summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-04-30 10:34:44 +0200
committerChristophe Matthieu <chm@openerp.com>2013-04-30 10:34:44 +0200
commitd47824c79291b4904c5b3087b7bdf16fd84c0a50 (patch)
treeec141eb2df81e07e89e0f5985c1aaf83eea97088 /addons/web/static/src/css
parentb8a5ec1dc9cfbac79fd8a540c01a7c0749c522f9 (diff)
parent511efd43a90b6bbc30bac9764358fc81b42fb13a (diff)
[MERGE] from trunk
bzr revid: chm@openerp.com-20130430083444-r300f3a2s5kgbj9k
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css46
-rw-r--r--addons/web/static/src/css/base.sass39
2 files changed, 80 insertions, 5 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 27e4430c6cf..23eaea345ff 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -544,6 +544,29 @@
background: #7c7bad;
color: #eeeeee;
}
+.openerp .oe_form_field_radio.oe_horizontal {
+ white-space: nowrap;
+}
+.openerp .oe_form_field_radio.oe_horizontal label {
+ display: inline-block;
+ text-align: center;
+ height: 16px;
+}
+.openerp .oe_form_field_radio.oe_vertical label {
+ margin-left: 4px;
+}
+.openerp .oe_form_field_radio.oe_form_required .oe_radio_input {
+ border: 2px solid transparent;
+ display: inline-block;
+ height: 12px;
+ width: 12px;
+ vertical-align: bottom;
+ border-radius: 10px;
+ margin: 1px 0;
+}
+.openerp .oe_form_field_radio.oe_form_required.oe_form_invalid .oe_radio_input {
+ border-color: red;
+}
.openerp .oe_tags {
margin-bottom: 1px;
}
@@ -1703,6 +1726,7 @@
font-size: 1px;
letter-spacing: -1px;
color: transparent;
+ text-shadow: none;
font-weight: normal;
-moz-box-shadow: none;
-webkit-box-shadow: none;
@@ -2105,6 +2129,9 @@
.openerp .oe_form_invisible {
display: none !important;
}
+.openerp .oe_form_editable .oe_read_only {
+ display: none !important;
+}
.openerp .oe_form_readonly .oe_edit_only, .openerp .oe_form_readonly .oe_form_field:empty {
display: none !important;
}
@@ -2380,6 +2407,7 @@
background: white;
min-width: 60px;
color: #1f1f1f;
+ font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif;
}
.openerp .oe_form input[readonly], .openerp .oe_form select[readonly], .openerp .oe_form textarea[readonly], .openerp .oe_form input[disabled], .openerp .oe_form select[disabled] {
background: #e5e5e5 !important;
@@ -2394,6 +2422,7 @@
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
+ color: #4c4c4c;
}
.openerp .oe_form textarea.oe_inline[disabled] {
border-left: 8px solid #eeeeee;
@@ -2468,10 +2497,10 @@
width: 7em;
}
.openerp .oe_form_editable .oe_form .oe_form_field_date input {
- width: 7.5em;
+ width: 100px;
}
.openerp .oe_form_editable .oe_form .oe_form_field_datetime input {
- width: 11.5em;
+ width: 150px;
}
.openerp .oe_hidden_input_file {
position: relative;
@@ -3018,6 +3047,7 @@
font-size: 1px;
letter-spacing: -1px;
color: transparent;
+ text-shadow: none;
font-weight: normal;
margin-right: 7px;
}
@@ -3154,6 +3184,15 @@
opacity: 0.7;
}
+.loading-kitten {
+ -moz-border-radius: 15px;
+ -webkit-border-radius: 15px;
+ border-radius: 15px;
+ -moz-box-shadow: 0 0 5px 5px #999999;
+ -webkit-box-shadow: 0 0 5px 5px #999999;
+ box-shadow: 0 0 5px 5px #999999;
+}
+
div.ui-widget-overlay {
background: black;
filter: alpha(opacity=30);
@@ -3207,6 +3246,9 @@ div.ui-widget-overlay {
color: #afafb6 !important;
font-style: italic !important;
}
+.openerp_ie .oe_form_binary_file {
+ width: 80px;
+}
.openerp_ie .oe_form_field_boolean input {
background: white;
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 90d576eb6a1..dd73fe5b4c0 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -123,6 +123,7 @@ $sheet-padding: 16px
font-size: 1px
letter-spacing: -1px
color: transparent
+ text-shadow: none
font-weight: normal
&:before
font: 21px "mnmliconsRegular"
@@ -133,6 +134,7 @@ $sheet-padding: 16px
font-size: 1px
letter-spacing: -1px
color: transparent
+ text-shadow: none
font-weight: normal
&:before
font: $size "entypoRegular"
@@ -480,7 +482,28 @@ $sheet-padding: 16px
.oe_tag_dark
background: $tag-bg-dark
color: #eee
-
+ .oe_form_field_radio
+ &.oe_horizontal
+ white-space: nowrap
+ label
+ display: inline-block
+ text-align: center
+ height: 16px
+ &.oe_vertical
+ label
+ margin-left: 4px
+ &.oe_form_required
+ .oe_radio_input
+ border: 2px solid transparent
+ display: inline-block
+ height: 12px
+ width: 12px
+ vertical-align: bottom
+ border-radius: 10px
+ margin: 1px 0
+ &.oe_form_invalid
+ .oe_radio_input
+ border-color: red
.oe_tags
&.oe_inline
min-width: 250px
@@ -1664,6 +1687,9 @@ $sheet-padding: 16px
@include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
.oe_form_invisible
display: none !important
+ .oe_form_editable
+ .oe_read_only
+ display: none !important
.oe_form_readonly
.oe_edit_only, .oe_form_field:empty
display: none !important
@@ -1885,6 +1911,7 @@ $sheet-padding: 16px
background: white
min-width: 60px
color: #1f1f1f
+ font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
background: #E5E5E5 !important
color: #666
@@ -1893,6 +1920,7 @@ $sheet-padding: 16px
padding-left: 8px
@include box-shadow(none)
@include radius(0px)
+ color: #4c4c4c
textarea.oe_inline[disabled]
border-left: 8px solid #eee
.oe_form_field_url button img
@@ -1954,9 +1982,9 @@ $sheet-padding: 16px
.oe_form_field_float input
width: 7em
.oe_form_field_date input
- width: 7.5em
+ width: 100px
.oe_form_field_datetime input
- width: 11.5em
+ width: 150px
// }}}
// FormView.fields_binary {{{
/* http://www.quirksmode.org/dom/inputfile.html
@@ -2483,6 +2511,9 @@ $sheet-padding: 16px
background-attachment: fixed
>*
opacity: 0.70
+.loading-kitten
+ @include radius(15px)
+ @include box-shadow(0 0 5px 5px #999)
// }}}
// jQueryUI top level {{{
@@ -2530,6 +2561,8 @@ div.ui-widget-overlay
.placeholder
color: $tag-border !important
font-style: italic !important
+ .oe_form_binary_file
+ width: 80px
.oe_form_field_boolean input
background: #fff
.db_option_table .oe_form_field_selection