Graph dropdown toggle improvement

bzr revid: mit@openerp.com-20120625144845-idyfjd3px6pct5jj
This commit is contained in:
Minh Tran 2012-06-25 16:48:45 +02:00
parent 490737c811
commit dd2b3227a8
6 changed files with 20 additions and 8 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");
@ -315,6 +315,11 @@
list-style: none;
zoom: 1;
}
.openerp .oe_notebook.ui-corner-all {
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.openerp .oe_notebook:before, .openerp .oe_notebook:after {
display: table;
content: "";

View File

@ -275,6 +275,8 @@ $colour4: #8a89ba
padding: 0 16px
list-style: none
zoom: 1
.oe_notebook.ui-corner-all
@include radius(0)
.oe_notebook:before, .oe_notebook:after
display: table
content: ""

View File

@ -18,7 +18,7 @@
.openerp .graph-dropdown {
display: none;
position: absolute;
top: 40px;
top: 32px;
right: 8px;
padding: 8px;
border: 1px solid #afafb6;

View File

@ -1,8 +1,8 @@
<template>
<div t-name="GraphView" id="element-chart" class="editor-render" style="position:relative; width: 300px;">
<a href="#" class="oe_e dropdown-menu-icon" data-toggle="dropdown" title="Graph Options">&amp;iacute;</a>
<div class="graph_header_legend">
</div>
<a href="#" class="oe_i dropdown-menu-icon" data-toggle="dropdown" title="Graph Options">B</a>
<div class="graph-dropdown">
<h3 class="menu-section">
Graph Mode

View File

@ -1,4 +1,3 @@
@charset "utf-8";
.openerp .oe_kanban_view {
height: inherit;
}
@ -378,8 +377,12 @@
background-image: radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%);
}
.openerp .oe_kanban_view .oe_kanban_text_red {
background: red;
color: black;
background: #a61300;
color: white;
padding: 2px 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.openerp .oe_kanban_view .oe_kanban_ellipsis {
overflow: hidden;

View File

@ -311,8 +311,10 @@
background: red
@include radial-gradient((#ee7777 0%, #cc3333 40%, #bb0808 100%))
.oe_kanban_text_red
background: red
color: #000
background: #A61300
color: white
padding: 2px 4px
@include radius(4px)
.oe_kanban_ellipsis
overflow: hidden
text-overflow: ellipsis