summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-03-13 13:48:55 +0100
committerGery Debongnie <ged@openerp.com>2014-03-13 13:48:55 +0100
commitf4519c11f2a7dc4c003bb6ccf036b5f2c8764676 (patch)
treea7a0c0bab87c3aa021008e0787e48aff22252db3 /addons/web/static/src
parentd2637811dec84306ab80cc49f40a8b823d7984a6 (diff)
[IMP] css tweaks to stat buttons
bzr revid: ged@openerp.com-20140313124855-h8ez7ajj31u1x9vf
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css22
-rw-r--r--addons/web/static/src/css/base.sass22
2 files changed, 28 insertions, 16 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 524bd79cc52..0b432d0c145 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -368,6 +368,7 @@
.openerp .oe_left {
float: left;
margin-right: 8px;
+ width: 305px;
}
.openerp .oe_right {
float: right;
@@ -456,29 +457,34 @@
background: #ed6f6a;
}
.openerp .oe_button_box {
- width: 270px;
- text-align: right;
-}
-.openerp .oe_button_box button {
- margin: 4px;
+ width: 400px;
+ text-align: left;
}
.openerp .oe_button_box .oe_stat_button {
font-weight: normal;
display: inline-table;
- width: 48% !important;
+ width: 33% !important;
height: 45px;
- margin: 0px;
+ margin: 0px -1px -1px 0px;
color: #666666;
+ border-color: #dddddd;
}
.openerp .oe_button_box .oe_stat_button > div {
display: table-cell;
vertical-align: middle;
+ text-align: left;
padding: 0;
}
.openerp .oe_button_box .oe_stat_button .stat_button_icon {
color: #7c7bad;
font-size: 24px;
- padding: 4px;
+ padding: 0px;
+ text-align: center;
+ width: 40px;
+}
+.openerp .oe_button_box .oe_stat_button svg {
+ width: 38px;
+ height: 38px;
}
.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 f81232b7ee8..336f583e019 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -385,6 +385,7 @@ $sheet-padding: 16px
.oe_left
float: left
margin-right: 8px
+ width: 305px
.oe_right
float: right
margin-left: 8px
@@ -429,25 +430,30 @@ $sheet-padding: 16px
&:hover
background: #ED6F6A
.oe_button_box
- width: 270px
- text-align: right
- button
- margin: 4px
+ width: 400px
+ text-align: left
.oe_stat_button
font-weight: normal
display: inline-table
- width: 48% !important
+ width: 33% !important
height: 45px
- margin: 0px
+ margin: 0px -1px -1px 0px
color: #666
+ border-color: #ddd
> div
display: table-cell
vertical-align: middle
- padding: 0
+ text-align: left
+ padding: 0
.stat_button_icon
color: #7C7BAD
font-size: 24px
- padding: 4px
+ padding: 0px
+ text-align: center
+ width: 40px
+ svg
+ width: 38px
+ height: 38px
.oe_avatar
> img
max-height: 90px