options.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. text-align: right;
  30. }
  31. input[type="number"] {
  32. max-width: 40px;
  33. text-align: right;
  34. }
  35. h3 {
  36. padding-left: 8px;
  37. margin-bottom: 10px;
  38. margin-top: 10px;
  39. }
  40. details {
  41. margin-left: 12px;
  42. margin-right: 12px;
  43. border-top: gray 1px dashed;
  44. }
  45. details:last-of-type {
  46. border-bottom: gray 1px dashed;
  47. }
  48. details>summary {
  49. margin-bottom: 10px;
  50. margin-top: 10px;
  51. cursor: pointer;
  52. }
  53. details>summary:focus {
  54. outline-width: 0px;
  55. }
  56. a {
  57. display: inline-block;
  58. padding-top: 5px;
  59. }
  60. .option.second-level {
  61. margin-left: 10px;
  62. }
  63. .option {
  64. display: flex;
  65. justify-content: space-between;
  66. margin-top: 5px;
  67. padding-left: 12px;
  68. min-height: 24px;
  69. }
  70. .option:last-of-type {
  71. padding-bottom: 12px;
  72. }
  73. .option:first-of-type {
  74. padding-top: 6px;
  75. }
  76. .option.bottom {
  77. padding-top: 24px;
  78. padding-right: 12px;
  79. }
  80. #expandAllButton {
  81. opacity: .3;
  82. transition: opacity 250ms;
  83. cursor: pointer;
  84. font-size: .9em;
  85. margin-right: 1px;
  86. }
  87. #expandAllButton::after {
  88. content: '▷';
  89. }
  90. #expandAllButton.opened::after {
  91. content: '▽';
  92. position: relative;
  93. top: 1px;
  94. }
  95. #expandAllButton:hover {
  96. opacity: 1;
  97. }
  98. @media (max-width:400px) {
  99. body {
  100. font-size: 11px;
  101. }
  102. body,
  103. input {
  104. font-size: 12px;
  105. }
  106. }