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.

573 lines
17 KiB

  1. ---
  2. layout : 'default'
  3. css : 'list'
  4. title : 'List'
  5. description : 'A list is a group of related content items ordered consecutively'
  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">Content</a>
  14. <a class="item">Variations</a>
  15. </div>
  16. </div>
  17. <h2 class="ui dividing header">Types</h2>
  18. <div class="example">
  19. <h4 class="ui header">List</h4>
  20. <p>A standard list</p>
  21. <div class="ui divided list">
  22. <div class="item">
  23. <img src="/images/demo/avatar2.jpg">
  24. <div class="content">
  25. <div class="header">Schnoodle</div>
  26. Your new dog
  27. </div>
  28. <div class="list">
  29. <div class="item">
  30. <i class="mail outline icon"></i>
  31. <div class="content">
  32. <a class="header">Thanks for being my owner</a>
  33. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  34. </div>
  35. </div>
  36. <div class="item">
  37. <i class="mail outline icon"></i>
  38. <div class="content">
  39. <a class="header">What a walk</a>
  40. <div class="description">Man i am so tired that walk today really was too far...</div>
  41. </div>
  42. </div>
  43. <div class="item">
  44. <i class="map icon"></i>
  45. <div class="content">
  46. <a class="header">Sorry about your old dog</a>
  47. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="item">
  53. <img src="/images/demo/avatar3.jpg">
  54. <div class="content">
  55. <div class="header">Ragamuffin</div>
  56. Your old dog.
  57. </div>
  58. <div class="list">
  59. <div class="item">
  60. <i class="photo icon"></i>
  61. <div class="content">
  62. <a class="header">Was on a walk today</a>
  63. <div class="description">Here's a picture of me on the farm with a cow...</div>
  64. </div>
  65. </div>
  66. <div class="item">
  67. <i class="mail outline icon"></i>
  68. <div class="content">
  69. <a class="header">Ruff Ruff</a>
  70. <div class="description">I know i usually message you in english but i wanted to see how your dog language was progressing...</div>
  71. </div>
  72. </div>
  73. <div class="item">
  74. <i class="mail outline icon"></i>
  75. <div class="content">
  76. <a class="header">Reaching Out</a>
  77. <div class="description">Hey its your old dog, been a while since you sent me to the farm...</div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. <div class="example">
  85. <h4 class="ui header">Bulleted</h4>
  86. <p>A list can mark items with a bullet</p>
  87. <div class="ui bulleted list">
  88. <div class="item">Cats</div>
  89. <div class="item">Horses</div>
  90. <div class="item">Dogs
  91. <div class="list">
  92. <div class="item">Labradoodles</div>
  93. <div class="item">Shiba Inu</div>
  94. <div class="item">Mastiff</div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. <div class="another example">
  100. <div class="ignored ui info message">For convenience, a simple bulleted list can also use <code>ul</code> tag.</div>
  101. <ul class="ui list">
  102. <li>Cats</li>
  103. <li>Horses</li>
  104. <li>Dogs</li>
  105. <ul>
  106. <li>Labradoodles</li>
  107. <li>Shiba Inu</li>
  108. <li>Mastiff</li>
  109. </ul>
  110. </li>
  111. </ul>
  112. </div>
  113. <div class="example">
  114. <h4 class="ui header">Ordered</h4>
  115. <p>A list can be ordered numerically</p>
  116. <div class="ui ordered list">
  117. <div class="item">Getting Started</div>
  118. <div class="item">Introduction</div>
  119. <div class="item">Languages
  120. <div class="list">
  121. <div class="item">HTML</div>
  122. <div class="item">Javascript</div>
  123. <div class="item">CSS</div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <div class="another example">
  129. <div class="ignored ui info message">For convenience, a simple ordered list can also use the <code>ol</code> tag</div>
  130. <ol class="ui list">
  131. <li>Cats</li>
  132. <li>Horses</li>
  133. <li>Dogs</li>
  134. <ol>
  135. <li>Labradoodles</li>
  136. <li>Shiba Inu</li>
  137. <li>Mastiff</li>
  138. </ol>
  139. </li>
  140. </ol>
  141. </div>
  142. <div class="example">
  143. <h4 class="ui header">Link</h4>
  144. <p>A link list is specially formatted for page links</p>
  145. <div class="ui link list">
  146. <a class="item">Home</a>
  147. <a class="item">About</a>
  148. <a class="item">Jobs</a>
  149. <a class="item">Team</a>
  150. </div>
  151. </div>
  152. <h2 class="ui dividing header">Content</h2>
  153. <div class="example">
  154. <h4 class="ui header">Icon</h4>
  155. <p>A list item can have an icon</p>
  156. <div class="ui list">
  157. <a class="item">
  158. <i class="right triangle icon"></i>
  159. How do you know your dog likes you?
  160. </a>
  161. <a class="item">
  162. <i class="right triangle icon"></i>
  163. When is it ok to send your dog to a farm?
  164. </a>
  165. <a class="item">
  166. <i class="right triangle icon"></i>
  167. Can you get your dog back from a farm if you really want him back?
  168. </a>
  169. <a class="item">
  170. <i class="right triangle icon"></i>
  171. Is trespassing on a farm a misdemeanor offence?
  172. </a>
  173. </div>
  174. </div>
  175. <div class="example">
  176. <h4 class="ui header">Content</h4>
  177. <p>A list can have groups of content that can be floated left or right</p>
  178. <div class="ui divided list">
  179. <div class="item">
  180. <div class="right floated tiny teal ui button">View Listing</div>
  181. <img src="/images/demo/avatar2.jpg">
  182. <div class="content">
  183. <div class="header">New York Dog Fair</div>
  184. </div>
  185. </div>
  186. <div class="item">
  187. <div class="right floated tiny teal ui button">View Listing</div>
  188. <img src="/images/demo/avatar3.jpg">
  189. <div class="content">
  190. <div class="header">Dog Appreciation Day</div>
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. <div class="example">
  196. <h4 class="ui header">Link</h4>
  197. <p>A list can contain items that link</p>
  198. <div class="ui list">
  199. <a class="item">What is a FAQ?</a>
  200. <a class="item">How does one go about reading answers to questions in a FAQ</a>
  201. <a class="item">How do you close a web browser?</a>
  202. <a class="item">What is the most popular FAQ question?</a>
  203. </div>
  204. </div>
  205. <div class="example">
  206. <h4 class="ui header">Header</h4>
  207. <p>A list item can contain a header</p>
  208. <div class="ui list">
  209. <div class="item">
  210. <div class="header">New York City</div>
  211. A lovely city
  212. </div>
  213. <div class="item">
  214. <div class="header">Chicago</div>
  215. Also quite a lovely city
  216. </div>
  217. <div class="item">
  218. <div class="header">Los Angeles</div>
  219. Sometimes can be a lovely city
  220. </div>
  221. <div class="item">
  222. <div class="header">San Francisco</div>
  223. What a lovely city
  224. </div>
  225. </div>
  226. </div>
  227. <div class="example">
  228. <h4 class="ui header">Description</h4>
  229. <p>A list item can contain a description</p>
  230. <div class="ui divided list">
  231. <div class="item">
  232. <i class="circular map marker icon"></i>
  233. <div class="content">
  234. <a class="header">New York City</a>
  235. <div class="description">A lovely city</div>
  236. </div>
  237. </div>
  238. <div class="item">
  239. <i class="circular map marker icon"></i>
  240. <div class="content">
  241. <a class="header">Chicago</a>
  242. <div class="description">A lovely city</div>
  243. </div>
  244. </div>
  245. <div class="item">
  246. <i class="circular map marker icon"></i>
  247. <div class="content">
  248. <a class="header">Los Angeles</a>
  249. <div class="description">A lovely city</div>
  250. </div>
  251. </div>
  252. <div class="item">
  253. <i class="circular map marker icon"></i>
  254. <div class="content">
  255. <a class="header">San Francisco</a>
  256. <div class="description">A lovely city</div>
  257. </div>
  258. </div>
  259. </div>
  260. </div>
  261. <h2 class="ui dividing header">Variations</h2>
  262. <div class="example">
  263. <h4 class="ui header">Horizontal List</h4>
  264. <p>A list can be formatted horizontally</p>
  265. <div class="ui horizontal list">
  266. <div class="item">
  267. <img src="/images/demo/avatar.jpg">
  268. <div class="content">
  269. <div class="header">Snickerdoodle</div>
  270. An excellent companion
  271. </div>
  272. </div>
  273. <div class="item">
  274. <img src="/images/demo/avatar2.jpg">
  275. <div class="content">
  276. <div class="header">Poodle</div>
  277. A poodle, its pretty basic
  278. </div>
  279. </div>
  280. <div class="item">
  281. <img src="/images/demo/avatar3.jpg">
  282. <div class="content">
  283. <div class="header">Paulo</div>
  284. He's also a dog
  285. </div>
  286. </div>
  287. </div>
  288. </div>
  289. <div class="another example">
  290. <div class="ui ordered horizontal list">
  291. <div class="item">New York City</div>
  292. <div class="item">Chicago</div>
  293. <div class="item">Los Angeles</div>
  294. <div class="item">San Francisco</div>
  295. </div>
  296. </div>
  297. <div class="another example">
  298. <div class="ui horizontal bulleted list">
  299. <div class="item">
  300. Apples
  301. </div>
  302. <div class="item">
  303. Pears
  304. </div>
  305. <div class="item">
  306. Oranges
  307. </div>
  308. <div class="item">
  309. Soursop
  310. </div>
  311. </div>
  312. </div>
  313. <div class="example">
  314. <h4 class="ui header">Selection</h4>
  315. <p>A selection list formats list items as possible choices</p>
  316. <div class="ui selection list">
  317. <div class="item">
  318. <img src="/images/demo/avatar.jpg">
  319. <div class="content">
  320. <div class="header">Snickerdoodle</div>
  321. An excellent companion
  322. </div>
  323. </div>
  324. <div class="item">
  325. <img src="/images/demo/avatar2.jpg">
  326. <div class="content">
  327. <div class="header">Poodle</div>
  328. A poodle, its pretty basic
  329. </div>
  330. </div>
  331. <div class="item">
  332. <img src="/images/demo/avatar3.jpg">
  333. <div class="content">
  334. <div class="header">Paulo</div>
  335. He's also a dog
  336. </div>
  337. </div>
  338. </div>
  339. </div>
  340. <div class="example">
  341. <h4 class="ui header">Relaxed</h4>
  342. <p>A list can relax its padding to provide more negative space</p>
  343. <div class="ui relaxed divided list">
  344. <div class="item">
  345. <i class="map marker icon"></i>
  346. <div class="content">
  347. <a class="header">New York City</a>
  348. <div class="description">A lovely city</div>
  349. </div>
  350. </div>
  351. <div class="item">
  352. <i class="map marker icon"></i>
  353. <div class="content">
  354. <a class="header">Chicago</a>
  355. <div class="description">A lovely city</div>
  356. </div>
  357. </div>
  358. <div class="item">
  359. <i class="map marker icon"></i>
  360. <div class="content">
  361. <a class="header">Los Angeles</a>
  362. <div class="description">A lovely city</div>
  363. </div>
  364. </div>
  365. </div>
  366. </div>
  367. <div class="another example">
  368. <div class="ui very relaxed divided list">
  369. <div class="item">
  370. <i class="map marker icon"></i>
  371. <div class="content">
  372. <a class="header">New York City</a>
  373. <div class="description">A lovely city</div>
  374. </div>
  375. </div>
  376. <div class="item">
  377. <i class="map marker icon"></i>
  378. <div class="content">
  379. <a class="header">Chicago</a>
  380. <div class="description">A lovely city</div>
  381. </div>
  382. </div>
  383. <div class="item">
  384. <i class="map marker icon"></i>
  385. <div class="content">
  386. <a class="header">Los Angeles</a>
  387. <div class="description">A lovely city</div>
  388. </div>
  389. </div>
  390. </div>
  391. </div>
  392. <div class="another example">
  393. <div class="ui relaxed horizontal divided list">
  394. <div class="item">
  395. <i class="map marker icon"></i>
  396. <div class="content">
  397. <a class="header">New York City</a>
  398. <div class="description">A lovely city</div>
  399. </div>
  400. </div>
  401. <div class="item">
  402. <i class="map marker icon"></i>
  403. <div class="content">
  404. <a class="header">Chicago</a>
  405. <div class="description">A lovely city</div>
  406. </div>
  407. </div>
  408. <div class="item">
  409. <i class="map marker icon"></i>
  410. <div class="content">
  411. <a class="header">Los Angeles</a>
  412. <div class="description">A lovely city</div>
  413. </div>
  414. </div>
  415. </div>
  416. </div>
  417. <div class="another example">
  418. <div class="ui very relaxed horizontal divided list">
  419. <div class="item">
  420. <i class="map marker icon"></i>
  421. <div class="content">
  422. <a class="header">New York City</a>
  423. <div class="description">A lovely city</div>
  424. </div>
  425. </div>
  426. <div class="item">
  427. <i class="map marker icon"></i>
  428. <div class="content">
  429. <a class="header">Chicago</a>
  430. <div class="description">A lovely city</div>
  431. </div>
  432. </div>
  433. <div class="item">
  434. <i class="map marker icon"></i>
  435. <div class="content">
  436. <a class="header">Los Angeles</a>
  437. <div class="description">A lovely city</div>
  438. </div>
  439. </div>
  440. </div>
  441. </div>
  442. <div class="example">
  443. <h4 class="ui header">Divided</h4>
  444. <p>A list can show divisions between content</p>
  445. <div class="ui divided list">
  446. <div class="item">
  447. <img src="/images/demo/avatar.jpg">
  448. <div class="content">
  449. <div class="header">Snickerdoodle</div>
  450. An excellent companion
  451. </div>
  452. </div>
  453. <div class="item">
  454. <img src="/images/demo/avatar2.jpg">
  455. <div class="content">
  456. <div class="header">Poodle</div>
  457. A poodle, its pretty basic
  458. </div>
  459. </div>
  460. <div class="item">
  461. <img src="/images/demo/avatar3.jpg">
  462. <div class="content">
  463. <div class="header">Paulo</div>
  464. He's also a dog
  465. </div>
  466. </div>
  467. </div>
  468. </div>
  469. <div class="another example">
  470. <div class="ui divided horizontal list">
  471. <div class="item">About Us</div>
  472. <div class="item">Contact</div>
  473. <div class="item">Support</div>
  474. </div>
  475. </div>
  476. <div class="example">
  477. <h4 class="ui header">Celled</h4>
  478. <p>A list can divide its items into cells</p>
  479. <div class="ui celled list">
  480. <div class="item">
  481. <img src="/images/demo/avatar.jpg">
  482. <div class="content">
  483. <div class="header">Snickerdoodle</div>
  484. An excellent companion
  485. </div>
  486. </div>
  487. <div class="item">
  488. <img src="/images/demo/avatar2.jpg">
  489. <div class="content">
  490. <div class="header">Poodle</div>
  491. A poodle, its pretty basic
  492. </div>
  493. </div>
  494. <div class="item">
  495. <img src="/images/demo/avatar3.jpg">
  496. <div class="content">
  497. <div class="header">Paulo</div>
  498. He's also a dog
  499. </div>
  500. </div>
  501. </div>
  502. </div>
  503. <div class="another example">
  504. <div class="ui celled horizontal list">
  505. <div class="item">About Us</div>
  506. <div class="item">Contact</div>
  507. <div class="item">Support</div>
  508. </div>
  509. </div>
  510. <div class="example">
  511. <h4 class="ui header">Sizes</h4>
  512. <p>A list can vary in size</p>
  513. <div class="ui mini horizontal list">
  514. <div class="item">About Us</div>
  515. <div class="item">Contact</div>
  516. <div class="item">Support</div>
  517. </div>
  518. <div class="ui tiny horizontal list">
  519. <div class="item">About Us</div>
  520. <div class="item">Contact</div>
  521. <div class="item">Support</div>
  522. </div>
  523. <div class="ui small horizontal list">
  524. <div class="item">About Us</div>
  525. <div class="item">Contact</div>
  526. <div class="item">Support</div>
  527. </div>
  528. <div class="ui large horizontal list">
  529. <div class="item">About Us</div>
  530. <div class="item">Contact</div>
  531. <div class="item">Support</div>
  532. </div>
  533. <div class="ui big horizontal list">
  534. <div class="item">About Us</div>
  535. <div class="item">Contact</div>
  536. <div class="item">Support</div>
  537. </div>
  538. <div class="ui huge horizontal list">
  539. <div class="item">About Us</div>
  540. <div class="item">Contact</div>
  541. <div class="item">Support</div>
  542. </div>
  543. <div class="ui massive horizontal list">
  544. <div class="item">About Us</div>
  545. <div class="item">Contact</div>
  546. <div class="item">Support</div>
  547. </div>
  548. </div>
  549. </div>