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.

1002 lines
20 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
10 years ago
10 years ago
9 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
10 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
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
9 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
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
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 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
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
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.0.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.2857rem;
  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.2s ease, border-color 0.2s ease, color 0.2s ease;
  40. transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  41. }
  42. /* Headers */
  43. .ui.table thead {
  44. box-shadow: none;
  45. }
  46. .ui.table thead th {
  47. cursor: auto;
  48. background: #fafafa;
  49. text-align: inherit;
  50. color: rgba(0, 0, 0, 0.87);
  51. padding: 1em 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.15);
  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.2857rem 0em 0em 0em;
  64. }
  65. .ui.table thead tr:first-child > th:last-child {
  66. border-radius: 0em 0.2857rem 0em 0em;
  67. }
  68. .ui.table thead tr:first-child > th:only-child {
  69. border-radius: 0.2857rem 0.2857rem 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: #ffffff;
  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.2857rem;
  92. }
  93. .ui.table tfoot tr:first-child > th:last-child {
  94. border-radius: 0em 0em 0.2857rem 0em;
  95. }
  96. .ui.table tfoot tr:first-child > th:only-child {
  97. border-radius: 0em 0em 0.2857rem 0.2857rem;
  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;
  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 #b4d3a4 inset;
  255. }
  256. .ui.table tr.positive,
  257. .ui.table td.positive {
  258. background: #f3ffec !important;
  259. color: #255f26 !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: #fff0f0 !important;
  271. color: #973230 !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: #fff0f0 !important;
  283. color: #973230 !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: #fff8e2 !important;
  295. color: #715422 !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. Hoverable
  400. ---------------*/
  401. .ui.selectable.table tbody tr:hover {
  402. background: rgba(0, 0, 0, 0.05) !important;
  403. color: rgba(0, 0, 0, 0.95) !important;
  404. }
  405. .ui.selectable.inverted.table tbody tr:hover {
  406. background: rgba(255, 255, 255, 0.08) !important;
  407. color: #ffffff !important;
  408. }
  409. /* Other States */
  410. .ui.selectable.table tr.error:hover,
  411. .ui.selectable.table tr:hover td.error {
  412. background: #ffe1e1 !important;
  413. color: #8b2e2c !important;
  414. }
  415. .ui.selectable.table tr.warning:hover,
  416. .ui.selectable.table tr:hover td.warning {
  417. background: #fff4d3 !important;
  418. color: #654b1e !important;
  419. }
  420. .ui.selectable.table tr.active:hover,
  421. .ui.selectable.table tr:hover td.active {
  422. background: #e0e0e0 !important;
  423. color: rgba(0, 0, 0, 0.87) !important;
  424. }
  425. .ui.selectable.table tr.positive:hover,
  426. .ui.selectable.table tr:hover td.positive {
  427. background: #e9ffdd !important;
  428. color: #215422 !important;
  429. }
  430. .ui.selectable.table tr.negative:hover,
  431. .ui.selectable.table tr:hover td.negative {
  432. background: #ffe1e1 !important;
  433. color: #8b2e2c !important;
  434. }
  435. /*--------------
  436. Attached
  437. ---------------*/
  438. /* All */
  439. .ui.attached.table {
  440. width: -webkit-calc(100% + 2px );
  441. width: calc(100% + 2px );
  442. margin: 0em -1px;
  443. border-radius: 0px;
  444. box-shadow: none;
  445. }
  446. /* Top */
  447. .ui[class*="top attached"].table {
  448. margin-top: 1em 0em;
  449. border-radius: 0.2857rem 0.2857rem 0em 0em;
  450. }
  451. .ui.table[class*="top attached"]:first-child {
  452. margin-top: 0em;
  453. }
  454. /* Bottom */
  455. .ui.table[class*="bottom attached"] {
  456. margin-top: 0em;
  457. margin-bottom: 1em 0em;
  458. border-radius: 0em 0em 0.2857rem 0.2857rem;
  459. }
  460. .ui.table[class*="bottom attached"]:last-child {
  461. margin-bottom: 0em;
  462. }
  463. /*--------------
  464. Striped
  465. ---------------*/
  466. /* Table Striping */
  467. .ui.striped.table > tr:nth-child(2n),
  468. .ui.striped.table tbody tr:nth-child(2n) {
  469. background-color: rgba(0, 0, 50, 0.03);
  470. }
  471. /* Stripes */
  472. .ui.inverted.striped.table > tr:nth-child(2n),
  473. .ui.inverted.striped.table tbody tr:nth-child(2n) {
  474. background-color: rgba(255, 255, 255, 0.06);
  475. }
  476. /*--------------
  477. Single Line
  478. ---------------*/
  479. .ui.table[class*="single line"],
  480. .ui.table [class*="single line"] {
  481. white-space: nowrap;
  482. }
  483. /*-------------------
  484. Colors
  485. --------------------*/
  486. .ui.black.table {
  487. border-top: 0.2em solid #1b1c1d;
  488. }
  489. .ui.blue.table {
  490. border-top: 0.2em solid #2185d0;
  491. }
  492. .ui.green.table {
  493. border-top: 0.2em solid #21ba45;
  494. }
  495. .ui.orange.table {
  496. border-top: 0.2em solid #f2711c;
  497. }
  498. .ui.pink.table {
  499. border-top: 0.2em solid #e03997;
  500. }
  501. .ui.purple.table {
  502. border-top: 0.2em solid #6a33c8;
  503. }
  504. .ui.red.table {
  505. border-top: 0.2em solid #db2828;
  506. }
  507. .ui.teal.table {
  508. border-top: 0.2em solid #00b5ad;
  509. }
  510. .ui.yellow.table {
  511. border-top: 0.2em solid #fbbd08;
  512. }
  513. /*-------------------
  514. Inverted Colors
  515. --------------------*/
  516. .ui.inverted.table,
  517. .ui.inverted.black.table {
  518. background-color: #1b1c1d !important;
  519. color: #ffffff !important;
  520. }
  521. .ui.inverted.blue.table {
  522. background-color: #2185d0 !important;
  523. color: #ffffff !important;
  524. }
  525. .ui.inverted.green.table {
  526. background-color: #21ba45 !important;
  527. color: #ffffff !important;
  528. }
  529. .ui.inverted.orange.table {
  530. background-color: #f2711c !important;
  531. color: #ffffff !important;
  532. }
  533. .ui.inverted.pink.table {
  534. background-color: #e03997 !important;
  535. color: #ffffff !important;
  536. }
  537. .ui.inverted.purple.table {
  538. background-color: #6a33c8 !important;
  539. color: #ffffff !important;
  540. }
  541. .ui.inverted.red.table {
  542. background-color: #db2828 !important;
  543. color: #ffffff !important;
  544. }
  545. .ui.inverted.teal.table {
  546. background-color: #00b5ad !important;
  547. color: #ffffff !important;
  548. }
  549. .ui.inverted.yellow.table {
  550. background-color: #fbbd08 !important;
  551. color: #ffffff !important;
  552. }
  553. /*--------------
  554. Column Count
  555. ---------------*/
  556. /* Grid Based */
  557. .ui.one.column.table td {
  558. width: 100%;
  559. }
  560. .ui.two.column.table td {
  561. width: 50%;
  562. }
  563. .ui.three.column.table td {
  564. width: 33.33333333%;
  565. }
  566. .ui.four.column.table td {
  567. width: 25%;
  568. }
  569. .ui.five.column.table td {
  570. width: 20%;
  571. }
  572. .ui.six.column.table td {
  573. width: 16.66666667%;
  574. }
  575. .ui.seven.column.table td {
  576. width: 14.28571429%;
  577. }
  578. .ui.eight.column.table td {
  579. width: 12.5%;
  580. }
  581. .ui.nine.column.table td {
  582. width: 11.11111111%;
  583. }
  584. .ui.ten.column.table td {
  585. width: 10%;
  586. }
  587. .ui.eleven.column.table td {
  588. width: 9.09090909%;
  589. }
  590. .ui.twelve.column.table td {
  591. width: 8.33333333%;
  592. }
  593. .ui.thirteen.column.table td {
  594. width: 7.69230769%;
  595. }
  596. .ui.fourteen.column.table td {
  597. width: 7.14285714%;
  598. }
  599. .ui.fifteen.column.table td {
  600. width: 6.66666667%;
  601. }
  602. .ui.sixteen.column.table td {
  603. width: 6.25%;
  604. }
  605. /* Column Width */
  606. .ui.table th.one.wide,
  607. .ui.table td.one.wide {
  608. width: 6.25%;
  609. }
  610. .ui.table th.two.wide,
  611. .ui.table td.two.wide {
  612. width: 12.5%;
  613. }
  614. .ui.table th.three.wide,
  615. .ui.table td.three.wide {
  616. width: 18.75%;
  617. }
  618. .ui.table th.four.wide,
  619. .ui.table td.four.wide {
  620. width: 25%;
  621. }
  622. .ui.table th.five.wide,
  623. .ui.table td.five.wide {
  624. width: 31.25%;
  625. }
  626. .ui.table th.six.wide,
  627. .ui.table td.six.wide {
  628. width: 37.5%;
  629. }
  630. .ui.table th.seven.wide,
  631. .ui.table td.seven.wide {
  632. width: 43.75%;
  633. }
  634. .ui.table th.eight.wide,
  635. .ui.table td.eight.wide {
  636. width: 50%;
  637. }
  638. .ui.table th.nine.wide,
  639. .ui.table td.nine.wide {
  640. width: 56.25%;
  641. }
  642. .ui.table th.ten.wide,
  643. .ui.table td.ten.wide {
  644. width: 62.5%;
  645. }
  646. .ui.table th.eleven.wide,
  647. .ui.table td.eleven.wide {
  648. width: 68.75%;
  649. }
  650. .ui.table th.twelve.wide,
  651. .ui.table td.twelve.wide {
  652. width: 75%;
  653. }
  654. .ui.table th.thirteen.wide,
  655. .ui.table td.thirteen.wide {
  656. width: 81.25%;
  657. }
  658. .ui.table th.fourteen.wide,
  659. .ui.table td.fourteen.wide {
  660. width: 87.5%;
  661. }
  662. .ui.table th.fifteen.wide,
  663. .ui.table td.fifteen.wide {
  664. width: 93.75%;
  665. }
  666. .ui.table th.sixteen.wide,
  667. .ui.table td.sixteen.wide {
  668. width: 100%;
  669. }
  670. /*--------------
  671. Sortable
  672. ---------------*/
  673. .ui.sortable.table thead th {
  674. cursor: pointer;
  675. white-space: nowrap;
  676. border-left: 1px solid rgba(34, 36, 38, 0.15);
  677. color: rgba(0, 0, 0, 0.87);
  678. }
  679. .ui.sortable.table thead th:first-child {
  680. border-left: none;
  681. }
  682. .ui.sortable.table thead th.sorted,
  683. .ui.sortable.table thead th.sorted:hover {
  684. -webkit-user-select: none;
  685. -moz-user-select: none;
  686. -ms-user-select: none;
  687. user-select: none;
  688. }
  689. .ui.sortable.table thead th:after {
  690. display: none;
  691. font-style: normal;
  692. font-weight: normal;
  693. text-decoration: inherit;
  694. content: '';
  695. height: 1em;
  696. width: auto;
  697. opacity: 0.8;
  698. margin: 0em 0em 0em 0.5em;
  699. font-family: 'Icons';
  700. }
  701. .ui.sortable.table thead th.ascending:after {
  702. content: '\f0d8';
  703. }
  704. .ui.sortable.table thead th.descending:after {
  705. content: '\f0d7';
  706. }
  707. /* Hover */
  708. .ui.sortable.table th.disabled:hover {
  709. cursor: auto;
  710. color: rgba(40, 40, 40, 0.3);
  711. }
  712. .ui.sortable.table thead th:hover {
  713. background: rgba(0, 0, 0, 0.05);
  714. color: rgba(0, 0, 0, 0.8);
  715. }
  716. /* Sorted */
  717. .ui.sortable.table thead th.sorted {
  718. background: rgba(0, 0, 0, 0.05);
  719. color: rgba(0, 0, 0, 0.95);
  720. }
  721. .ui.sortable.table thead th.sorted:after {
  722. display: inline-block;
  723. }
  724. /* Sorted Hover */
  725. .ui.sortable.table thead th.sorted:hover {
  726. background: rgba(0, 0, 0, 0.05);
  727. color: rgba(0, 0, 0, 0.95);
  728. }
  729. /* Inverted */
  730. .ui.inverted.sortable.table thead th.sorted {
  731. background: rgba(255, 255, 255, 0.15) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  732. background: rgba(255, 255, 255, 0.15) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  733. color: #ffffff;
  734. }
  735. .ui.inverted.sortable.table thead th:hover {
  736. background: rgba(255, 255, 255, 0.08) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  737. background: rgba(255, 255, 255, 0.08) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  738. color: #ffffff;
  739. }
  740. .ui.inverted.sortable.table thead th {
  741. border-left-color: transparent;
  742. border-right-color: transparent;
  743. }
  744. /*--------------
  745. Inverted
  746. ---------------*/
  747. /* Text Color */
  748. .ui.inverted.table {
  749. background: #333333;
  750. color: rgba(255, 255, 255, 0.9);
  751. border: none;
  752. }
  753. .ui.inverted.table th {
  754. background-color: rgba(0, 0, 0, 0.15);
  755. border-color: rgba(255, 255, 255, 0.1) !important;
  756. color: rgba(255, 255, 255, 0.9);
  757. }
  758. .ui.inverted.table tr td {
  759. border-color: rgba(255, 255, 255, 0.1) !important;
  760. }
  761. .ui.inverted.table tr.disabled td,
  762. .ui.inverted.table tr td.disabled,
  763. .ui.inverted.table tr.disabled:hover td,
  764. .ui.inverted.table tr:hover td.disabled {
  765. pointer-events: none;
  766. color: rgba(225, 225, 225, 0.3);
  767. }
  768. /* Definition */
  769. .ui.inverted.definition.table tfoot:not(.full-width) th:first-child,
  770. .ui.inverted.definition.table thead:not(.full-width) th:first-child {
  771. background: #ffffff;
  772. }
  773. .ui.inverted.definition.table tr td:first-child {
  774. background: rgba(255, 255, 255, 0.02);
  775. color: #ffffff;
  776. }
  777. /*--------------
  778. Collapsing
  779. ---------------*/
  780. .ui.collapsing.table {
  781. width: auto;
  782. }
  783. /*--------------
  784. Basic
  785. ---------------*/
  786. .ui.basic.table {
  787. background: transparent;
  788. border: 1px solid rgba(34, 36, 38, 0.15);
  789. box-shadow: none;
  790. }
  791. .ui.basic.table thead,
  792. .ui.basic.table tfoot {
  793. box-shadow: none;
  794. }
  795. .ui.basic.table th {
  796. background: transparent;
  797. border-left: none;
  798. }
  799. .ui.basic.table tbody tr {
  800. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  801. }
  802. .ui.basic.table td {
  803. background: transparent;
  804. }
  805. .ui.basic.striped.table tbody tr:nth-child(2n) {
  806. background-color: rgba(0, 0, 0, 0.05) !important;
  807. }
  808. /* Very Basic */
  809. .ui[class*="very basic"].table {
  810. border: none;
  811. }
  812. .ui[class*="very basic"].table:not(.sortable):not(.striped) th,
  813. .ui[class*="very basic"].table:not(.sortable):not(.striped) td {
  814. padding: '';
  815. }
  816. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
  817. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
  818. padding-left: 0em;
  819. }
  820. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
  821. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
  822. padding-right: 0em;
  823. }
  824. .ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
  825. padding-top: 0em;
  826. }
  827. /*--------------
  828. Celled
  829. ---------------*/
  830. .ui.celled.table tr th,
  831. .ui.celled.table tr td {
  832. border-left: 1px solid rgba(34, 36, 38, 0.1);
  833. }
  834. .ui.celled.table tr th:first-child,
  835. .ui.celled.table tr td:first-child {
  836. border-left: none;
  837. }
  838. /*--------------
  839. Padded
  840. ---------------*/
  841. .ui.padded.table th {
  842. padding-left: 1em;
  843. padding-right: 1em;
  844. }
  845. .ui.padded.table th,
  846. .ui.padded.table td {
  847. padding: 1em 1em;
  848. }
  849. /* Very */
  850. .ui[class*="very padded"].table th {
  851. padding-left: 1.5em;
  852. padding-right: 1.5em;
  853. }
  854. .ui[class*="very padded"].table td {
  855. padding: 1.5em 1.5em;
  856. }
  857. /*--------------
  858. Compact
  859. ---------------*/
  860. .ui.compact.table th {
  861. padding-left: 0.7em;
  862. padding-right: 0.7em;
  863. }
  864. .ui.compact.table td {
  865. padding: 0.5em 0.7em;
  866. }
  867. /* Very */
  868. .ui[class*="very compact"].table th {
  869. padding-left: 0.6em;
  870. padding-right: 0.6em;
  871. }
  872. .ui[class*="very compact"].table td {
  873. padding: 0.4em 0.6em;
  874. }
  875. /*--------------
  876. Sizes
  877. ---------------*/
  878. /* Small */
  879. .ui.small.table {
  880. font-size: 0.9em;
  881. }
  882. /* Standard */
  883. .ui.table {
  884. font-size: 1em;
  885. }
  886. /* Large */
  887. .ui.large.table {
  888. font-size: 1.1em;
  889. }
  890. /*******************************
  891. Site Overrides
  892. *******************************/