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.

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