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.

487 lines
17 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>
  7. Plain UI | Lightweight CSS UI Framework for Building Apps and Websites
  8. </title>
  9. <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">
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <link rel="stylesheet" href="plain-ui.css">
  12. </head>
  13. <body class="overflow-x-hidden">
  14. <header class="header">
  15. <div class="bar">
  16. <div class="bar__main">
  17. <h1 class="m-top-4 m-bottom-4 h4">
  18. Plain UI 0.1-alpha
  19. </h1>
  20. </div>
  21. </div>
  22. </header>
  23. <div class="container m-top-6">
  24. <div class="grid">
  25. <div class="col-12">
  26. <nav>
  27. <div class="tabs">
  28. <a href="index.html" class="tabs__item">
  29. Basics
  30. </a>
  31. <a href="components.html" class="tabs__item tabs__item--selected">
  32. Components
  33. </a>
  34. <a href="layout.html" class="tabs__item">
  35. Layout
  36. </a>
  37. <a href="helpers.html" class="tabs__item">
  38. Helpers
  39. </a>
  40. </div>
  41. </nav>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="container">
  46. <div class="grid">
  47. <div class="col-6">
  48. <div class="content">
  49. <p>
  50. Some Text
  51. <p>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <div class="container">
  57. <div class="grid">
  58. <div class="col-12">
  59. <h2>Components</h2>
  60. <h3>Buttons</h3>
  61. <button class="button">
  62. Default
  63. </button>
  64. <button class="button">
  65. Default
  66. <svg class="icon fill-success" aria-hidden="true">
  67. <use xlink:href="symbol-defs.svg#icon-check"></use>
  68. </svg>
  69. </button>
  70. <button class="button button--danger">
  71. Danger
  72. </button>
  73. <button class="button button--selected">
  74. Hover
  75. </button>
  76. <button class="button button--outline">
  77. Outline
  78. </button>
  79. <button class="button button--danger button--outline">
  80. Danger Outline
  81. </button>
  82. </div>
  83. <div class="col-12">
  84. <button class="button" disabled>
  85. Disabled
  86. </button>
  87. </div>
  88. <div class="col-12">
  89. <button class="button button--small">
  90. Small
  91. </button>
  92. </div>
  93. </div>
  94. <div class="grid">
  95. <div class="col-12">
  96. <h2>Icon</h2>
  97. <svg class="icon" aria-hidden="true">
  98. <use xlink:href="symbol-defs.svg#icon-check"></use>
  99. </svg>
  100. <svg class="icon icon--danger" aria-hidden="true">
  101. <use xlink:href="symbol-defs.svg#icon-camera"></use>
  102. </svg>
  103. <svg class="icon icon--success" aria-hidden="true">
  104. <use xlink:href="symbol-defs.svg#icon-clock"></use>
  105. </svg>
  106. </div>
  107. </div>
  108. <div class="grid">
  109. <div class="col-12">
  110. <h3>
  111. Bar
  112. </h3>
  113. <div class="bar">
  114. <div class="bar__start">
  115. <button class="button button--transparent">
  116. <svg class="icon fill-white marginless" aria-hidden="true">
  117. <use xlink:href="symbol-defs.svg#icon-close"></use>
  118. </svg>
  119. </button>
  120. </div>
  121. <div class="bar__main">
  122. Bar
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. <div class="grid">
  128. <div class="col-12">
  129. <h3>
  130. Tabs
  131. </h3>
  132. <div class="tabs">
  133. <a class="tabs__item tabs__item--selected">
  134. Tab A
  135. </a>
  136. <a class="tabs__item">
  137. Tab B
  138. </a>
  139. <a class="tabs__item">
  140. Tab C
  141. </a>
  142. </div>
  143. </div>
  144. </div>
  145. <div class="grid">
  146. <div class="col-12">
  147. <h3>
  148. Tabs + Bar
  149. </h3>
  150. <div class="bar">
  151. <div class="bar__start">
  152. <div class="tabs">
  153. <a class="tabs__item tabs__item--selected">
  154. Tab A
  155. </a>
  156. <a class="tabs__item">
  157. Tab B
  158. </a>
  159. <a class="tabs__item">
  160. Tab C
  161. </a>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. <div class="grid">
  168. <div class="col-12">
  169. <h2>Badge</h2>
  170. <span class="badge">
  171. Category
  172. </span>
  173. <span class="badge badge--round">
  174. 99+
  175. </span>
  176. </div>
  177. </div>
  178. <div class="grid">
  179. <div class="col-12">
  180. <h2>Loading</h2>
  181. <div>
  182. <div class="loading">
  183. <span></span>
  184. <span></span>
  185. <span></span>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. <div class="grid">
  191. <div class="col-12">
  192. <h2>Panel</h2>
  193. <div class="panel">
  194. <div class="bar">
  195. <div class="bar__start">
  196. <button type="button" class="button button--transparent">
  197. <svg class="icon fill-white" aria-hidden="true">
  198. <use xlink:href="symbol-defs.svg#icon-expand"></use>
  199. </svg>
  200. </button>
  201. </div>
  202. <div class="bar__main">Test</div>
  203. <div class="bar__end">
  204. <button type="button" class="button button--transparent">
  205. <svg class="icon fill-white" aria-hidden="true">
  206. <use xlink:href="symbol-defs.svg#icon-edit"></use>
  207. </svg>
  208. </button>
  209. <button type="button" class="button button--transparent">
  210. <svg class="icon fill-white" aria-hidden="true">
  211. <use xlink:href="symbol-defs.svg#icon-close"></use>
  212. </svg>
  213. </button>
  214. </div>
  215. </div>
  216. <div class="panel__body">
  217. <div class="content">
  218. <p>
  219. Hallo
  220. </p>
  221. </div>
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  226. <div class="grid">
  227. <div class="col-12">
  228. <h2>Modal</h2>
  229. <button class="button" onclick="openModal()">
  230. Click me!
  231. </button>
  232. <script type="text/javascript">
  233. function openModal() {
  234. document.querySelector('.modal').classList.add('modal--open')
  235. }
  236. function closeModal() {
  237. document.querySelector('.modal').classList.remove('modal--open')
  238. }
  239. </script>
  240. <div class="modal">
  241. <div class="modal__inner">
  242. <div class="modal__title t-center">
  243. <svg class="icon fill-white" aria-hidden="true">
  244. <use xlink:href="symbol-defs.svg#icon-close"></use>
  245. </svg>
  246. Delete
  247. </div>
  248. <div class="modal__body">
  249. Do you really wan't to delete all files?
  250. </div>
  251. <div class="modal__footer">
  252. <button class="button button--outline button--danger" onclick="closeModal()">
  253. Confirm
  254. </button>
  255. <button class="button button--outline float-right" onclick="closeModal()">
  256. Reject
  257. </button>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. <div class="grid">
  264. <div class="col-12">
  265. <h2>Field</h2>
  266. <form>
  267. <div class="field-group">
  268. <label class="field-label">
  269. Name
  270. <input class="field-text" />
  271. </label>
  272. </div>
  273. <div class="field-group field-group--valid">
  274. <label class="field-label">
  275. <svg class="icon" aria-hidden="true">
  276. <use class="test" xlink:href="symbol-defs.svg#icon-check"></use>
  277. </svg>
  278. Surname
  279. <input class="field-text" />
  280. </label>
  281. </div>
  282. <div class="field-group field-group--error">
  283. <label class="field-label">
  284. <svg class="icon" aria-hidden="true">
  285. <use class="test" xlink:href="symbol-defs.svg#icon-warning"></use>
  286. </svg>
  287. E-Mail
  288. <input class="field-text" />
  289. </label>
  290. <span class="field-error">
  291. String is not valid
  292. </span>
  293. </div>
  294. <div class="field-group">
  295. <label class="field-label">
  296. Towns
  297. <select class="field-choice">
  298. <option></option>
  299. <option value="lonytown">Lonytown</option>
  300. </select>
  301. </label>
  302. </div>
  303. <div class="field-group">
  304. <label class="field-label">
  305. <input class="field-choice" type="checkbox" value="true" />
  306. <svg class="icon field-choice__unchecked" aria-hidden="true">
  307. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  308. </svg>
  309. <svg class="icon field-choice__checked" aria-hidden="true">
  310. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  311. </svg>
  312. Do it!
  313. </label>
  314. </div>
  315. <div class="field-group">
  316. <label class="field-label">
  317. <input class="field-choice" type="radio" name="radio" value="true" />
  318. <svg class="icon field-choice__unchecked" aria-hidden="true">
  319. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  320. </svg>
  321. <svg class="icon field-choice__checked" aria-hidden="true">
  322. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  323. </svg>
  324. A
  325. </label>
  326. <label class="field-label">
  327. <input class="field-choice" type="radio" name="radio" value="true" />
  328. <svg class="icon field-choice__unchecked" aria-hidden="true">
  329. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  330. </svg>
  331. <svg class="icon field-choice__checked" aria-hidden="true">
  332. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  333. </svg>
  334. B
  335. </label>
  336. </div>
  337. </form>
  338. </div>
  339. </div>
  340. <div class="grid">
  341. <div class="col-12">
  342. <h2>Table</h2>
  343. <table class="table table--striped">
  344. <thead>
  345. <tr>
  346. <th>A</th>
  347. <th>B</th>
  348. <th>C</th>
  349. <th>D</th>
  350. </tr>
  351. </thead>
  352. <tbody>
  353. <tr>
  354. <td>1</td>
  355. <td>2</td>
  356. <td>3</td>
  357. <td>4</td>
  358. </tr>
  359. <tr>
  360. <td>1</td>
  361. <td>2</td>
  362. <td>3</td>
  363. <td>4</td>
  364. </tr>
  365. <tr>
  366. <td>1</td>
  367. <td>2</td>
  368. <td>3</td>
  369. <td>4</td>
  370. </tr>
  371. </tbody>
  372. </table>
  373. </div>
  374. </div>
  375. </div>
  376. <div class="container">
  377. <div class="grid">
  378. <div class="col-12">
  379. <h2>
  380. Hero
  381. </h2>
  382. <div class="hero">
  383. <img style="max-height: 400px;" src="/image.jpg" />
  384. </div>
  385. </div>
  386. </div>
  387. </div>
  388. <div class="container">
  389. <div class="grid">
  390. <div class="col-12">
  391. <h2>
  392. Media
  393. </h2>
  394. <figure class="figure">
  395. <img class="media" src="/image.jpg" />
  396. <figcaption class="figure__caption">
  397. food truck yr franzen pabst
  398. </figcaption>
  399. </figure>
  400. </div>
  401. </div>
  402. </div>
  403. <div class="container">
  404. <div class="grid">
  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. </body>
  455. </html