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.

422 lines
7.3 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 #ccc;
  107. margin: 25px 0 5px 0;
  108. padding: 5px;
  109. }
  110. legend {
  111. padding: 2px 5px;
  112. background-color: #ccc;
  113. border-radius: 2px;
  114. margin: -27px 0 0 -6px;
  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. display: inline-block;
  159. }
  160. a {
  161. color: #4b9aff;
  162. text-decoration: none;
  163. background-color: #f0f8ff;
  164. padding: .5em 1em;
  165. border-radius: 3px;
  166. font-size: 0.8em;
  167. cursor: pointer;
  168. }
  169. a:hover {
  170. text-decoration: none;
  171. background: #d6e8ff;
  172. }
  173. .plain-link {
  174. color: #000;
  175. background: none;
  176. text-decoration: none;
  177. }
  178. .plain-link :hover {
  179. text-decoration: none;
  180. background: none;
  181. }
  182. p {
  183. line-height: 1em;
  184. margin: 0.5em 0em;
  185. }
  186. .content {
  187. margin: 10px;
  188. }
  189. .code {
  190. font-family: 'Consolas', Courier, monospace;
  191. }
  192. .inline {
  193. display: inline-block;
  194. }
  195. .disabled {
  196. color: #ccc;
  197. cursor: default;
  198. }
  199. .disabled label:hover {
  200. color: #ccc;
  201. text-decoration: none;
  202. cursor: default;
  203. }
  204. .checkbox input[type="checkbox"] {
  205. opacity: 0;
  206. display: none;
  207. }
  208. .checkbox label {
  209. position: relative;
  210. display: inline-block;
  211. /*16px width of fake checkbox + 6px distance between fake checkbox and text*/
  212. padding-left: 22px;
  213. }
  214. .checkbox label::before,
  215. .checkbox label::after {
  216. position: absolute;
  217. content: "";
  218. /*Needed for the line-height to take effect*/
  219. display: inline-block;
  220. }
  221. /*Outer box of the fake checkbox*/
  222. .checkbox label::before {
  223. height: 16px;
  224. width: 16px;
  225. border: 1px solid #9A9A9A;
  226. left: 0px;
  227. /*(24px line-height - 16px height of fake checkbox) / 2 - 1px for the border to vertically center it.*/
  228. top: 3px;
  229. }
  230. /*Checkmark of the fake checkbox*/
  231. .checkbox label::after {
  232. height: 5px;
  233. width: 9px;
  234. border-left: 2px solid;
  235. border-bottom: 2px solid;
  236. transform: rotate(-45deg);
  237. left: 4px;
  238. top: 7px;
  239. color: #333;
  240. }
  241. /*Hide the checkmark by default*/
  242. .checkbox input[type="checkbox"]+label::after {
  243. content: none;
  244. }
  245. /*Unhide on the checked state*/
  246. .checkbox input[type="checkbox"]:checked+label::after {
  247. content: "";
  248. }
  249. /*Adding focus styles on the outer-box of the fake checkbox*/
  250. .checkbox input[type="checkbox"]:hover+label::after {
  251. border-color: #888;
  252. outline: #ccc;
  253. }
  254. .checkbox input[type="checkbox"]:hover+label::before {
  255. outline: #888;
  256. border-color: #888;
  257. background-color: #eee;
  258. }
  259. .checkbox input[type="checkbox"]:disabled+label::before {
  260. outline: #ccc;
  261. border-color: #ccc;
  262. background-color: #fff;
  263. color: #ccc;
  264. }
  265. .checkbox input[type="checkbox"]:disabled+label::after {
  266. color: #888;
  267. }
  268. .checkbox input[type="checkbox"]:focus+label::before {
  269. outline: #333 auto 5px;
  270. }
  271. .inline-note {
  272. color: #888;
  273. margin-left: 10px;
  274. display: inline-block;
  275. }
  276. .hide {
  277. display: none;
  278. }
  279. #settings_control {
  280. margin: 10px 0px;
  281. display: inline-block;
  282. }
  283. .modal {
  284. display: none;
  285. position: fixed;
  286. z-index: 1;
  287. left: 0;
  288. top: 0;
  289. width: 100%;
  290. height: 100%;
  291. overflow: auto;
  292. background-color: rgb(0, 0, 0);
  293. background-color: rgba(0, 0, 0, 0.4);
  294. }
  295. .modal-content {
  296. background-color: #fefefe;
  297. margin: 15% auto;
  298. padding: 20px;
  299. border: 1px solid #888;
  300. width: 80%;
  301. }
  302. .close {
  303. color: #aaa;
  304. float: right;
  305. font-size: 28px;
  306. font-weight: bold;
  307. }
  308. .close:hover,
  309. .close:focus {
  310. color: black;
  311. text-decoration: none;
  312. cursor: pointer;
  313. }
  314. .tooltip {
  315. cursor: pointer;
  316. position: relative;
  317. display: inline-block;
  318. }
  319. .tooltip .tooltiptext {
  320. visibility: hidden;
  321. opacity: 0;
  322. width: 220px;
  323. background-color: #fff;
  324. color: #000;
  325. text-align: left;
  326. padding: .5em 1em;
  327. border: 1px solid #cecece;
  328. border-radius: 3px;
  329. top: 120%;
  330. left: 0%;
  331. position: absolute;
  332. z-index: 1;
  333. -webkit-transition: opacity 0.5s ease-in-out;
  334. transition: opacity 0.5s ease-in-out;
  335. box-shadow: 1px 0px 5px #bcbcbc;
  336. }
  337. .tooltip:hover .tooltiptext {
  338. visibility: visible;
  339. opacity: 1;
  340. }
  341. .tooltip .tooltiptext::after {
  342. content: " ";
  343. position: absolute;
  344. bottom: 100%;
  345. left: 6%;
  346. margin-left: -5px;
  347. border-width: 5px;
  348. border-style: solid;
  349. border-width: 0 0.5em 0.5em 0.5em;
  350. border-color: transparent transparent white transparent;
  351. -webkit-filter: drop-shadow(1px 2px 1px #bcbcbc);
  352. filter: drop-shadow(1px -1px 1px #bcbcbc);
  353. }
  354. .emoji {
  355. font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;
  356. color: #fff;
  357. }