chore: formatting improvements

This commit is contained in:
Shivam Mishra 2020-10-20 14:07:00 +05:30
parent 562a9cba55
commit 56a7374277
3 changed files with 21 additions and 18 deletions

View File

@ -1,25 +1,26 @@
:root { :root {
--fr-label-color: #313b44; --fr-label-color: #313b44;
--fr-axis-line-color: #F4F5F6; --fr-axis-line-color: #f4f5f6;
--fr-stroke-width: 2px; --fr-stroke-width: 2px;
--fr-dataset-circle-stroke: #FFFFFF; --fr-dataset-circle-stroke: #ffffff;
--fr-dataset-circle-stroke-width: var(--fr-stroke-width); --fr-dataset-circle-stroke-width: var(--fr-stroke-width);
--fr-tooltip-title: var(--fr-label-color); --fr-tooltip-title: var(--fr-label-color);
--fr-tooltip-label: var(--fr-label-color); --fr-tooltip-label: var(--fr-label-color);
--fr-tooltip-value: #192734; --fr-tooltip-value: #192734;
--fr-tooltip-bg: #FFFFFF; --fr-tooltip-bg: #ffffff;
} }
.chart-container { .chart-container {
position: relative; /* for absolutely positioned tooltip */ position: relative; /* for absolutely positioned tooltip */
font-family: -apple-system, BlinkMacSystemFont, font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; "Helvetica Neue", sans-serif;
.axis, .chart-label { .axis,
.chart-label {
fill: var(--fr-label-color); fill: var(--fr-label-color);
line { line {
@ -85,7 +86,9 @@
font-size: 12px; font-size: 12px;
text-align: center; text-align: center;
background: var(--fr-tooltip-bg); background: var(--fr-tooltip-bg);
box-shadow: 0px 1px 4px rgba(17, 43, 66, 0.1), 0px 2px 6px rgba(17, 43, 66, 0.08), 0px 40px 30px -30px rgba(17, 43, 66, 0.1); box-shadow: 0px 1px 4px rgba(17, 43, 66, 0.1),
0px 2px 6px rgba(17, 43, 66, 0.08),
0px 40px 30px -30px rgba(17, 43, 66, 0.1);
border-radius: 6px; border-radius: 6px;
ul { ul {