various improvements to design

bzr revid: mit@openerp.com-20120705115847-5oncw7ynqxs5m9ig
This commit is contained in:
Minh Tran 2012-07-05 13:58:47 +02:00
parent ba64b46618
commit 9d908a38fa
3 changed files with 36 additions and 23 deletions

View File

@ -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");
@ -34,7 +34,7 @@
background: white;
/* http://www.quirksmode.org/dom/inputfile.html
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
*/ */
*/
}
.openerp a {
text-decoration: none;
@ -352,6 +352,19 @@
.openerp .oe_button.oe_link span:hover {
text-decoration: underline;
}
.openerp .oe_star_on, .openerp .oe_star_off {
color: #cccccc;
text-shadow: 0 0 2px black;
vertical-align: top;
position: relative;
top: -5px;
}
.openerp .oe_star_on:hover, .openerp .oe_star_off:hover {
text-decoration: none;
}
.openerp .oe_star_on {
color: gold;
}
.openerp.oe_tooltip {
font-size: 12px;
}
@ -446,12 +459,12 @@
.openerp .oe_dropdown_menu {
display: none;
position: absolute;
top: 28px;
top: 32px;
z-index: 1;
border: 1px solid #afafb6;
background: white;
padding: 8px;
min-width: 120px;
padding: 6px 0;
min-width: 140px;
text-align: left;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
@ -481,7 +494,7 @@
.openerp .oe_dropdown_menu > li > a {
white-space: nowrap;
display: block;
padding: 3px 6px;
padding: 4px 15px;
color: #4c4c4c;
text-decoration: none;
}

View File

@ -287,6 +287,18 @@ $colour4: #8a89ba
font-weight: bold
&:hover
text-decoration: underline
.oe_star_on, .oe_star_off
color: #cccccc
text-shadow: 0 0 2px black
vertical-align: top
position: relative
top: -5px
.oe_star_on:hover, .oe_star_off:hover
text-decoration: none
.oe_star_on
color: gold
//.oe_edit_only 
// }}}
@ -363,12 +375,12 @@ $colour4: #8a89ba
.oe_dropdown_menu
display: none
position: absolute
top: 28px
top: 32px
z-index: 1
border: 1px solid #afafb6
background: white
padding: 8px
min-width: 120px
padding: 6px 0
min-width: 140px
text-align: left
@include radius(3px)
@include box-shadow(0 1px 4px rgba(0,0,0,0.3))
@ -383,7 +395,7 @@ $colour4: #8a89ba
> a
white-space: nowrap
display: block
padding: 3px 6px
padding: 4px 15px
color: #4c4c4c
text-decoration: none
&:hover
@ -637,6 +649,7 @@ $colour4: #8a89ba
&:hover
@include vertical-gradient(#292929, #191919)
@include box-shadow(none)
// }}}
// Webclient.leftbar {{{
.oe_leftbar

View File

@ -15,19 +15,6 @@
.openerp .oe_kanban_view .oe_kanban_clear {
clear: both;
}
.openerp .oe_kanban_view .oe_kanban_content .oe_star_on, .openerp .oe_kanban_view .oe_kanban_content .oe_star_off {
color: #cccccc;
text-shadow: 0 0 2px black;
vertical-align: top;
position: relative;
top: -5px;
}
.openerp .oe_kanban_view .oe_kanban_content .oe_star_on:hover, .openerp .oe_kanban_view .oe_kanban_content .oe_star_off:hover {
text-decoration: none;
}
.openerp .oe_kanban_view .oe_kanban_content .oe_star_on {
color: gold;
}
.openerp .oe_kanban_view .oe_kanban_content div:first-child {
margin-right: 12px;
}