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.

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