ProxmoxAAS-Dashboard/css/form.css
Arthur Lu 58862f32a5 fix stlye sheet scoping,
imrpove some styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-05 23:35:11 +00:00

67 lines
1003 B
CSS

form {
width: fit-content;
}
form p {
text-align: left;
margin: 0px;
}
form fieldset {
border: solid var(--content-txt-color) 1px;
padding: 10px;
margin: 10px;
}
form input, form label, form legend {
font-family: monospace;
font-size: 14px;
}
form input, form select {
border: solid var(--content-txt-color) 1px;
min-width: fit-content;
}
form input:focus, form select:focus {
outline: none;
}
form input:disabled, form select:disabled {
background-color: var(--form-disabled-color);
}
form button {
margin-top: 0px;
}
form .input-grid {
display: grid;
column-gap: 10px;
row-gap: 5px;
align-items: center;
}
form legend {
top: -0.6em;
position: relative;
height: 0;
}
form img {
width: 16px;
}
form hr {
width: 100%;
border: none;
border-top: solid var(--content-txt-color) 1px;
}
form .last-item {
width: 100%;
display: flex;
justify-content: flex-end;
align-items: center;
column-gap: 5px;
}