1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 17:25:16 +03:00

Style: Fix contrast issues (#4125)

* Style: Fix contrast issues

* Style: Fix Motors tab graph layout

* Fix: re-include code commented out during testing
This commit is contained in:
Vít Semrád 2024-08-07 22:29:22 +02:00 committed by GitHub
parent d14e90dd27
commit d649a9ca40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 58 additions and 168 deletions

View file

@ -1658,6 +1658,52 @@ each(range(12), {
gap: 1rem;
grid-template-columns: auto max-content;
}
.plot_control {
.x {
background-color: #1fb1f0;
}
.y {
background-color: #97d800;
}
.z {
background-color: #e24761;
}
.x, .y, .z {
color: black;
}
}
.line {
&:nth-child(1) {
stroke: #1fb1f0;
}
&:nth-child(2) {
stroke: #97d800;
}
&:nth-child(3) {
stroke: #e24761;
}
}
.legend {
.item {
&:nth-child(1) {
fill: #1fb1f0;
}
&:nth-child(2) {
fill: #97d800;
}
&:nth-child(3) {
fill: #e24761;
}
}
}
.axis {
path, line {
fill: none;
stroke: var(--text);
stroke-width: 1px;
shape-rendering: crispEdges;
}
}
@media not all and (max-width: 575px) {
.visible-on-phone-only {
display: none !important;