Skip to content

Commit

Permalink
front: fix simulation sheet and csv button style
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Macron <[email protected]>
  • Loading branch information
Akctarus committed Dec 2, 2024
1 parent c98d385 commit 6169ded
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const SimulationResultExport = ({
onClick={() => window.open(url as string, '_blank')}
variant="Quiet"
label={t('simulationSheet')}
leadingIcon={<File />}
leadingIcon={<File iconColor="var(--primary60)" />}
/>
)}
</BlobProvider>
Expand All @@ -85,8 +85,8 @@ const SimulationResultExport = ({
exportTrainCSV(simulatedTrain, operationalPoints, pathElectrifications, train)
}
variant="Quiet"
label=".CSV"
leadingIcon={<Download />}
label=".csv"
leadingIcon={<Download iconColor="var(--primary60)" />}
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}

.time-stop-outputs {
margin: 0 30px 27px 38px;
margin: 0 30px 28px 38px;
}

.driver-train-schedule {
Expand All @@ -73,10 +73,11 @@
.simulation-sheet-container {
display: flex;
justify-content: space-between;
padding: 0 33.5px 75px 32.5px;
padding: 0 33.5px 75px 42.5px;
button {
background-color: rgba(235, 235, 234, 0.4); // grey10 with 40% opacity
background-color: var(--black5);
font-weight: 500;
font-size: 1rem;
}
}

Expand Down

0 comments on commit 6169ded

Please sign in to comment.