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.

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