fix(ui): red color changes, menu controls, performance crash

This commit is contained in:
sylenien 2022-06-01 12:08:44 +02:00 committed by Delirium
parent 997a5421ae
commit 05c8bf4d59
7 changed files with 76 additions and 10 deletions

View file

@ -25,7 +25,7 @@
position: absolute;
top: 8px;
left: 24px;
background-color: red;
background-color: #CC0000;
color: white;
font-size: 9px;
font-weight: 300;
@ -36,4 +36,4 @@
align-items: center;
justify-content: center;
padding: 3px;
}
}

View file

@ -25,7 +25,7 @@
position: absolute;
top: 8px;
left: 24px;
background-color: red;
background-color: #CC0000;
color: white;
font-size: 9px;
font-weight: 300;

View file

@ -59,7 +59,7 @@ const NODES_COUNT = "Nodes Сount";
const FPSTooltip = ({ active, payload }) => {
if (!active || payload.length < 3) {
if (!active || !payload || payload.length < 3) {
return null;
}
if (payload[0].value === null) {

View file

@ -11,16 +11,12 @@
border-right: 0px;
min-width: 60px;
position: relative;
&:hover {
background-color: $gray-lightest;
transition: all 0.2s;
}
& .errorSymbol {
width: 6px;
height: 6px;
border-radius: 3px;
background-color: red;
background-color: #CC0000;
margin-right: 3px;
}
& .labels {
@ -29,6 +25,7 @@
right: -6px;
display: flex;
align-items: center;
height: 16px;
}
& .countLabel {
@ -49,6 +46,11 @@
/* padding-top: 5px; */
font-size: 10px;
height: 16px;
&:hover {
color: $main!important;
transition: all 0.2s;
}
}
&.disabled {

View file

@ -0,0 +1,59 @@
.searchField {
box-shadow: none !important;
& input {
box-shadow: none !important;
border-radius: 3 !important;
border: solid thin $gray-light !important;
height: 46px !important;
font-size: 16px;
}
}
.wrapper {
box-shadow: none !important;
position: relative;
& .clearStepsButton {
position: absolute;
bottom: 10px;
right: 10x;
}
}
.randomElement {
position: absolute;
left: 0;
top: 0;
right: 0;
z-index: 8;
padding: 15px;
padding-left: 40px;
}
.dropdownMenu {
max-width: 100%;
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
&[data-hidden=true] {
display: none !important;
}
}
.header {
padding: 5px 10px;
letter-spacing: 1.5px;
background-color: $gray-lightest;
color: $gray-medium;
font-size: 12px;
text-transform: uppercase;
}
.dateRange {
color: #CC0000;
z-index: 8;
position: absolute;
right: 9px;
top: 9px;
}

View file

@ -42,7 +42,7 @@
transition: all 0.2s;
}
&.disabled {
color: red !important;
color: #CC0000 !important;
}
}

View file

@ -0,0 +1,5 @@
.wrapper {
& .values {
color: #CC0000;
}
}