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.

198 lines
7.9 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
  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>Crispy CSS | Lightweight CSS Framework for Building Apps and Websites</title>
  7. <meta name="description" content="Lightweight 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. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reflex-grid@2.0.4/css/reflex.min.css">
  11. </head>
  12. <body class="home">
  13. <header id="header" class="header">
  14. <div class="container">
  15. <div class="grid">
  16. <div class="col-12">
  17. <div class="text-center">
  18. <hgroup>
  19. <h1>Plain UI</h1>
  20. </hgroup>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. </header>
  26. <div class="container">
  27. <div class="grid">
  28. <div class="col-12">
  29. <h2>Buttons</h2>
  30. <button class="button">
  31. Default
  32. </button>
  33. <button class="button">
  34. Default
  35. <svg class="icon icon--success" aria-hidden="true">
  36. <use xlink:href="symbol-defs.svg#icon-check"></use>
  37. </svg>
  38. </button>
  39. <button class="button button--secondary">
  40. Secondary
  41. </button>
  42. </div>
  43. </div>
  44. <div class="grid">
  45. <div class="col-12">
  46. <h2>Icon</h2>
  47. <svg class="icon" aria-hidden="true">
  48. <use xlink:href="symbol-defs.svg#icon-check"></use>
  49. </svg>
  50. <svg class="icon icon--danger" aria-hidden="true">
  51. <use xlink:href="symbol-defs.svg#icon-camera"></use>
  52. </svg>
  53. <svg class="icon icon--success" aria-hidden="true">
  54. <use xlink:href="symbol-defs.svg#icon-clock"></use>
  55. </svg>
  56. </div>
  57. </div>
  58. <div class="grid">
  59. <div class="col-12">
  60. <h2>Badge</h2>
  61. <span class="badge">
  62. Category
  63. </span>
  64. <span class="badge badge--round">
  65. 99+
  66. </span>
  67. </div>
  68. </div>
  69. <div class="grid">
  70. <div class="col-12">
  71. <h2>Panel</h2>
  72. <div class="panel">
  73. <div class="panel__header">
  74. <button type="button">
  75. <svg class="icon icon--first" aria-hidden="true">
  76. <use xlink:href="symbol-defs.svg#icon-expand"></use>
  77. </svg>
  78. </button>
  79. <div class="panel__title">Test</div>
  80. <div class="panel__buttons">
  81. <button type="button">
  82. <svg class="icon" aria-hidden="true">
  83. <use xlink:href="symbol-defs.svg#icon-edit"></use>
  84. </svg>
  85. </button>
  86. <button type="button">
  87. <svg class="icon" aria-hidden="true">
  88. <use xlink:href="symbol-defs.svg#icon-close"></use>
  89. </svg>
  90. </button>
  91. </div>
  92. </div>
  93. <div class="panel__body">
  94. <div class="content">
  95. <p>
  96. Hallo
  97. </p>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. <div class="grid">
  104. <div class="col-12">
  105. <h2>Field</h2>
  106. <form>
  107. <div class="field-group">
  108. <label class="field-label">
  109. Name
  110. <input class="field-text" />
  111. </label>
  112. </div>
  113. <div class="field-group field-group--valid">
  114. <label class="field-label">
  115. <svg class="icon" aria-hidden="true">
  116. <use class="test" xlink:href="symbol-defs.svg#icon-check"></use>
  117. </svg>
  118. Surname
  119. <input class="field-text" />
  120. </label>
  121. </div>
  122. <div class="field-group field-group--error">
  123. <label class="field-label">
  124. <svg class="icon" aria-hidden="true">
  125. <use class="test" xlink:href="symbol-defs.svg#icon-warning"></use>
  126. </svg>
  127. E-Mail
  128. <input class="field-text" />
  129. </label>
  130. <span class="field-error">
  131. String is not valid
  132. </span>
  133. </div>
  134. <div class="field-group">
  135. <label class="field-label">
  136. Towns
  137. <select class="field-choice">
  138. <option></option>
  139. <option value="lonytown">Lonytown</option>
  140. </select>
  141. </label>
  142. </div>
  143. <div class="field-group">
  144. <label class="field-label">
  145. <input class="field-choice" type="checkbox" value="true" />
  146. <svg class="icon field-choice__unchecked" aria-hidden="true">
  147. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  148. </svg>
  149. <svg class="icon field-choice__checked" aria-hidden="true">
  150. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  151. </svg>
  152. Do it!
  153. </label>
  154. </div>
  155. <div class="field-group">
  156. <label class="field-label">
  157. <input class="field-choice" type="radio" name="radio" value="true" />
  158. <svg class="icon field-choice__unchecked" aria-hidden="true">
  159. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  160. </svg>
  161. <svg class="icon field-choice__checked" aria-hidden="true">
  162. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  163. </svg>
  164. A
  165. </label>
  166. <label class="field-label">
  167. <input class="field-choice" type="radio" name="radio" value="true" />
  168. <svg class="icon field-choice__unchecked" aria-hidden="true">
  169. <use xlink:href="symbol-defs.svg#icon-circle"></use>
  170. </svg>
  171. <svg class="icon field-choice__checked" aria-hidden="true">
  172. <use xlink:href="symbol-defs.svg#icon-circle-check"></use>
  173. </svg>
  174. B
  175. </label>
  176. </div>
  177. </form>
  178. </div>
  179. </div>
  180. </div>
  181. </body>
  182. </html>