[IMP] Improved css to match more closely MIT design.

bzr revid: tde@openerp.com-20120405161148-wh0vpgwalmkxffjw
This commit is contained in:
Thibault Delavallée 2012-04-05 18:11:48 +02:00
parent dd521adc3b
commit 00d70016c9
2 changed files with 22 additions and 34 deletions

View File

@ -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;

View File

@ -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