servnest/css/form.css

64 lines
990 B
CSS
Raw Normal View History

2022-05-31 21:53:19 +00:00
form {
text-align: center;
2023-01-21 01:52:28 +00:00
margin-top: 0.6rem;
margin-bottom: 0.6rem;
2022-05-31 21:53:19 +00:00
}
input, button, select, textarea {
2022-05-31 21:53:19 +00:00
border-radius: 0.5rem;
font-size: 1rem;
margin: 0.3rem;
padding: 0.30rem;
border-style: solid;
2022-06-06 21:14:50 +00:00
border-width: 0.20rem;
2022-05-31 21:53:19 +00:00
background-color: var(--background-color);
color: var(--foreground-color);
border-color: var(--svc-color, --foreground-color);
}
input[type=text] {
font-family: monospace;
}
input[type=number] {
width: 8ch;
}
2022-05-31 21:53:19 +00:00
input#subdomain, input#ttl-value {
text-align: right;
}
input[type=password] {
width: 32ch;
text-align: center;
}
#username {
width: 16ch;
}
#keytag {
width: 7ch;
}
2022-06-06 21:14:50 +00:00
:disabled {
cursor: not-allowed;
}
2022-05-31 21:53:19 +00:00
fieldset {
border-radius: 1rem;
2022-06-06 21:14:50 +00:00
border-width: 0.15rem;
2022-05-31 21:53:19 +00:00
border-style: solid;
display: flex;
flex-direction: row;
justify-content: center;
border-color: var(--svc-color, --foreground-color);
}
textarea {
background-color: var(--background-color);
color: var(--foreground-color);
width: 100%;
box-sizing: border-box;
}