2018-01-16 06:58:15 +01:00
|
|
|
.o_kanban_view.o_kanban_dashboard.o_account_kanban {
|
|
|
|
.o_kanban_record {
|
|
|
|
|
|
|
|
.oe_kanban_action_button {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.o_kanban_card_settings {
|
2018-01-16 11:34:37 +01:00
|
|
|
padding-top: @flectra-horizontal-padding/2;
|
|
|
|
padding-bottom: @flectra-horizontal-padding/2;
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
border-top: 1px solid;
|
2018-01-16 11:34:37 +01:00
|
|
|
border-color: @flectra-brand-lightsecondary;
|
2018-01-16 06:58:15 +01:00
|
|
|
}
|
|
|
|
.o_dashboard_star {
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
&.fa-star-o {
|
2018-01-16 11:34:37 +01:00
|
|
|
color: @flectra-main-color-muted;
|
2018-01-16 06:58:15 +01:00
|
|
|
&:hover {
|
|
|
|
color: gold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.fa-star {
|
|
|
|
color: gold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.o_dashboard_graph {
|
2018-01-16 11:34:37 +01:00
|
|
|
margin-bottom: -@flectra-horizontal-padding/2;
|
2018-01-16 06:58:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.o_kanban_ungrouped {
|
|
|
|
.o_kanban_record {
|
|
|
|
width: 450px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Style for the widget "dashboard_graph"
|
|
|
|
.o_dashboard_graph {
|
|
|
|
&.o_graph_linechart {
|
|
|
|
> svg {
|
|
|
|
height: 75px;
|
|
|
|
|
|
|
|
// X axis
|
|
|
|
g.nv-x.nv-axis {
|
|
|
|
transform: translateY(50px);
|
|
|
|
|
|
|
|
// Remove max and min labels
|
|
|
|
g.nv-axisMaxMin {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
g.tick.major {
|
|
|
|
// Don't know why, but leads to strange bold text
|
2018-01-16 11:34:37 +01:00
|
|
|
// stroke: @flectra-brand-primary;
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
line {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// !important are needed because nvd3 uses inline style on elements
|
|
|
|
|
|
|
|
// Remove strokes
|
|
|
|
g.nv-linesWrap {
|
|
|
|
g.nv-group.nv-series-0 {
|
|
|
|
fill-opacity: 0.3 !important;
|
2018-01-16 11:34:37 +01:00
|
|
|
fill: @flectra-brand-primary !important;
|
|
|
|
stroke: @flectra-brand-primary !important;
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
.nv-point {
|
|
|
|
visibility: hidden;
|
|
|
|
r: 3;
|
2018-01-16 11:34:37 +01:00
|
|
|
stroke: @flectra-brand-primary !important;
|
2018-01-16 06:58:15 +01:00
|
|
|
fill: white;
|
|
|
|
stroke-width: 2;
|
|
|
|
}
|
|
|
|
.nv-point:nth-child(5n+1) {
|
|
|
|
visibility: visible;
|
|
|
|
fill-opacity: .95 !important;
|
|
|
|
stroke-opacity: .95 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.o_graph_barchart {
|
|
|
|
> svg {
|
|
|
|
height: 75px;
|
|
|
|
overflow: visible;
|
|
|
|
g.nv-barsWrap {
|
|
|
|
g.nv-group.nv-series-0 {
|
|
|
|
g.past {
|
|
|
|
opacity: 0.5;
|
2018-01-16 11:34:37 +01:00
|
|
|
fill: @flectra-brand-primary !important;
|
2018-01-16 06:58:15 +01:00
|
|
|
}
|
|
|
|
g.future {
|
|
|
|
opacity: 0.5;
|
2018-01-16 11:34:37 +01:00
|
|
|
fill: @flectra-brand-optional !important;
|
2018-01-16 06:58:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|