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.

748 lines
30 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
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
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
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
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
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. <!doctype html>
  2. <html lang="en_EN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="x-ua-compatible" content="ie=edge">
  6. <title>
  7. Plain UI | Lightweight CSS UI Framework for Building Apps and Websites
  8. </title>
  9. <meta name="description" content="Lightweight UI Framework for building fast and clean Websites and Apps for Mobile, Tablet and Desktop. Minimal UI-Elements, Functions and Helpers">
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <link rel="stylesheet" href="plain-ui.css">
  12. </head>
  13. <body class="overflow-x-hidden">
  14. <header class="header">
  15. <div class="bar">
  16. <div class="bar__main">
  17. <h1 class="m-top-4 m-bottom-4 h4">
  18. Plain UI 0.1-alpha
  19. </h1>
  20. </div>
  21. </div>
  22. </header>
  23. <div class="container m-top-6">
  24. <div class="grid">
  25. <div class="col-12">
  26. <nav>
  27. <div class="tabs">
  28. <a href="index.html" class="tabs__item">
  29. Basics
  30. </a>
  31. <a href="components.html" class="tabs__item tabs__item--selected">
  32. Components
  33. </a>
  34. <a href="layout.html" class="tabs__item">
  35. Layout
  36. </a>
  37. <a href="helpers.html" class="tabs__item">
  38. Helpers
  39. </a>
  40. </div>
  41. </nav>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="container">
  46. <div class="grid">
  47. <div class="col-12">
  48. <h1 class="highlight m-bottom-5">
  49. Components
  50. </h1>
  51. <div class="panel panel--border-highlight border-color-danger m-bottom-4">
  52. <div class="panel__body">
  53. <div class="content m-last-child-0">
  54. <p>
  55. Plain UI is currently under development, Styles, Names and Documentation may change until Release!
  56. </p>
  57. </div>
  58. </div>
  59. </div>
  60. <h2>Badge</h2>
  61. <div class="content m-bottom-4">
  62. <code>&#x3C;span class=&#x22;badge&#x22;&#x3E;
  63. Category
  64. &#x3C;/span&#x3E;
  65. </code>
  66. </div>
  67. <span class="badge">
  68. Category
  69. </span>
  70. <span class="badge badge--round">
  71. 99+
  72. </span>
  73. <h2 class="m-top-5">
  74. Bar
  75. </h2>
  76. <div class="content m-bottom-4">
  77. <code>&#x3C;div class=&#x22;bar&#x22;&#x3E;
  78. &#x3C;div class=&#x22;bar__start&#x22;&#x3E;
  79. &#x3C;button class=&#x22;button button--transparent&#x22;&#x3E;
  80. &#x3C;svg class=&#x22;icon fill-text-contrast marginless&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  81. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-close&#x22;&#x3E;&#x3C;/use&#x3E;
  82. &#x3C;/svg&#x3E;
  83. &#x3C;/button&#x3E;
  84. &#x3C;/div&#x3E;
  85. &#x3C;div class=&#x22;bar__main&#x22;&#x3E;
  86. Bar
  87. &#x3C;/div&#x3E;
  88. &#x3C;/div&#x3E;
  89. </code>
  90. </div>
  91. <div class="bar">
  92. <div class="bar__start">
  93. <button class="button button--transparent">
  94. <svg class="icon fill-text-contrast marginless" aria-hidden="true">
  95. <use xlink:href="symbol-defs.svg#icon-close"></use>
  96. </svg>
  97. </button>
  98. </div>
  99. <div class="bar__main">
  100. Bar
  101. </div>
  102. </div>
  103. <h2 class="m-top-5">
  104. Buttons
  105. </h2>
  106. <div class="content">
  107. <code>&lt;button class=&quot;button&quot;&gt;
  108. Default
  109. &lt;/button&gt;
  110. </code>
  111. </div>
  112. <div>
  113. <button class="button">
  114. Default
  115. </button>
  116. <button class="button">
  117. Icon
  118. <svg class="icon fill-success" aria-hidden="true">
  119. <use xlink:href="symbol-defs.svg#icon-check"></use>
  120. </svg>
  121. </button>
  122. <button class="button button--selected">
  123. Selected
  124. </button>
  125. <button class="button" disabled>
  126. Disabled
  127. </button>
  128. </div>
  129. <div>
  130. <button class="button button--danger">
  131. danger
  132. </button>
  133. <button class="button button--success">
  134. success
  135. </button>
  136. <button class="button button--warning">
  137. warning
  138. </button>
  139. <button class="button button--info">
  140. info
  141. </button>
  142. </div>
  143. <div>
  144. <button class="button button--outline">
  145. outline
  146. </button>
  147. </div>
  148. <button class="button button--small">
  149. Small
  150. </button>
  151. <h2 class="m-top-5">Field</h2>
  152. <div class="content">
  153. <code>&#x3C;div class=&#x22;field-group&#x22;&#x3E;
  154. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  155. Name
  156. &#x3C;input class=&#x22;field-text&#x22; /&#x3E;
  157. &#x3C;/label&#x3E;
  158. &#x3C;/div&#x3E;
  159. </code>
  160. </div>
  161. <div class="field-group">
  162. <label class="field-label">
  163. Name
  164. <input class="field-text" />
  165. </label>
  166. </div>
  167. <div class="content">
  168. <code>&#x3C;div class=&#x22;field-group field-group--valid&#x22;&#x3E;
  169. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  170. &#x3C;svg class=&#x22;icon&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  171. &#x3C;use class=&#x22;test&#x22; xlink:href=&#x22;symbol-defs.svg#icon-check&#x22;&#x3E;&#x3C;/use&#x3E;
  172. &#x3C;/svg&#x3E;
  173. Surname
  174. &#x3C;input class=&#x22;field-text&#x22; /&#x3E;
  175. &#x3C;/label&#x3E;
  176. &#x3C;/div&#x3E;
  177. </code>
  178. </div>
  179. <div class="field-group field-group--valid">
  180. <label class="field-label">
  181. <svg class="icon" aria-hidden="true">
  182. <use class="test" xlink:href="symbol-defs.svg#icon-check"></use>
  183. </svg>
  184. Surname
  185. <input class="field-text" />
  186. </label>
  187. </div>
  188. <div class="content">
  189. <code>&#x3C;div class=&#x22;field-group field-group--error&#x22;&#x3E;
  190. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  191. &#x3C;svg class=&#x22;icon&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  192. &#x3C;use class=&#x22;test&#x22; xlink:href=&#x22;symbol-defs.svg#icon-warning&#x22;&#x3E;&#x3C;/use&#x3E;
  193. &#x3C;/svg&#x3E;
  194. E-Mail
  195. &#x3C;input class=&#x22;field-text&#x22; /&#x3E;
  196. &#x3C;/label&#x3E;
  197. &#x3C;span class=&#x22;field-error&#x22;&#x3E;
  198. String is not valid
  199. &#x3C;/span&#x3E;
  200. &#x3C;/div&#x3E;
  201. </code>
  202. </div>
  203. <div class="field-group field-group--error">
  204. <label class="field-label">
  205. <svg class="icon" aria-hidden="true">
  206. <use class="test" xlink:href="symbol-defs.svg#icon-warning"></use>
  207. </svg>
  208. E-Mail
  209. <input class="field-text" />
  210. </label>
  211. <span class="field-error">
  212. String is not valid
  213. </span>
  214. </div>
  215. <div class="content">
  216. <code>&#x3C;div class=&#x22;field-group&#x22;&#x3E;
  217. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  218. Towns
  219. &#x3C;select class=&#x22;field-choice&#x22;&#x3E;
  220. &#x3C;option&#x3E;&#x3C;/option&#x3E;
  221. &#x3C;option value=&#x22;lonytown&#x22;&#x3E;Lonytown&#x3C;/option&#x3E;
  222. &#x3C;/select&#x3E;
  223. &#x3C;/label&#x3E;
  224. &#x3C;/div&#x3E;
  225. </code>
  226. </div>
  227. <div class="field-group">
  228. <label class="field-label">
  229. Towns
  230. <select class="field-choice">
  231. <option></option>
  232. <option value="lonytown">Lonytown</option>
  233. </select>
  234. </label>
  235. </div>
  236. <div class="content">
  237. <code>&#x3C;div class=&#x22;field-group&#x22;&#x3E;
  238. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  239. &#x3C;input class=&#x22;field-choice&#x22; type=&#x22;checkbox&#x22; value=&#x22;true&#x22; /&#x3E;
  240. &#x3C;svg class=&#x22;icon field-choice__unchecked&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  241. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-checkbox&#x22;&#x3E;&#x3C;/use&#x3E;
  242. &#x3C;/svg&#x3E;
  243. &#x3C;svg class=&#x22;icon field-choice__checked&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  244. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-checkbox-checked&#x22;&#x3E;&#x3C;/use&#x3E;
  245. &#x3C;/svg&#x3E;
  246. Checkbox
  247. &#x3C;/label&#x3E;
  248. &#x3C;/div&#x3E;
  249. </code>
  250. </div>
  251. <div class="field-group">
  252. <label class="field-label">
  253. <input class="field-choice" type="checkbox" value="true" />
  254. <svg class="icon field-choice__unchecked" aria-hidden="true">
  255. <use xlink:href="symbol-defs.svg#icon-checkbox"></use>
  256. </svg>
  257. <svg class="icon field-choice__checked" aria-hidden="true">
  258. <use xlink:href="symbol-defs.svg#icon-checkbox-checked"></use>
  259. </svg>
  260. Checkbox
  261. </label>
  262. </div>
  263. <div class="content">
  264. <code>&#x3C;div class=&#x22;field-group&#x22;&#x3E;
  265. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  266. &#x3C;input class=&#x22;field-choice&#x22; type=&#x22;radio&#x22; name=&#x22;radio&#x22; value=&#x22;true&#x22; /&#x3E;
  267. &#x3C;svg class=&#x22;icon field-choice__unchecked&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  268. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-circle&#x22;&#x3E;&#x3C;/use&#x3E;
  269. &#x3C;/svg&#x3E;
  270. &#x3C;svg class=&#x22;icon field-choice__checked&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  271. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-circle-check&#x22;&#x3E;&#x3C;/use&#x3E;
  272. &#x3C;/svg&#x3E;
  273. Radio A
  274. &#x3C;/label&#x3E;
  275. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  276. &#x3C;input class=&#x22;field-choice&#x22; type=&#x22;radio&#x22; name=&#x22;radio&#x22; value=&#x22;true&#x22; /&#x3E;
  277. &#x3C;svg class=&#x22;icon field-choice__unchecked&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  278. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-circle&#x22;&#x3E;&#x3C;/use&#x3E;
  279. &#x3C;/svg&#x3E;
  280. &#x3C;svg class=&#x22;icon field-choice__checked&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  281. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-circle-check&#x22;&#x3E;&#x3C;/use&#x3E;
  282. &#x3C;/svg&#x3E;
  283. Radio B
  284. &#x3C;/label&#x3E;
  285. &#x3C;/div&#x3E;
  286. </code>
  287. </div>
  288. <div class="field-group">
  289. <label class="field-label">
  290. <input class="field-choice" type="radio" name="radio" value="true" />
  291. <svg class="icon field-choice__unchecked" aria-hidden="true">
  292. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  293. </svg>
  294. <svg class="icon field-choice__checked" aria-hidden="true">
  295. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  296. </svg>
  297. Radio A
  298. </label>
  299. <label class="field-label">
  300. <input class="field-choice" type="radio" name="radio" value="true" />
  301. <svg class="icon field-choice__unchecked" aria-hidden="true">
  302. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  303. </svg>
  304. <svg class="icon field-choice__checked" aria-hidden="true">
  305. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  306. </svg>
  307. Radio B
  308. </label>
  309. </div>
  310. <div class="content">
  311. <code>&#x3C;div class=&#x22;field-group&#x22;&#x3E;
  312. &#x3C;label class=&#x22;field-label&#x22;&#x3E;
  313. &#x3C;input class=&#x22;field-choice&#x22; type=&#x22;checkbox&#x22; name=&#x22;radio&#x22; value=&#x22;true&#x22; /&#x3E;
  314. &#x3C;span class=&#x22;field-switch&#x22;&#x3E;&#x3C;/span&#x3E;
  315. &#x3C;/label&#x3E;
  316. &#x3C;/div&#x3E;
  317. </code>
  318. </div>
  319. <div class="field-group">
  320. <label class="field-label">
  321. <input class="field-choice" type="checkbox" name="radio" value="true" />
  322. <span class="field-switch"></span>
  323. </label>
  324. </div>
  325. <h2 class="m-top-5">
  326. Group
  327. </h2>
  328. <div class="content">
  329. <code>&#x3C;div class=&#x22;group&#x22;&#x3E;
  330. &#x3C;div class=&#x22;group__item background-color-primary color-text-contrast p-3&#x22;&#x3E;
  331. One
  332. &#x3C;/div&#x3E;
  333. &#x3C;div class=&#x22;group__item background-color-primary color-text-contrast p-3&#x22;&#x3E;
  334. Two
  335. &#x3C;/div&#x3E;
  336. &#x3C;/div&#x3E;
  337. </code>
  338. </div>
  339. <div class="group">
  340. <div class="group__item background-color-primary color-text-contrast p-3">
  341. One
  342. </div>
  343. <div class="group__item background-color-primary color-text-contrast p-3">
  344. Two
  345. </div>
  346. </div>
  347. </div>
  348. </div>
  349. </div>
  350. <div class="container">
  351. <div class="grid">
  352. <div class="col-12">
  353. <h2>
  354. Hero
  355. </h2>
  356. <div class="content">
  357. <code>&#x3C;div class=&#x22;hero&#x22;&#x3E;
  358. &#x3C;img style=&#x22;max-height: 400px;&#x22; src=&#x22;/image.jpg&#x22; /&#x3E;
  359. &#x3C;/div&#x3E;
  360. </code>
  361. </div>
  362. </div>
  363. </div>
  364. </div>
  365. <div class="hero">
  366. <img style="max-height: 400px;" src="/image.jpg" />
  367. </div>
  368. <div class="container">
  369. <div class="grid">
  370. <div class="col-12">
  371. <h2 class="m-top-5">Icon</h2>
  372. <div class="content">
  373. <code>&#x3C;svg class=&#x22;icon&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  374. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-check&#x22;&#x3E;&#x3C;/use&#x3E;
  375. &#x3C;/svg&#x3E;
  376. &#x3C;svg class=&#x22;icon fill-danger&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  377. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-camera&#x22;&#x3E;&#x3C;/use&#x3E;
  378. &#x3C;/svg&#x3E;
  379. &#x3C;svg class=&#x22;icon fill-success&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  380. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-clock&#x22;&#x3E;&#x3C;/use&#x3E;
  381. &#x3C;/svg&#x3E;
  382. </code>
  383. </div>
  384. <svg class="icon" aria-hidden="true">
  385. <use xlink:href="symbol-defs.svg#icon-check"></use>
  386. </svg>
  387. <svg class="icon fill-danger" aria-hidden="true">
  388. <use xlink:href="symbol-defs.svg#icon-camera"></use>
  389. </svg>
  390. <svg class="icon fill-success" aria-hidden="true">
  391. <use xlink:href="symbol-defs.svg#icon-clock"></use>
  392. </svg>
  393. <!-- Loading -->
  394. <h2 class="m-top-5">Loading</h2>
  395. <div class="content">
  396. <code>&#x3C;div class=&#x22;loading&#x22;&#x3E;
  397. &#x3C;span&#x3E;&#x3C;/span&#x3E;
  398. &#x3C;span&#x3E;&#x3C;/span&#x3E;
  399. &#x3C;span&#x3E;&#x3C;/span&#x3E;
  400. &#x3C;/div&#x3E;
  401. </code>
  402. </div>
  403. <div class="loading">
  404. <span></span>
  405. <span></span>
  406. <span></span>
  407. </div>
  408. <h2 class="m-top-5">
  409. Media
  410. </h2>
  411. <div class="content">
  412. <code>&#x3C;figure class=&#x22;figure&#x22;&#x3E;
  413. &#x3C;img class=&#x22;media&#x22; src=&#x22;/image.jpg&#x22; /&#x3E;
  414. &#x3C;figcaption class=&#x22;figure__caption&#x22;&#x3E;
  415. food truck yr franzen pabst
  416. &#x3C;/figcaption&#x3E;
  417. &#x3C;/figure&#x3E;
  418. </code>
  419. </div>
  420. <figure class="figure">
  421. <img class="media" src="/image.jpg" />
  422. <figcaption class="figure__caption">
  423. food truck yr franzen pabst
  424. </figcaption>
  425. </figure>
  426. <!-- modal -->
  427. <h2 class="m-top-5">
  428. Modal
  429. </h2>
  430. <div class="content">
  431. <code>&#x3C;div class=&#x22;modal&#x22;&#x3E;
  432. &#x3C;div class=&#x22;modal__inner&#x22;&#x3E;
  433. &#x3C;div class=&#x22;modal__title t-center&#x22;&#x3E;
  434. &#x3C;svg class=&#x22;icon fill-text-contrast&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  435. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-close&#x22;&#x3E;&#x3C;/use&#x3E;
  436. &#x3C;/svg&#x3E;
  437. Delete
  438. &#x3C;/div&#x3E;
  439. &#x3C;div class=&#x22;modal__body&#x22;&#x3E;
  440. Do you really wan&#x27;t to delete all files?
  441. &#x3C;/div&#x3E;
  442. &#x3C;div class=&#x22;modal__footer&#x22;&#x3E;
  443. &#x3C;button class=&#x22;button button--outline button--danger&#x22; onclick=&#x22;closeModal()&#x22;&#x3E;
  444. Confirm
  445. &#x3C;/button&#x3E;
  446. &#x3C;button class=&#x22;button button--outline float-right&#x22; onclick=&#x22;closeModal()&#x22;&#x3E;
  447. Reject
  448. &#x3C;/button&#x3E;
  449. &#x3C;/div&#x3E;
  450. &#x3C;/div&#x3E;
  451. &#x3C;/div&#x3E;
  452. </code>
  453. </div>
  454. <button class="button" onclick="openModal()">
  455. Click me!
  456. </button>
  457. <script type="text/javascript">
  458. function openModal() {
  459. document.querySelector('.modal').classList.add('modal--open')
  460. }
  461. function closeModal() {
  462. document.querySelector('.modal').classList.remove('modal--open')
  463. }
  464. </script>
  465. <div class="modal">
  466. <div class="modal__inner">
  467. <div class="modal__title t-center">
  468. <svg class="icon fill-text-contrast" aria-hidden="true">
  469. <use xlink:href="symbol-defs.svg#icon-close"></use>
  470. </svg>
  471. Delete
  472. </div>
  473. <div class="modal__body">
  474. Do you really wan't to delete all files?
  475. </div>
  476. <div class="modal__footer">
  477. <button class="button button--outline button--danger" onclick="closeModal()">
  478. Confirm
  479. </button>
  480. <button class="button button--outline float-right" onclick="closeModal()">
  481. Reject
  482. </button>
  483. </div>
  484. </div>
  485. </div>
  486. <!-- panel -->
  487. <h2 class="m-top-5">
  488. Panel
  489. </h2>
  490. <div class="content">
  491. <code>&#x3C;div class=&#x22;panel&#x22;&#x3E;
  492. &#x3C;div class=&#x22;bar&#x22;&#x3E;
  493. &#x3C;div class=&#x22;bar__start&#x22;&#x3E;
  494. &#x3C;button type=&#x22;button&#x22; class=&#x22;button button--transparent&#x22;&#x3E;
  495. &#x3C;svg class=&#x22;icon fill-text-contrast&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  496. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-expand&#x22;&#x3E;&#x3C;/use&#x3E;
  497. &#x3C;/svg&#x3E;
  498. &#x3C;/button&#x3E;
  499. &#x3C;/div&#x3E;
  500. &#x3C;div class=&#x22;bar__main&#x22;&#x3E;Panel&#x3C;/div&#x3E;
  501. &#x3C;div class=&#x22;bar__end&#x22;&#x3E;
  502. &#x3C;button type=&#x22;button&#x22; class=&#x22;button button--transparent&#x22;&#x3E;
  503. &#x3C;svg class=&#x22;icon fill-text-contrast&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  504. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-edit&#x22;&#x3E;&#x3C;/use&#x3E;
  505. &#x3C;/svg&#x3E;
  506. &#x3C;/button&#x3E;
  507. &#x3C;button type=&#x22;button&#x22; class=&#x22;button button--transparent&#x22;&#x3E;
  508. &#x3C;svg class=&#x22;icon fill-text-contrast&#x22; aria-hidden=&#x22;true&#x22;&#x3E;
  509. &#x3C;use xlink:href=&#x22;symbol-defs.svg#icon-close&#x22;&#x3E;&#x3C;/use&#x3E;
  510. &#x3C;/svg&#x3E;
  511. &#x3C;/button&#x3E;
  512. &#x3C;/div&#x3E;
  513. &#x3C;/div&#x3E;
  514. &#x3C;div class=&#x22;panel__body&#x22;&#x3E;
  515. &#x3C;div class=&#x22;content m-last-child-0&#x22;&#x3E;
  516. &#x3C;p&#x3E;
  517. Content
  518. &#x3C;/p&#x3E;
  519. &#x3C;/div&#x3E;
  520. &#x3C;/div&#x3E;
  521. &#x3C;/div&#x3E;
  522. </code>
  523. </div>
  524. <div class="panel">
  525. <div class="bar">
  526. <div class="bar__start">
  527. <button type="button" class="button button--transparent">
  528. <svg class="icon fill-text-contrast" aria-hidden="true">
  529. <use xlink:href="symbol-defs.svg#icon-expand"></use>
  530. </svg>
  531. </button>
  532. </div>
  533. <div class="bar__main">Panel</div>
  534. <div class="bar__end">
  535. <button type="button" class="button button--transparent">
  536. <svg class="icon fill-text-contrast" aria-hidden="true">
  537. <use xlink:href="symbol-defs.svg#icon-edit"></use>
  538. </svg>
  539. </button>
  540. <button type="button" class="button button--transparent">
  541. <svg class="icon fill-text-contrast" aria-hidden="true">
  542. <use xlink:href="symbol-defs.svg#icon-close"></use>
  543. </svg>
  544. </button>
  545. </div>
  546. </div>
  547. <div class="panel__body">
  548. <div class="content m-last-child-0">
  549. <p>
  550. Hallo
  551. </p>
  552. </div>
  553. </div>
  554. </div>
  555. <!-- progress -->
  556. <h2 class="m-top-5">
  557. Progress
  558. </h2>
  559. <div class="content">
  560. <code>&#x3C;div class=&#x22;progress&#x22;&#x3E;
  561. &#x3C;div class=&#x22;progress__inner&#x22; style=&#x22;width: 20%;&#x22;&#x3E;&#x3C;/div&#x3E;
  562. &#x3C;/div&#x3E;
  563. </code>
  564. </div>
  565. <div class="progress">
  566. <div class="progress__inner" style="width: 20%;"></div>
  567. </div>
  568. <!-- table -->
  569. <h2 class="m-top-5">
  570. Table
  571. </h2>
  572. <div class="content">
  573. <code>&#x3C;table class=&#x22;table table--striped table--hover&#x22;&#x3E;
  574. &#x3C;thead&#x3E;
  575. &#x3C;tr class=&#x22;table__tr&#x22;&#x3E;
  576. &#x3C;th class=&#x22;table__th&#x22;&#x3E;A&#x3C;/th&#x3E;
  577. &#x3C;th class=&#x22;table__th&#x22;&#x3E;B&#x3C;/th&#x3E;
  578. &#x3C;th class=&#x22;table__th&#x22;&#x3E;C&#x3C;/th&#x3E;
  579. &#x3C;th class=&#x22;table__th&#x22;&#x3E;D&#x3C;/th&#x3E;
  580. &#x3C;/tr&#x3E;
  581. &#x3C;/thead&#x3E;
  582. &#x3C;tbody&#x3E;
  583. &#x3C;tr class=&#x22;table__tr&#x22;&#x3E;
  584. &#x3C;td class=&#x22;table__td&#x22;&#x3E;1&#x3C;/td&#x3E;
  585. &#x3C;td class=&#x22;table__td&#x22;&#x3E;2&#x3C;/td&#x3E;
  586. &#x3C;td class=&#x22;table__td&#x22;&#x3E;3&#x3C;/td&#x3E;
  587. &#x3C;td class=&#x22;table__td&#x22;&#x3E;4&#x3C;/td&#x3E;
  588. &#x3C;/tr&#x3E;
  589. &#x3C;tr class=&#x22;table__tr&#x22;&#x3E;
  590. &#x3C;td class=&#x22;table__td&#x22;&#x3E;1&#x3C;/td&#x3E;
  591. &#x3C;td class=&#x22;table__td&#x22;&#x3E;2&#x3C;/td&#x3E;
  592. &#x3C;td class=&#x22;table__td&#x22;&#x3E;3&#x3C;/td&#x3E;
  593. &#x3C;td class=&#x22;table__td&#x22;&#x3E;4&#x3C;/td&#x3E;
  594. &#x3C;/tr&#x3E;
  595. &#x3C;tr class=&#x22;table__tr&#x22;&#x3E;
  596. &#x3C;td class=&#x22;table__td&#x22;&#x3E;1&#x3C;/td&#x3E;
  597. &#x3C;td class=&#x22;table__td&#x22;&#x3E;2&#x3C;/td&#x3E;
  598. &#x3C;td class=&#x22;table__td&#x22;&#x3E;3&#x3C;/td&#x3E;
  599. &#x3C;td class=&#x22;table__td&#x22;&#x3E;4&#x3C;/td&#x3E;
  600. &#x3C;/tr&#x3E;
  601. &#x3C;/tbody&#x3E;
  602. &#x3C;/table&#x3E;
  603. </code>
  604. </div>
  605. <table class="table table--striped table--hover">
  606. <thead>
  607. <tr class="table__tr">
  608. <th class="table__th">A</th>
  609. <th class="table__th">B</th>
  610. <th class="table__th">C</th>
  611. <th class="table__th">D</th>
  612. </tr>
  613. </thead>
  614. <tbody>
  615. <tr class="table__tr">
  616. <td class="table__td">1</td>
  617. <td class="table__td">2</td>
  618. <td class="table__td">3</td>
  619. <td class="table__td">4</td>
  620. </tr>
  621. <tr class="table__tr">
  622. <td class="table__td">1</td>
  623. <td class="table__td">2</td>
  624. <td class="table__td">3</td>
  625. <td class="table__td">4</td>
  626. </tr>
  627. <tr class="table__tr">
  628. <td class="table__td">1</td>
  629. <td class="table__td">2</td>
  630. <td class="table__td">3</td>
  631. <td class="table__td">4</td>
  632. </tr>
  633. </tbody>
  634. </table>
  635. <!--- tabs -->
  636. <h2 class="m-top-5">
  637. Tabs
  638. </h2>
  639. <div class="content">
  640. <code>&#x3C;div class=&#x22;tabs&#x22;&#x3E;
  641. &#x3C;a class=&#x22;tabs__item tabs__item--selected&#x22;&#x3E;
  642. Tab A
  643. &#x3C;/a&#x3E;
  644. &#x3C;a class=&#x22;tabs__item&#x22;&#x3E;
  645. Tab B
  646. &#x3C;/a&#x3E;
  647. &#x3C;a class=&#x22;tabs__item&#x22;&#x3E;
  648. Tab C
  649. &#x3C;/a&#x3E;
  650. &#x3C;/div&#x3E;
  651. </code>
  652. </div>
  653. <div class="tabs">
  654. <a class="tabs__item tabs__item--selected">
  655. Tab A
  656. </a>
  657. <a class="tabs__item">
  658. Tab B
  659. </a>
  660. <a class="tabs__item">
  661. Tab C
  662. </a>
  663. </div>
  664. <h2 class="m-top-5">
  665. Tabs + Bar
  666. </h2>
  667. <div class="content">
  668. <code>&#x3C;div class=&#x22;bar&#x22;&#x3E;
  669. &#x3C;div class=&#x22;tabs tabs--contrast&#x22;&#x3E;
  670. &#x3C;a class=&#x22;tabs__item tabs__item--selected&#x22;&#x3E;
  671. Tab A
  672. &#x3C;/a&#x3E;
  673. &#x3C;a class=&#x22;tabs__item&#x22;&#x3E;
  674. Tab B
  675. &#x3C;/a&#x3E;
  676. &#x3C;a class=&#x22;tabs__item&#x22;&#x3E;
  677. Tab C
  678. &#x3C;/a&#x3E;
  679. &#x3C;/div&#x3E;
  680. &#x3C;/div&#x3E;
  681. </code>
  682. </div>
  683. <div class="bar">
  684. <div class="tabs tabs--contrast">
  685. <a class="tabs__item tabs__item--selected">
  686. Tab A
  687. </a>
  688. <a class="tabs__item">
  689. Tab B
  690. </a>
  691. <a class="tabs__item">
  692. Tab C
  693. </a>
  694. </div>
  695. </div>
  696. </div>
  697. </div>
  698. </div>
  699. <footer class="site-footer m-top-5">
  700. <div class="bar">
  701. <div class="bar__main">
  702. <a class="color-text-contrast m-right-4" href="/imprint.html">
  703. Imprint
  704. </a>
  705. <a class="color-text-contrast" href="/private-policy.html">
  706. Privacy Policy
  707. </a>
  708. </div>
  709. </div>
  710. </footer>
  711. </body>
  712. </html