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.

415 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
  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. <button class="button button--hover">
  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. <h2>Icon</h2>
  80. <svg class="icon" aria-hidden="true">
  81. <use xlink:href="symbol-defs.svg#icon-check"></use>
  82. </svg>
  83. <svg class="icon icon--danger" aria-hidden="true">
  84. <use xlink:href="symbol-defs.svg#icon-camera"></use>
  85. </svg>
  86. <svg class="icon icon--success" aria-hidden="true">
  87. <use xlink:href="symbol-defs.svg#icon-clock"></use>
  88. </svg>
  89. </div>
  90. </div>
  91. <div class="grid">
  92. <div class="col-12">
  93. <h2>Badge</h2>
  94. <span class="badge">
  95. Category
  96. </span>
  97. <span class="badge badge--round">
  98. 99+
  99. </span>
  100. </div>
  101. </div>
  102. <div class="grid">
  103. <div class="col-12">
  104. <h2>Panel</h2>
  105. <div class="panel">
  106. <div class="panel__header">
  107. <button type="button">
  108. <svg class="icon icon--first" aria-hidden="true">
  109. <use xlink:href="symbol-defs.svg#icon-expand"></use>
  110. </svg>
  111. </button>
  112. <div class="panel__title">Test</div>
  113. <div class="panel__buttons">
  114. <button type="button">
  115. <svg class="icon" aria-hidden="true">
  116. <use xlink:href="symbol-defs.svg#icon-edit"></use>
  117. </svg>
  118. </button>
  119. <button type="button">
  120. <svg class="icon" aria-hidden="true">
  121. <use xlink:href="symbol-defs.svg#icon-close"></use>
  122. </svg>
  123. </button>
  124. </div>
  125. </div>
  126. <div class="panel__body">
  127. <div class="content">
  128. <p>
  129. Hallo
  130. </p>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. <div class="grid">
  137. <div class="col-12">
  138. <h2>Field</h2>
  139. <form>
  140. <div class="field-group">
  141. <label class="field-label">
  142. Name
  143. <input class="field-text" />
  144. </label>
  145. </div>
  146. <div class="field-group field-group--valid">
  147. <label class="field-label">
  148. <svg class="icon" aria-hidden="true">
  149. <use class="test" xlink:href="symbol-defs.svg#icon-check"></use>
  150. </svg>
  151. Surname
  152. <input class="field-text" />
  153. </label>
  154. </div>
  155. <div class="field-group field-group--error">
  156. <label class="field-label">
  157. <svg class="icon" aria-hidden="true">
  158. <use class="test" xlink:href="symbol-defs.svg#icon-warning"></use>
  159. </svg>
  160. E-Mail
  161. <input class="field-text" />
  162. </label>
  163. <span class="field-error">
  164. String is not valid
  165. </span>
  166. </div>
  167. <div class="field-group">
  168. <label class="field-label">
  169. Towns
  170. <select class="field-choice">
  171. <option></option>
  172. <option value="lonytown">Lonytown</option>
  173. </select>
  174. </label>
  175. </div>
  176. <div class="field-group">
  177. <label class="field-label">
  178. <input class="field-choice" type="checkbox" value="true" />
  179. <svg class="icon field-choice__unchecked" aria-hidden="true">
  180. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  181. </svg>
  182. <svg class="icon field-choice__checked" aria-hidden="true">
  183. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  184. </svg>
  185. Do it!
  186. </label>
  187. </div>
  188. <div class="field-group">
  189. <label class="field-label">
  190. <input class="field-choice" type="radio" name="radio" value="true" />
  191. <svg class="icon field-choice__unchecked" aria-hidden="true">
  192. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  193. </svg>
  194. <svg class="icon field-choice__checked" aria-hidden="true">
  195. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  196. </svg>
  197. A
  198. </label>
  199. <label class="field-label">
  200. <input class="field-choice" type="radio" name="radio" value="true" />
  201. <svg class="icon field-choice__unchecked" aria-hidden="true">
  202. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  203. </svg>
  204. <svg class="icon field-choice__checked" aria-hidden="true">
  205. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  206. </svg>
  207. B
  208. </label>
  209. </div>
  210. </form>
  211. </div>
  212. </div>
  213. <div class="grid">
  214. <div class="col-12">
  215. <h2>Table</h2>
  216. <table class="table table--striped">
  217. <thead>
  218. <tr>
  219. <th>A</th>
  220. <th>B</th>
  221. <th>C</th>
  222. <th>D</th>
  223. </tr>
  224. </thead>
  225. <tbody>
  226. <tr>
  227. <td>1</td>
  228. <td>2</td>
  229. <td>3</td>
  230. <td>4</td>
  231. </tr>
  232. <tr>
  233. <td>1</td>
  234. <td>2</td>
  235. <td>3</td>
  236. <td>4</td>
  237. </tr>
  238. <tr>
  239. <td>1</td>
  240. <td>2</td>
  241. <td>3</td>
  242. <td>4</td>
  243. </tr>
  244. </tbody>
  245. </table>
  246. </div>
  247. </div>
  248. </div>
  249. <div class="container">
  250. <div class="grid">
  251. <div class="col-12">
  252. <h2 class="">Hero</h2>
  253. </div>
  254. </div>
  255. </div>
  256. <div class="hero">
  257. <img style="max-height: 400px;" src="https://picsum.photos/seed/picsum/1200/600" />
  258. </div>
  259. <div class="container">
  260. <div class="grid">
  261. <div class="col-12">
  262. <h2 class="">Media</h2>
  263. </div>
  264. <div class="col-12">
  265. <figure class="figure">
  266. <img class="media" src="https://via.placeholder.com/150" />
  267. <figcaption class="figure__caption">
  268. food truck yr franzen pabst
  269. </figcaption>
  270. </figure>
  271. </div>
  272. </div>
  273. </div>
  274. <div class="container">
  275. <div class="grid">
  276. <div class="col-12">
  277. <h2>Layout</h2>
  278. </div>
  279. <div class="col-12">
  280. <h2>Slider</h3>
  281. </div>
  282. </div>
  283. </div>
  284. <div class="slider">
  285. <div class="slider__inner">
  286. <div class="slider__item">
  287. <figure class="figure">
  288. <img class="media" src="https://via.placeholder.com/600/200" />
  289. <figcaption class="figure__caption">
  290. food truck yr franzen pabst
  291. </figcaption>
  292. </figure>
  293. </div>
  294. <div class="slider__item">
  295. <figure class="figure">
  296. <img class="media" src="https://via.placeholder.com/600/200" />
  297. <figcaption class="figure__caption">
  298. food truck yr franzen pabst
  299. </figcaption>
  300. </figure>
  301. </div>
  302. <div class="slider__item">
  303. <figure class="figure">
  304. <img class="media" src="https://via.placeholder.com/600/200" />
  305. <figcaption class="figure__caption">
  306. food truck yr franzen pabst
  307. </figcaption>
  308. </figure>
  309. </div>
  310. <div class="slider__item">
  311. <figure class="figure">
  312. <img class="media" src="https://via.placeholder.com/600/200" />
  313. <figcaption class="figure__caption">
  314. food truck yr franzen pabst
  315. </figcaption>
  316. </figure>
  317. </div>
  318. <div class="slider__item">
  319. <figure class="figure">
  320. <img class="media" src="https://via.placeholder.com/600/200" />
  321. <figcaption class="figure__caption">
  322. food truck yr franzen pabst
  323. </figcaption>
  324. </figure>
  325. </div>
  326. </div>
  327. </div>
  328. </div>
  329. <div class="container">
  330. <div class="grid">
  331. <div class="col-12">
  332. <h2>Masonry</h3>
  333. </div>
  334. <div class="col-12">
  335. <div class="masonry">
  336. <div class="masonry__item">
  337. </div>
  338. <div class="masonry__item">
  339. <figure class="figure">
  340. <img class="media" src="https://via.placeholder.com/400/600" />
  341. <figcaption class="figure__caption">
  342. food truck yr franzen pabst
  343. </figcaption>
  344. </figure>
  345. </div>
  346. <div class="masonry__item">
  347. <figure class="figure">
  348. <img class="media" src="https://via.placeholder.com/800/400" />
  349. <figcaption class="figure__caption">
  350. food truck yr franzen pabst
  351. </figcaption>
  352. </figure>
  353. </div>
  354. <div class="masonry__item">
  355. <figure class="figure">
  356. <img class="media" src="https://via.placeholder.com/600/400" />
  357. <figcaption class="figure__caption">
  358. food truck yr franzen pabst
  359. </figcaption>
  360. </figure>
  361. </div>
  362. <div class="masonry__item">
  363. <figure class="figure">
  364. <img class="media" src="https://via.placeholder.com/400/600" />
  365. <figcaption class="figure__caption">
  366. food truck yr franzen pabst
  367. </figcaption>
  368. </figure>
  369. </div>
  370. <div class="masonry__item">
  371. <figure class="figure">
  372. <img class="media" src="https://via.placeholder.com/800/400" />
  373. <figcaption class="figure__caption">
  374. food truck yr franzen pabst
  375. </figcaption>
  376. </figure>
  377. </div>
  378. </div>
  379. </div>
  380. </div>
  381. </div>
  382. </body>
  383. </html