updated nonempty label styles

This commit is contained in:
Gani Georgiev
2023-10-04 10:19:00 +03:00
parent 9997223923
commit 0f4e27a11f
35 changed files with 84 additions and 72 deletions
+1
View File
@@ -524,6 +524,7 @@ a,
line-height: 1;
width: var(--thumbSize);
height: var(--thumbSize);
aspect-ratio: 1;
background: var(--baseAlt2Color);
border-radius: var(--baseRadius);
color: var(--txtPrimaryColor);
+23 -13
View File
@@ -55,23 +55,33 @@
}
}
// markers
.markers {
.field-labels {
position: absolute;
z-index: 1;
left: 3px;
top: 3px;
right: 0px;
top: 0px;
gap: 2px;
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 5px;
.marker {
$size: 5px;
display: block;
width: $size;
height: $size;
border-radius: $size;
background: var(--baseAlt4Color);
transition: opacity var(--baseAnimationSpeed);
.label {
min-height: 0;
font-size: inherit;
padding: 0px 2px;
font-size: 0.7rem;
line-height: 0.75rem;
border-radius: var(--baseRadius);
}
~ .inline-error-icon {
margin-top: 4px;
i {
font-size: 1rem;
}
}
}
.form-field:focus-within {
.field-labels {
opacity: 0.2;
}
}
}