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.

499 lines
18 KiB

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