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.

440 lines
16 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
  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>Crispy CSS | Lightweight CSS Framework for Building Apps and Websites</title>
  7. <meta name="description" content="Lightweight Framework for building fast and clean Websites and Apps for Mobile, Tablet and Desktop. Minimal UI-Elements, Functions and Helpers">
  8. <meta name="viewport" content="width=device-width,initial-scale=1">
  9. <link rel="stylesheet" href="plain-ui.css">
  10. </head>
  11. <body class="overflow-x-hidden">
  12. <header id="header" class="header">
  13. <div class="container">
  14. <div class="grid">
  15. <div class="col-12">
  16. <div class="text-center">
  17. <hgroup>
  18. <h1>Plain UI</h1>
  19. </hgroup>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </header>
  25. <div class="container">
  26. <div class="grid">
  27. <div class="col-12">
  28. <h2>Buttons</h2>
  29. <button class="button">
  30. Default
  31. </button>
  32. <button class="button">
  33. Default
  34. <svg class="icon icon--success" aria-hidden="true">
  35. <use xlink:href="symbol-defs.svg#icon-check"></use>
  36. </svg>
  37. </button>
  38. <button class="button button--danger">
  39. Danger
  40. </button>
  41. <button class="button button--selected">
  42. Hover
  43. </button>
  44. </div>
  45. </div>
  46. <div class="grid">
  47. <div class="col-12">
  48. <button class="button" disabled>
  49. Disabled
  50. </button>
  51. </div>
  52. </div>
  53. <div class="grid">
  54. <div class="col-12">
  55. <button class="button button--small">
  56. Small
  57. </button>
  58. </div>
  59. </div>
  60. <div class="grid">
  61. <div class="col-12">
  62. <div class="bar">
  63. <div class="bar__start">
  64. <button class="button button--no-style">
  65. <svg class="icon fill-white marginless" aria-hidden="true">
  66. <use xlink:href="symbol-defs.svg#icon-close"></use>
  67. </svg>
  68. </button>
  69. </div>
  70. <div class="bar__main">
  71. Bar
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="grid">
  77. <div class="col-12">
  78. <div class="bar">
  79. <div class="tabs">
  80. <a class="tabs__item">
  81. Tab A
  82. </a>
  83. <a class="tabs__item">
  84. Tab B
  85. </a>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <div class="grid">
  91. <div class="col-12">
  92. <h2>Icon</h2>
  93. <svg class="icon" aria-hidden="true">
  94. <use xlink:href="symbol-defs.svg#icon-check"></use>
  95. </svg>
  96. <svg class="icon icon--danger" aria-hidden="true">
  97. <use xlink:href="symbol-defs.svg#icon-camera"></use>
  98. </svg>
  99. <svg class="icon icon--success" aria-hidden="true">
  100. <use xlink:href="symbol-defs.svg#icon-clock"></use>
  101. </svg>
  102. </div>
  103. </div>
  104. <div class="grid">
  105. <div class="col-12">
  106. <h2>Badge</h2>
  107. <span class="badge">
  108. Category
  109. </span>
  110. <span class="badge badge--round">
  111. 99+
  112. </span>
  113. </div>
  114. </div>
  115. <div class="grid">
  116. <div class="col-12">
  117. <h2>Panel</h2>
  118. <div class="panel">
  119. <div class="bar">
  120. <div class="bar__start">
  121. <button type="button" class="button button--no-style">
  122. <svg class="icon fill-white" aria-hidden="true">
  123. <use xlink:href="symbol-defs.svg#icon-expand"></use>
  124. </svg>
  125. </button>
  126. </div>
  127. <div class="bar__main">Test</div>
  128. <div class="bar__end">
  129. <button type="button" class="button button--no-style">
  130. <svg class="icon fill-white" aria-hidden="true">
  131. <use xlink:href="symbol-defs.svg#icon-edit"></use>
  132. </svg>
  133. </button>
  134. <button type="button" class="button button--no-style">
  135. <svg class="icon fill-white" aria-hidden="true">
  136. <use xlink:href="symbol-defs.svg#icon-close"></use>
  137. </svg>
  138. </button>
  139. </div>
  140. </div>
  141. <div class="panel__body">
  142. <div class="content">
  143. <p>
  144. Hallo
  145. </p>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. <div class="grid">
  152. <div class="col-12">
  153. <h2>Modal</h2>
  154. <button class="button" onclick="openModal()">
  155. Open
  156. </button>
  157. <script type="text/javascript">
  158. function openModal() {
  159. document.querySelector('.modal').classList.add('modal--open')
  160. }
  161. function closeModal() {
  162. document.querySelector('.modal').classList.remove('modal--open')
  163. }
  164. </script>
  165. <div class="modal">
  166. <div class="modal__inner">
  167. <div class="modal__title t-center">
  168. <svg class="icon fill-white" aria-hidden="true">
  169. <use xlink:href="symbol-defs.svg#icon-close"></use>
  170. </svg>
  171. Delete
  172. </div>
  173. <div class="modal__body">
  174. Do you really wan't to delete all files?
  175. </div>
  176. <div class="modal__footer">
  177. <button class="button button--danger" onclick="closeModal()">
  178. Confirm
  179. </button>
  180. <button class="button float-right" onclick="closeModal()">
  181. Reject
  182. </button>
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. </div>
  188. <div class="grid">
  189. <div class="col-12">
  190. <h2>Field</h2>
  191. <form>
  192. <div class="field-group">
  193. <label class="field-label">
  194. Name
  195. <input class="field-text" />
  196. </label>
  197. </div>
  198. <div class="field-group field-group--valid">
  199. <label class="field-label">
  200. <svg class="icon" aria-hidden="true">
  201. <use class="test" xlink:href="symbol-defs.svg#icon-check"></use>
  202. </svg>
  203. Surname
  204. <input class="field-text" />
  205. </label>
  206. </div>
  207. <div class="field-group field-group--error">
  208. <label class="field-label">
  209. <svg class="icon" aria-hidden="true">
  210. <use class="test" xlink:href="symbol-defs.svg#icon-warning"></use>
  211. </svg>
  212. E-Mail
  213. <input class="field-text" />
  214. </label>
  215. <span class="field-error">
  216. String is not valid
  217. </span>
  218. </div>
  219. <div class="field-group">
  220. <label class="field-label">
  221. Towns
  222. <select class="field-choice">
  223. <option></option>
  224. <option value="lonytown">Lonytown</option>
  225. </select>
  226. </label>
  227. </div>
  228. <div class="field-group">
  229. <label class="field-label">
  230. <input class="field-choice" type="checkbox" value="true" />
  231. <svg class="icon field-choice__unchecked" aria-hidden="true">
  232. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  233. </svg>
  234. <svg class="icon field-choice__checked" aria-hidden="true">
  235. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  236. </svg>
  237. Do it!
  238. </label>
  239. </div>
  240. <div class="field-group">
  241. <label class="field-label">
  242. <input class="field-choice" type="radio" name="radio" value="true" />
  243. <svg class="icon field-choice__unchecked" aria-hidden="true">
  244. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  245. </svg>
  246. <svg class="icon field-choice__checked" aria-hidden="true">
  247. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  248. </svg>
  249. A
  250. </label>
  251. <label class="field-label">
  252. <input class="field-choice" type="radio" name="radio" value="true" />
  253. <svg class="icon field-choice__unchecked" aria-hidden="true">
  254. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  255. </svg>
  256. <svg class="icon field-choice__checked" aria-hidden="true">
  257. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  258. </svg>
  259. B
  260. </label>
  261. </div>
  262. </form>
  263. </div>
  264. </div>
  265. <div class="grid">
  266. <div class="col-12">
  267. <h2>Table</h2>
  268. <table class="table table--striped">
  269. <thead>
  270. <tr>
  271. <th>A</th>
  272. <th>B</th>
  273. <th>C</th>
  274. <th>D</th>
  275. </tr>
  276. </thead>
  277. <tbody>
  278. <tr>
  279. <td>1</td>
  280. <td>2</td>
  281. <td>3</td>
  282. <td>4</td>
  283. </tr>
  284. <tr>
  285. <td>1</td>
  286. <td>2</td>
  287. <td>3</td>
  288. <td>4</td>
  289. </tr>
  290. <tr>
  291. <td>1</td>
  292. <td>2</td>
  293. <td>3</td>
  294. <td>4</td>
  295. </tr>
  296. </tbody>
  297. </table>
  298. </div>
  299. </div>
  300. </div>
  301. <div class="container">
  302. <div class="grid">
  303. <div class="col-12">
  304. <h2 class="">Hero</h2>
  305. </div>
  306. </div>
  307. </div>
  308. <div class="hero">
  309. <img style="max-height: 400px;" src="/image.jpg" />
  310. </div>
  311. <div class="container">
  312. <div class="grid">
  313. <div class="col-12">
  314. <h2 class="">Media</h2>
  315. </div>
  316. <div class="col-12">
  317. <figure class="figure">
  318. <img class="media" src="/image.jpg" />
  319. <figcaption class="figure__caption">
  320. food truck yr franzen pabst
  321. </figcaption>
  322. </figure>
  323. </div>
  324. </div>
  325. </div>
  326. <div class="container">
  327. <div class="grid">
  328. <div class="col-12">
  329. <h2>Layout</h2>
  330. </div>
  331. <div class="col-12">
  332. <h2>Slider</h3>
  333. </div>
  334. </div>
  335. </div>
  336. <div class="slider">
  337. <div class="slider__inner">
  338. <div class="slider__item w-col-12">
  339. <figure class="figure w-col-12">
  340. <img class="media" src="/image.jpg" />
  341. <figcaption class="figure__caption">
  342. food truck yr franzen pabst
  343. </figcaption>
  344. </figure>
  345. </div>
  346. <div class="slider__item w-col-12">
  347. <figure class="figure w-col-12">
  348. <img class="media" src="/image.jpg" />
  349. <figcaption class="figure__caption">
  350. food truck yr franzen pabst
  351. </figcaption>
  352. </figure>
  353. </div>
  354. <div class="slider__item w-col-12">
  355. <figure class="figure w-col-12">
  356. <img class="media" src="/image.jpg" />
  357. <figcaption class="figure__caption">
  358. food truck yr franzen pabst
  359. </figcaption>
  360. </figure>
  361. </div>
  362. <div class="slider__item w-col-12">
  363. <figure class="figure w-col-12">
  364. <img class="media" src="/image.jpg" />
  365. <figcaption class="figure__caption">
  366. food truck yr franzen pabst
  367. </figcaption>
  368. </figure>
  369. </div>
  370. <div class="slider__item w-col-12">
  371. <figure class="figure w-col-12">
  372. <img class="media" src="/image.jpg" />
  373. <figcaption class="figure__caption">
  374. food truck yr franzen pabst
  375. </figcaption>
  376. </figure>
  377. </div>
  378. </div>
  379. </div>
  380. <div class="container">
  381. <div class="grid">
  382. <div class="col-12">
  383. <h2>Masonry</h3>
  384. <div class="masonry">
  385. <figure class="masonry__item marginless">
  386. <img class="media object-fit-cover h-100" src="/image.jpg" />
  387. </figure>
  388. <figure class="masonry__item marginless">
  389. <img class="media object-fit-cover h-100" src="/image.jpg" />
  390. </figure>
  391. <figure class="masonry__item marginless">
  392. <img class="media object-fit-cover h-100" src="/image.jpg" />
  393. </figure>
  394. <figure class="masonry__item marginless">
  395. <img class="media object-fit-cover h-100" src="/image.jpg" />
  396. </figure>
  397. <figure class="masonry__item marginless">
  398. <img class="media object-fit-cover h-100" src="/image.jpg" />
  399. </figure>
  400. </div>
  401. </div>
  402. </div>
  403. </div>
  404. </body>
  405. </html