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

View File

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

View File

@ -15,19 +15,6 @@
.openerp .oe_kanban_view .oe_kanban_clear { .openerp .oe_kanban_view .oe_kanban_clear {
clear: both; 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 { .openerp .oe_kanban_view .oe_kanban_content div:first-child {
margin-right: 12px; margin-right: 12px;
} }