index.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Lists</title>
  6. <meta name="description" content="Displaying an enumeration of a set of items ">
  7. <link rel="stylesheet" href="../lists.css">
  8. <!--
  9. This <style> and <link> is only used for the example code, is no needed for the real case use
  10. -->
  11. <link rel="stylesheet" href="../../style/headers.css">
  12. <link rel="stylesheet" href="../../style/switches.css">
  13. <link rel="stylesheet" href="../../style/buttons.css">
  14. <style>
  15. html, body {
  16. margin: 0;
  17. padding: 0;
  18. font-size: 10px;
  19. background-color: #fff;
  20. }
  21. body {
  22. background: none;
  23. }
  24. h2.pack-docs {
  25. font-size: 1.8rem;
  26. font-weight: 300;
  27. color: #666;
  28. margin: -1px 0 0;
  29. background-color: #f5f5f5;
  30. padding: 0.4rem 0.4rem 0.4rem 3rem;
  31. border: solid 1px #e8e8e8;
  32. }
  33. h2.pack-docs:first-child {
  34. margin-top: 0;
  35. }
  36. [data-type="list"] li img[alt="placeholder"] {
  37. background: #ccc url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSI1MHB4IiBoZWlnaHQ9IjUwcHgiIHZpZXdCb3g9IjAgMCA1MCA1MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNTAgNTAiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIwIiB5MT0iMCIgeDI9IjUwIiB5Mj0iNTAiLz4NCjxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNTAiIHkxPSIwIiB4Mj0iMC4wODIiIHkyPSI0OS45MTkiLz4NCjwvc3ZnPg0K);
  38. background-size: 100% 100%;
  39. font-size: 0;
  40. }
  41. [data-type="list"] aside.icon-callout {
  42. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50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wZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkUxNjQwQkQxNUYwMTFFMjk2MkZDOURGRDUxMTgyQzkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkUxNjQwQkUxNUYwMTFFMjk2MkZDOURGRDUxMTgyQzkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCRTE2NDBCQjE1RjAxMUUyOTYyRkM5REZENTExODJDOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCRTE2NDBCQzE1RjAxMUUyOTYyRkM5REZENTExODJDOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhHqZXkAAAB7SURBVHjaYvz//z8DNQHjqIEUAyZcEm5+keJUMxBq2BMgnYXHwt9EG7hr0/KXQCofiCfjMZSFJC8DDZ0GpHIJGEq8gUQY+oNkA8lxKRMx3iDFUJLSIdSwyUA8B4jjgBZxkuVCLC5NAWJmoqMeyUX/SQ2u0dJmEBoIEGAA+6FL5hxHUrsAAAAASUVORK5CYII=);
  46. background-position: bottom right;
  47. }
  48. #settings-list { background-color: #eff0eb; }
  49. #settings-list li { border-color: #dcdcdc; }
  50. #settings-list button { max-width: 8rem; margin: 1rem 1rem 0 0; }
  51. #settings-list aside label { margin: 0 1rem 0 0; height: 100%; }
  52. #settings-list > header h2 { margin: 0 1.5rem; }
  53. </style>
  54. </head>
  55. <body role="application">
  56. <section data-type="list">
  57. <header>Title</header>
  58. <ul>
  59. <li>
  60. <p>Margherita <strong>Gomez</strong></p>
  61. </li>
  62. <li>
  63. <a href="#">
  64. <p>Margherita Clickable <strong>Gomez</strong></p>
  65. </a>
  66. </li>
  67. <li>
  68. <aside class="pack-end">
  69. <img alt="placeholder" src="myimage.jpg">
  70. </aside>
  71. <a href="#">
  72. <p>Margherita <strong>Gomez</strong></p>
  73. <p>Family</p>
  74. </a>
  75. </li>
  76. </ul>
  77. <header>Another title</header>
  78. <ul>
  79. <li aria-disabled="true">
  80. <aside class="pack-end">
  81. <img alt="placeholder" src="myimage.jpg">
  82. </aside>
  83. <a href="#">
  84. <p>Margherita <strong>Gomez</strong></p>
  85. <p>Family</p>
  86. </a>
  87. </li>
  88. <li>
  89. <aside class="pack-end icon icon-nopic"></aside>
  90. <a href="#">
  91. <aside class="icon icon-callout">
  92. asidecall
  93. </aside>
  94. <p>
  95. Margherita <strong>Gomez</strong>
  96. <em>(2)</em>
  97. </p>
  98. <p>
  99. <time datetime="17:43">5:43PM</time>
  100. Mobile, Vivo
  101. </p>
  102. </a>
  103. </li>
  104. </ul>
  105. </section>
  106. <section data-type="list">
  107. <header>Edit mode</header>
  108. <ul data-type="edit">
  109. <li>
  110. <label class="pack-checkbox danger">
  111. <input type="checkbox">
  112. <span></span>
  113. </label>
  114. <aside class="pack-end">
  115. <img alt="placeholder" src="myimage.jpg">
  116. </aside>
  117. <a href="#">
  118. <p>Margherita <strong>Gomez</strong></p>
  119. <p>Family</p>
  120. </a>
  121. </li>
  122. <li>
  123. <label class="pack-checkbox danger">
  124. <input type="checkbox">
  125. <span></span>
  126. </label>
  127. <aside class="pack-end icon icon-nopic"></aside>
  128. <a href="#">
  129. <aside class="icon icon-callout"></aside>
  130. <p>
  131. Margherita <strong>Gomez</strong>
  132. <em>(2)</em>
  133. </p>
  134. <p>
  135. <time datetime="17:43">5:43PM</time>
  136. Mobile, Vivo
  137. </p>
  138. </a>
  139. </li>
  140. </ul>
  141. </section>
  142. <section id="settings-list" role="region" class="skin-organic">
  143. <section data-type="list">
  144. <ul>
  145. <li>
  146. <a href="#">
  147. <aside class="icon icon-callout"></aside>
  148. <p>Phone lock</p>
  149. </a>
  150. </li>
  151. </ul>
  152. </section>
  153. <header>
  154. <h2>Settings style</h2>
  155. </header>
  156. <section data-type="list">
  157. <ul>
  158. <li>
  159. <aside class="pack-end">
  160. <button class="icon icon-dialog">Spain</button>
  161. </aside>
  162. <p>Time zone</p>
  163. <p>Choose your country</p>
  164. </li>
  165. <li>
  166. <aside class="pack-end">
  167. <label class="pack-switch">
  168. <input type="checkbox" checked>
  169. <span></span>
  170. </label>
  171. </aside>
  172. <p>Phone lock</p>
  173. </li>
  174. </ul>
  175. </section>
  176. </section>
  177. </body>
  178. </html>