You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

304 lines
5.1 KiB

  1. body {
  2. margin: 0 auto;
  3. max-width: 960px;
  4. tab-size: 4;
  5. font-family: arial, sans-serif;
  6. }
  7. textarea {
  8. width: 100%;
  9. border: solid 1px #9a9a9a;
  10. padding: 3px;
  11. font-family: 'Consolas', Courier, monospace;
  12. }
  13. fieldset {
  14. width: fit-content;
  15. border: 1px solid #9a9a9a;
  16. margin: 25px 0 5px 0;
  17. padding-left: 0;
  18. }
  19. legend {
  20. padding: 2px 5px;
  21. background-color: #e0e0e0;
  22. border-radius: 2px;
  23. margin: -27px 0 0 -1px;
  24. position: absolute;
  25. }
  26. .subtitle {
  27. font-weight: normal;
  28. }
  29. .btn {
  30. margin: 10px 10px;
  31. padding: 5px 8px;
  32. font-size: 16px;
  33. line-height: 1.33;
  34. border-radius: 3px;
  35. color: #333;
  36. border-color: #ccc;
  37. cursor: pointer;
  38. text-align: center;
  39. white-space: nowrap;
  40. border: 1px solid rgb(194, 194, 194);
  41. background-color: #fff;
  42. }
  43. .btn:hover {
  44. background-color: #eee;
  45. }
  46. .show {
  47. display: none;
  48. }
  49. .wordwrap {
  50. white-space: pre-wrap;
  51. white-space: -moz-pre-wrap;
  52. white-space: -pre-wrap;
  53. white-space: -o-pre-wrap;
  54. word-wrap: break-word;
  55. }
  56. label {
  57. cursor: pointer;
  58. line-height: 1.5em;
  59. }
  60. label:hover {
  61. color: #555;
  62. text-decoration: underline;
  63. }
  64. form {
  65. margin-bottom: 0px;
  66. }
  67. form span {
  68. width: 170px;
  69. display: inline-block;
  70. text-align: right;
  71. }
  72. a {
  73. color: #4b9aff;
  74. text-decoration: none;
  75. background: #f0f8ff;
  76. padding: 2px 5px;
  77. border-radius: 3px;
  78. font-size: 0.8em;
  79. cursor: pointer;
  80. }
  81. a:hover {
  82. text-decoration: none;
  83. background: #d6e8ff;
  84. }
  85. .plain-link {
  86. color: #000;
  87. background: none;
  88. text-decoration: none;
  89. }
  90. .plain-link :hover {
  91. text-decoration: none;
  92. background: none;
  93. }
  94. p {
  95. line-height: 1em;
  96. margin: 0.5em 0em;
  97. }
  98. .content {
  99. margin: 10px;
  100. }
  101. .code {
  102. font-family: 'Consolas', Courier, monospace;
  103. }
  104. .inline {
  105. display: inline-block;
  106. }
  107. .disabled {
  108. color: #ccc;
  109. cursor: default;
  110. }
  111. .disabled label:hover {
  112. color: #ccc;
  113. text-decoration: none;
  114. cursor: default;
  115. }
  116. .checkbox input[type="checkbox"] {
  117. opacity: 0;
  118. display: none;
  119. }
  120. .checkbox label {
  121. position: relative;
  122. display: inline-block;
  123. /*16px width of fake checkbox + 6px distance between fake checkbox and text*/
  124. padding-left: 22px;
  125. }
  126. .checkbox label::before,
  127. .checkbox label::after {
  128. position: absolute;
  129. content: "";
  130. /*Needed for the line-height to take effect*/
  131. display: inline-block;
  132. }
  133. /*Outer box of the fake checkbox*/
  134. .checkbox label::before {
  135. height: 16px;
  136. width: 16px;
  137. border: 1px solid #9A9A9A;
  138. left: 0px;
  139. /*(24px line-height - 16px height of fake checkbox) / 2 - 1px for the border to vertically center it.*/
  140. top: 3px;
  141. }
  142. /*Checkmark of the fake checkbox*/
  143. .checkbox label::after {
  144. height: 5px;
  145. width: 9px;
  146. border-left: 2px solid;
  147. border-bottom: 2px solid;
  148. transform: rotate(-45deg);
  149. left: 4px;
  150. top: 7px;
  151. color: #333;
  152. }
  153. /*Hide the checkmark by default*/
  154. .checkbox input[type="checkbox"]+label::after {
  155. content: none;
  156. }
  157. /*Unhide on the checked state*/
  158. .checkbox input[type="checkbox"]:checked+label::after {
  159. content: "";
  160. }
  161. /*Adding focus styles on the outer-box of the fake checkbox*/
  162. .checkbox input[type="checkbox"]:hover+label::after {
  163. border-color: #888;
  164. outline: #ccc;
  165. }
  166. .checkbox input[type="checkbox"]:hover+label::before {
  167. outline: #888;
  168. border-color: #888;
  169. background-color: #eee;
  170. }
  171. .checkbox input[type="checkbox"]:disabled+label::before {
  172. outline: #ccc;
  173. border-color: #ccc;
  174. background-color: #fff;
  175. color: #ccc;
  176. }
  177. .checkbox input[type="checkbox"]:disabled+label::after {
  178. color: #888;
  179. }
  180. .checkbox input[type="checkbox"]:focus+label::before {
  181. outline: #333 auto 5px;
  182. }
  183. .inline-note {
  184. color: #888;
  185. margin-left: 10px;
  186. display: inline-block;
  187. }
  188. .hide {
  189. display: none;
  190. }
  191. #settings_control {
  192. margin: 10px 0px;
  193. display: inline-block;
  194. }
  195. .modal {
  196. display: none;
  197. position: fixed;
  198. z-index: 1;
  199. left: 0;
  200. top: 0;
  201. width: 100%;
  202. height: 100%;
  203. overflow: auto;
  204. background-color: rgb(0, 0, 0);
  205. background-color: rgba(0, 0, 0, 0.4);
  206. }
  207. .modal-content {
  208. background-color: #fefefe;
  209. margin: 15% auto;
  210. padding: 20px;
  211. border: 1px solid #888;
  212. width: 80%;
  213. }
  214. .close {
  215. color: #aaa;
  216. float: right;
  217. font-size: 28px;
  218. font-weight: bold;
  219. }
  220. .close:hover,
  221. .close:focus {
  222. color: black;
  223. text-decoration: none;
  224. cursor: pointer;
  225. }
  226. .tooltip {
  227. cursor: pointer;
  228. position: relative;
  229. display: inline-block;
  230. border-bottom: 1px dotted black;
  231. }
  232. .tooltip .tooltiptext {
  233. visibility: hidden;
  234. opacity: 0;
  235. width: 220px;
  236. background-color: black;
  237. color: #fff;
  238. text-align: left;
  239. padding: 5px 3px;
  240. border-radius: 5px;
  241. top: 100%;
  242. left: 50%;
  243. position: absolute;
  244. z-index: 1;
  245. -webkit-transition: opacity 1s ease-in-out;
  246. transition: opacity 1s ease-in-out;
  247. }
  248. .tooltip:hover .tooltiptext {
  249. visibility: visible;
  250. opacity: 1;
  251. }
  252. .emoji {
  253. padding: 2px;
  254. font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;
  255. }