change stats colors
This commit is contained in:
parent
b5e699e8b8
commit
eb951c75e4
3 changed files with 6 additions and 8 deletions
|
@ -1,8 +1,6 @@
|
|||
@import "colors";
|
||||
$dark-grey: #333333;
|
||||
$light-grey: #999999;
|
||||
$blue: rgba(61, 149, 236, 1);
|
||||
$blue-hover: rgba(61, 149, 236, 0.8);
|
||||
|
||||
$default-space: 15px;
|
||||
|
||||
|
@ -87,11 +85,11 @@ $segmented-control-item-border-radius: 2 * $default-space;
|
|||
.segmented-control-item {
|
||||
display: inline-block;
|
||||
font-size: 15px;
|
||||
border: 2px solid $blue-france-500;
|
||||
border: 2px solid $blue-france-700;
|
||||
margin-right: -2px;
|
||||
padding-left: $segmented-control-item-horizontal-padding;
|
||||
padding-right: $segmented-control-item-horizontal-padding;
|
||||
color: $blue-france-500;
|
||||
color: $blue-france-700;
|
||||
|
||||
&:first-of-type {
|
||||
border-radius: $segmented-control-item-border-radius 0px 0px $segmented-control-item-border-radius;
|
||||
|
@ -103,14 +101,14 @@ $segmented-control-item-border-radius: 2 * $default-space;
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $blue-hover;
|
||||
background-color: $blue-france-500;
|
||||
color: #FFFFFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.segmented-control-item-active {
|
||||
background-color: $blue-france-500;
|
||||
background-color: $blue-france-700;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
.chart-container
|
||||
.chart
|
||||
= pie_chart @dossiers_states_for_pie,
|
||||
colors: ["rgba(222, 238, 265, 1)", "rgba(191, 220, 249, 1)", "rgba(113, 176, 239, 1)", "rgba(61, 149, 236, 1)"]
|
||||
colors: ["#000091", "#7F7FC8", "#9A9AFF", "#00006D"]
|
||||
|
||||
.stat-card.stat-card-half.pull-left
|
||||
%ul.segmented-control.pull-right
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Chartkick.options = {
|
||||
content_for: :charts_js,
|
||||
defer: true,
|
||||
colors: ["rgba(61, 149, 236, 1)"],
|
||||
colors: ["#000091"],
|
||||
thousands: ' ',
|
||||
decimal: ','
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue