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.

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