Add extra modifier styles to Input/Select

This commit is contained in:
Justin Edmund 2023-07-02 16:26:20 -07:00
parent 1f26b0afc8
commit 2cd6513aa4
2 changed files with 28 additions and 3 deletions

View file

@ -7,6 +7,10 @@
margin-bottom: 0;
}
&.hidden {
display: none;
}
&.full {
width: 100%;
}
@ -20,6 +24,10 @@
width: 0;
}
.fullHeight {
height: 100%;
}
.input {
-webkit-font-smoothing: antialiased;
background-color: var(--input-bg);
@ -107,12 +115,13 @@
width: $unit-8x;
}
&.alignRight {
&.range {
text-align: right;
width: $unit-10x;
}
&.hidden {
display: none;
&.alignRight {
text-align: right;
}
}

View file

@ -6,6 +6,7 @@
display: flex;
gap: $unit;
padding: ($unit * 1.5) $unit-2x;
white-space: nowrap;
&.small {
& > span:not(.icon) {
@ -29,6 +30,21 @@
}
}
&.grow {
flex-grow: 1;
}
&.left {
flex-grow: 1;
width: 100%;
}
&.right {
flex-grow: 0;
text-align: right;
min-width: 12rem;
}
&.bound {
background-color: var(--select-contained-bg);