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.

801 lines
22 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!-- Standard Meta -->
  5. <meta charset="utf-8" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  8. <!-- Site Properities -->
  9. <title>Bootstrap - Semantic</title>
  10. <link rel="stylesheet" type="text/css" href="../dist/semantic.css">
  11. <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js"></script>
  12. <script src="../dist/semantic.js"></script>
  13. <style type="text/css">
  14. body > .ui.container {
  15. margin-top: 3em;
  16. }
  17. .color.grid {
  18. margin: -1.5em;
  19. width: 400px;
  20. }
  21. .ui.table {
  22. table-layout: fixed;
  23. }
  24. .color.grid .column {
  25. margin: 1em;
  26. width: 100px;
  27. height: 100px;
  28. }
  29. .spaced > .button {
  30. margin-bottom: 1em;
  31. }
  32. .container > h2 {
  33. margin: 5em 0em 1em;
  34. }
  35. .ui.menu {
  36. margin: 3em 0em;
  37. }
  38. </style>
  39. <script>
  40. $(document)
  41. .ready(function() {
  42. $('.ui.dropdown').dropdown();
  43. $('.ui.buttons .dropdown.button').dropdown({
  44. action: 'combo'
  45. });
  46. $('.ui.menu .ui.dropdown').dropdown({
  47. on: 'hover'
  48. });
  49. })
  50. ;
  51. </script>
  52. </head>
  53. <body>
  54. <div class="ui container">
  55. <h1 class="center aligned ui block header">Theming Examples</h1>
  56. <!--- Site !-->
  57. <h2>Site</h2>
  58. <div class="ui three column stackable grid">
  59. <div class="column">
  60. <h1>Heading 1</h1>
  61. <h2>Heading 2</h2>
  62. <h3>Heading 3</h3>
  63. <h4>Heading 4</h4>
  64. <h5>Heading 5</h5>
  65. <p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
  66. </div>
  67. <div class="column">
  68. <h2>Example body text</h2>
  69. <p>Nullam quis risus eget <a href="#">urna mollis ornare</a> vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
  70. <p><small>This line of text is meant to be treated as fine print.</small></p>
  71. <p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
  72. <p>The following snippet of text is <em>rendered as italicized text</em>.</p>
  73. <p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
  74. </div>
  75. <div class="column">
  76. <div class="ui four column stackable middle aligned centered color grid">
  77. <div class="black column">Black</div>
  78. <div class="orange column">Orange</div>
  79. <div class="green column">Green</div>
  80. <div class="teal column">Teal</div>
  81. <div class="blue column">Blue</div>
  82. <div class="purple column">Purple</div>
  83. <div class="pink column">Pink</div>
  84. <div class="red column">Red</div>
  85. <div class="yellow column">Yellow</div>
  86. </div>
  87. </div>
  88. </div>
  89. <!--- Menu !-->
  90. <h2>Menu</h2>
  91. <div class="ui menu">
  92. <div class="header item">Brand</div>
  93. <a class="active item">Link</a>
  94. <a class="item">Link</a>
  95. <div class="ui dropdown item">
  96. Dropdown
  97. <i class="dropdown icon"></i>
  98. <div class="menu">
  99. <div class="item">Action</div>
  100. <div class="item">Another Action</div>
  101. <div class="item">Something else here</div>
  102. <div class="divider"></div>
  103. <div class="item">Separated Link</div>
  104. <div class="divider"></div>
  105. <div class="item">One more separated link</div>
  106. </div>
  107. </div>
  108. <div class="right menu">
  109. <div class="item">
  110. <div class="ui action left icon input">
  111. <i class="search icon"></i>
  112. <input type="text" placeholder="Search">
  113. <button class="ui button">Submit</button>
  114. </div>
  115. </div>
  116. <a class="item">Link</a>
  117. </div>
  118. </div>
  119. <div class="ui inverted menu">
  120. <div class="header item">Brand</div>
  121. <div class="active item">Link</div>
  122. <a class="item">Link</a>
  123. <div class="ui dropdown item">
  124. Dropdown
  125. <i class="dropdown icon"></i>
  126. <div class="menu">
  127. <div class="item">Action</div>
  128. <div class="item">Another Action</div>
  129. <div class="item">Something else here</div>
  130. <div class="divider"></div>
  131. <div class="item">Separated Link</div>
  132. <div class="divider"></div>
  133. <div class="item">One more separated link</div>
  134. </div>
  135. </div>
  136. <div class="right menu">
  137. <div class="item">
  138. <div class="ui transparent inverted icon input">
  139. <i class="search icon"></i>
  140. <input type="text" placeholder="Search">
  141. </div>
  142. </div>
  143. <a class="item">Link</a>
  144. </div>
  145. </div>
  146. <div class="ui secondary menu">
  147. <div class="active item">Link</div>
  148. <a class="item">Link</a>
  149. <div class="ui dropdown item">
  150. Dropdown
  151. <i class="dropdown icon"></i>
  152. <div class="menu">
  153. <div class="item">Action</div>
  154. <div class="item">Another Action</div>
  155. <div class="item">Something else here</div>
  156. <div class="divider"></div>
  157. <div class="item">Separated Link</div>
  158. <div class="divider"></div>
  159. <div class="item">One more separated link</div>
  160. </div>
  161. </div>
  162. <div class="right menu">
  163. <div class="item">
  164. <div class="ui action left icon input">
  165. <i class="search icon"></i>
  166. <input type="text" placeholder="Search">
  167. <button class="ui button">Submit</button>
  168. </div>
  169. </div>
  170. <a class="item">Link</a>
  171. </div>
  172. </div>
  173. <div class="ui three column doubling grid">
  174. <div class="column">
  175. <div class="ui secondary pointing menu">
  176. <div class="active item">Link</div>
  177. <a class="item">Link</a>
  178. <a class="item">Link</a>
  179. </div>
  180. </div>
  181. <div class="column">
  182. <div class="ui tabular menu">
  183. <div class="active item">Link</div>
  184. <a class="item">Link</a>
  185. <a class="item">Link</a>
  186. </div>
  187. </div>
  188. <div class="column">
  189. <div class="ui pointing menu">
  190. <div class="active item">Link</div>
  191. <a class="item">Link</a>
  192. <div class="ui right dropdown item">
  193. Dropdown
  194. <i class="dropdown icon"></i>
  195. <div class="menu">
  196. <div class="item">Action</div>
  197. <div class="item">Another Action</div>
  198. <div class="item">Something else here</div>
  199. <div class="divider"></div>
  200. <div class="item">Separated Link</div>
  201. <div class="divider"></div>
  202. <div class="item">One more separated link</div>
  203. </div>
  204. </div>
  205. </div>
  206. </div>
  207. </div>
  208. <!--- Button !-->
  209. <h2>Buttons</h2>
  210. <div class="ui stackable equal width grid">
  211. <div class="column">
  212. <button class="ui button">Default</button>
  213. <button class="ui primary button">Primary</button>
  214. <button class="ui secondary button">Secondary</button>
  215. <button class="ui basic button">Basic</button>
  216. <button class="ui compact button">
  217. Compact
  218. </button>
  219. <div class="ui divider"></div>
  220. <button class="ui icon button">
  221. <i class="heart icon"></i>
  222. </button>
  223. <button class="ui labeled icon button">
  224. <i class="heart icon"></i>
  225. Labeled
  226. </button>
  227. <button class="ui right labeled icon button">
  228. <i class="heart icon"></i>
  229. Labeled
  230. </button>
  231. <div class="ui divider"></div>
  232. <div class="ui buttons">
  233. <button class="ui button">Combo</button>
  234. <div class="ui floating dropdown icon button">
  235. <i class="dropdown icon"></i>
  236. <div class="menu">
  237. <div class="item">Choice 1</div>
  238. <div class="item">Choice 2</div>
  239. <div class="item">Choice 3</div>
  240. </div>
  241. </div>
  242. </div>
  243. <div class="ui floating search dropdown button">
  244. <span class="text">Search Dropdown</span>
  245. <div class="menu">
  246. <div class="item">Arabic</div>
  247. <div class="item">Chinese</div>
  248. <div class="item">Danish</div>
  249. <div class="item">Dutch</div>
  250. <div class="item">English</div>
  251. <div class="item">French</div>
  252. <div class="item">German</div>
  253. <div class="item">Greek</div>
  254. <div class="item">Hungarian</div>
  255. <div class="item">Italian</div>
  256. <div class="item">Japanese</div>
  257. <div class="item">Korean</div>
  258. <div class="item">Lithuanian</div>
  259. <div class="item">Persian</div>
  260. <div class="item">Polish</div>
  261. <div class="item">Portuguese</div>
  262. <div class="item">Russian</div>
  263. <div class="item">Spanish</div>
  264. <div class="item">Swedish</div>
  265. <div class="item">Turkish</div>
  266. <div class="item">Vietnamese</div>
  267. </div>
  268. </div>
  269. <div class="ui divider"></div>
  270. <div class="ui animated button" tabindex="0">
  271. <div class="visible content">Horizontal</div>
  272. <div class="hidden content">
  273. Hidden
  274. </div>
  275. </div>
  276. <div class="ui vertical animated button" tabindex="0">
  277. <div class="visible content">Vertical</div>
  278. <div class="hidden content">
  279. Hidden
  280. </div>
  281. </div>
  282. <div class="ui animated fade button" tabindex="0">
  283. <div class="visible content">Fade In</div>
  284. <div class="hidden content">
  285. Hidden
  286. </div>
  287. </div>
  288. <div class="ui divider"></div>
  289. <button class="ui disabled button">Disabled</button>
  290. <button class="ui loading button">Loading</button>
  291. <div class="ui divider"></div>
  292. <div class="ui buttons">
  293. <button class="ui button">1</button>
  294. <button class="ui button">2</button>
  295. <button class="ui button">3</button>
  296. </div>
  297. <div class="ui icon buttons">
  298. <button class="ui button"><i class="align left icon"></i></button>
  299. <button class="ui button"><i class="align center icon"></i></button>
  300. <button class="ui button"><i class="align right icon"></i></button>
  301. <button class="ui button"><i class="align justify icon"></i></button>
  302. </div>
  303. <div class="ui buttons">
  304. <button class="ui button">1</button>
  305. <div class="or"></div>
  306. <button class="ui button">2</button>
  307. </div>
  308. <div class="ui divider"></div>
  309. <button class="ui mini button">Mini</button>
  310. <button class="ui tiny button">Tiny</button>
  311. <button class="ui small button">Small</button>
  312. <button class="ui large button">Large</button>
  313. <button class="ui big button">Big</button>
  314. <button class="ui huge button">Huge</button>
  315. <button class="ui massive button">Massive</button>
  316. </div>
  317. <div class="column">
  318. <div class="ui hidden divider"></div>
  319. <div class="spaced">
  320. <button class="yellow ui button">Yellow</button>
  321. <button class="orange ui button">Orange</button>
  322. <button class="green ui button">Green</button>
  323. <button class="teal ui button">Teal</button>
  324. <button class="blue ui button">Blue</button>
  325. <button class="purple ui button">Purple</button>
  326. <button class="pink ui button">Pink</button>
  327. <button class="red ui button">Red</button>
  328. <button class="black ui button">Black</button>
  329. </div>
  330. <div class="ui inverted segment">
  331. <button class="ui inverted button">Inverted</button>
  332. <button class="ui inverted basic button">Basic</button>
  333. <button class="ui inverted blue button">Colored</button>
  334. <button class="ui inverted blue basic button">Basic Colored</button>
  335. </div>
  336. </div>
  337. </div>
  338. <!--- Tables !-->
  339. <h2>Tables</h2>
  340. <div class="ui two column grid">
  341. <div class="column">
  342. <table class="ui right aligned table">
  343. <thead>
  344. <th class="left aligned">Person</th>
  345. <th>Calories</th>
  346. <th>Fat</th>
  347. <th>Protein</th>
  348. </thead>
  349. <tbody>
  350. <tr>
  351. <td class="left aligned">Delmar</td>
  352. <td>36</td>
  353. <td>36g</td>
  354. <td>2g</td>
  355. </tr>
  356. <tr>
  357. <td class="left aligned">Louise</td>
  358. <td>24</td>
  359. <td>24g</td>
  360. <td>29g</td>
  361. </tr>
  362. <tr>
  363. <td class="left aligned">Terrell</td>
  364. <td>22</td>
  365. <td>11g</td>
  366. <td>9g</td>
  367. </tr>
  368. <tr>
  369. <td class="left aligned">Marion</td>
  370. <td>7</td>
  371. <td>35g</td>
  372. <td>3g</td>
  373. </tr>
  374. <tr>
  375. <td class="left aligned">Clayton</td>
  376. <td>7</td>
  377. <td>38g</td>
  378. <td>20g</td>
  379. </tr>
  380. </tbody>
  381. </table>
  382. </div>
  383. <div class="column">
  384. <table class="ui right aligned celled table">
  385. <thead>
  386. <th class="left aligned">Person</th>
  387. <th>Calories</th>
  388. <th>Fat</th>
  389. <th>Protein</th>
  390. </thead>
  391. <tbody>
  392. <tr>
  393. <td class="left aligned">Drema</td>
  394. <td class="positive">15</td>
  395. <td class="negative">26g</td>
  396. <td class="warning">8g</td>
  397. </tr>
  398. <tr class="positive">
  399. <td class="left aligned">Nona</td>
  400. <td>11</td>
  401. <td>21g</td>
  402. <td>16g</td>
  403. </tr>
  404. <tr class="negative">
  405. <td class="left aligned">Isidra</td>
  406. <td>34</td>
  407. <td>43g</td>
  408. <td>11g</td>
  409. </tr>
  410. <tr class="warning">
  411. <td class="left aligned">Bart</td>
  412. <td>41</td>
  413. <td>40g</td>
  414. <td>30g</td>
  415. </tr>
  416. <tr class="selected">
  417. <td class="left aligned">Nguyet</td>
  418. <td>41</td>
  419. <td>44g</td>
  420. <td>28g</td>
  421. </tr>
  422. </tbody>
  423. </table>
  424. </div>
  425. <div class="column">
  426. <table class="ui basic right aligned table">
  427. <thead>
  428. <th class="left aligned">Person</th>
  429. <th>Calories</th>
  430. <th>Fat</th>
  431. <th>Protein</th>
  432. </thead>
  433. <tbody>
  434. <tr>
  435. <td class="left aligned">Mirna</td>
  436. <td>1</td>
  437. <td>28g</td>
  438. <td>29g</td>
  439. </tr>
  440. <tr>
  441. <td class="left aligned">Fernando</td>
  442. <td>38</td>
  443. <td>2g</td>
  444. <td>48g</td>
  445. </tr>
  446. <tr>
  447. <td class="left aligned">Lisette</td>
  448. <td>18</td>
  449. <td>9g</td>
  450. <td>23g</td>
  451. </tr>
  452. <tr>
  453. <td class="left aligned">Ahmad</td>
  454. <td>42</td>
  455. <td>26g</td>
  456. <td>49g</td>
  457. </tr>
  458. <tr>
  459. <td class="left aligned">Laquanda</td>
  460. <td>27</td>
  461. <td>27g</td>
  462. <td>49g</td>
  463. </tr>
  464. </tbody>
  465. </table>
  466. </div>
  467. <div class="column">
  468. <table class="ui very basic right aligned table">
  469. <thead>
  470. <th class="left aligned">Person</th>
  471. <th>Calories</th>
  472. <th>Fat</th>
  473. <th>Protein</th>
  474. </thead>
  475. <tbody>
  476. <tr>
  477. <td class="left aligned">Drema</td>
  478. <td>15</td>
  479. <td>26g</td>
  480. <td>8g</td>
  481. </tr>
  482. <tr>
  483. <td class="left aligned">Nona</td>
  484. <td>11</td>
  485. <td>21g</td>
  486. <td>16g</td>
  487. </tr>
  488. <tr>
  489. <td class="left aligned">Isidra</td>
  490. <td>34</td>
  491. <td>43g</td>
  492. <td>11g</td>
  493. </tr>
  494. <tr>
  495. <td class="left aligned">Bart</td>
  496. <td>41</td>
  497. <td>40g</td>
  498. <td>30g</td>
  499. </tr>
  500. <tr>
  501. <td class="left aligned">Nguyet</td>
  502. <td>41</td>
  503. <td>44g</td>
  504. <td>28g</td>
  505. </tr>
  506. </tbody>
  507. </table>
  508. </div>
  509. <div class="column">
  510. <table class="ui celled selectable right aligned table">
  511. <thead>
  512. <th class="left aligned">Person</th>
  513. <th>Calories</th>
  514. <th>Fat</th>
  515. <th>Protein</th>
  516. </thead>
  517. <tbody>
  518. <tr>
  519. <td class="left aligned">Tasia</td>
  520. <td>12</td>
  521. <td>7g</td>
  522. <td>21g</td>
  523. </tr>
  524. <tr>
  525. <td class="left aligned">Ronnie</td>
  526. <td>38</td>
  527. <td>37g</td>
  528. <td>38g</td>
  529. </tr>
  530. <tr>
  531. <td class="left aligned">Gabriel</td>
  532. <td>30</td>
  533. <td>46g</td>
  534. <td>46g</td>
  535. </tr>
  536. <tr>
  537. <td class="left aligned">Logan</td>
  538. <td>12</td>
  539. <td>21g</td>
  540. <td>39g</td>
  541. </tr>
  542. <tr>
  543. <td class="left aligned">Clare</td>
  544. <td>39</td>
  545. <td>41g</td>
  546. <td>2g</td>
  547. </tr>
  548. </tbody>
  549. </table>
  550. </div>
  551. <div class="column">
  552. <table class="ui striped right aligned table">
  553. <thead>
  554. <th class="left aligned">Person</th>
  555. <th>Calories</th>
  556. <th>Fat</th>
  557. <th>Protein</th>
  558. </thead>
  559. <tbody>
  560. <tr>
  561. <td class="left aligned">Rosaline</td>
  562. <td>5</td>
  563. <td>35g</td>
  564. <td>6g</td>
  565. </tr>
  566. <tr>
  567. <td class="left aligned">Barrie</td>
  568. <td>27</td>
  569. <td>23g</td>
  570. <td>28g</td>
  571. </tr>
  572. <tr>
  573. <td class="left aligned">Trinidad</td>
  574. <td>14</td>
  575. <td>50g</td>
  576. <td>7g</td>
  577. </tr>
  578. <tr>
  579. <td class="left aligned">Jaqueline</td>
  580. <td>31</td>
  581. <td>30g</td>
  582. <td>50g</td>
  583. </tr>
  584. <tr>
  585. <td class="left aligned">Tamala</td>
  586. <td>18</td>
  587. <td>6g</td>
  588. <td>13g</td>
  589. </tr>
  590. </tbody>
  591. </table>
  592. </div>
  593. <div class="column">
  594. <table class="ui padded celled right aligned table">
  595. <thead>
  596. <th class="left aligned">Person</th>
  597. <th>Calories</th>
  598. <th>Fat</th>
  599. <th>Protein</th>
  600. </thead>
  601. <tbody>
  602. <tr>
  603. <td class="left aligned">Lianne</td>
  604. <td>23</td>
  605. <td>32g</td>
  606. <td>43g</td>
  607. </tr>
  608. <tr>
  609. <td class="left aligned">Joette</td>
  610. <td>21</td>
  611. <td>13g</td>
  612. <td>31g</td>
  613. </tr>
  614. <tr>
  615. <td class="left aligned">Le</td>
  616. <td>28</td>
  617. <td>39g</td>
  618. <td>23g</td>
  619. </tr>
  620. <tr>
  621. <td class="left aligned">Sacha</td>
  622. <td>46</td>
  623. <td>43g</td>
  624. <td>13g</td>
  625. </tr>
  626. <tr>
  627. <td class="left aligned">Bruna</td>
  628. <td>9</td>
  629. <td>47g</td>
  630. <td>12g</td>
  631. </tr>
  632. </tbody>
  633. </table>
  634. </div>
  635. <div class="column">
  636. <table class="ui definition celled right aligned table">
  637. <thead>
  638. <th></th>
  639. <th>Calories</th>
  640. <th>Fat</th>
  641. <th>Protein</th>
  642. </thead>
  643. <tbody>
  644. <tr>
  645. <td class="left aligned">Lianne</td>
  646. <td>23</td>
  647. <td>32g</td>
  648. <td>43g</td>
  649. </tr>
  650. <tr>
  651. <td class="left aligned">Joette</td>
  652. <td>21</td>
  653. <td>13g</td>
  654. <td>31g</td>
  655. </tr>
  656. <tr>
  657. <td class="left aligned">Le</td>
  658. <td>28</td>
  659. <td>39g</td>
  660. <td>23g</td>
  661. </tr>
  662. <tr>
  663. <td class="left aligned">Sacha</td>
  664. <td>46</td>
  665. <td>43g</td>
  666. <td>13g</td>
  667. </tr>
  668. <tr>
  669. <td class="left aligned">Bruna</td>
  670. <td>9</td>
  671. <td>47g</td>
  672. <td>12g</td>
  673. </tr>
  674. </tbody>
  675. </table>
  676. </div>
  677. <div class="column">
  678. <table class="ui inverted right aligned table">
  679. <thead>
  680. <th class="left aligned">Person</th>
  681. <th>Calories</th>
  682. <th>Fat</th>
  683. <th>Protein</th>
  684. </thead>
  685. <tbody>
  686. <tr>
  687. <td class="left aligned">Lianne</td>
  688. <td>23</td>
  689. <td>32g</td>
  690. <td>43g</td>
  691. </tr>
  692. <tr>
  693. <td class="left aligned">Joette</td>
  694. <td>21</td>
  695. <td>13g</td>
  696. <td>31g</td>
  697. </tr>
  698. <tr>
  699. <td class="left aligned">Le</td>
  700. <td>28</td>
  701. <td>39g</td>
  702. <td>23g</td>
  703. </tr>
  704. <tr>
  705. <td class="left aligned">Sacha</td>
  706. <td>46</td>
  707. <td>43g</td>
  708. <td>13g</td>
  709. </tr>
  710. <tr>
  711. <td class="left aligned">Bruna</td>
  712. <td>9</td>
  713. <td>47g</td>
  714. <td>12g</td>
  715. </tr>
  716. </tbody>
  717. </table>
  718. </div>
  719. <div class="column">
  720. <table class="ui inverted blue selectable celled right aligned table">
  721. <thead>
  722. <th class="left aligned">Person</th>
  723. <th>Calories</th>
  724. <th>Fat</th>
  725. <th>Protein</th>
  726. </thead>
  727. <tbody>
  728. <tr>
  729. <td class="left aligned">Lianne</td>
  730. <td>23</td>
  731. <td>32g</td>
  732. <td>43g</td>
  733. </tr>
  734. <tr>
  735. <td class="left aligned">Joette</td>
  736. <td>21</td>
  737. <td>13g</td>
  738. <td>31g</td>
  739. </tr>
  740. <tr>
  741. <td class="left aligned">Le</td>
  742. <td>28</td>
  743. <td>39g</td>
  744. <td>23g</td>
  745. </tr>
  746. <tr>
  747. <td class="left aligned">Sacha</td>
  748. <td>46</td>
  749. <td>43g</td>
  750. <td>13g</td>
  751. </tr>
  752. <tr>
  753. <td class="left aligned">Bruna</td>
  754. <td>9</td>
  755. <td>47g</td>
  756. <td>12g</td>
  757. </tr>
  758. </tbody>
  759. </table>
  760. </div>
  761. </div>
  762. </body>
  763. </html>