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