summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-04-05 18:11:48 +0200
committerThibault Delavallée <tde@openerp.com>2012-04-05 18:11:48 +0200
commit00d70016c95d7c30cfb3c00d10c5164e01491631 (patch)
tree3ea46027610aff95f13344d774a5ee4d11fe5ae8 /addons/web/static/src/css
parentdd521adc3b4aa5de5eee33c00f157b12465c7dd5 (diff)
[IMP] Improved css to match more closely MIT design.
bzr revid: tde@openerp.com-20120405161148-wh0vpgwalmkxffjw
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css27
-rw-r--r--addons/web/static/src/css/base.sass29
2 files changed, 22 insertions, 34 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 0554328c49e..4b47762fc58 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -220,16 +220,18 @@
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
}
-.openerp2 .oe_secondary_submenu li .oe_menu_counter {
+.openerp2 .oe_secondary_submenu .oe_menu_counter {
float: right;
- background: #eeeeee;
- color: #8a89ba;
- font-weight: bold;
- border-width: 1px;
- padding-top: 2px;
- padding-right: 4px;
- padding-left: 4px;
- border-radius: 2px;
+ background: #8a89ba;
+ color: #eeeeee;
+ font-size: 12px;
+ border: 1px solid lightgray;
+ padding: 0px 4px 0px 4px;
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
+ margin: 0px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
}
.openerp2 .oe_secondary_submenu .oe_active {
background: #8a89ba;
@@ -252,15 +254,8 @@
-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.openerp2 .oe_secondary_submenu .oe_active .oe_menu_counter {
- float: right;
background: #eeeeee;
color: #8a89ba;
- font-weight: bold;
- border-width: 1px;
- padding-top: 2px;
- padding-right: 4px;
- padding-left: 4px;
- border-radius: 2px;
}
.openerp2 .oe_secondary_submenu .oe_menu_toggler:before {
width: 0;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index fda9e10a0f0..ba29a42b197 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -238,16 +238,16 @@ $colour4: #8a89ba
text-shadow: 0 1px 1px rgba(0,0,0,0.2)
@include radius(4px)
@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
- .oe_menu_counter
- float: right
- background: #eeeeee
- color: #8a89ba
- font-weight: bold
- border-width: 1px
- padding-top: 2px
- padding-right: 4px
- padding-left: 4px
- border-radius: 2px
+ .oe_menu_counter
+ float: right
+ background: #8a89ba
+ color: #eee
+ font-size: 12px
+ border: 1px solid lightgray
+ padding: 0px 4px 0px 4px
+ text-shadow: 0 1px 1px rgba(0,0,0,0.2)
+ margin: 0px
+ @include radius(4px)
.oe_active
background: $colour4
border-top: 1px solid lightGray
@@ -262,15 +262,8 @@ $colour4: #8a89ba
text-shadow: 0 1px 1px white
@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
.oe_menu_counter
- float: right
- background: #eeeeee
+ background: #eee
color: #8a89ba
- font-weight: bold
- border-width: 1px
- padding-top: 2px
- padding-right: 4px
- padding-left: 4px
- border-radius: 2px
.oe_menu_toggler:before
width: 0
height: 0