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.

424 lines
7.4 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. body {
  2. margin: 0 auto;
  3. max-width: 960px;
  4. tab-size: 4;
  5. font-family: arial, sans-serif;
  6. }
  7. pre, code, textarea {
  8. font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;
  9. }
  10. textarea {
  11. width: 100%;
  12. padding: 3px;
  13. resize: vertical;
  14. min-height: 100px;
  15. }
  16. input[type="text"] {
  17. padding: 2px 4px;
  18. }
  19. input[type="text"],
  20. textarea {
  21. border: solid 1px #dbdbdb;
  22. box-shadow: inset 0 1px 2px rgba(10, 10, 10, .1);
  23. border-radius: 4px 4px 0px 0px;
  24. font-size: 1rem;
  25. }
  26. input[type="text"]:hover,
  27. textarea:hover {
  28. border-color: #b5b5b5;
  29. }
  30. ul {
  31. flex-wrap: wrap;
  32. max-width: 100%;
  33. list-style: none;
  34. flex-grow: 1;
  35. padding: 0px;
  36. }
  37. li {
  38. display: block;
  39. margin: 0;
  40. padding: 0;
  41. box-sizing: inherit;
  42. user-select: none;
  43. }
  44. .top-button {
  45. color: rgba(0, 0, 0, 0.7);
  46. font-size: 1rem;
  47. line-height: 1rem;
  48. padding: 1em 0.5em;
  49. margin: 0;
  50. cursor: pointer;
  51. border-radius: 0px;
  52. background-color: #f5f5f5;
  53. }
  54. .top-button:hover {
  55. color: #000;
  56. background: #ededed;
  57. -webkit-transition: .5s background-color ease, .5s color ease;
  58. transition: .5s background-color ease, .5s color ease;
  59. }
  60. .top-bar {
  61. position: fixed;
  62. top: 0;
  63. left: 0;
  64. width: 100%;
  65. background-color: #f5f5f5;
  66. box-sizing: border-box;
  67. box-shadow: 0 1px 0 rgba(12, 13, 14, 0.1), 0 1px 6px rgba(59, 64, 69, 0.1);
  68. }
  69. .top-bar .container {
  70. margin: 0 auto;
  71. max-width: 940px;
  72. display: flex;
  73. box-sizing: border-box;
  74. flex-flow: row wrap;
  75. align-items: center;
  76. }
  77. .top-bar h2 {
  78. flex-shrink: 0;
  79. display: flex;
  80. justify-content: flex-start;
  81. font-size: 1.3em;
  82. line-height: 1.3em;
  83. margin: 0px;
  84. cursor: default;
  85. }
  86. .top-bar ul {
  87. flex-shrink: 0;
  88. display: flex;
  89. align-items: center;
  90. justify-content: flex-end;
  91. margin: 0px;
  92. }
  93. #in {
  94. margin-top: 70px;
  95. }
  96. .inline-emoji {
  97. font-size: 0.8em;
  98. }
  99. .setting-field {
  100. padding: 1.25rem 1.5rem;
  101. background-color: #f5f5f5;
  102. border-radius: 0px 0px 6px 6px;
  103. }
  104. fieldset {
  105. width: fit-content;
  106. border: 1px solid #9a9a9a;
  107. margin: 25px 0 5px 0;
  108. padding-left: 0;
  109. }
  110. legend {
  111. padding: 2px 5px;
  112. background-color: #e0e0e0;
  113. border-radius: 2px;
  114. margin: -27px 0 0 -1px;
  115. position: absolute;
  116. }
  117. .subtitle {
  118. font-weight: normal;
  119. }
  120. .btn {
  121. margin: 10px 0px;
  122. padding: .5em 1em;
  123. font-size: 1rem;
  124. border-radius: 3px;
  125. color: #333;
  126. border: solid 1px #dbdbdb;
  127. cursor: pointer;
  128. text-align: center;
  129. white-space: nowrap;
  130. background-color: #fff;
  131. }
  132. .btn:hover {
  133. border-color: #b5b5b5;
  134. background: rgba(0, 0, 0, .03);
  135. }
  136. .show {
  137. display: none;
  138. }
  139. .wordwrap {
  140. white-space: pre-wrap;
  141. white-space: -moz-pre-wrap;
  142. white-space: -pre-wrap;
  143. white-space: -o-pre-wrap;
  144. word-wrap: break-word;
  145. }
  146. label {
  147. cursor: pointer;
  148. line-height: 1.5em;
  149. }
  150. label:hover {
  151. color: #555;
  152. text-decoration: underline;
  153. }
  154. form {
  155. margin-bottom: 0px;
  156. }
  157. form span {
  158. width: 170px;
  159. display: inline-block;
  160. text-align: right;
  161. }
  162. a {
  163. color: #4b9aff;
  164. text-decoration: none;
  165. background-color: #f0f8ff;
  166. padding: .5em 1em;
  167. border-radius: 3px;
  168. font-size: 0.8em;
  169. cursor: pointer;
  170. }
  171. a:hover {
  172. text-decoration: none;
  173. background: #d6e8ff;
  174. }
  175. .plain-link {
  176. color: #000;
  177. background: none;
  178. text-decoration: none;
  179. }
  180. .plain-link :hover {
  181. text-decoration: none;
  182. background: none;
  183. }
  184. p {
  185. line-height: 1em;
  186. margin: 0.5em 0em;
  187. }
  188. .content {
  189. margin: 10px;
  190. }
  191. .code {
  192. font-family: 'Consolas', Courier, monospace;
  193. }
  194. .inline {
  195. display: inline-block;
  196. }
  197. .disabled {
  198. color: #ccc;
  199. cursor: default;
  200. }
  201. .disabled label:hover {
  202. color: #ccc;
  203. text-decoration: none;
  204. cursor: default;
  205. }
  206. .checkbox input[type="checkbox"] {
  207. opacity: 0;
  208. display: none;
  209. }
  210. .checkbox label {
  211. position: relative;
  212. display: inline-block;
  213. /*16px width of fake checkbox + 6px distance between fake checkbox and text*/
  214. padding-left: 22px;
  215. }
  216. .checkbox label::before,
  217. .checkbox label::after {
  218. position: absolute;
  219. content: "";
  220. /*Needed for the line-height to take effect*/
  221. display: inline-block;
  222. }
  223. /*Outer box of the fake checkbox*/
  224. .checkbox label::before {
  225. height: 16px;
  226. width: 16px;
  227. border: 1px solid #9A9A9A;
  228. left: 0px;
  229. /*(24px line-height - 16px height of fake checkbox) / 2 - 1px for the border to vertically center it.*/
  230. top: 3px;
  231. }
  232. /*Checkmark of the fake checkbox*/
  233. .checkbox label::after {
  234. height: 5px;
  235. width: 9px;
  236. border-left: 2px solid;
  237. border-bottom: 2px solid;
  238. transform: rotate(-45deg);
  239. left: 4px;
  240. top: 7px;
  241. color: #333;
  242. }
  243. /*Hide the checkmark by default*/
  244. .checkbox input[type="checkbox"]+label::after {
  245. content: none;
  246. }
  247. /*Unhide on the checked state*/
  248. .checkbox input[type="checkbox"]:checked+label::after {
  249. content: "";
  250. }
  251. /*Adding focus styles on the outer-box of the fake checkbox*/
  252. .checkbox input[type="checkbox"]:hover+label::after {
  253. border-color: #888;
  254. outline: #ccc;
  255. }
  256. .checkbox input[type="checkbox"]:hover+label::before {
  257. outline: #888;
  258. border-color: #888;
  259. background-color: #eee;
  260. }
  261. .checkbox input[type="checkbox"]:disabled+label::before {
  262. outline: #ccc;
  263. border-color: #ccc;
  264. background-color: #fff;
  265. color: #ccc;
  266. }
  267. .checkbox input[type="checkbox"]:disabled+label::after {
  268. color: #888;
  269. }
  270. .checkbox input[type="checkbox"]:focus+label::before {
  271. outline: #333 auto 5px;
  272. }
  273. .inline-note {
  274. color: #888;
  275. margin-left: 10px;
  276. display: inline-block;
  277. }
  278. .hide {
  279. display: none;
  280. }
  281. #settings_control {
  282. margin: 10px 0px;
  283. display: inline-block;
  284. }
  285. .modal {
  286. display: none;
  287. position: fixed;
  288. z-index: 1;
  289. left: 0;
  290. top: 0;
  291. width: 100%;
  292. height: 100%;
  293. overflow: auto;
  294. background-color: rgb(0, 0, 0);
  295. background-color: rgba(0, 0, 0, 0.4);
  296. }
  297. .modal-content {
  298. background-color: #fefefe;
  299. margin: 15% auto;
  300. padding: 20px;
  301. border: 1px solid #888;
  302. width: 80%;
  303. }
  304. .close {
  305. color: #aaa;
  306. float: right;
  307. font-size: 28px;
  308. font-weight: bold;
  309. }
  310. .close:hover,
  311. .close:focus {
  312. color: black;
  313. text-decoration: none;
  314. cursor: pointer;
  315. }
  316. .tooltip {
  317. cursor: pointer;
  318. position: relative;
  319. display: inline-block;
  320. }
  321. .tooltip .tooltiptext {
  322. visibility: hidden;
  323. opacity: 0;
  324. width: 220px;
  325. background-color: #fff;
  326. color: #000;
  327. text-align: left;
  328. padding: .5em 1em;
  329. border: 1px solid #cecece;
  330. border-radius: 3px;
  331. top: 120%;
  332. left: 0%;
  333. position: absolute;
  334. z-index: 1;
  335. -webkit-transition: opacity 0.5s ease-in-out;
  336. transition: opacity 0.5s ease-in-out;
  337. box-shadow: 1px 0px 5px #bcbcbc;
  338. }
  339. .tooltip:hover .tooltiptext {
  340. visibility: visible;
  341. opacity: 1;
  342. }
  343. .tooltip .tooltiptext::after {
  344. content: " ";
  345. position: absolute;
  346. bottom: 100%;
  347. left: 6%;
  348. margin-left: -5px;
  349. border-width: 5px;
  350. border-style: solid;
  351. border-width: 0 0.5em 0.5em 0.5em;
  352. border-color: transparent transparent white transparent;
  353. -webkit-filter: drop-shadow(1px 2px 1px #bcbcbc);
  354. filter: drop-shadow(1px -1px 1px #bcbcbc);
  355. }
  356. .emoji {
  357. font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;
  358. color: #fff;
  359. }