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.

699 lines
12 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. /*
  2. * # Semantic List - Flat
  3. * http://github.com/jlukic/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. * Released: April 26 2013
  11. */
  12. /*******************************
  13. List
  14. *******************************/
  15. ul.ui.list,
  16. ol.ui.list,
  17. .ui.list {
  18. list-style-type: none;
  19. margin: 1em 0em;
  20. padding: 0em;
  21. }
  22. ul.ui.list ul,
  23. ol.ui.list ol,
  24. .ui.list .list {
  25. margin: 0em;
  26. padding: 0.5em 1em 0.5em 0em;
  27. }
  28. ul.ui.list:first-child,
  29. ol.ui.list:first-child,
  30. .ui.list:first-child {
  31. margin-top: 0em;
  32. }
  33. ul.ui.list:last-child,
  34. ol.ui.list:last-child,
  35. .ui.list:last-child {
  36. margin-bottom: 0em;
  37. }
  38. /*******************************
  39. Content
  40. *******************************/
  41. /* List Item */
  42. ul.ui.list li,
  43. ol.ui.list li,
  44. .ui.list .item {
  45. display: list-item;
  46. list-style-type: none;
  47. list-style-position: inside;
  48. padding: 0.3em 0em;
  49. line-height: 1.2em;
  50. }
  51. .ui.list .item:after {
  52. content: '';
  53. display: block;
  54. height: 0;
  55. clear: both;
  56. visibility: hidden;
  57. }
  58. /* Sub-List */
  59. .ui.list .list {
  60. clear: both;
  61. }
  62. /* Icon */
  63. .ui.list .item > .icon {
  64. display: block;
  65. float: right;
  66. margin: 0em 0em 0em 1em;
  67. padding: 0.1em 0em 0em 0em;
  68. }
  69. .ui.list .item > .icon:only-child {
  70. display: inline-block;
  71. }
  72. .ui.horizontal.list .item > .icon {
  73. margin: 0em;
  74. padding: 0em 0em 0em 0.25em;
  75. }
  76. .ui.horizontal.list .item > .icon,
  77. .ui.horizontal.list .item > .icon + .content {
  78. float: none;
  79. display: inline-block;
  80. }
  81. /* Image */
  82. .ui.list .item > img {
  83. display: block;
  84. float: right;
  85. margin-left: 1em;
  86. vertical-align: middle;
  87. }
  88. /* Content */
  89. .ui.list .item > .content {
  90. display: inline-block;
  91. vertical-align: middle;
  92. line-height: 1.2em;
  93. }
  94. .ui.list .item > .icon + .content {
  95. display: table-cell;
  96. vertical-align: top;
  97. }
  98. /* Link */
  99. .ui.list a {
  100. cursor: pointer;
  101. }
  102. .ui.list a .icon {
  103. color: rgba(0, 0, 0, 0.6);
  104. -webkit-transition: color 0.2s ease;
  105. transition: color 0.2s ease;
  106. }
  107. /* Header */
  108. .ui.list .header {
  109. font-weight: bold;
  110. }
  111. .ui.list .description {
  112. color: rgba(0, 0, 0, 0.5);
  113. }
  114. /* Floated Content */
  115. .ui.list .item > .left.floated {
  116. margin-left: 1em;
  117. float: right;
  118. }
  119. .ui.list .item > .right.floated {
  120. margin-right: 1em;
  121. float: left;
  122. }
  123. /*******************************
  124. Types
  125. *******************************/
  126. /*-------------------
  127. Horizontal
  128. --------------------*/
  129. .ui.horizontal.list {
  130. display: inline-block;
  131. font-size: 0em;
  132. }
  133. .ui.horizontal.list > .item {
  134. display: inline-block;
  135. margin-right: 1em;
  136. font-size: 1rem;
  137. }
  138. .ui.horizontal.list > .item:first-child {
  139. margin-right: 0em;
  140. }
  141. .ui.horizontal.list .list {
  142. padding-right: 0em;
  143. padding-bottom: 0em;
  144. }
  145. /*******************************
  146. States
  147. *******************************/
  148. /*-------------------
  149. Hover
  150. --------------------*/
  151. .ui.list a:hover .icon {
  152. color: rgba(0, 0, 0, 0.8);
  153. }
  154. /*******************************
  155. Variations
  156. *******************************/
  157. /*-------------------
  158. Inverted
  159. --------------------*/
  160. .ui.inverted.list a .icon {
  161. color: rgba(255, 255, 255, 0.6);
  162. }
  163. .ui.inverted.list .description {
  164. color: rgba(255, 255, 255, 0.8);
  165. }
  166. .ui.inverted.link.list .item {
  167. color: rgba(255, 255, 255, 0.4);
  168. }
  169. /*-------------------
  170. Link
  171. --------------------*/
  172. .ui.link.list .item {
  173. color: rgba(0, 0, 0, 0.3);
  174. }
  175. .ui.link.list a.item,
  176. .ui.link.list .item a {
  177. color: rgba(0, 0, 0, 0.5);
  178. }
  179. .ui.link.list a.item:hover,
  180. .ui.link.list .item a:hover {
  181. color: rgba(0, 0, 0, 0.8);
  182. }
  183. .ui.link.list a.item:active,
  184. .ui.link.list .item a:active {
  185. color: rgba(0, 0, 0, 0.8);
  186. }
  187. .ui.link.list a.active.item,
  188. .ui.link.list .active.item a {
  189. color: rgba(0, 0, 0, 0.8);
  190. }
  191. /* Inverted */
  192. .ui.inverted.link.list a.item,
  193. .ui.inverted.link.list .item a {
  194. color: rgba(255, 255, 255, 0.6);
  195. }
  196. .ui.inverted.link.list a.item:hover,
  197. .ui.inverted.link.list .item a:hover {
  198. color: rgba(255, 255, 255, 0.8);
  199. }
  200. .ui.inverted.link.list a.item:active,
  201. .ui.inverted.link.list .item a:active {
  202. color: rgba(255, 255, 255, 0.9);
  203. }
  204. .ui.inverted.link.list a.active.item,
  205. .ui.inverted.link.list .active.item a {
  206. color: rgba(255, 255, 255, 0.8);
  207. }
  208. /*-------------------
  209. Selection
  210. --------------------*/
  211. .ui.selection.list .item {
  212. cursor: pointer;
  213. color: rgba(0, 0, 0, 0.4);
  214. padding: 0.5em;
  215. -webkit-transition: 0.2s color ease,
  216. 0.2s padding-right ease,
  217. 0.2s background-color ease;
  218. transition: 0.2s color ease,
  219. 0.2s padding-right ease,
  220. 0.2s background-color ease;
  221. }
  222. .ui.selection.list .item:hover {
  223. background-color: rgba(0, 0, 0, 0.02);
  224. color: rgba(0, 0, 0, 0.7);
  225. }
  226. .ui.selection.list .item:active {
  227. background-color: rgba(0, 0, 0, 0.05);
  228. color: rgba(0, 0, 0, 0.7);
  229. }
  230. .ui.selection.list .item.active {
  231. background-color: rgba(0, 0, 0, 0.04);
  232. color: rgba(0, 0, 0, 0.7);
  233. }
  234. .ui.animated.list .item {
  235. -webkit-transition: 0.2s color ease,
  236. 0.2s padding-right ease,
  237. 0.2s background-color ease;
  238. transition: 0.2s color ease,
  239. 0.2s padding-right ease,
  240. 0.2s background-color ease;
  241. }
  242. .ui.animated.list:not(.horizontal) .item:hover {
  243. padding-right: 1em;
  244. }
  245. .ui.animated.list:not(.horizontal) .item:hover .item:hover {
  246. padding-right: 0.5em;
  247. }
  248. /* Inverted */
  249. .ui.inverted.selection.list .item {
  250. color: rgba(255, 255, 255, 0.6);
  251. }
  252. .ui.inverted.selection.list .item:hover {
  253. background-color: rgba(255, 255, 255, 0.04);
  254. color: rgba(255, 255, 255, 0.8);
  255. }
  256. .ui.inverted.selection.list .item:active {
  257. background-color: rgba(255, 255, 255, 0.1);
  258. color: rgba(255, 255, 255, 0.7);
  259. }
  260. .ui.inverted.selection.list .item.active {
  261. background-color: rgba(255, 255, 255, 0.08);
  262. color: #FFFFFF;
  263. }
  264. /*-------------------
  265. Bulleted
  266. --------------------*/
  267. ul.ui.list,
  268. .ui.bulleted.list {
  269. margin-right: 1.5em;
  270. }
  271. ul.ui.list li,
  272. .ui.bulleted.list .item {
  273. position: relative;
  274. }
  275. ul.ui.list li:before,
  276. .ui.bulleted.list .item:before {
  277. position: absolute;
  278. right: -1.5em;
  279. content: '•';
  280. }
  281. ul.ui.list ul,
  282. .ui.bulleted.list .list {
  283. padding-right: 1.5em;
  284. }
  285. /* Horizontal Bulleted */
  286. ul.ui.horizontal.bulleted.list,
  287. .ui.horizontal.bulleted.list {
  288. margin-right: 0em;
  289. }
  290. ul.ui.horizontal.bulleted.list li,
  291. .ui.horizontal.bulleted.list .item {
  292. margin-right: 1.5em;
  293. }
  294. ul.ui.horizontal.bulleted.list li:before,
  295. .ui.horizontal.bulleted.list .item:before {
  296. right: -0.9em;
  297. }
  298. ul.ui.horizontal.bulleted.list li:first-child,
  299. .ui.horizontal.bulleted.list .item:first-child {
  300. margin-right: 0em;
  301. }
  302. ul.ui.horizontal.bulleted.list li:first-child::before,
  303. .ui.horizontal.bulleted.list .item:first-child::before {
  304. display: none;
  305. }
  306. /*-------------------
  307. Ordered
  308. --------------------*/
  309. ol.ui.list,
  310. .ui.ordered.list {
  311. counter-reset: ordered;
  312. margin-right: 2em;
  313. list-style-type: none;
  314. }
  315. ol.ui.list li,
  316. .ui.ordered.list .item {
  317. list-style-type: none;
  318. position: relative;
  319. }
  320. ol.ui.list li:before,
  321. .ui.ordered.list .item:before {
  322. position: absolute;
  323. right: -2em;
  324. counter-increment: ordered;
  325. content: counters(ordered, ".");
  326. text-align: left;
  327. vertical-align: top;
  328. opacity: 0.75;
  329. }
  330. ol.ui.list ol,
  331. .ui.ordered.list .list {
  332. counter-reset: ordered;
  333. padding-right: 2.5em;
  334. }
  335. ol.ui.list ol li:before,
  336. .ui.ordered.list .list .item:before {
  337. right: -2.5em;
  338. }
  339. /* Horizontal Ordered */
  340. ol.ui.horizontal.list,
  341. .ui.ordered.horizontal.list {
  342. margin-right: 0em;
  343. }
  344. ol.ui.horizontal.list li:before,
  345. .ui.ordered.horizontal.list .item:before {
  346. position: static;
  347. right: 0em;
  348. margin: 0em 0em 0em 0.5em;
  349. }
  350. /*-------------------
  351. Divided
  352. --------------------*/
  353. .ui.divided.list > .item,
  354. .ui.divided.list:not(.horizontal) > .list {
  355. border-top: 1px solid rgba(0, 0, 0, 0.1);
  356. padding-right: 0.5em;
  357. padding-left: 0.5em;
  358. }
  359. .ui.divided.list .item .menu .item {
  360. border-width: 0px;
  361. }
  362. .ui.divided.list .item:first-child {
  363. border-top-width: 0px;
  364. }
  365. /* Sub Menu */
  366. .ui.divided.list:not(.horizontal) .list {
  367. margin-right: -0.5em;
  368. margin-left: -0.5em;
  369. }
  370. .ui.divided.list:not(.horizontal) .list .item {
  371. padding-right: 1em;
  372. padding-left: 1em;
  373. }
  374. .ui.divided.list:not(.horizontal) .list .item:first-child {
  375. border-top-width: 1px;
  376. }
  377. /* Divided bulleted */
  378. .ui.divided.bulleted.list {
  379. margin-right: 0em;
  380. }
  381. .ui.divided.bulleted.list .item {
  382. padding-right: 1.5em;
  383. }
  384. .ui.divided.bulleted.list .item:before {
  385. right: 0.5em;
  386. }
  387. /* Divided ordered */
  388. .ui.divided.ordered.list {
  389. margin-right: 0em;
  390. }
  391. .ui.divided.ordered.list > .item {
  392. padding-right: 2em;
  393. padding-left: 2em;
  394. }
  395. .ui.divided.ordered.list > .item:before {
  396. right: 0.5em;
  397. }
  398. .ui.divided.ordered.list .item .list {
  399. margin-right: -2em;
  400. margin-left: -2em;
  401. }
  402. /* Divided horizontal */
  403. .ui.divided.horizontal.list {
  404. margin-right: 0em;
  405. }
  406. .ui.divided.horizontal.list > .item {
  407. border-top: none;
  408. border-right: 1px solid rgba(0, 0, 0, 0.1);
  409. margin: 0em;
  410. padding-right: 0.75em;
  411. padding-left: 0.75em;
  412. line-height: 0.6em;
  413. }
  414. .ui.horizontal.divided.list > .item:first-child {
  415. border-right: none;
  416. padding-right: 0em;
  417. }
  418. /* Inverted */
  419. .ui.divided.inverted.list > .item,
  420. .ui.divided.inverted.list > .list {
  421. border-color: rgba(255, 255, 255, 0.2);
  422. }
  423. .ui.divided.inverted.horizontal.list .item {
  424. border-color: rgba(255, 255, 255, 0.2);
  425. }
  426. /*-------------------
  427. Celled
  428. --------------------*/
  429. .ui.celled.list > .item,
  430. .ui.celled.list > .list {
  431. border-top: 1px solid rgba(0, 0, 0, 0.1);
  432. padding-right: 0.5em;
  433. padding-left: 0.5em;
  434. }
  435. .ui.celled.list > .item:last-child {
  436. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  437. }
  438. /* Sub Menu */
  439. .ui.celled.list .item .list {
  440. margin-right: -0.5em;
  441. margin-left: -0.5em;
  442. }
  443. .ui.celled.list .item .list .item {
  444. border-width: 0px;
  445. }
  446. .ui.celled.list .list .item:first-child {
  447. border-top-width: 0px;
  448. }
  449. /* Celled Bulleted */
  450. .ui.celled.bulleted.list {
  451. margin-right: 0em;
  452. }
  453. .ui.celled.bulleted.list > .item {
  454. padding-right: 1.5em;
  455. }
  456. .ui.celled.bulleted.list > .item:before {
  457. right: 0.5em;
  458. }
  459. /* Celled Ordered */
  460. .ui.celled.ordered.list {
  461. margin-right: 0em;
  462. }
  463. .ui.celled.ordered.list .item {
  464. padding-right: 2em;
  465. padding-left: 2em;
  466. }
  467. .ui.celled.ordered.list .item:before {
  468. right: 0.5em;
  469. }
  470. .ui.celled.ordered.list .item .list {
  471. margin-right: -2em;
  472. margin-left: -2em;
  473. }
  474. /* Celled Horizontal */
  475. .ui.horizontal.celled.list {
  476. margin-right: 0em;
  477. }
  478. .ui.horizontal.celled.list .item {
  479. border-top: none;
  480. border-right: 1px solid rgba(0, 0, 0, 0.1);
  481. margin: 0em;
  482. padding-right: 0.75em;
  483. padding-left: 0.75em;
  484. line-height: 0.6em;
  485. }
  486. .ui.horizontal.celled.list .item:last-child {
  487. border-bottom: none;
  488. border-left: 1px solid rgba(0, 0, 0, 0.1);
  489. }
  490. /* Inverted */
  491. .ui.celled.inverted.list > .item,
  492. .ui.celled.inverted.list > .list {
  493. border-color: rgba(255, 255, 255, 0.2);
  494. }
  495. .ui.celled.inverted.horizontal.list .item {
  496. border-color: rgba(255, 255, 255, 0.2);
  497. }
  498. /*-------------------
  499. Relaxed
  500. --------------------*/
  501. .ui.relaxed.list:not(.horizontal) .item {
  502. padding-top: 0.5em;
  503. padding-bottom: 0.5em;
  504. }
  505. .ui.relaxed.list .header {
  506. margin-bottom: 0.25em;
  507. }
  508. .ui.horizontal.relaxed.list .item {
  509. padding-right: 1.25em;
  510. padding-left: 1.25em;
  511. }
  512. .ui.very.relaxed.list:not(.horizontal) .item {
  513. padding-top: 1em;
  514. padding-bottom: 1em;
  515. }
  516. .ui.very.relaxed.list .header {
  517. margin-bottom: 0.5em;
  518. }
  519. .ui.horizontal.very.relaxed.list .item {
  520. padding-right: 2em;
  521. padding-left: 2em;
  522. }
  523. /*-------------------
  524. Sizes
  525. --------------------*/
  526. .ui.mini.list .item {
  527. font-size: 0.7rem;
  528. }
  529. .ui.tiny.list .item {
  530. font-size: 0.8125rem;
  531. }
  532. .ui.small.list .item {
  533. font-size: 0.875rem;
  534. }
  535. .ui.list .item {
  536. font-size: 1em;
  537. }
  538. .ui.large.list .item {
  539. font-size: 1.125rem;
  540. }
  541. .ui.big.list .item {
  542. font-size: 1.25rem;
  543. }
  544. .ui.huge.list .item {
  545. font-size: 1.375rem;
  546. }
  547. .ui.massive.list .item {
  548. font-size: 1.5rem;
  549. }