38 lines
661 B
CSS
38 lines
661 B
CSS
.container {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
|
|
.title {
|
|
flex: 1;
|
|
}
|
|
|
|
.rangeInput {
|
|
grid-column: 1 / span 2;
|
|
}
|
|
|
|
.numberInput {
|
|
width: 48px;
|
|
padding: 2px 5px;
|
|
box-sizing: border-box;
|
|
/* position on the top-right */
|
|
grid-column: 2 / 3;
|
|
grid-row: 1 / 2;
|
|
/* make it work with dark backgrounds */
|
|
color: inherit;
|
|
font: inherit;
|
|
/* remove defualt styles */
|
|
background: transparent;
|
|
border: none;
|
|
/* text decorations */
|
|
text-align: right;
|
|
text-decoration: underline;
|
|
text-decoration-style: dotted;
|
|
text-underline-position: under;
|
|
/* remove up/down arrows */
|
|
appearance: textfield;
|
|
}
|
|
|
|
.numberInput:focus {
|
|
}
|