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.

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