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.

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