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.

279 lines
10 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
  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. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reflex-grid@2.0.4/css/reflex.min.css">
  11. </head>
  12. <body class="home">
  13. <header id="header" class="header">
  14. <div class="container">
  15. <div class="grid">
  16. <div class="col-12">
  17. <div class="text-center">
  18. <hgroup>
  19. <h1>Plain UI</h1>
  20. </hgroup>
  21. </div>
  22. </div>
  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. </div>
  43. </div>
  44. <div class="grid">
  45. <div class="col-12">
  46. <button class="button" disabled>
  47. Disabled
  48. </button>
  49. </div>
  50. </div>
  51. <div class="grid">
  52. <div class="col-12">
  53. <button class="button button--small">
  54. Small
  55. </button>
  56. </div>
  57. </div>
  58. <div class="grid">
  59. <div class="col-12">
  60. <h2>Icon</h2>
  61. <svg class="icon" aria-hidden="true">
  62. <use xlink:href="symbol-defs.svg#icon-check"></use>
  63. </svg>
  64. <svg class="icon icon--danger" aria-hidden="true">
  65. <use xlink:href="symbol-defs.svg#icon-camera"></use>
  66. </svg>
  67. <svg class="icon icon--success" aria-hidden="true">
  68. <use xlink:href="symbol-defs.svg#icon-clock"></use>
  69. </svg>
  70. </div>
  71. </div>
  72. <div class="grid">
  73. <div class="col-12">
  74. <h2>Badge</h2>
  75. <span class="badge">
  76. Category
  77. </span>
  78. <span class="badge badge--round">
  79. 99+
  80. </span>
  81. </div>
  82. </div>
  83. <div class="grid">
  84. <div class="col-12">
  85. <h2>Panel</h2>
  86. <div class="panel">
  87. <div class="panel__header">
  88. <button type="button">
  89. <svg class="icon icon--first" aria-hidden="true">
  90. <use xlink:href="symbol-defs.svg#icon-expand"></use>
  91. </svg>
  92. </button>
  93. <div class="panel__title">Test</div>
  94. <div class="panel__buttons">
  95. <button type="button">
  96. <svg class="icon" aria-hidden="true">
  97. <use xlink:href="symbol-defs.svg#icon-edit"></use>
  98. </svg>
  99. </button>
  100. <button type="button">
  101. <svg class="icon" aria-hidden="true">
  102. <use xlink:href="symbol-defs.svg#icon-close"></use>
  103. </svg>
  104. </button>
  105. </div>
  106. </div>
  107. <div class="panel__body">
  108. <div class="content">
  109. <p>
  110. Hallo
  111. </p>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. <div class="grid">
  118. <div class="col-12">
  119. <h2>Field</h2>
  120. <form>
  121. <div class="field-group">
  122. <label class="field-label">
  123. Name
  124. <input class="field-text" />
  125. </label>
  126. </div>
  127. <div class="field-group field-group--valid">
  128. <label class="field-label">
  129. <svg class="icon" aria-hidden="true">
  130. <use class="test" xlink:href="symbol-defs.svg#icon-check"></use>
  131. </svg>
  132. Surname
  133. <input class="field-text" />
  134. </label>
  135. </div>
  136. <div class="field-group field-group--error">
  137. <label class="field-label">
  138. <svg class="icon" aria-hidden="true">
  139. <use class="test" xlink:href="symbol-defs.svg#icon-warning"></use>
  140. </svg>
  141. E-Mail
  142. <input class="field-text" />
  143. </label>
  144. <span class="field-error">
  145. String is not valid
  146. </span>
  147. </div>
  148. <div class="field-group">
  149. <label class="field-label">
  150. Towns
  151. <select class="field-choice">
  152. <option></option>
  153. <option value="lonytown">Lonytown</option>
  154. </select>
  155. </label>
  156. </div>
  157. <div class="field-group">
  158. <label class="field-label">
  159. <input class="field-choice" type="checkbox" value="true" />
  160. <svg class="icon field-choice__unchecked" aria-hidden="true">
  161. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  162. </svg>
  163. <svg class="icon field-choice__checked" aria-hidden="true">
  164. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  165. </svg>
  166. Do it!
  167. </label>
  168. </div>
  169. <div class="field-group">
  170. <label class="field-label">
  171. <input class="field-choice" type="radio" name="radio" value="true" />
  172. <svg class="icon field-choice__unchecked" aria-hidden="true">
  173. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  174. </svg>
  175. <svg class="icon field-choice__checked" aria-hidden="true">
  176. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  177. </svg>
  178. A
  179. </label>
  180. <label class="field-label">
  181. <input class="field-choice" type="radio" name="radio" value="true" />
  182. <svg class="icon field-choice__unchecked" aria-hidden="true">
  183. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  184. </svg>
  185. <svg class="icon field-choice__checked" aria-hidden="true">
  186. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  187. </svg>
  188. B
  189. </label>
  190. </div>
  191. </form>
  192. </div>
  193. </div>
  194. <div class="grid">
  195. <div class="col-12">
  196. <h2>Table</h2>
  197. <table class="table table--striped">
  198. <thead>
  199. <tr>
  200. <th>A</th>
  201. <th>B</th>
  202. <th>C</th>
  203. <th>D</th>
  204. </tr>
  205. </thead>
  206. <tbody>
  207. <tr>
  208. <td>1</td>
  209. <td>2</td>
  210. <td>3</td>
  211. <td>4</td>
  212. </tr>
  213. <tr>
  214. <td>1</td>
  215. <td>2</td>
  216. <td>3</td>
  217. <td>4</td>
  218. </tr>
  219. <tr>
  220. <td>1</td>
  221. <td>2</td>
  222. <td>3</td>
  223. <td>4</td>
  224. </tr>
  225. </tbody>
  226. </table>
  227. </div>
  228. </div>
  229. </div>
  230. <div class="container">
  231. <div class="grid">
  232. <div class="col-12">
  233. <h2 class="">Hero</h2>
  234. </div>
  235. </div>
  236. </div>
  237. <div class="hero">
  238. <img style="max-height: 400px;" src="https://picsum.photos/seed/picsum/1200/600" />
  239. </div>
  240. <div class="container">
  241. <div class="grid">
  242. <div class="col-12">
  243. <figure class="figure">
  244. <img class="media" src="https://via.placeholder.com/150" />
  245. <figcaption class="figure__caption">
  246. food truck yr franzen pabst
  247. </figcaption>
  248. </figure>
  249. </div>
  250. </div>
  251. </div>
  252. </body>
  253. </html