1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 03:24:20 +00:00

base ruleset: Apply label rules to any element, not just inputs and spans

This commit is contained in:
Steffo 2022-10-14 14:31:05 +00:00 committed by GitHub
parent dcd4dbe3b8
commit 315581a4a9
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -789,25 +789,33 @@
display: flex;
gap: 1ex;
> @{element-span}:first-child, > @{element-span}:last-child {
> @{all}:first-child, > @{all}:last-child {
margin: auto 0;
flex-basis: 15%;
flex-grow: 0;
.use-font-group(label);
.map-hsl-group(current; primary);
}
> @{element-span}:first-child {
text-align: right;
}
> @{element-span}:last-child {
text-align: left;
}
> @{input} {
> @{all} {
flex-grow: 1;
display: flex;
justify-content: start;
align-items: center;
gap: 4px;
}
> @{all}:first-child {
text-align: right;
display: block;
}
> @{all}:last-child {
text-align: left;
display: block;
}
}
}