style fixes
This commit is contained in:
parent
b86f7f6ea0
commit
8d3d465fa0
2 changed files with 80 additions and 70 deletions
124
css/swieta.css
124
css/swieta.css
|
|
@ -143,69 +143,77 @@
|
|||
|
||||
|
||||
#order-form {
|
||||
border-radius: var(--border-radius);
|
||||
background-color: var(--secondary-container);
|
||||
& > p, & > h2{
|
||||
text-align: center;
|
||||
}
|
||||
max-width: var(--max-content-width);
|
||||
margin: 0 auto;
|
||||
|
||||
& > form {
|
||||
& > div {
|
||||
padding: 2rem;
|
||||
border-radius: var(--border-radius);
|
||||
background-color: var(--secondary-container);
|
||||
& > p, & > h2{
|
||||
text-align: center;
|
||||
}
|
||||
& > form {
|
||||
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: auto auto auto;
|
||||
& > fieldset {
|
||||
grid-column: -1 / 1;
|
||||
& > div {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto auto auto;
|
||||
|
||||
& > span > span{
|
||||
color: var(--swieta-red);
|
||||
}
|
||||
& > input {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
text-align: center;
|
||||
width: 2rem;
|
||||
appearance: textfield;
|
||||
-moz-appearance: textfield;
|
||||
&::-webkit-inner-spin-button,
|
||||
&::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
& > button {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: auto auto auto;
|
||||
& > fieldset {
|
||||
grid-column: -1 / 1;
|
||||
& > div {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
margin: 0.5rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
padding: 0.5rem;
|
||||
border-radius: var(--border-radius);
|
||||
border: none;
|
||||
font-family: monospace;
|
||||
}
|
||||
grid-template-columns: 1fr auto auto auto;
|
||||
|
||||
& > span {
|
||||
align-content: center;
|
||||
& > span{
|
||||
color: var(--swieta-red);
|
||||
}
|
||||
}
|
||||
& > input {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
text-align: center;
|
||||
width: 2rem;
|
||||
appearance: textfield;
|
||||
-moz-appearance: textfield;
|
||||
&::-webkit-inner-spin-button,
|
||||
&::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
& > button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
margin: 0.5rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
padding: 0.5rem;
|
||||
border-radius: var(--border-radius);
|
||||
border: none;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
& > input, & > fieldset {
|
||||
background-color: var(--surface);
|
||||
}
|
||||
& input:focus{
|
||||
outline: none;
|
||||
}
|
||||
& > * {
|
||||
padding: 1rem;
|
||||
border-radius: var(--small-radius);
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
& > button {
|
||||
grid-column: -1 / 1;
|
||||
background-color: var(--swieta-red);
|
||||
color: var(--surface);
|
||||
}
|
||||
}
|
||||
& > input, & > fieldset {
|
||||
background-color: var(--surface);
|
||||
}
|
||||
& input:focus{
|
||||
outline: none;
|
||||
}
|
||||
& > * {
|
||||
padding: 1rem;
|
||||
border-radius: var(--small-radius);
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
& > button {
|
||||
grid-column: -1 / 1;
|
||||
background-color: var(--swieta-red);
|
||||
color: var(--surface);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue