options.css 2.6 KB

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