Warn & error stats subtitle

This commit is contained in:
Adina Țeudan 2022-01-12 14:41:52 +02:00
parent 10ed485874
commit 5341338d36
2 changed files with 16 additions and 0 deletions

View File

@ -28,6 +28,7 @@
--iqser-green-2: #5ce594;
--iqser-yellow-1: #ffb83b;
--iqser-yellow-2: #fdbd00;
--iqser-yellow-rgb: 253, 189, 0;
--iqser-red-1: #dd4d50;
--iqser-blue-5: #c5d3eb;
--iqser-helpmode-primary: green;

View File

@ -88,6 +88,21 @@
&:not(:last-child) {
margin-right: 12px;
}
&.warn, &.error {
opacity: 1;
padding: 3px 4px;
border-radius: 3px;
}
&.warn {
background-color: rgba(var(--iqser-yellow-rgb), 0.7);
}
&.error {
background-color: rgba(var(--iqser-primary-rgb), 0.1);
color: var(--iqser-primary);
}
}
&:not(.cell) {