options.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. }
  49. .profiles button {
  50. padding: 0;
  51. margin: 0;
  52. width: 22px;
  53. text-align: center;
  54. }
  55. .profiles button,
  56. .profiles select {
  57. height: 22px;
  58. vertical-align: top;
  59. }
  60. .profiles button:disabled {
  61. opacity: .25;
  62. }
  63. .profiles button>img {
  64. width: 14px;
  65. height: auto;
  66. vertical-align: middle;
  67. padding: 2px;
  68. }
  69. #profilesLabel {
  70. font-weight: normal;
  71. padding-top: 5px;
  72. margin-right: 5px;
  73. }
  74. details {
  75. margin-left: 12px;
  76. margin-right: 12px;
  77. border-top: gray 1px dashed;
  78. }
  79. details:last-of-type {
  80. border-bottom: gray 1px dashed;
  81. }
  82. details>summary {
  83. margin-bottom: 10px;
  84. margin-top: 10px;
  85. cursor: pointer;
  86. }
  87. details>summary:focus {
  88. outline-width: 0px;
  89. }
  90. a {
  91. display: inline-block;
  92. padding-top: 5px;
  93. }
  94. .option.second-level {
  95. margin-left: 10px;
  96. }
  97. .option {
  98. display: flex;
  99. justify-content: space-between;
  100. margin-top: 5px;
  101. padding-left: 12px;
  102. min-height: 24px;
  103. }
  104. .option.vertical {
  105. flex-direction: column;
  106. }
  107. .option.vertical label {
  108. align-self: flex-start;
  109. }
  110. .option.vertical input {
  111. margin-top: 3px;
  112. align-self: flex-end;
  113. width: calc(100% - 3px);
  114. }
  115. .option:last-of-type {
  116. padding-bottom: 12px;
  117. }
  118. .option:first-of-type {
  119. padding-top: 6px;
  120. }
  121. .option.bottom {
  122. padding-top: 24px;
  123. padding-right: 12px;
  124. }
  125. #expandAllButton {
  126. opacity: .3;
  127. transition: opacity 250ms;
  128. cursor: pointer;
  129. font-size: .9em;
  130. position: relative;
  131. top: -1px;
  132. left: -3px;
  133. }
  134. #expandAllButton::after {
  135. content: '▷';
  136. }
  137. #expandAllButton.opened::after {
  138. content: '▽';
  139. position: relative;
  140. top: 1px;
  141. }
  142. #expandAllButton:hover {
  143. opacity: 1;
  144. }
  145. @media (max-width:400px) {
  146. body {
  147. font-size: 11px;
  148. }
  149. body,
  150. input {
  151. font-size: 12px;
  152. }
  153. }