Aucune description

patterns.yaml 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. ---
  2. name: Basic
  3. markup: |
  4. <div class="page">
  5. <div class="toolbar">
  6. <div class="toolbar__left"><span class="toolbar-button">Label</span></div>
  7. <div class="toolbar__center">Title</div>
  8. <div class="toolbar__right"><span class="toolbar-button">Label</span></div>
  9. </div>
  10. <div>
  11. <br>
  12. <div class="list-title">Title</div>
  13. <ul class="list">
  14. <li class="list-item">
  15. <div class="list-item__center">Item</div>
  16. </li>
  17. <li class="list-item">
  18. <div class="list-item__center">Item</div>
  19. </li>
  20. </ul>
  21. <br>
  22. <ul class="list">
  23. <li class="list-item">
  24. <div class="list-item__center">
  25. <div class="list-item__title">
  26. Title
  27. </div>
  28. <div class="list-item__subtitle">
  29. Subtitle
  30. </div>
  31. </div>
  32. </li>
  33. <li class="list-item">
  34. <div class="list-item__center">
  35. <div class="list-item__title">
  36. Title
  37. </div>
  38. <div class="list-item__subtitle">
  39. Subtitle
  40. </div>
  41. </div>
  42. </li>
  43. </ul>
  44. </div>
  45. <div class="bottom-bar">
  46. <div class="bottom-bar__line-height" style="text-align:center">Label</div>
  47. </div>
  48. </div>
  49. ---
  50. name: Material Basic
  51. markup: |
  52. <div class="page page--material">
  53. <div class="toolbar toolbar--material">
  54. <div class="toolbar__left toolbar--material__left"></div>
  55. <div class="toolbar__center toolbar--material__center">Title</div>
  56. <div class="toolbar__right toolbar--material__right"></div>
  57. </div>
  58. <div>
  59. <h3 class="list-title list-title--material">Title</h3>
  60. <ul class="list list--material">
  61. <li class="list-item list-item--material">
  62. <div class="list-item__center list-item--material__center">Item</div>
  63. </li>
  64. <li class="list-item list-item--material">
  65. <div class="list-item__center list-item--material__center">Item</div>
  66. </li>
  67. </ul>
  68. <br>
  69. <ul class="list list--material">
  70. <li class="list-item list-item--material">
  71. <div class="list-item__center list-item--material__center">
  72. <div class="list-item__title list-item--material__title">Title</div>
  73. <div class="list-item__subtitle list-item--material__subtitle">Subtitle</div>
  74. </div>
  75. </li>
  76. <li class="list-item list-item--material">
  77. <div class="list-item__center list-item--material__center">
  78. <div class="list-item__title list-item--material__title">Title</div>
  79. <div class="list-item__subtitle list-item--material__subtitle">Subtitle</div>
  80. </div>
  81. </li>
  82. </ul>
  83. </div>
  84. </div>
  85. ---
  86. name: Settings
  87. markup: |
  88. <div class="page">
  89. <div class="toolbar">
  90. <div class="toolbar__left"><span class="toolbar-button">Label</span></div>
  91. <div class="toolbar__center">Title</div>
  92. <div class="toolbar__right"><span class="toolbar-button">Label</span></div>
  93. </div>
  94. <div>
  95. <br>
  96. <ul class="list">
  97. <li class="list-item">
  98. <div class="list-item__left">
  99. <i class="ion-ios-volume-low" style="font-size: 28px"></i>
  100. </div>
  101. <div class="list-item__center">
  102. <div class="range" style="width: 100%">
  103. <input type="range" class="range__input">
  104. </div>
  105. </div>
  106. <div class="list-item__right">
  107. <i class="ion-ios-volume-high" style="font-size: 28px"></i>
  108. </div>
  109. </li>
  110. </ul>
  111. <br>
  112. <ul class="list">
  113. <li class="list-item">
  114. <div class="list-item__center">
  115. Label
  116. </div>
  117. <div class="list-item__right">
  118. <label class="switch">
  119. <input type="checkbox" class="switch__input" checked>
  120. <div class="switch__toggle">
  121. <div class="switch__handle"></div>
  122. </div>
  123. </label>
  124. </div>
  125. </li>
  126. </ul>
  127. <br>
  128. <ul class="list">
  129. <li class="list-item list-item--tappable">
  130. <div class="list-item__left">
  131. <label class="checkbox checkbox--noborder">
  132. <input id="s1" type="checkbox" class="checkbox__input checkbox--noborder__input">
  133. <div class="checkbox__checkmark checkbox--noborder checkbox--noborder__checkmark"></div>
  134. </label>
  135. </div>
  136. <label for="s1" class="list-item__center">
  137. Checkbox
  138. </label>
  139. </li>
  140. <li class="list-item list-item--tappable">
  141. <div class="list-item__left">
  142. <label class="checkbox checkbox--noborder">
  143. <input id="s2" type="checkbox" class="checkbox__input checkbox--noborder__input" checked>
  144. <div class="checkbox__checkmark checkbox--noborder checkbox--noborder__checkmark"></div>
  145. </label>
  146. </div>
  147. <label for="s2" class="list-item__center">
  148. Checkbox
  149. </label>
  150. </li>
  151. </ul>
  152. </div>
  153. </div>
  154. ---
  155. name: Material Settings
  156. markup: |
  157. <div class="page page--material">
  158. <div class="toolbar toolbar--material">
  159. <div class="toolbar__left toolbar--material__left"></div>
  160. <div class="toolbar__center toolbar--material__center">Title</div>
  161. <div class="toolbar__right toolbar--material__right"></div>
  162. </div>
  163. <div>
  164. <br>
  165. <ul class="list list--material">
  166. <li class="list-item list-item--material">
  167. <div class="list-item__left list-item--material__left" style="min-width: 0; width: 20px;">
  168. <i class="ion-ios-volume-low" style="font-size: 28px"></i>
  169. </div>
  170. <div class="list-item__center list-item--material__center">
  171. <div class="range range--material" style="width: 100%">
  172. <input type="range" class="range__input range--material__input">
  173. </div>
  174. </div>
  175. <div class="list-item__right list-item--material__right">
  176. <i class="ion-ios-volume-high" style="font-size: 28px"></i>
  177. </div>
  178. </li>
  179. </ul>
  180. <br>
  181. <ul class="list list--material">
  182. <li class="list-item list-item--material">
  183. <div class="list-item__left list-item--material__left">
  184. Label
  185. </div>
  186. <div class="list-item__center list-item--material__center">
  187. </div>
  188. <div class="list-item__right list-item--material__right">
  189. <label class="switch switch--material">
  190. <input type="checkbox" class="switch__input switch--material__input" checked>
  191. <div class="switch__toggle switch--material__toggle">
  192. <div class="switch__handle switch--material__handle"></div>
  193. </div>
  194. </label>
  195. </div>
  196. </li>
  197. </ul>
  198. <br>
  199. <ul class="list list--material">
  200. <li class="list-item list-item--material">
  201. <div class="list-item__left list-item--material__left">
  202. <label class="checkbox checkbox--material">
  203. <input type="checkbox" id="checkbox3" class="checkbox__input checkbox--material__input">
  204. <div class="checkbox__checkmark checkbox--material__checkmark"></div>
  205. </label>
  206. </div>
  207. <label for="checkbox3" class="list-item__center list-item--material__center">
  208. <div class="list-item__title list-item--material__title">Checkbox</div>
  209. </label>
  210. </li>
  211. <li class="list-item list-item--material">
  212. <div class="list-item__left list-item--material__left">
  213. <label class="checkbox checkbox--material">
  214. <input type="checkbox" id="checkbox4" class="checkbox__input checkbox--material__input" checked="checked">
  215. <div class="checkbox__checkmark checkbox--material__checkmark"></div>
  216. </label>
  217. </div>
  218. <label for="checkbox4" class="list-item__center list-item--material__center">
  219. <div class="list-item__title list-item--material__title">Checkbox</div>
  220. </label>
  221. </li>
  222. </ul>
  223. </div>
  224. </div>
  225. ---
  226. name: Tabbar
  227. markup: |
  228. <div class="page">
  229. <div class="toolbar">
  230. <div class="toolbar__left"></div>
  231. <div class="toolbar__center">Title</div>
  232. <div class="toolbar__right"></div>
  233. </div>
  234. <div class="tabbar">
  235. <label class="tabbar__item">
  236. <input type="radio" name="tabbar-a" checked="checked">
  237. <button class="tabbar__button">
  238. <i class="tabbar__icon ion-record"></i>
  239. <div class="tabbar__label">Label</div>
  240. </button>
  241. </label>
  242. <label class="tabbar__item">
  243. <input type="radio" name="tabbar-a">
  244. <button class="tabbar__button">
  245. <i class="tabbar__icon ion-record"></i>
  246. <div class="tabbar__label">Label</div>
  247. </button>
  248. </label>
  249. <label class="tabbar__item">
  250. <input type="radio" name="tabbar-a">
  251. <button class="tabbar__button">
  252. <i class="tabbar__icon ion-record"></i>
  253. <div class="tabbar__label">Label</div>
  254. </button>
  255. </label>
  256. </div>
  257. </div>
  258. ---
  259. name: Material Tabbar
  260. markup: |
  261. <div class="page page--material">
  262. <div class="toolbar toolbar--material">
  263. <div class="toolbar__left toolbar--material__left"></div>
  264. <div class="toolbar__center toolbar--material__center">Title</div>
  265. <div class="toolbar__right toolbar--material__right"></div>
  266. </div>
  267. <div class="tabbar tabbar--material tabbar--top">
  268. <label class="tabbar__item tabbar--material__item">
  269. <input type="radio" name="material-tabbar" checked="checked">
  270. <button class="tabbar__button tabbar--material__button">
  271. <i class="tabbar__icon tabbar--material__icon ion-record"></i>
  272. <div class="tabbar__label tabbar--material__label">Label</div>
  273. </button>
  274. </label>
  275. <label class="tabbar__item tabbar--material__item">
  276. <input type="radio" name="material-tabbar" checked="checked">
  277. <button class="tabbar__button tabbar--material__button">
  278. <i class="tabbar__icon tabbar--material__icon ion-record"></i>
  279. <div class="tabbar__label tabbar--material__label">Label</div>
  280. </button>
  281. </label>
  282. <label class="tabbar__item tabbar--material__item">
  283. <input type="radio" name="material-tabbar" checked="checked">
  284. <button class="tabbar__button tabbar--material__button">
  285. <i class="tabbar__icon tabbar--material__icon ion-record"></i>
  286. <div class="tabbar__label tabbar--material__label">Label</div>
  287. </button>
  288. </label>
  289. </div>
  290. </div>
  291. ---
  292. name: Alert Dialog
  293. markup: |
  294. <div class="page">
  295. <div class="toolbar">
  296. <div class="toolbar__left"><span class="toolbar-button">Label</span></div>
  297. <div class="toolbar__center">Title</div>
  298. <div class="toolbar__right"><span class="toolbar-button">Label</span></div>
  299. </div>
  300. <div></div>
  301. </div>
  302. <div class="alert-dialog-mask"></div>
  303. <div class="alert-dialog">
  304. <div class="alert-dialog-container">
  305. <div class="alert-dialog-title">Alert</div>
  306. <div class="alert-dialog-content">
  307. Hello World!
  308. </div>
  309. <div class="alert-dialog-footer">
  310. <button class="alert-dialog-button alert-dialog-button--primal">OK</button>
  311. </div>
  312. </div>
  313. </div>
  314. ---
  315. name: Material Alert Dialog
  316. markup: |
  317. <div class="page page--material">
  318. <div class="toolbar toolbar--material">
  319. <div class="toolbar__left toolbar--material__left"></div>
  320. <div class="toolbar__center toolbar--material__center">Title</div>
  321. <div class="toolbar__right toolbar--material__right"></div>
  322. </div>
  323. <div>
  324. </div>
  325. </div>
  326. <div class="alert-dialog-mask alert-dialog-mask--material"></div>
  327. <div class="alert-dialog alert-dialog--material">
  328. <div class="alert-dialog-container alert-dialog-container--material">
  329. <div class="alert-dialog-title alert-dialog-title--material">
  330. Dialog title
  331. </div>
  332. <div class="alert-dialog-content alert-dialog-content--material">
  333. Some dialog content.
  334. </div>
  335. <div class="alert-dialog-footer alert-dialog-footer--material">
  336. <button class="alert-dialog-button alert-dialog-button--material">OK</button>
  337. <button class="alert-dialog-button alert-dialog-button--material">CANCEL</button>
  338. </div>
  339. </div>
  340. </div>