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.

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