flectra/addons/account/static/src/less/account_journal_dashboard.less

109 lines
2.9 KiB
Plaintext

.o_kanban_view.o_kanban_dashboard.o_account_kanban {
.o_kanban_record {
.oe_kanban_action_button {
margin-bottom: 5px;
}
.o_kanban_card_settings {
padding-top: @flectra-horizontal-padding/2;
padding-bottom: @flectra-horizontal-padding/2;
border-top: 1px solid;
border-color: @flectra-brand-lightsecondary;
}
.o_dashboard_star {
font-size: 12px;
&.fa-star-o {
color: @flectra-main-color-muted;
&:hover {
color: gold;
}
}
&.fa-star {
color: gold;
}
}
.o_dashboard_graph {
margin-bottom: -@flectra-horizontal-padding/2;
}
}
&.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
// stroke: @flectra-brand-primary;
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;
fill: @flectra-brand-primary !important;
stroke: @flectra-brand-primary !important;
.nv-point {
visibility: hidden;
r: 3;
stroke: @flectra-brand-primary !important;
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;
fill: @flectra-brand-primary !important;
}
g.future {
opacity: 0.5;
fill: @flectra-brand-optional !important;
}
}
}
}
}
}