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.

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