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.

669 lines
11 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
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. * <div class="hero">
  286. * <img src="image.png" alt="image" />
  287. * </div>
  288. *
  289. */
  290. /**
  291. *
  292. *
  293. *
  294. */
  295. /**
  296. * <figure class="media-figure">
  297. * <img class="media__img" src="https://via.placeholder.com/150" />
  298. * <figcaption class="media-figure__caption">
  299. * food truck yr franzen pabst
  300. * </figcaption>
  301. * </figure>
  302. *
  303. */
  304. /**
  305. *
  306. *
  307. *
  308. */
  309. a {
  310. color: #fff;
  311. }
  312. a:focus {
  313. outline: none;
  314. }
  315. /**
  316. * body
  317. *
  318. *
  319. *
  320. * line-height and breakpoints
  321. * font-size and breakpoints
  322. *
  323. */
  324. body {
  325. font-family: "IBM Plex Mono", sans-serif;
  326. background-color: #f9f9f9;
  327. direction: ltr;
  328. font-size: 1rem;
  329. line-height: 1.4;
  330. }
  331. .badge {
  332. display: inline-block;
  333. background-color: #3e3e3e;
  334. color: white;
  335. font-size: 0.85rem;
  336. padding: 0.4em 0.8em;
  337. border: 1px solid #3e3e3e;
  338. border-radius: 2px;
  339. }
  340. .badge--round {
  341. display: inline-flex;
  342. justify-content: center;
  343. border-radius: 50%;
  344. width: 2.5em;
  345. }
  346. .button {
  347. -webkit-appearance: none;
  348. -moz-appearance: none;
  349. appearance: none;
  350. position: relative;
  351. display: inline-block;
  352. text-decoration: none;
  353. font-family: "IBM Plex Mono", sans-serif;
  354. border: 1px solid #3e3e3e;
  355. background-color: white;
  356. color: #3e3e3e;
  357. border-radius: 2px;
  358. transition: background-color 0.1s;
  359. margin-bottom: 0.5em;
  360. padding: 0.5em 1.3em;
  361. font-size: 1rem;
  362. width: 100%;
  363. }
  364. @media only screen and (min-width: 768px) {
  365. .button {
  366. width: auto;
  367. }
  368. }
  369. .button--small {
  370. font-size: 0.8em;
  371. }
  372. .button:hover {
  373. cursor: pointer;
  374. text-decoration: none;
  375. color: white;
  376. background-color: #3e3e3e;
  377. }
  378. .button:disabled {
  379. opacity: 0.5;
  380. }
  381. .button:disabled:hover {
  382. cursor: not-allowed;
  383. border: 1px solid #3e3e3e;
  384. background-color: white;
  385. color: #3e3e3e;
  386. }
  387. .button--danger {
  388. border-color: #d95959;
  389. }
  390. .button--danger:hover {
  391. background-color: #d95959;
  392. }
  393. .field-group {
  394. margin-bottom: 1.2em;
  395. }
  396. .field-group--valid input.field-text, .field-group--valid textarea.field-text {
  397. border-color: #64ac64;
  398. }
  399. .field-group--valid .icon {
  400. fill: #64ac64;
  401. }
  402. .field-group--error input.field-text, .field-group--error textarea.field-text {
  403. border-color: #d95959;
  404. }
  405. .field-group--error .icon {
  406. fill: #d95959;
  407. }
  408. .field-label {
  409. font-size: 1rem;
  410. font-family: "IBM Plex Mono", sans-serif;
  411. }
  412. .field-label .icon {
  413. vertical-align: sub;
  414. font-size: 1.1rem;
  415. }
  416. .field-label:hover {
  417. cursor: pointer;
  418. }
  419. input.field-text, textarea.field-text, select.field-choice {
  420. font-family: "IBM Plex Mono", sans-serif;
  421. font-size: 0.95rem;
  422. width: 100%;
  423. border: 1px solid #a4a4a4;
  424. background-color: white;
  425. border-radius: 2px;
  426. margin: 0.7em 0 0;
  427. }
  428. input.field-text:focus, input.field-text:active, textarea.field-text:focus, textarea.field-text:active, select.field-choice:focus, select.field-choice:active {
  429. outline: 0;
  430. border-color: #3e3e3e;
  431. }
  432. input.field-text, textarea.field-text {
  433. padding: 0.8em 1.1em;
  434. }
  435. /**
  436. *
  437. *
  438. */
  439. select.field-choice {
  440. -webkit-appearance: none;
  441. -moz-appearance: none;
  442. appearance: none;
  443. padding: 0.8em;
  444. position: relative;
  445. }
  446. select.field-choice::after {
  447. position: absolute;
  448. right: 0;
  449. top: 0;
  450. display: block;
  451. content: " ";
  452. width: 10px;
  453. height: 10px;
  454. background: red;
  455. }
  456. /**
  457. * radio & checkbox
  458. *
  459. * <div class="field">
  460. * <label for="field__checkbox__1" class="field__label">
  461. * <input class="field__choice" type="checkbox" name="field__checkbox__1" value="true" />
  462. * <svg class="icon field__choice__unchecked" aria-hidden="true">
  463. * <use xlink:href="symbol-defs.svg#icon-minus"></use>
  464. * </svg>
  465. * <svg class="icon field__choice__checked" aria-hidden="true">
  466. * <use xlink:href="symbol-defs.svg#icon-checked"></use>
  467. * </svg>
  468. * checkbox 1
  469. * </label>
  470. * </div>
  471. *
  472. */
  473. input[type=checkbox].field-choice,
  474. input[type=radio].field-choice {
  475. position: relative;
  476. display: none;
  477. }
  478. input[type=checkbox].field-choice ~ .field-choice__checked,
  479. input[type=radio].field-choice ~ .field-choice__checked {
  480. display: none;
  481. }
  482. input[type=checkbox].field-choice:checked ~ .field-choice__checked,
  483. input[type=radio].field-choice:checked ~ .field-choice__checked {
  484. display: inline-block;
  485. }
  486. input[type=checkbox].field-choice:checked ~ .field-choice__unchecked,
  487. input[type=radio].field-choice:checked ~ .field-choice__unchecked {
  488. display: none;
  489. }
  490. svg.field-choice__unchecked {
  491. fill: #a4a4a4;
  492. }
  493. svg.field-choice__checked {
  494. fill: #64ac64;
  495. }
  496. .field-help, .field-error {
  497. display: inline-block;
  498. width: 100%;
  499. padding: 0.6em 0.5em;
  500. font-size: 0.8rem;
  501. }
  502. .field-error {
  503. color: #d95959;
  504. }
  505. .icon {
  506. width: 1em;
  507. height: 1em;
  508. max-height: 100%;
  509. max-width: 100%;
  510. vertical-align: middle;
  511. overflow: hidden;
  512. font-size: 1.2rem;
  513. fill: #3e3e3e;
  514. }
  515. .icon--success {
  516. fill: #64ac64;
  517. }
  518. .icon--danger {
  519. fill: #d95959;
  520. }
  521. .panel {
  522. border: 1px solid #3e3e3e;
  523. border-radius: 2px;
  524. background: #fff;
  525. }
  526. .panel__header {
  527. display: flex;
  528. background-color: #3e3e3e;
  529. color: white;
  530. padding: 0.8em 1.2em;
  531. line-height: 1.6em;
  532. }
  533. .panel__header button {
  534. -webkit-appearance: none;
  535. -moz-appearance: none;
  536. appearance: none;
  537. background: none;
  538. border: none;
  539. padding: 0;
  540. }
  541. .panel__header button:hover {
  542. cursor: pointer;
  543. }
  544. .panel__header .icon {
  545. vertical-align: bottom;
  546. width: 1.5em;
  547. height: 1.5em;
  548. margin-right: 0.5em;
  549. fill: white;
  550. }
  551. .panel__buttons {
  552. display: flex;
  553. justify-content: end;
  554. width: 100%;
  555. }
  556. .panel__buttons button:last-child .icon {
  557. margin-right: 0;
  558. }
  559. .panel__body {
  560. padding: 0.6em 1.2em;
  561. }
  562. .figure {
  563. margin: 0;
  564. display: inline-block;
  565. line-height: 0;
  566. border: 1px solid #3e3e3e;
  567. border-radius: 2px;
  568. overflow: hidden;
  569. }
  570. .figure__caption {
  571. padding: 0.75em 1.1em;
  572. font-size: 0.7rem;
  573. background: #3e3e3e;
  574. line-height: 1.4;
  575. margin: 0;
  576. color: white;
  577. }
  578. .figure img.media {
  579. border: 0;
  580. }
  581. img.media {
  582. border-radius: 2px;
  583. border: 1px solid #3e3e3e;
  584. width: 100%;
  585. height: auto;
  586. }
  587. .table {
  588. width: 100%;
  589. border: 1px solid #cacaca;
  590. background: white;
  591. }
  592. .table--striped tr:nth-child(even) {
  593. background-color: #fdfdfd;
  594. }
  595. .table--scroll {
  596. overflow-x: auto;
  597. }
  598. .table td {
  599. color: #3e3e3e;
  600. }
  601. .table td,
  602. .table th {
  603. text-align: left;
  604. border-bottom: 1px solid #cacaca;
  605. padding: 0.5em 1.25em;
  606. }
  607. .table th {
  608. border-bottom: 1px solid #8b8b8b;
  609. background-color: #e4e4e4;
  610. }
  611. .table tr:hover {
  612. background-color: #e4e4e4;
  613. }
  614. .hero {
  615. position: relative;
  616. }
  617. .hero img {
  618. width: 100%;
  619. -o-object-fit: cover;
  620. object-fit: cover;
  621. -o-object-position: 50% 50%;
  622. object-position: 50% 50%;
  623. }
  624. .hero--contain {
  625. -o-object-fit: contain;
  626. object-fit: contain;
  627. }