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.

533 lines
9.2 KiB

3 years ago
  1. @charset "UTF-8";
  2. @font-face {
  3. font-family: "IBM Plex Mono";
  4. src: url(/fonts/IBMPlexMono.eot?85f924ecb898e5720062617e4a86f1d1);
  5. src: url(/fonts/IBMPlexMono.eot?85f924ecb898e5720062617e4a86f1d1) format("embedded-opentype"), url(/fonts/IBMPlexMono.woff2?db620201a437f00ce78da2a10cf50f3f) format("woff2"), url(/fonts/IBMPlexMono.woff?3d04ef6de65d3c77bd60c158326be298) format("woff"), url(/fonts/IBMPlexMono.ttf?ce51a85eb7160067d01bcf6e56f837d1) format("truetype");
  6. font-weight: normal;
  7. font-style: normal;
  8. font-display: swap;
  9. }
  10. @font-face {
  11. font-family: "IBM Plex Mono";
  12. src: url(/fonts/IBMPlexMono-Bold.eot?eb105b142ce736849ef4828cb0c8eb34);
  13. src: url(/fonts/IBMPlexMono-Bold.eot?eb105b142ce736849ef4828cb0c8eb34) format("embedded-opentype"), url(/fonts/IBMPlexMono-Bold.woff2?8b633c62813e0275ebd7a1c793c4e99c) format("woff2"), url(/fonts/IBMPlexMono-Bold.woff?b72090c625b4144f3763d5b2bf8f5942) format("woff"), url(/fonts/IBMPlexMono-Bold.ttf?558e55bd46468bb8d7074d7064d02c30) format("truetype");
  14. font-weight: bold;
  15. font-style: normal;
  16. font-display: swap;
  17. }
  18. /**
  19. * mixins
  20. *
  21. *
  22. * @author Björn Hase, Tentakelfabrik
  23. * @license http://opensource.org/licenses/MIT The MIT License
  24. * @link https://github.com/tentakelfabrik/plain-ui-css
  25. *
  26. */
  27. /**
  28. * Clear Floats
  29. *
  30. *
  31. *
  32. */
  33. /**
  34. * clear styles from list
  35. *
  36. *
  37. */
  38. /**
  39. * media-queries as mixins
  40. * based on breakpoints from variables
  41. *
  42. *
  43. *
  44. */
  45. /**
  46. * Set property and his value for each Breakpoint
  47. *
  48. * (
  49. * $plain-ui__md: 10px
  50. * )
  51. *
  52. *
  53. * @param {css} $property
  54. * @param {map} $breakpoints
  55. * @param {Boolean} $important [false]
  56. *
  57. */
  58. /**
  59. * Set property and his value with an factor for each Breakpoint
  60. *
  61. * (
  62. * $plain-ui__md: 10px
  63. * )
  64. *
  65. * @param {css} $property
  66. * @param {number} $factor
  67. * @param {map} $breakpoints
  68. * @param {Boolean} $important [false]
  69. *
  70. */
  71. /**
  72. * Set font-size from Breakpoints, use for calculating difference from font-size and default font-size
  73. *
  74. * (
  75. * $plain-ui__md: 1rem
  76. * )
  77. *
  78. * @param {map} $breakpoints
  79. * @param {unit} $font-size
  80. * @param {unit} $default
  81. * @param {Boolean} $important [false]
  82. *
  83. */
  84. /**
  85. * variables
  86. *
  87. *
  88. *
  89. * @author Björn Hase, Tentakelfabrik
  90. * @license http://opensource.org/licenses/MIT The MIT License
  91. * @link https://github.com/tentakelfabrik/plain-ui-css
  92. *
  93. */
  94. /**
  95. * breakpoints
  96. *
  97. */
  98. /**
  99. * fonts
  100. *
  101. */
  102. /**
  103. * colors
  104. *
  105. *
  106. */
  107. /**
  108. * padding & margin
  109. *
  110. */
  111. /**
  112. * heading
  113. *
  114. */
  115. /**
  116. * z-index
  117. *
  118. */
  119. /**
  120. * core
  121. *
  122. *
  123. * @author Björn Hase, Tentakelfabrik
  124. * @license http://opensource.org/licenses/MIT The MIT License
  125. * @link https://github.com/tentakelfabrik/crispy-css
  126. *
  127. */
  128. /**
  129. * normalize
  130. *
  131. * Thanks to https://necolas.github.io/normalize.css/, use a lot from them
  132. *
  133. * @author Björn Hase, Tentakelfabrik
  134. * @license http://opensource.org/licenses/MIT The MIT License
  135. * @link https://github.com/tentakelfabrik/crispy-css
  136. *
  137. */
  138. /**
  139. * Heading
  140. *
  141. *
  142. * @author Björn Hase, Tentakelfabrik
  143. * @license http://opensource.org/licenses/MIT The MIT License
  144. * @link https://github.com/tentakelfabrik/crispy-css
  145. *
  146. */
  147. /**
  148. * typograhy
  149. *
  150. * @author Björn Hase, Tentakelfabrik
  151. * @license http://opensource.org/licenses/MIT The MIT License
  152. * @link https://github.com/tentakelfabrik/crispy-css
  153. *
  154. */
  155. html {
  156. font-size: 100%;
  157. line-height: 1.15;
  158. -webkit-text-size-adjust: 100%;
  159. }
  160. body,
  161. html {
  162. margin: 0;
  163. height: 100%;
  164. }
  165. html,
  166. legend {
  167. box-sizing: border-box;
  168. }
  169. main {
  170. display: block;
  171. }
  172. *,
  173. *::after,
  174. *::before {
  175. box-sizing: inherit;
  176. }
  177. table {
  178. border-collapse: collapse;
  179. border-spacing: 0;
  180. }
  181. figcaption {
  182. margin: 10px 0;
  183. }
  184. /**
  185. * form elements
  186. *
  187. *
  188. */
  189. button,
  190. input,
  191. optgroup,
  192. select,
  193. textarea {
  194. margin: 0;
  195. }
  196. button,
  197. select {
  198. text-transform: none;
  199. }
  200. button,
  201. [type=button],
  202. [type=reset],
  203. [type=submit] {
  204. -webkit-appearance: button;
  205. }
  206. button::-moz-focus-inner,
  207. [type=button]::-moz-focus-inner,
  208. [type=reset]::-moz-focus-inner,
  209. [type=submit]::-moz-focus-inner {
  210. border-style: none;
  211. padding: 0;
  212. }
  213. button:-moz-focusring,
  214. [type=button]:-moz-focusring,
  215. [type=reset]:-moz-focusring,
  216. [type=submit]:-moz-focusring {
  217. outline: 1px dotted ButtonText;
  218. }
  219. legend {
  220. box-sizing: border-box;
  221. display: table;
  222. max-width: 100%;
  223. padding: 0;
  224. white-space: normal;
  225. }
  226. [type=number]::-webkit-inner-spin-button,
  227. [type=number]::-webkit-outer-spin-button {
  228. height: auto;
  229. }
  230. [type=search] {
  231. -webkit-appearance: textfield;
  232. outline-offset: -2px;
  233. }
  234. [type=search]::-webkit-search-decoration {
  235. -webkit-appearance: none;
  236. }
  237. ::-webkit-file-upload-button {
  238. -webkit-appearance: button;
  239. font: inherit;
  240. }
  241. /**
  242. * hr
  243. *
  244. */
  245. hr {
  246. box-sizing: content-box;
  247. height: 0;
  248. overflow: visible;
  249. border: 0;
  250. margin: 0.3em 0;
  251. }
  252. progress {
  253. vertical-align: baseline;
  254. }
  255. details {
  256. display: block;
  257. }
  258. summary {
  259. display: list-item;
  260. }
  261. /**
  262. *
  263. *
  264. *
  265. *
  266. */
  267. /**
  268. *
  269. *
  270. *
  271. */
  272. /**
  273. *
  274. *
  275. *
  276. *
  277. */
  278. /**
  279. *
  280. *
  281. *
  282. *
  283. */
  284. /**
  285. *
  286. *
  287. *
  288. */
  289. a {
  290. color: #fff;
  291. }
  292. a:focus {
  293. outline: none;
  294. }
  295. /**
  296. * body
  297. *
  298. *
  299. *
  300. * line-height and breakpoints
  301. * font-size and breakpoints
  302. *
  303. */
  304. body {
  305. font-family: "IBM Plex Mono", sans-serif;
  306. background-color: #f9f9f9;
  307. direction: ltr;
  308. font-size: 1rem;
  309. line-height: 1.4;
  310. }
  311. .badge {
  312. display: inline-block;
  313. background-color: #3e3e3e;
  314. color: white;
  315. font-size: 0.85rem;
  316. padding: 0.4em 0.8em;
  317. border: 1px solid #242424;
  318. border-radius: 2px;
  319. }
  320. .badge--round {
  321. display: inline-flex;
  322. justify-content: center;
  323. border-radius: 50%;
  324. width: 2.5em;
  325. }
  326. .button {
  327. -webkit-appearance: none;
  328. -moz-appearance: none;
  329. appearance: none;
  330. position: relative;
  331. display: inline-block;
  332. text-decoration: none;
  333. font-family: "IBM Plex Mono", sans-serif;
  334. border: 1px solid black;
  335. background-color: #3e3e3e;
  336. color: white;
  337. padding: 0.7em 1.5em;
  338. margin-bottom: 0.5em;
  339. font-size: 1.1rem;
  340. border-radius: 2px;
  341. transition: background-color 0.5s;
  342. width: 100%;
  343. }
  344. @media only screen and (min-width: 768px) {
  345. .button {
  346. width: auto;
  347. }
  348. }
  349. .button:hover {
  350. cursor: pointer;
  351. text-decoration: none;
  352. background-color: #575757;
  353. }
  354. .button--secondary {
  355. border: 1px solid #4a4a4a;
  356. background-color: #7d7d7d;
  357. }
  358. .field-group {
  359. margin-bottom: 1.2em;
  360. }
  361. .field-group--valid input.field-text, .field-group--valid textarea.field-text {
  362. border-color: #64ac64;
  363. }
  364. .field-group--valid .icon {
  365. fill: #64ac64;
  366. }
  367. .field-group--error input.field-text, .field-group--error textarea.field-text {
  368. border-color: #d95959;
  369. }
  370. .field-group--error .icon {
  371. fill: #d95959;
  372. }
  373. .field-label {
  374. font-size: 1rem;
  375. font-family: "IBM Plex Mono", sans-serif;
  376. }
  377. .field-label .icon {
  378. vertical-align: sub;
  379. font-size: 1.1rem;
  380. }
  381. .field-label:hover {
  382. cursor: pointer;
  383. }
  384. input.field-text, textarea.field-text, select.field-choice {
  385. font-family: "IBM Plex Mono", sans-serif;
  386. font-size: 0.95rem;
  387. width: 100%;
  388. border: 1px solid #8a8a8a;
  389. background-color: white;
  390. border-radius: 2px;
  391. margin: 0.7em 0 0;
  392. }
  393. input.field-text:focus, input.field-text:active, textarea.field-text:focus, textarea.field-text:active, select.field-choice:focus, select.field-choice:active {
  394. outline: 0;
  395. border-color: #242424;
  396. }
  397. input.field-text, textarea.field-text {
  398. padding: 0.8em 1.1em;
  399. }
  400. select.field-choice {
  401. padding: 0.8em;
  402. }
  403. /**
  404. * radio & checkbox
  405. *
  406. * <div class="field">
  407. * <input id="field__checkbox__1" class="field__choice" type="checkbox" name="field__checkbox__1" value="true" />
  408. * <label for="field__checkbox__1" class="field__label">
  409. * <svg class="icon field__choice__unchecked" aria-hidden="true">
  410. * <use xlink:href="symbol-defs.svg#icon-minus"></use>
  411. * </svg>
  412. * <svg class="icon field__choice__checked" aria-hidden="true">
  413. * <use xlink:href="symbol-defs.svg#icon-checked"></use>
  414. * </svg>
  415. * checkbox 1
  416. * </label>
  417. * </div>
  418. *
  419. */
  420. input[type=checkbox].field-choice {
  421. position: relative;
  422. display: none;
  423. }
  424. input[type=checkbox].field-choice ~ .field-choice__checked {
  425. display: none;
  426. }
  427. input[type=checkbox].field-choice:checked ~ .field-choice__checked {
  428. display: inline-block;
  429. }
  430. input[type=checkbox].field-choice:checked ~ .field-choice__unchecked {
  431. display: none;
  432. }
  433. .field-help, .field-error {
  434. display: inline-block;
  435. width: 100%;
  436. padding: 0.6em 0.5em;
  437. font-size: 0.8rem;
  438. }
  439. .field-error {
  440. color: #d95959;
  441. }
  442. .icon {
  443. width: 1em;
  444. height: 1em;
  445. max-height: 100%;
  446. max-width: 100%;
  447. vertical-align: middle;
  448. overflow: hidden;
  449. fill: #242424;
  450. }
  451. .icon--success {
  452. fill: #64ac64;
  453. }
  454. .icon--danger {
  455. fill: #d95959;
  456. }
  457. .panel {
  458. border: 1px solid #242424;
  459. border-radius: 2px;
  460. background: #fff;
  461. }
  462. .panel__header {
  463. display: flex;
  464. background-color: #242424;
  465. color: white;
  466. padding: 0.8em 1.2em;
  467. line-height: 1.6em;
  468. }
  469. .panel__header button {
  470. -webkit-appearance: none;
  471. -moz-appearance: none;
  472. appearance: none;
  473. background: none;
  474. border: none;
  475. padding: 0;
  476. }
  477. .panel__header button:hover {
  478. cursor: pointer;
  479. }
  480. .panel__header .icon {
  481. vertical-align: bottom;
  482. width: 1.5em;
  483. height: 1.5em;
  484. margin-right: 0.5em;
  485. fill: white;
  486. }
  487. .panel__buttons {
  488. display: flex;
  489. justify-content: end;
  490. width: 100%;
  491. }
  492. .panel__buttons button:last-child .icon {
  493. margin-right: 0;
  494. }
  495. .panel__body {
  496. padding: 0.6em 1.2em;
  497. }