summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-04-08 13:31:07 +0200
committerThibault Delavallée <tde@openerp.com>2014-04-08 13:31:07 +0200
commita43998c41f05f58f6fc053fa6824b527debb2068 (patch)
treecffd656c52a1be9e5adaa77d85f64b6f68c7cdb6 /addons/web/static/src/css
parenta74eb749ae38784f370a9eeb073c3bbf09b35bbd (diff)
[IMP] web: stat buttons: some CSS fixes + added barchart button
that display a barchart. Whoo. bzr revid: tde@openerp.com-20140408113107-y9zstny6a0ybi38l
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css10
-rw-r--r--addons/web/static/src/css/base.sass6
2 files changed, 15 insertions, 1 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 5469c5376b0..a0f69ff1514 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1,4 +1,4 @@
-@charset "UTF-8";
+@charset "utf-8";
@font-face {
font-family: "mnmliconsRegular";
src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot");
@@ -494,9 +494,17 @@
width: 37px;
text-align: center;
}
+.openerp .oe_button_box .oe_stat_button .oe_form_field_percent_pie {
+ width: 42px;
+}
+.openerp .oe_button_box .oe_stat_button .oe_form_field_bar_chart {
+ width: 42px;
+}
.openerp .oe_button_box .oe_stat_button svg {
width: 38px;
height: 38px;
+ display: inline;
+ vertical-align: middle;
}
.openerp .oe_avatar > img {
max-height: 90px;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 65f22a89481..c8121749194 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -461,9 +461,15 @@ $sheet-padding: 16px
padding: 0px 3px
width: 37px
text-align: center
+ .oe_form_field_percent_pie
+ width: 42px
+ .oe_form_field_bar_chart
+ width: 42px
svg
width: 38px
height: 38px
+ display: inline
+ vertical-align: middle
.oe_avatar
> img
max-height: 90px