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.

247 lines
8.7 KiB

  1. ---
  2. layout : 'default'
  3. css : 'item'
  4. title : 'Item'
  5. description : 'An item view can be used to list site content'
  6. type : 'UI View'
  7. ---
  8. <%- @partial('header') %>
  9. <div class="main container">
  10. <div class="peek">
  11. <div class="ui vertical pointing secondary menu">
  12. <a class="active item">Types</a>
  13. <a class="item">Variations</a>
  14. </div>
  15. </div>
  16. <h2 class="ui dividing header">Types</h2>
  17. <div class="example">
  18. <h4 class="ui header">Items</h4>
  19. <p>A group of items. </p>
  20. <div class="ignored yellow ui message">
  21. <i class="info icon"></i>
  22. Items must manually be given a width and height that match up to the content that it displays. Content must also be truncated so that each item will not exceed the maximum height.
  23. </div>
  24. <div class="ui items">
  25. <div class="item">
  26. <div class="image">
  27. <img src="/images/demo/highres.jpg">
  28. </div>
  29. <div class="content">
  30. <div class="header">Cute Dog</div>
  31. <div class="description">This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.</div>
  32. </div>
  33. <div class="extra content">
  34. 199 Votes
  35. </div>
  36. </div>
  37. <div class="item">
  38. <div class="image">
  39. <img src="/images/demo/highres2.jpg">
  40. </div>
  41. <div class="content">
  42. <div class="header">Faithful Dog</div>
  43. <div class="meta">5 days ago</div>
  44. <div class="description">Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.</div>
  45. </div>
  46. <div class="extra content">
  47. 199 Votes
  48. </div>
  49. </div>
  50. <div class="item">
  51. <div class="image">
  52. <img src="/images/demo/highres3.jpg">
  53. </div>
  54. <div class="content">
  55. <div class="header">Silly Dog</div>
  56. <div class="description">Silly dogs can be quite fun to have as companions. You never know what kind of ridiculous thing they will do.</div>
  57. </div>
  58. <div class="extra content">
  59. 199 Votes
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="another text example">
  65. <div class="ui items">
  66. <div class="item">
  67. <div class="content">
  68. <div class="header">Cute Dog</div>
  69. <div class="meta">2 days ago</div>
  70. <div class="description">This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.</div>
  71. <div class="extra">
  72. 121 Votes
  73. </div>
  74. </div>
  75. </div>
  76. <div class="item">
  77. <div class="content">
  78. <div class="header">Faithful Dog</div>
  79. <div class="meta">5 days ago</div>
  80. <div class="description">Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.</div>
  81. <div class="extra">
  82. 121 Votes
  83. </div>
  84. </div>
  85. </div>
  86. <div class="item">
  87. <div class="content">
  88. <div class="header">Silly Dog</div>
  89. <div class="meta">1 week ago</div>
  90. <div class="description">Silly dogs can be quite fun to have as companions. You never know what kind of ridiculous thing they will do.</div>
  91. <div class="extra">
  92. 121 Votes
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <div class="example">
  99. <h4 class="ui header">List</h4>
  100. <p>An item list. </p>
  101. <div class="ignored yellow ui message">
  102. <i class="info icon"></i>
  103. Items must manually be given a width and height that match up to the content that it displays. Content must also be truncated so that each item will not exceed the maximum height.
  104. </div>
  105. <div class="ui items">
  106. <div class="item">
  107. <div class="image">
  108. <img src="/images/demo/highres.jpg">
  109. </div>
  110. <div class="content">
  111. <div class="header">Cute Dog</div>
  112. <div class="description">This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.</div>
  113. </div>
  114. <div class="extra content">
  115. 199 Votes
  116. </div>
  117. </div>
  118. <div class="item">
  119. <div class="image">
  120. <img src="/images/demo/highres2.jpg">
  121. </div>
  122. <div class="content">
  123. <div class="header">Faithful Dog</div>
  124. <div class="meta">5 days ago</div>
  125. <div class="description">Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.</div>
  126. </div>
  127. <div class="extra content">
  128. 199 Votes
  129. </div>
  130. </div>
  131. <div class="item">
  132. <div class="image">
  133. <img src="/images/demo/highres3.jpg">
  134. </div>
  135. <div class="content">
  136. <div class="header">Silly Dog</div>
  137. <div class="description">Silly dogs can be quite fun to have as companions. You never know what kind of ridiculous thing they will do.</div>
  138. </div>
  139. <div class="extra content">
  140. 199 Votes
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. <h2 class="ui dividing header">Variations</h2>
  146. <div class="example">
  147. <h4 class="ui header">Stackable</h4>
  148. <div class="ui ignored info message">Resize your browser to a smaller size to see the items stack after reaching mobile breakpoints</div>
  149. <p>An item view can have its items take the full width when below a browser resolution threshold to allow for content to display properly at small sizes</p>
  150. <div class="ui stackable items">
  151. <div class="item">
  152. <div class="image">
  153. <img src="/images/demo/highres5.jpg">
  154. <a class="like ui corner label">
  155. <i class="like icon"></i>
  156. </a>
  157. </div>
  158. <div class="content">
  159. <div class="header">Cute Dog</div>
  160. <div class="description">This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.</div>
  161. <div class="extra content">
  162. 11 Votes
  163. </div>
  164. </div>
  165. </div>
  166. <div class="item">
  167. <div class="image">
  168. <img src="/images/demo/highres6.jpg">
  169. </div>
  170. <div class="content">
  171. <div class="header">Faithful Dog</div>
  172. <div class="meta">5 days ago</div>
  173. <div class="description">Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.</div>
  174. <div class="extra content">
  175. 11 Votes
  176. </div>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. <div class="example">
  182. <h4 class="ui header">Column count</h4>
  183. <p>An item list can list how many columns should exist in a row</p>
  184. <div class="ui four items">
  185. <div class="item">
  186. <div class="image">
  187. <img src="/images/demo/highres4.jpg">
  188. <a class="star ui corner label">
  189. <i class="star icon"></i>
  190. </a>
  191. </div>
  192. <div class="content">
  193. <div class="header">Cute Dog</div>
  194. <div class="description">This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.</div>
  195. </div>
  196. </div>
  197. <div class="item">
  198. <div class="image">
  199. <img src="/images/demo/highres5.jpg">
  200. <a class="star ui corner label">
  201. <i class="star icon"></i>
  202. </a>
  203. </div>
  204. <div class="content">
  205. <div class="header">Faithful Dog</div>
  206. <div class="description">Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.</div>
  207. </div>
  208. </div>
  209. <div class="item">
  210. <div class="image">
  211. <img src="/images/demo/highres3.jpg">
  212. <a class="star ui corner label">
  213. <i class="star icon"></i>
  214. </a>
  215. </div>
  216. <div class="content">
  217. <div class="header">Silly Dog</div>
  218. <div class="description">Silly dogs can be quite fun to have as companions. You never know what kind of ridiculous thing they will do.</div>
  219. </div>
  220. </div>
  221. <div class="item">
  222. <div class="image">
  223. <img src="/images/demo/highres2.jpg">
  224. <a class="star ui corner label">
  225. <i class="star icon"></i>
  226. </a>
  227. </div>
  228. <div class="content">
  229. <div class="header">Happy Dog</div>
  230. <div class="description">Happy dogs are pretty interesting if you are an unhappy person.</div>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. </div>