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.

754 lines
24 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 list">
  22. <div class="item">
  23. <img class="ui avatar image" 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 class="ui avatar image" 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 class="ui avatar image" 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 class="ui avatar image" 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="clearing 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="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="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="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="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 class="ui avatar image" 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 class="ui avatar image" 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 class="ui avatar image" 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">Inverted</h4>
  315. <p>A list can be inverted to appear on a dark background</p>
  316. <div class="ui inverted segment">
  317. <div class="ui inverted relaxed divided list">
  318. <div class="item">
  319. <div class="content">
  320. <div class="header">Snickerdoodle</div>
  321. An excellent companion
  322. </div>
  323. </div>
  324. <div class="item">
  325. <div class="content">
  326. <div class="header">Poodle</div>
  327. A poodle, its pretty basic
  328. </div>
  329. </div>
  330. <div class="item">
  331. <div class="content">
  332. <div class="header">Paulo</div>
  333. He's also a dog
  334. </div>
  335. </div>
  336. </div>
  337. </div>
  338. </div>
  339. <div class="example">
  340. <h4 class="ui header">Selection</h4>
  341. <p>A selection list formats list items as possible choices</p>
  342. <div class="ui selection list">
  343. <div class="item">
  344. <img class="ui avatar image" src="/images/demo/avatar.jpg">
  345. <div class="content">
  346. <div class="header">Snickerdoodle</div>
  347. An excellent companion
  348. </div>
  349. </div>
  350. <div class="item">
  351. <img class="ui avatar image" src="/images/demo/avatar2.jpg">
  352. <div class="content">
  353. <div class="header">Poodle</div>
  354. A poodle, its pretty basic
  355. </div>
  356. </div>
  357. <div class="item">
  358. <img class="ui avatar image" src="/images/demo/avatar3.jpg">
  359. <div class="content">
  360. <div class="header">Paulo</div>
  361. He's also a dog
  362. </div>
  363. </div>
  364. </div>
  365. </div>
  366. <div class="example">
  367. <h4 class="ui header">Animated</h4>
  368. <p>A list can animate to set the current item apart from the list</p>
  369. <div class="ui animated list">
  370. <div class="item">
  371. <img class="ui avatar image" src="/images/demo/avatar.jpg">
  372. <div class="content">
  373. <div class="header">Snickerdoodle</div>
  374. An excellent companion
  375. </div>
  376. </div>
  377. <div class="item">
  378. <img class="ui avatar image" src="/images/demo/avatar2.jpg">
  379. <div class="content">
  380. <div class="header">Poodle</div>
  381. A poodle, its pretty basic
  382. </div>
  383. </div>
  384. <div class="item">
  385. <img class="ui avatar image" src="/images/demo/avatar3.jpg">
  386. <div class="content">
  387. <div class="header">Paulo</div>
  388. He's also a dog
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. <div class="example">
  394. <h4 class="ui header">Relaxed</h4>
  395. <p>A list can relax its padding to provide more negative space</p>
  396. <div class="ui relaxed divided list">
  397. <div class="item">
  398. <i class="map marker icon"></i>
  399. <div class="content">
  400. <a class="header">New York City</a>
  401. <div class="description">A lovely city</div>
  402. </div>
  403. </div>
  404. <div class="item">
  405. <i class="map marker icon"></i>
  406. <div class="content">
  407. <a class="header">Chicago</a>
  408. <div class="description">A lovely city</div>
  409. </div>
  410. </div>
  411. <div class="item">
  412. <i class="map marker icon"></i>
  413. <div class="content">
  414. <a class="header">Los Angeles</a>
  415. <div class="description">A lovely city</div>
  416. </div>
  417. </div>
  418. </div>
  419. </div>
  420. <div class="another example">
  421. <div class="ui very relaxed divided list">
  422. <div class="item">
  423. <i class="map marker icon"></i>
  424. <div class="content">
  425. <a class="header">New York City</a>
  426. <div class="description">A lovely city</div>
  427. </div>
  428. </div>
  429. <div class="item">
  430. <i class="map marker icon"></i>
  431. <div class="content">
  432. <a class="header">Chicago</a>
  433. <div class="description">A lovely city</div>
  434. </div>
  435. </div>
  436. <div class="item">
  437. <i class="map marker icon"></i>
  438. <div class="content">
  439. <a class="header">Los Angeles</a>
  440. <div class="description">A lovely city</div>
  441. </div>
  442. </div>
  443. </div>
  444. </div>
  445. <div class="another example">
  446. <div class="ui relaxed horizontal divided list">
  447. <div class="item">
  448. <i class="map marker icon"></i>
  449. <div class="content">
  450. <a class="header">New York City</a>
  451. <div class="description">A lovely city</div>
  452. </div>
  453. </div>
  454. <div class="item">
  455. <i class="map marker icon"></i>
  456. <div class="content">
  457. <a class="header">Chicago</a>
  458. <div class="description">A lovely city</div>
  459. </div>
  460. </div>
  461. <div class="item">
  462. <i class="map marker icon"></i>
  463. <div class="content">
  464. <a class="header">Los Angeles</a>
  465. <div class="description">A lovely city</div>
  466. </div>
  467. </div>
  468. </div>
  469. </div>
  470. <div class="another example">
  471. <div class="ui very relaxed horizontal divided list">
  472. <div class="item">
  473. <i class="map marker icon"></i>
  474. <div class="content">
  475. <a class="header">New York City</a>
  476. <div class="description">A lovely city</div>
  477. </div>
  478. </div>
  479. <div class="item">
  480. <i class="map marker icon"></i>
  481. <div class="content">
  482. <a class="header">Chicago</a>
  483. <div class="description">A lovely city</div>
  484. </div>
  485. </div>
  486. <div class="item">
  487. <i class="map marker icon"></i>
  488. <div class="content">
  489. <a class="header">Los Angeles</a>
  490. <div class="description">A lovely city</div>
  491. </div>
  492. </div>
  493. </div>
  494. </div>
  495. <div class="example">
  496. <h4 class="ui header">Divided</h4>
  497. <p>A list can show divisions between content</p>
  498. <div class="ui divided list">
  499. <div class="item">
  500. <img class="ui avatar image" src="/images/demo/avatar.jpg">
  501. <div class="content">
  502. <div class="header">Snickerdoodle</div>
  503. An excellent companion
  504. </div>
  505. </div>
  506. <div class="item">
  507. <img class="ui avatar image" src="/images/demo/avatar2.jpg">
  508. <div class="content">
  509. <div class="header">Poodle</div>
  510. A poodle, its pretty basic
  511. </div>
  512. </div>
  513. <div class="item">
  514. <img class="ui avatar image" src="/images/demo/avatar3.jpg">
  515. <div class="content">
  516. <div class="header">Paulo</div>
  517. He's also a dog
  518. </div>
  519. </div>
  520. </div>
  521. </div>
  522. <div class="another example">
  523. <div class="ui divided 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>
  529. <div class="example">
  530. <h4 class="ui header">Celled</h4>
  531. <p>A list can divide its items into cells</p>
  532. <div class="ui celled list">
  533. <div class="item">
  534. <img class="ui avatar image" src="/images/demo/avatar.jpg">
  535. <div class="content">
  536. <div class="header">Snickerdoodle</div>
  537. An excellent companion
  538. </div>
  539. </div>
  540. <div class="item">
  541. <img class="ui avatar image" src="/images/demo/avatar2.jpg">
  542. <div class="content">
  543. <div class="header">Poodle</div>
  544. A poodle, its pretty basic
  545. </div>
  546. </div>
  547. <div class="item">
  548. <img class="ui avatar image" src="/images/demo/avatar3.jpg">
  549. <div class="content">
  550. <div class="header">Paulo</div>
  551. He's also a dog
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. <div class="another example">
  557. <div class="ui celled horizontal list">
  558. <div class="item">About Us</div>
  559. <div class="item">Contact</div>
  560. <div class="item">Support</div>
  561. </div>
  562. </div>
  563. <div class="example">
  564. <h4 class="ui header">Sizes</h4>
  565. <p>A list can vary in size</p>
  566. <div class="ui mini list">
  567. <div class="item">
  568. <i class="mail outline icon"></i>
  569. <div class="content">
  570. <a class="header">Thanks for being my owner</a>
  571. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  572. </div>
  573. </div>
  574. <div class="item">
  575. <i class="mail outline icon"></i>
  576. <div class="content">
  577. <a class="header">What a walk</a>
  578. <div class="description">Man i am so tired that walk today really was too far...</div>
  579. </div>
  580. </div>
  581. <div class="item">
  582. <i class="map icon"></i>
  583. <div class="content">
  584. <a class="header">Sorry about your old dog</a>
  585. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  586. </div>
  587. </div>
  588. </div>
  589. <div class="ui tiny list">
  590. <div class="item">
  591. <i class="mail outline icon"></i>
  592. <div class="content">
  593. <a class="header">Thanks for being my owner</a>
  594. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  595. </div>
  596. </div>
  597. <div class="item">
  598. <i class="mail outline icon"></i>
  599. <div class="content">
  600. <a class="header">What a walk</a>
  601. <div class="description">Man i am so tired that walk today really was too far...</div>
  602. </div>
  603. </div>
  604. <div class="item">
  605. <i class="map icon"></i>
  606. <div class="content">
  607. <a class="header">Sorry about your old dog</a>
  608. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  609. </div>
  610. </div>
  611. </div>
  612. <div class="ui small list">
  613. <div class="item">
  614. <i class="mail outline icon"></i>
  615. <div class="content">
  616. <a class="header">Thanks for being my owner</a>
  617. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  618. </div>
  619. </div>
  620. <div class="item">
  621. <i class="mail outline icon"></i>
  622. <div class="content">
  623. <a class="header">What a walk</a>
  624. <div class="description">Man i am so tired that walk today really was too far...</div>
  625. </div>
  626. </div>
  627. <div class="item">
  628. <i class="map icon"></i>
  629. <div class="content">
  630. <a class="header">Sorry about your old dog</a>
  631. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  632. </div>
  633. </div>
  634. </div>
  635. <div class="ui large list">
  636. <div class="item">
  637. <i class="mail outline icon"></i>
  638. <div class="content">
  639. <a class="header">Thanks for being my owner</a>
  640. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  641. </div>
  642. </div>
  643. <div class="item">
  644. <i class="mail outline icon"></i>
  645. <div class="content">
  646. <a class="header">What a walk</a>
  647. <div class="description">Man i am so tired that walk today really was too far...</div>
  648. </div>
  649. </div>
  650. <div class="item">
  651. <i class="map icon"></i>
  652. <div class="content">
  653. <a class="header">Sorry about your old dog</a>
  654. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  655. </div>
  656. </div>
  657. </div>
  658. <div class="ui big list">
  659. <div class="item">
  660. <i class="mail outline icon"></i>
  661. <div class="content">
  662. <a class="header">Thanks for being my owner</a>
  663. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  664. </div>
  665. </div>
  666. <div class="item">
  667. <i class="mail outline icon"></i>
  668. <div class="content">
  669. <a class="header">What a walk</a>
  670. <div class="description">Man i am so tired that walk today really was too far...</div>
  671. </div>
  672. </div>
  673. <div class="item">
  674. <i class="map icon"></i>
  675. <div class="content">
  676. <a class="header">Sorry about your old dog</a>
  677. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  678. </div>
  679. </div>
  680. </div>
  681. <div class="ui huge list">
  682. <div class="item">
  683. <i class="mail outline icon"></i>
  684. <div class="content">
  685. <a class="header">Thanks for being my owner</a>
  686. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  687. </div>
  688. </div>
  689. <div class="item">
  690. <i class="mail outline icon"></i>
  691. <div class="content">
  692. <a class="header">What a walk</a>
  693. <div class="description">Man i am so tired that walk today really was too far...</div>
  694. </div>
  695. </div>
  696. <div class="item">
  697. <i class="map icon"></i>
  698. <div class="content">
  699. <a class="header">Sorry about your old dog</a>
  700. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  701. </div>
  702. </div>
  703. </div>
  704. <div class="ui massive list">
  705. <div class="item">
  706. <i class="mail outline icon"></i>
  707. <div class="content">
  708. <a class="header">Thanks for being my owner</a>
  709. <div class="description">Im so glad you chose to bring me home from the shelter...</div>
  710. </div>
  711. </div>
  712. <div class="item">
  713. <i class="mail outline icon"></i>
  714. <div class="content">
  715. <a class="header">What a walk</a>
  716. <div class="description">Man i am so tired that walk today really was too far...</div>
  717. </div>
  718. </div>
  719. <div class="item">
  720. <i class="map icon"></i>
  721. <div class="content">
  722. <a class="header">Sorry about your old dog</a>
  723. <div class="description">Is this your address? I'm getting dropped off from the SPCA...</div>
  724. </div>
  725. </div>
  726. </div>
  727. </div>
  728. </div>