options.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. body {
  2. background-color: transparent;
  3. font-family: sans-serif;
  4. max-width: 800px;
  5. }
  6. button {
  7. background-color: transparent;
  8. border-color: rgb(191, 191, 191);
  9. border-style: solid;
  10. border-radius: 2px;
  11. padding-top: 5px;
  12. padding-bottom: 5px;
  13. padding-left: 15px;
  14. padding-right: 15px;
  15. border-width: 1px;
  16. }
  17. button:active {
  18. border-color: rgb(237, 237, 237);
  19. }
  20. input {
  21. margin-left: 5px;
  22. }
  23. label,
  24. input {
  25. align-self: center;
  26. }
  27. input[type="text"] {
  28. min-width: 70%;
  29. }
  30. input[type="number"] {
  31. max-width: 40px;
  32. }
  33. input.large-input {
  34. min-width: 60px;
  35. }
  36. h3 {
  37. padding-left: 8px;
  38. margin-bottom: 10px;
  39. margin-top: 10px;
  40. }
  41. details {
  42. margin-left: 12px;
  43. margin-right: 12px;
  44. border-top: gray 1px dashed;
  45. }
  46. details:last-of-type {
  47. border-bottom: gray 1px dashed;
  48. }
  49. details>summary {
  50. margin-bottom: 10px;
  51. margin-top: 10px;
  52. cursor: pointer;
  53. }
  54. details>summary:focus {
  55. outline-width: 0px;
  56. }
  57. a {
  58. display: inline-block;
  59. padding-top: 5px;
  60. }
  61. .option.second-level {
  62. margin-left: 10px;
  63. }
  64. .option {
  65. display: flex;
  66. justify-content: space-between;
  67. margin-top: 5px;
  68. padding-left: 12px;
  69. min-height: 24px;
  70. }
  71. .option.vertical {
  72. flex-direction: column;
  73. }
  74. .option.vertical label {
  75. align-self: flex-start;
  76. }
  77. .option.vertical input {
  78. margin-top: 3px;
  79. align-self: flex-end;
  80. width: calc(100% - 3px);
  81. }
  82. .option:last-of-type {
  83. padding-bottom: 12px;
  84. }
  85. .option:first-of-type {
  86. padding-top: 6px;
  87. }
  88. .option.bottom {
  89. padding-top: 24px;
  90. padding-right: 12px;
  91. }
  92. #expandAllButton {
  93. opacity: .3;
  94. transition: opacity 250ms;
  95. cursor: pointer;
  96. font-size: .9em;
  97. margin-right: 1px;
  98. }
  99. #expandAllButton::after {
  100. content: '▷';
  101. }
  102. #expandAllButton.opened::after {
  103. content: '▽';
  104. position: relative;
  105. top: 1px;
  106. }
  107. #expandAllButton:hover {
  108. opacity: 1;
  109. }
  110. @media (max-width:400px) {
  111. body {
  112. font-size: 11px;
  113. }
  114. body,
  115. input {
  116. font-size: 12px;
  117. }
  118. }