form.css 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. form {
  2. text-align: center;
  3. margin-top: 0.6rem;
  4. margin-bottom: 0.6rem;
  5. }
  6. input, button, select, textarea {
  7. border-radius: 0.5rem;
  8. font-size: 1rem;
  9. margin: 0.3rem;
  10. padding: 0.30rem;
  11. border-style: solid;
  12. border-width: 0.20rem;
  13. background-color: var(--background-color);
  14. color: var(--foreground-color);
  15. border-color: var(--svc-color, --foreground-color);
  16. }
  17. input[type=text] {
  18. font-family: monospace;
  19. }
  20. input[type=number] {
  21. width: 8ch;
  22. }
  23. input#subdomain, input#ttl-value {
  24. text-align: right;
  25. }
  26. input[type=password] {
  27. width: 32ch;
  28. text-align: center;
  29. }
  30. #username {
  31. width: 16ch;
  32. }
  33. #keytag {
  34. width: 7ch;
  35. }
  36. #public-key {
  37. width: 70ch;
  38. }
  39. #key {
  40. width: 65ch;
  41. }
  42. :disabled {
  43. cursor: not-allowed;
  44. }
  45. fieldset {
  46. border-radius: 1rem;
  47. border-width: 0.15rem;
  48. border-style: solid;
  49. display: flex;
  50. flex-direction: row;
  51. justify-content: center;
  52. border-color: var(--svc-color, --foreground-color);
  53. }
  54. textarea {
  55. background-color: var(--background-color);
  56. color: var(--foreground-color);
  57. width: 100%;
  58. box-sizing: border-box;
  59. }