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.

1079 lines
22 KiB

9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.1.0 - Table
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Table
  13. *******************************/
  14. /* Prototype */
  15. .ui.table {
  16. width: 100%;
  17. background: #ffffff;
  18. margin: 1em 0em;
  19. border: 1px solid rgba(34, 36, 38, 0.15);
  20. box-shadow: none;
  21. border-radius: 0.28571429rem;
  22. text-align: left;
  23. color: rgba(0, 0, 0, 0.87);
  24. border-collapse: separate;
  25. border-spacing: 0px;
  26. }
  27. .ui.table:first-child {
  28. margin-top: 0em;
  29. }
  30. .ui.table:last-child {
  31. margin-bottom: 0em;
  32. }
  33. /*******************************
  34. Parts
  35. *******************************/
  36. /* Table Content */
  37. .ui.table th,
  38. .ui.table td {
  39. -webkit-transition: background 0.1s ease, color 0.1s ease;
  40. transition: background 0.1s ease, color 0.1s ease;
  41. }
  42. /* Headers */
  43. .ui.table thead {
  44. box-shadow: none;
  45. }
  46. .ui.table thead th {
  47. cursor: auto;
  48. background: #f9fafb;
  49. text-align: inherit;
  50. color: rgba(0, 0, 0, 0.87);
  51. padding: 0.92857143em 0.71428571em;
  52. vertical-align: inherit;
  53. font-style: none;
  54. font-weight: bold;
  55. text-transform: none;
  56. border-bottom: 1px solid rgba(34, 36, 38, 0.1);
  57. border-left: none;
  58. }
  59. .ui.table thead tr > th:first-child {
  60. border-left: none;
  61. }
  62. .ui.table thead tr:first-child > th:first-child {
  63. border-radius: 0.28571429rem 0em 0em 0em;
  64. }
  65. .ui.table thead tr:first-child > th:last-child {
  66. border-radius: 0em 0.28571429rem 0em 0em;
  67. }
  68. .ui.table thead tr:first-child > th:only-child {
  69. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  70. }
  71. /* Footer */
  72. .ui.table tfoot {
  73. box-shadow: none;
  74. }
  75. .ui.table tfoot th {
  76. cursor: auto;
  77. border-top: 1px solid rgba(34, 36, 38, 0.15);
  78. background: #f9fafb;
  79. text-align: inherit;
  80. color: rgba(0, 0, 0, 0.87);
  81. padding: 0.71428571em 0.71428571em;
  82. vertical-align: middle;
  83. font-style: normal;
  84. font-weight: normal;
  85. text-transform: none;
  86. }
  87. .ui.table tfoot tr > th:first-child {
  88. border-left: none;
  89. }
  90. .ui.table tfoot tr:first-child > th:first-child {
  91. border-radius: 0em 0em 0em 0.28571429rem;
  92. }
  93. .ui.table tfoot tr:first-child > th:last-child {
  94. border-radius: 0em 0em 0.28571429rem 0em;
  95. }
  96. .ui.table tfoot tr:first-child > th:only-child {
  97. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  98. }
  99. /* Table Row */
  100. .ui.table tr td {
  101. border-top: 1px solid rgba(34, 36, 38, 0.1);
  102. }
  103. .ui.table tr:first-child td {
  104. border-top: none;
  105. }
  106. /* Table Cells */
  107. .ui.table td {
  108. padding: 0.71428571em 0.71428571em;
  109. text-align: inherit;
  110. }
  111. /* Icons */
  112. .ui.table > .icon {
  113. vertical-align: baseline;
  114. }
  115. .ui.table > .icon:only-child {
  116. margin: 0em;
  117. }
  118. /* Table Segment */
  119. .ui.table.segment {
  120. padding: 0em;
  121. }
  122. .ui.table.segment:after {
  123. display: none;
  124. }
  125. .ui.table.segment.stacked:after {
  126. display: block;
  127. }
  128. /* Responsive */
  129. @media only screen and (max-width: 767px) {
  130. .ui.table:not(.unstackable) {
  131. width: 100%;
  132. }
  133. .ui.table:not(.unstackable) tbody,
  134. .ui.table:not(.unstackable) tr,
  135. .ui.table:not(.unstackable) tr > th,
  136. .ui.table:not(.unstackable) tr > td {
  137. width: auto !important;
  138. display: block !important;
  139. }
  140. .ui.table:not(.unstackable) {
  141. padding: 0em;
  142. }
  143. .ui.table:not(.unstackable) thead {
  144. display: block;
  145. }
  146. .ui.table:not(.unstackable) tfoot {
  147. display: block;
  148. }
  149. .ui.table:not(.unstackable) tr {
  150. padding-top: 1em;
  151. padding-bottom: 1em;
  152. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
  153. }
  154. .ui.table:not(.unstackable) tr > th,
  155. .ui.table:not(.unstackable) tr > td {
  156. background: none;
  157. border: none !important;
  158. padding: 0.25em 0.75em !important;
  159. box-shadow: none !important;
  160. }
  161. .ui.table:not(.unstackable) th:first-child,
  162. .ui.table:not(.unstackable) td:first-child {
  163. font-weight: bold;
  164. }
  165. /* Definition Table */
  166. .ui.definition.table:not(.unstackable) thead th:first-child {
  167. box-shadow: none !important;
  168. }
  169. }
  170. /*******************************
  171. Coupling
  172. *******************************/
  173. /* UI Image */
  174. .ui.table th .image,
  175. .ui.table th .image img,
  176. .ui.table td .image,
  177. .ui.table td .image img {
  178. max-width: none;
  179. }
  180. /*******************************
  181. Types
  182. *******************************/
  183. /*--------------
  184. Complex
  185. ---------------*/
  186. .ui.structured.table {
  187. border-collapse: collapse;
  188. }
  189. .ui.structured.table thead th {
  190. border-left: none;
  191. border-right: none;
  192. }
  193. .ui.structured.sortable.table thead th {
  194. border-left: 1px solid rgba(34, 36, 38, 0.15);
  195. border-right: 1px solid rgba(34, 36, 38, 0.15);
  196. }
  197. .ui.structured.basic.table th {
  198. border-left: none;
  199. border-right: none;
  200. }
  201. .ui.structured.celled.table tr th,
  202. .ui.structured.celled.table tr td {
  203. border-left: 1px solid rgba(34, 36, 38, 0.1);
  204. border-right: 1px solid rgba(34, 36, 38, 0.1);
  205. }
  206. /*--------------
  207. Definition
  208. ---------------*/
  209. .ui.definition.table thead:not(.full-width) th:first-child {
  210. pointer-events: none;
  211. background: transparent;
  212. font-weight: normal;
  213. color: rgba(0, 0, 0, 0.4);
  214. box-shadow: -1px -1px 0px 1px #ffffff;
  215. }
  216. .ui.definition.table tfoot:not(.full-width) th:first-child {
  217. pointer-events: none;
  218. background: transparent;
  219. font-weight: rgba(0, 0, 0, 0.4);
  220. color: normal;
  221. box-shadow: 1px 1px 0px 1px #ffffff;
  222. }
  223. /* Remove Border */
  224. .ui.celled.definition.table thead:not(.full-width) th:first-child {
  225. box-shadow: 0px -1px 0px 1px #ffffff;
  226. }
  227. .ui.celled.definition.table tfoot:not(.full-width) th:first-child {
  228. box-shadow: 0px 1px 0px 1px #ffffff;
  229. }
  230. /* Highlight Defining Column */
  231. .ui.definition.table tr td:first-child {
  232. background: rgba(0, 0, 0, 0.03);
  233. font-weight: bold;
  234. color: rgba(0, 0, 0, 0.95);
  235. }
  236. /* Fix 2nd Column */
  237. .ui.definition.table thead:not(.full-width) th:nth-child(2) {
  238. border-left: 1px solid rgba(34, 36, 38, 0.15);
  239. }
  240. .ui.definition.table tfoot:not(.full-width) th:nth-child(2) {
  241. border-left: 1px solid rgba(34, 36, 38, 0.15);
  242. }
  243. .ui.definition.table td:nth-child(2) {
  244. border-left: 1px solid rgba(34, 36, 38, 0.15);
  245. }
  246. /*******************************
  247. States
  248. *******************************/
  249. /*--------------
  250. Positive
  251. ---------------*/
  252. .ui.table tr.positive,
  253. .ui.table td.positive {
  254. box-shadow: 0px 0px 0px #a3c293 inset;
  255. }
  256. .ui.table tr.positive,
  257. .ui.table td.positive {
  258. background: #fcfff5 !important;
  259. color: #2c662d !important;
  260. }
  261. /*--------------
  262. Negative
  263. ---------------*/
  264. .ui.table tr.negative,
  265. .ui.table td.negative {
  266. box-shadow: 0px 0px 0px #e0b4b4 inset;
  267. }
  268. .ui.table tr.negative,
  269. .ui.table td.negative {
  270. background: #fff6f6 !important;
  271. color: #9f3a38 !important;
  272. }
  273. /*--------------
  274. Error
  275. ---------------*/
  276. .ui.table tr.error,
  277. .ui.table td.error {
  278. box-shadow: 0px 0px 0px #e0b4b4 inset;
  279. }
  280. .ui.table tr.error,
  281. .ui.table td.error {
  282. background: #fff6f6 !important;
  283. color: #9f3a38 !important;
  284. }
  285. /*--------------
  286. Warning
  287. ---------------*/
  288. .ui.table tr.warning,
  289. .ui.table td.warning {
  290. box-shadow: 0px 0px 0px #c9ba9b inset;
  291. }
  292. .ui.table tr.warning,
  293. .ui.table td.warning {
  294. background: #fffaf3 !important;
  295. color: #573a08 !important;
  296. }
  297. /*--------------
  298. Active
  299. ---------------*/
  300. .ui.table tr.active,
  301. .ui.table td.active {
  302. box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.87) inset;
  303. }
  304. .ui.table tr.active,
  305. .ui.table td.active {
  306. background: #e0e0e0 !important;
  307. color: rgba(0, 0, 0, 0.87) !important;
  308. }
  309. /*--------------
  310. Disabled
  311. ---------------*/
  312. .ui.table tr.disabled td,
  313. .ui.table tr td.disabled,
  314. .ui.table tr.disabled:hover,
  315. .ui.table tr:hover td.disabled {
  316. pointer-events: none;
  317. color: rgba(40, 40, 40, 0.3);
  318. }
  319. /*******************************
  320. Variations
  321. *******************************/
  322. /*--------------
  323. Stackable
  324. ---------------*/
  325. @media only screen and (max-width: 991px) {
  326. .ui[class*="tablet stackable"].table,
  327. .ui[class*="tablet stackable"].table tbody,
  328. .ui[class*="tablet stackable"].table tr,
  329. .ui[class*="tablet stackable"].table tr > th,
  330. .ui[class*="tablet stackable"].table tr > td {
  331. width: 100% !important;
  332. display: block !important;
  333. }
  334. .ui[class*="tablet stackable"].table {
  335. padding: 0em;
  336. }
  337. .ui[class*="tablet stackable"].table thead {
  338. display: block;
  339. }
  340. .ui[class*="tablet stackable"].table tfoot {
  341. display: block;
  342. }
  343. .ui[class*="tablet stackable"].table tr {
  344. padding-top: 1em;
  345. padding-bottom: 1em;
  346. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
  347. }
  348. .ui[class*="tablet stackable"].table tr > th,
  349. .ui[class*="tablet stackable"].table tr > td {
  350. background: none;
  351. border: none !important;
  352. padding: 0.25em 0.75em;
  353. box-shadow: none !important;
  354. }
  355. /* Definition Table */
  356. .ui.definition[class*="tablet stackable"].table thead th:first-child {
  357. box-shadow: none !important;
  358. }
  359. }
  360. /*--------------
  361. Text Alignment
  362. ---------------*/
  363. .ui.table[class*="left aligned"],
  364. .ui.table [class*="left aligned"] {
  365. text-align: left;
  366. }
  367. .ui.table[class*="center aligned"],
  368. .ui.table [class*="center aligned"] {
  369. text-align: center;
  370. }
  371. .ui.table[class*="right aligned"],
  372. .ui.table [class*="right aligned"] {
  373. text-align: right;
  374. }
  375. /*------------------
  376. Vertical Alignment
  377. ------------------*/
  378. .ui.table[class*="top aligned"],
  379. .ui.table [class*="top aligned"] {
  380. vertical-align: top;
  381. }
  382. .ui.table[class*="middle aligned"],
  383. .ui.table [class*="middle aligned"] {
  384. vertical-align: middle;
  385. }
  386. .ui.table[class*="bottom aligned"],
  387. .ui.table [class*="bottom aligned"] {
  388. vertical-align: bottom;
  389. }
  390. /*--------------
  391. Collapsing
  392. ---------------*/
  393. .ui.table th.collapsing,
  394. .ui.table td.collapsing {
  395. width: 1px;
  396. white-space: nowrap;
  397. }
  398. /*--------------
  399. Fixed
  400. ---------------*/
  401. .ui.fixed.table {
  402. table-layout: fixed;
  403. }
  404. .ui.fixed.table th,
  405. .ui.fixed.table td {
  406. overflow: hidden;
  407. text-overflow: ellipsis;
  408. }
  409. /*--------------
  410. Hoverable
  411. ---------------*/
  412. .ui.selectable.table tbody tr:hover {
  413. background: rgba(0, 0, 0, 0.05) !important;
  414. color: rgba(0, 0, 0, 0.95) !important;
  415. }
  416. .ui.selectable.inverted.table tbody tr:hover {
  417. background: rgba(255, 255, 255, 0.08) !important;
  418. color: #ffffff !important;
  419. }
  420. /* Other States */
  421. .ui.selectable.table tr.error:hover,
  422. .ui.selectable.table tr:hover td.error {
  423. background: #ffe7e7 !important;
  424. color: #943634 !important;
  425. }
  426. .ui.selectable.table tr.warning:hover,
  427. .ui.selectable.table tr:hover td.warning {
  428. background: #fff4e4 !important;
  429. color: #493107 !important;
  430. }
  431. .ui.selectable.table tr.active:hover,
  432. .ui.selectable.table tr:hover td.active {
  433. background: #e0e0e0 !important;
  434. color: rgba(0, 0, 0, 0.87) !important;
  435. }
  436. .ui.selectable.table tr.positive:hover,
  437. .ui.selectable.table tr:hover td.positive {
  438. background: #f7ffe6 !important;
  439. color: #275b28 !important;
  440. }
  441. .ui.selectable.table tr.negative:hover,
  442. .ui.selectable.table tr:hover td.negative {
  443. background: #ffe7e7 !important;
  444. color: #943634 !important;
  445. }
  446. /*-------------------
  447. Attached
  448. --------------------*/
  449. /* Middle */
  450. .ui.attached.table {
  451. top: 0px;
  452. bottom: 0px;
  453. border-radius: 0px;
  454. margin: 0em -1px;
  455. width: calc(100% + 2px );
  456. max-width: calc(100% + 2px );
  457. box-shadow: none;
  458. border: 1px solid #d4d4d5;
  459. }
  460. .ui.attached + .ui.attached.table:not(.top) {
  461. border-top: none;
  462. }
  463. /* Top */
  464. .ui[class*="top attached"].table {
  465. bottom: 0px;
  466. margin-bottom: 0em;
  467. top: 0px;
  468. margin-top: 1em;
  469. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  470. }
  471. .ui.table[class*="top attached"]:first-child {
  472. margin-top: 0em;
  473. }
  474. /* Bottom */
  475. .ui[class*="bottom attached"].table {
  476. bottom: 0px;
  477. margin-top: 0em;
  478. top: 0px;
  479. margin-bottom: 1em;
  480. box-shadow: none, none;
  481. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  482. }
  483. .ui[class*="bottom attached"].table:last-child {
  484. margin-bottom: 0em;
  485. }
  486. /*--------------
  487. Striped
  488. ---------------*/
  489. /* Table Striping */
  490. .ui.striped.table > tr:nth-child(2n),
  491. .ui.striped.table tbody tr:nth-child(2n) {
  492. background-color: rgba(0, 0, 50, 0.02);
  493. }
  494. /* Stripes */
  495. .ui.inverted.striped.table > tr:nth-child(2n),
  496. .ui.inverted.striped.table tbody tr:nth-child(2n) {
  497. background-color: rgba(255, 255, 255, 0.05);
  498. }
  499. /*--------------
  500. Single Line
  501. ---------------*/
  502. .ui.table[class*="single line"],
  503. .ui.table [class*="single line"] {
  504. white-space: nowrap;
  505. }
  506. .ui.table[class*="single line"],
  507. .ui.table [class*="single line"] {
  508. white-space: nowrap;
  509. }
  510. /*-------------------
  511. Colors
  512. --------------------*/
  513. /* Red */
  514. .ui.red.table {
  515. border-top: 0.2em solid #db2828;
  516. }
  517. .ui.inverted.red.table {
  518. background-color: #db2828 !important;
  519. color: #ffffff !important;
  520. }
  521. /* Orange */
  522. .ui.orange.table {
  523. border-top: 0.2em solid #f2711c;
  524. }
  525. .ui.inverted.orange.table {
  526. background-color: #f2711c !important;
  527. color: #ffffff !important;
  528. }
  529. /* Yellow */
  530. .ui.yellow.table {
  531. border-top: 0.2em solid #fbbd08;
  532. }
  533. .ui.inverted.yellow.table {
  534. background-color: #fbbd08 !important;
  535. color: #ffffff !important;
  536. }
  537. /* Olive */
  538. .ui.olive.table {
  539. border-top: 0.2em solid #b5cc18;
  540. }
  541. .ui.inverted.olive.table {
  542. background-color: #b5cc18 !important;
  543. color: #ffffff !important;
  544. }
  545. /* Green */
  546. .ui.green.table {
  547. border-top: 0.2em solid #21ba45;
  548. }
  549. .ui.inverted.green.table {
  550. background-color: #21ba45 !important;
  551. color: #ffffff !important;
  552. }
  553. /* Teal */
  554. .ui.teal.table {
  555. border-top: 0.2em solid #00b5ad;
  556. }
  557. .ui.inverted.teal.table {
  558. background-color: #00b5ad !important;
  559. color: #ffffff !important;
  560. }
  561. /* Blue */
  562. .ui.blue.table {
  563. border-top: 0.2em solid #2185d0;
  564. }
  565. .ui.inverted.blue.table {
  566. background-color: #2185d0 !important;
  567. color: #ffffff !important;
  568. }
  569. /* Violet */
  570. .ui.violet.table {
  571. border-top: 0.2em solid #6435c9;
  572. }
  573. .ui.inverted.violet.table {
  574. background-color: #6435c9 !important;
  575. color: #ffffff !important;
  576. }
  577. /* Purple */
  578. .ui.purple.table {
  579. border-top: 0.2em solid #a333c8;
  580. }
  581. .ui.inverted.purple.table {
  582. background-color: #a333c8 !important;
  583. color: #ffffff !important;
  584. }
  585. /* Pink */
  586. .ui.pink.table {
  587. border-top: 0.2em solid #e03997;
  588. }
  589. .ui.inverted.pink.table {
  590. background-color: #e03997 !important;
  591. color: #ffffff !important;
  592. }
  593. /* Brown */
  594. .ui.brown.table {
  595. border-top: 0.2em solid #a5673f;
  596. }
  597. .ui.inverted.brown.table {
  598. background-color: #a5673f !important;
  599. color: #ffffff !important;
  600. }
  601. /* Grey */
  602. .ui.grey.table {
  603. border-top: 0.2em solid #767676;
  604. }
  605. .ui.inverted.grey.table {
  606. background-color: #767676 !important;
  607. color: #ffffff !important;
  608. }
  609. /* Black */
  610. .ui.black.table {
  611. border-top: 0.2em solid #1b1c1d;
  612. }
  613. .ui.inverted.black.table {
  614. background-color: #1b1c1d !important;
  615. color: #ffffff !important;
  616. }
  617. /*--------------
  618. Column Count
  619. ---------------*/
  620. /* Grid Based */
  621. .ui.one.column.table td {
  622. width: 100%;
  623. }
  624. .ui.two.column.table td {
  625. width: 50%;
  626. }
  627. .ui.three.column.table td {
  628. width: 33.33333333%;
  629. }
  630. .ui.four.column.table td {
  631. width: 25%;
  632. }
  633. .ui.five.column.table td {
  634. width: 20%;
  635. }
  636. .ui.six.column.table td {
  637. width: 16.66666667%;
  638. }
  639. .ui.seven.column.table td {
  640. width: 14.28571429%;
  641. }
  642. .ui.eight.column.table td {
  643. width: 12.5%;
  644. }
  645. .ui.nine.column.table td {
  646. width: 11.11111111%;
  647. }
  648. .ui.ten.column.table td {
  649. width: 10%;
  650. }
  651. .ui.eleven.column.table td {
  652. width: 9.09090909%;
  653. }
  654. .ui.twelve.column.table td {
  655. width: 8.33333333%;
  656. }
  657. .ui.thirteen.column.table td {
  658. width: 7.69230769%;
  659. }
  660. .ui.fourteen.column.table td {
  661. width: 7.14285714%;
  662. }
  663. .ui.fifteen.column.table td {
  664. width: 6.66666667%;
  665. }
  666. .ui.sixteen.column.table td {
  667. width: 6.25%;
  668. }
  669. /* Column Width */
  670. .ui.table th.one.wide,
  671. .ui.table td.one.wide {
  672. width: 6.25%;
  673. }
  674. .ui.table th.two.wide,
  675. .ui.table td.two.wide {
  676. width: 12.5%;
  677. }
  678. .ui.table th.three.wide,
  679. .ui.table td.three.wide {
  680. width: 18.75%;
  681. }
  682. .ui.table th.four.wide,
  683. .ui.table td.four.wide {
  684. width: 25%;
  685. }
  686. .ui.table th.five.wide,
  687. .ui.table td.five.wide {
  688. width: 31.25%;
  689. }
  690. .ui.table th.six.wide,
  691. .ui.table td.six.wide {
  692. width: 37.5%;
  693. }
  694. .ui.table th.seven.wide,
  695. .ui.table td.seven.wide {
  696. width: 43.75%;
  697. }
  698. .ui.table th.eight.wide,
  699. .ui.table td.eight.wide {
  700. width: 50%;
  701. }
  702. .ui.table th.nine.wide,
  703. .ui.table td.nine.wide {
  704. width: 56.25%;
  705. }
  706. .ui.table th.ten.wide,
  707. .ui.table td.ten.wide {
  708. width: 62.5%;
  709. }
  710. .ui.table th.eleven.wide,
  711. .ui.table td.eleven.wide {
  712. width: 68.75%;
  713. }
  714. .ui.table th.twelve.wide,
  715. .ui.table td.twelve.wide {
  716. width: 75%;
  717. }
  718. .ui.table th.thirteen.wide,
  719. .ui.table td.thirteen.wide {
  720. width: 81.25%;
  721. }
  722. .ui.table th.fourteen.wide,
  723. .ui.table td.fourteen.wide {
  724. width: 87.5%;
  725. }
  726. .ui.table th.fifteen.wide,
  727. .ui.table td.fifteen.wide {
  728. width: 93.75%;
  729. }
  730. .ui.table th.sixteen.wide,
  731. .ui.table td.sixteen.wide {
  732. width: 100%;
  733. }
  734. /*--------------
  735. Sortable
  736. ---------------*/
  737. .ui.sortable.table thead th {
  738. cursor: pointer;
  739. white-space: nowrap;
  740. border-left: 1px solid rgba(34, 36, 38, 0.15);
  741. color: rgba(0, 0, 0, 0.87);
  742. }
  743. .ui.sortable.table thead th:first-child {
  744. border-left: none;
  745. }
  746. .ui.sortable.table thead th.sorted,
  747. .ui.sortable.table thead th.sorted:hover {
  748. -webkit-user-select: none;
  749. -moz-user-select: none;
  750. -ms-user-select: none;
  751. user-select: none;
  752. }
  753. .ui.sortable.table thead th:after {
  754. display: none;
  755. font-style: normal;
  756. font-weight: normal;
  757. text-decoration: inherit;
  758. content: '';
  759. height: 1em;
  760. width: auto;
  761. opacity: 0.8;
  762. margin: 0em 0em 0em 0.5em;
  763. font-family: 'Icons';
  764. }
  765. .ui.sortable.table thead th.ascending:after {
  766. content: '\f0d8';
  767. }
  768. .ui.sortable.table thead th.descending:after {
  769. content: '\f0d7';
  770. }
  771. /* Hover */
  772. .ui.sortable.table th.disabled:hover {
  773. cursor: auto;
  774. color: rgba(40, 40, 40, 0.3);
  775. }
  776. .ui.sortable.table thead th:hover {
  777. background: rgba(0, 0, 0, 0.05);
  778. color: rgba(0, 0, 0, 0.8);
  779. }
  780. /* Sorted */
  781. .ui.sortable.table thead th.sorted {
  782. background: rgba(0, 0, 0, 0.05);
  783. color: rgba(0, 0, 0, 0.95);
  784. }
  785. .ui.sortable.table thead th.sorted:after {
  786. display: inline-block;
  787. }
  788. /* Sorted Hover */
  789. .ui.sortable.table thead th.sorted:hover {
  790. background: rgba(0, 0, 0, 0.05);
  791. color: rgba(0, 0, 0, 0.95);
  792. }
  793. /* Inverted */
  794. .ui.inverted.sortable.table thead th.sorted {
  795. background: rgba(255, 255, 255, 0.15) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  796. background: rgba(255, 255, 255, 0.15) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  797. color: #ffffff;
  798. }
  799. .ui.inverted.sortable.table thead th:hover {
  800. background: rgba(255, 255, 255, 0.08) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  801. background: rgba(255, 255, 255, 0.08) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  802. color: #ffffff;
  803. }
  804. .ui.inverted.sortable.table thead th {
  805. border-left-color: transparent;
  806. border-right-color: transparent;
  807. }
  808. /*--------------
  809. Inverted
  810. ---------------*/
  811. /* Text Color */
  812. .ui.inverted.table {
  813. background: #333333;
  814. color: rgba(255, 255, 255, 0.9);
  815. border: none;
  816. }
  817. .ui.inverted.table th {
  818. background-color: rgba(0, 0, 0, 0.15);
  819. border-color: rgba(255, 255, 255, 0.1) !important;
  820. color: rgba(255, 255, 255, 0.9);
  821. }
  822. .ui.inverted.table tr td {
  823. border-color: rgba(255, 255, 255, 0.1) !important;
  824. }
  825. .ui.inverted.table tr.disabled td,
  826. .ui.inverted.table tr td.disabled,
  827. .ui.inverted.table tr.disabled:hover td,
  828. .ui.inverted.table tr:hover td.disabled {
  829. pointer-events: none;
  830. color: rgba(225, 225, 225, 0.3);
  831. }
  832. /* Definition */
  833. .ui.inverted.definition.table tfoot:not(.full-width) th:first-child,
  834. .ui.inverted.definition.table thead:not(.full-width) th:first-child {
  835. background: #ffffff;
  836. }
  837. .ui.inverted.definition.table tr td:first-child {
  838. background: rgba(255, 255, 255, 0.02);
  839. color: #ffffff;
  840. }
  841. /*--------------
  842. Collapsing
  843. ---------------*/
  844. .ui.collapsing.table {
  845. width: auto;
  846. }
  847. /*--------------
  848. Basic
  849. ---------------*/
  850. .ui.basic.table {
  851. background: transparent;
  852. border: 1px solid rgba(34, 36, 38, 0.15);
  853. box-shadow: none;
  854. }
  855. .ui.basic.table thead,
  856. .ui.basic.table tfoot {
  857. box-shadow: none;
  858. }
  859. .ui.basic.table th {
  860. background: transparent;
  861. border-left: none;
  862. }
  863. .ui.basic.table tbody tr {
  864. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  865. }
  866. .ui.basic.table td {
  867. background: transparent;
  868. }
  869. .ui.basic.striped.table tbody tr:nth-child(2n) {
  870. background-color: rgba(0, 0, 0, 0.05) !important;
  871. }
  872. /* Very Basic */
  873. .ui[class*="very basic"].table {
  874. border: none;
  875. }
  876. .ui[class*="very basic"].table:not(.sortable):not(.striped) th,
  877. .ui[class*="very basic"].table:not(.sortable):not(.striped) td {
  878. padding: '';
  879. }
  880. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
  881. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
  882. padding-left: 0em;
  883. }
  884. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
  885. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
  886. padding-right: 0em;
  887. }
  888. .ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
  889. padding-top: 0em;
  890. }
  891. /*--------------
  892. Celled
  893. ---------------*/
  894. .ui.celled.table tr th,
  895. .ui.celled.table tr td {
  896. border-left: 1px solid rgba(34, 36, 38, 0.1);
  897. }
  898. .ui.celled.table tr th:first-child,
  899. .ui.celled.table tr td:first-child {
  900. border-left: none;
  901. }
  902. /*--------------
  903. Padded
  904. ---------------*/
  905. .ui.padded.table th {
  906. padding-left: 1em;
  907. padding-right: 1em;
  908. }
  909. .ui.padded.table th,
  910. .ui.padded.table td {
  911. padding: 1em 1em;
  912. }
  913. /* Very */
  914. .ui[class*="very padded"].table th {
  915. padding-left: 1.5em;
  916. padding-right: 1.5em;
  917. }
  918. .ui[class*="very padded"].table td {
  919. padding: 1.5em 1.5em;
  920. }
  921. /*--------------
  922. Compact
  923. ---------------*/
  924. .ui.compact.table th {
  925. padding-left: 0.7em;
  926. padding-right: 0.7em;
  927. }
  928. .ui.compact.table td {
  929. padding: 0.5em 0.7em;
  930. }
  931. /* Very */
  932. .ui[class*="very compact"].table th {
  933. padding-left: 0.6em;
  934. padding-right: 0.6em;
  935. }
  936. .ui[class*="very compact"].table td {
  937. padding: 0.4em 0.6em;
  938. }
  939. /*--------------
  940. Sizes
  941. ---------------*/
  942. /* Small */
  943. .ui.small.table {
  944. font-size: 0.9em;
  945. }
  946. /* Standard */
  947. .ui.table {
  948. font-size: 1em;
  949. }
  950. /* Large */
  951. .ui.large.table {
  952. font-size: 1.1em;
  953. }
  954. /*******************************
  955. Site Overrides
  956. *******************************/