Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

options.css 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. /***********/
  2. /* GENERAL */
  3. /***********/
  4. html {
  5. box-sizing: border-box;
  6. font-size: 16px;
  7. }
  8. *, *::before, *::after {
  9. box-sizing: inherit;
  10. }
  11. body {
  12. margin: 0 auto;
  13. display: flex;
  14. flex-flow: column;
  15. min-height: 100vh;
  16. padding: 10px 20px;
  17. font-size: 1rem;
  18. }
  19. body.noscroll {
  20. overflow: hidden;
  21. }
  22. body > div {
  23. position: relative;
  24. }
  25. body > div + div {
  26. margin: 2.5em 0 1em 0;
  27. }
  28. /************/
  29. /* HEADINGS */
  30. /************/
  31. h1 {
  32. border-bottom: 1px solid #ddd;
  33. margin: 0.5em 0;
  34. font-size: 2rem;
  35. }
  36. h2 {
  37. margin: 0;
  38. border-bottom: 1px solid #ddd;
  39. font-size: 1.625rem;
  40. padding: 0 0 2px 0;
  41. }
  42. h3 {
  43. font-size: 1.3125rem;
  44. color: #666;
  45. border-bottom: 1px dotted #eee;
  46. margin: 1em 0 0.5em 0;
  47. }
  48. /*************/
  49. /* TEXTAREAS */
  50. /*************/
  51. textarea {
  52. border: 1px solid #aaa;
  53. font-family: Inconsolata, Courier, monospace;
  54. font-size: 1.125rem;
  55. width: 100%;
  56. display: block;
  57. max-height: calc(100vh - 275px);
  58. }
  59. #matchingPatterns textarea {
  60. min-height: 300px;
  61. }
  62. #exclusionPatterns textarea {
  63. min-height: 150px;
  64. }
  65. /******************/
  66. /* OTHER CONTROLS */
  67. /******************/
  68. .top-controls {
  69. text-align: right;
  70. margin: 0 0 2.5em 0;
  71. display: flex;
  72. flex-flow: row wrap;
  73. align-items: center;
  74. max-width: 640px;
  75. }
  76. .top-controls .buttons {
  77. display: flex;
  78. align-items: center;
  79. justify-content: flex-end;
  80. flex: 1 1 0;
  81. }
  82. button {
  83. -webkit-appearance: none;
  84. -moz-appearance: none;
  85. border: none;
  86. background-color: transparent;
  87. }
  88. button:active {
  89. transform: scale(0.95);
  90. }
  91. button:focus:active {
  92. outline: none;
  93. }
  94. .top-controls button {
  95. border: 1px solid #bbb;
  96. color: #fff;
  97. padding: 10px 16px;
  98. cursor: default;
  99. margin: 0 0 0 0.5em;
  100. background-color: #fff;
  101. }
  102. .top-controls button.save-button {
  103. background-color: #16e;
  104. font-size: 1.5rem;
  105. }
  106. .top-controls button.reset-button {
  107. background-color: #d3453d;
  108. font-size: 1rem;
  109. }
  110. .top-controls button:disabled {
  111. background-color: #777;
  112. opacity: 0.3;
  113. }
  114. input#whitelist-mode {
  115. display: block;
  116. -webkit-appearance: none;
  117. -moz-appearance: none;
  118. border: 1px solid #000;
  119. font-size: 1rem;
  120. height: 2em;
  121. width: 4em;
  122. margin: 0 6px;
  123. background-color: #000;
  124. box-shadow:
  125. -2em 0 0 1px #fff inset,
  126. 0 0 0 3px #fff inset;
  127. }
  128. input#whitelist-mode:checked {
  129. border: 1px solid #fff;
  130. background-color: #fff;
  131. box-shadow:
  132. 2em 0 0 1px #000 inset,
  133. 0 0 0 3px #000 inset;
  134. }
  135. input#whitelist-mode,
  136. .mode-select-container span {
  137. cursor: pointer;
  138. }
  139. .mode-select-container {
  140. white-space: nowrap;
  141. display: flex;
  142. align-items: center;
  143. align-self: flex-start;
  144. border: 1px solid #ddd;
  145. padding: 8px 10px;
  146. cursor: default;
  147. background-color: #fff;
  148. }
  149. .mode-select-container.whitelist {
  150. background-color: #000;
  151. color: #fff;
  152. }
  153. .mode-select-container:not(.whitelist) .blacklist-mode-label,
  154. .mode-select-container.whitelist .whitelist-mode-label {
  155. border-bottom: 1px dotted currentColor;
  156. }
  157. .mode-select-container span::selection {
  158. background-color: transparent;
  159. }
  160. .mode-select-container span.disabled {
  161. pointer-events: none;
  162. }
  163. .mode-select-container span:not(.disabled):hover {
  164. border-bottom: 1px solid currentColor;
  165. }
  166. .top-controls button:not(:disabled):hover {
  167. text-shadow:
  168. 0 0 1px #fff,
  169. 0 0 3px #fff,
  170. 0 0 5px #fff;
  171. cursor: pointer;
  172. }
  173. p.note {
  174. font-size: 0.875em;
  175. }
  176. /******************/
  177. /* WHITELIST MODE */
  178. /******************/
  179. #matchingPatterns.disabled h2 {
  180. color: rgba(0,0,0,0.15);
  181. }
  182. #matchingPatterns.disabled p {
  183. opacity: 0.2;
  184. }
  185. #matchingPatterns.disabled .textarea-container {
  186. position: relative;
  187. }
  188. #matchingPatterns.disabled .textarea-container::before {
  189. content: ".*";
  190. display: flex;
  191. position: absolute;
  192. background-color: rgba(232,232,232,0.9);
  193. width: 100%;
  194. height: 100%;
  195. z-index: 1;
  196. justify-content: center;
  197. align-items: center;
  198. font-family: Inconsolata, Courier, monospace;
  199. font-size: 4em;
  200. }
  201. /***************/
  202. /* BOTTOM INFO */
  203. /***************/
  204. .bottom-info {
  205. font-size: 0.875rem;
  206. color: #aaa;
  207. text-align: center;
  208. margin: 1em 0;
  209. line-height: 1.6;
  210. }
  211. .bottom-info p {
  212. margin: 0;
  213. }
  214. /****************/
  215. /* HELP OVERLAY */
  216. /****************/
  217. .open-help-button-container {
  218. position: absolute;
  219. top: 0;
  220. right: 0;
  221. }
  222. .help-overlay {
  223. position: fixed;
  224. background-color: #ffe;
  225. top: 10px;
  226. left: 10px;
  227. margin: 0;
  228. border: 1px solid #777;
  229. box-shadow:
  230. 1px 1px 4px 0 #aaa;
  231. width: calc(100% - 20px);
  232. height: calc(100% - 20px);
  233. line-height: 1.4;
  234. padding: 36px 0 6px 0;
  235. }
  236. #help {
  237. visibility: hidden;
  238. }
  239. #help:target {
  240. visibility: visible;
  241. }
  242. .help-container {
  243. height: 100%;
  244. padding: 0 16px;
  245. overflow-y: scroll;
  246. }
  247. .help-container::-webkit-scrollbar {
  248. background-color: transparent;
  249. width: 15px;
  250. }
  251. .help-container::-webkit-scrollbar-thumb {
  252. background-color: #c1c1c1;
  253. box-shadow: 0 0 0 3px #ffe inset;
  254. }
  255. .help-container::-webkit-scrollbar-thumb:hover {
  256. background-color: #888;
  257. }
  258. .help-overlay h1 {
  259. margin: 0 0 0.5em 0;
  260. line-height: 1;
  261. padding: 0 0 4px 0;
  262. }
  263. .help-overlay .close-button,
  264. .open-help-button-container .open-help-button {
  265. display: block;
  266. cursor: pointer;
  267. color: #999;
  268. white-space: nowrap;
  269. }
  270. .help-overlay .close-button:hover,
  271. .open-help-button-container .open-help-button:hover {
  272. color: #000;
  273. }
  274. .help-overlay .close-button::before,
  275. .open-help-button-container .open-help-button::before {
  276. font-family: Font Awesome;
  277. padding: 4px;
  278. display: inline-block;
  279. }
  280. .help-overlay .close-button {
  281. font-size: 0.875rem;
  282. position: absolute;
  283. top: 0;
  284. right: 0;
  285. padding: 6px 12px;
  286. }
  287. .help-overlay .close-button::before {
  288. content: "\F00D";
  289. font-weight: 300;
  290. font-size: 1rem;
  291. position: relative;
  292. top: 1px;
  293. }
  294. .open-help-button-container .open-help-button {
  295. font-size: 1.125rem;
  296. padding: 8px 12px 10px 10px;
  297. }
  298. .open-help-button-container .open-help-button::before {
  299. content: "\F059";
  300. font-weight: 900;
  301. font-size: 1rem;
  302. }
  303. /********/
  304. /* MISC */
  305. /********/
  306. code {
  307. font-family: Inconsolata, monospace;
  308. }
  309. .fa {
  310. font-family: Font Awesome;
  311. }
  312. .fa-light {
  313. font-weight: 300;
  314. }
  315. .fa-normal {
  316. font-weight: 400;
  317. }
  318. .fa-heavy {
  319. font-weight: 900;
  320. }