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.

1000 lines
20 KiB

9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 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
10 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
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 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
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 1.11.3 - Table
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 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 #d0d0d0;
  20. box-shadow: none;
  21. border-radius: 0.25rem;
  22. color: rgba(0, 0, 0, 0.8);
  23. border-collapse: separate;
  24. border-spacing: 0px;
  25. }
  26. .ui.table:first-child {
  27. margin-top: 0em;
  28. }
  29. .ui.table:last-child {
  30. margin-bottom: 0em;
  31. }
  32. /*******************************
  33. Parts
  34. *******************************/
  35. /* Table Content */
  36. .ui.table th,
  37. .ui.table td {
  38. -webkit-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  39. transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  40. }
  41. /* Headers */
  42. .ui.table thead {
  43. box-shadow: none;
  44. }
  45. .ui.table thead th {
  46. cursor: auto;
  47. background: #f0f0f0;
  48. text-align: left;
  49. color: rgba(0, 0, 0, 0.8);
  50. padding: 0.7em 0.8em;
  51. vertical-align: middle;
  52. font-style: none;
  53. font-weight: bold;
  54. text-transform: none;
  55. border-bottom: 1px solid #d4d4d5;
  56. border-left: none;
  57. }
  58. .ui.table thead tr > th:first-child {
  59. border-left: none;
  60. }
  61. .ui.table thead tr:first-child > th:first-child {
  62. border-radius: 0.25rem 0em 0em 0em;
  63. }
  64. .ui.table thead tr:first-child > th:last-child {
  65. border-radius: 0em 0.25rem 0em 0em;
  66. }
  67. .ui.table thead tr:first-child > th:only-child {
  68. border-radius: 0.25rem 0.25rem 0em 0em;
  69. }
  70. /* Footer */
  71. .ui.table tfoot {
  72. box-shadow: none;
  73. }
  74. .ui.table tfoot th {
  75. cursor: auto;
  76. border-top: 1px solid #d4d4d5;
  77. background: #ffffff;
  78. text-align: left;
  79. color: rgba(0, 0, 0, 0.8);
  80. padding: 0.7em 0.8em;
  81. vertical-align: middle;
  82. font-style: normal;
  83. font-weight: normal;
  84. text-transform: none;
  85. }
  86. .ui.table tfoot tr > th:first-child {
  87. border-left: none;
  88. }
  89. .ui.table tfoot tr:first-child > th:first-child {
  90. border-radius: 0em 0em 0em 0.25rem;
  91. }
  92. .ui.table tfoot tr:first-child > th:last-child {
  93. border-radius: 0em 0em 0.25rem 0em;
  94. }
  95. .ui.table tfoot tr:first-child > th:only-child {
  96. border-radius: 0em 0em 0.25rem 0.25rem;
  97. }
  98. /* Table Row */
  99. .ui.table tr td {
  100. border-top: 1px solid #d4d4d5;
  101. }
  102. .ui.table tr:first-child td {
  103. border-top: none;
  104. }
  105. /* Table Cells */
  106. .ui.table td {
  107. padding: 0.7em 0.8em;
  108. text-align: left;
  109. vertical-align: middle;
  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 > th,
  150. .ui.table:not(.unstackable) tr > td {
  151. background: none;
  152. border: none !important;
  153. padding: 0.25em 0.75em;
  154. box-shadow: none;
  155. }
  156. .ui.table:not(.unstackable) th:first-child,
  157. .ui.table:not(.unstackable) td:first-child {
  158. font-weight: bold;
  159. padding-top: 1em;
  160. }
  161. .ui.table:not(.unstackable) th:last-child,
  162. .ui.table:not(.unstackable) td:last-child {
  163. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
  164. padding-bottom: 1em;
  165. }
  166. /* Clear BG Colors */
  167. .ui.table:not(.unstackable) tr > td.warning,
  168. .ui.table:not(.unstackable) tr > td.error,
  169. .ui.table:not(.unstackable) tr > td.active,
  170. .ui.table:not(.unstackable) tr > td.positive,
  171. .ui.table:not(.unstackable) tr > td.negative {
  172. background-color: transparent !important;
  173. }
  174. /* Definition Table */
  175. .ui.definition.table:not(.unstackable) thead th:first-child {
  176. box-shadow: none !important;
  177. }
  178. .ui.definition.table:not(.unstackable) tr td:first-child {
  179. padding-bottom: 1em;
  180. }
  181. .ui.definition.table:not(.unstackable) tr td:nth-child(n+2) {
  182. padding-top: 1em;
  183. }
  184. }
  185. /*******************************
  186. Coupling
  187. *******************************/
  188. /* UI Image */
  189. .ui.table th .image,
  190. .ui.table th .image img,
  191. .ui.table td .image,
  192. .ui.table td .image img {
  193. max-width: none;
  194. }
  195. /*******************************
  196. Types
  197. *******************************/
  198. /*--------------
  199. Complex
  200. ---------------*/
  201. .ui.structured.table {
  202. border-collapse: collapse;
  203. }
  204. .ui.structured.table thead th {
  205. border-left: none;
  206. border-right: none;
  207. }
  208. .ui.structured.sortable.table thead th {
  209. border-left: 1px solid #d0d0d0;
  210. border-right: 1px solid #d0d0d0;
  211. }
  212. .ui.structured.basic.table th {
  213. border-left: none;
  214. border-right: none;
  215. }
  216. .ui.structured.celled.table tr th,
  217. .ui.structured.celled.table tr td {
  218. border-left: 1px solid #d4d4d5;
  219. border-right: 1px solid #d4d4d5;
  220. }
  221. /*--------------
  222. Definition
  223. ---------------*/
  224. .ui.definition.table thead:not(.full-width) th:first-child {
  225. pointer-events: none;
  226. background: transparent;
  227. font-weight: normal;
  228. color: rgba(0, 0, 0, 0.4);
  229. box-shadow: -1px -1px 0px 1px #ffffff;
  230. }
  231. .ui.definition.table tfoot:not(.full-width) th:first-child {
  232. pointer-events: none;
  233. background: transparent;
  234. font-weight: rgba(0, 0, 0, 0.4);
  235. color: normal;
  236. box-shadow: 1px 1px 0px 1px #ffffff;
  237. }
  238. /* Remove Border */
  239. .ui.celled.definition.table thead:not(.full-width) th:first-child {
  240. box-shadow: 0px -1px 0px 1px #ffffff;
  241. }
  242. .ui.celled.definition.table tfoot:not(.full-width) th:first-child {
  243. box-shadow: 0px 1px 0px 1px #ffffff;
  244. }
  245. /* Highlight Defining Column */
  246. .ui.definition.table tr td:first-child {
  247. background: rgba(0, 0, 0, 0.03);
  248. font-weight: bold;
  249. color: rgba(0, 0, 0, 0.8);
  250. }
  251. /* Fix 2nd Column */
  252. .ui.definition.table thead:not(.full-width) th:nth-child(2) {
  253. border-left: 1px solid #d0d0d0;
  254. }
  255. .ui.definition.table tfoot:not(.full-width) th:nth-child(2) {
  256. border-left: 1px solid #d0d0d0;
  257. }
  258. .ui.definition.table td:nth-child(2) {
  259. border-left: 1px solid #d0d0d0;
  260. }
  261. /*******************************
  262. States
  263. *******************************/
  264. /*--------------
  265. Positive
  266. ---------------*/
  267. .ui.table tr.positive,
  268. .ui.table td.positive {
  269. box-shadow: 0px 0px 0px #b7caa7 inset;
  270. }
  271. .ui.table tr.positive td,
  272. .ui.table td.positive {
  273. background: #eeffe7 !important;
  274. color: #3c763d !important;
  275. }
  276. .ui.celled.table tr.positive:hover td,
  277. .ui.celled.table tr:hover td.positive {
  278. background: #e3ffd8 !important;
  279. color: #376c38 !important;
  280. }
  281. /*--------------
  282. Negative
  283. ---------------*/
  284. .ui.table tr.negative,
  285. .ui.table td.negative {
  286. box-shadow: 0px 0px 0px #dbb1b1 inset;
  287. }
  288. .ui.table tr.negative td,
  289. .ui.table td.negative {
  290. background: #fff0f0 !important;
  291. color: #cd2929 !important;
  292. }
  293. .ui.celled.table tr.negative:hover td,
  294. .ui.celled.table tr:hover td.negative {
  295. background: #ffe1e1 !important;
  296. color: #c02626 !important;
  297. }
  298. /*--------------
  299. Error
  300. ---------------*/
  301. .ui.table tr.error,
  302. .ui.table td.error {
  303. box-shadow: 0px 0px 0px #dbb1b1 inset;
  304. }
  305. .ui.table tr.error td,
  306. .ui.table td.error {
  307. background: #fff0f0 !important;
  308. color: #cd2929 !important;
  309. }
  310. .ui.celled.table tr.error:hover td,
  311. .ui.celled.table tr:hover td.error {
  312. background: #ffe1e1 !important;
  313. color: #c02626 !important;
  314. }
  315. /*--------------
  316. Warning
  317. ---------------*/
  318. .ui.table tr.warning,
  319. .ui.table td.warning {
  320. box-shadow: 0px 0px 0px #d9caab inset;
  321. }
  322. .ui.table tr.warning td,
  323. .ui.table td.warning {
  324. background: #fffbe6 !important;
  325. color: #7d6c00 !important;
  326. }
  327. .ui.celled.table tr.warning:hover td,
  328. .ui.celled.table tr:hover td.warning {
  329. background: #fff9d7 !important;
  330. color: #6e5f00 !important;
  331. }
  332. /*--------------
  333. Active
  334. ---------------*/
  335. .ui.table tr.active,
  336. .ui.table td.active {
  337. box-shadow: 0px 0px 0px rgba(50, 50, 50, 0.9) inset;
  338. }
  339. .ui.table tr.active td,
  340. .ui.table td.active {
  341. background: #e0e0e0 !important;
  342. color: rgba(50, 50, 50, 0.9) !important;
  343. }
  344. .ui.celled.table tr.active:hover td,
  345. .ui.celled.table tr:hover td.active {
  346. background: #e0e0e0 !important;
  347. color: rgba(50, 50, 50, 0.9) !important;
  348. }
  349. /*--------------
  350. Disabled
  351. ---------------*/
  352. .ui.table tr.disabled td,
  353. .ui.table tr td.disabled,
  354. .ui.table tr.disabled:hover td,
  355. .ui.table tr:hover td.disabled {
  356. pointer-events: none;
  357. color: rgba(40, 40, 40, 0.3);
  358. }
  359. /*******************************
  360. Variations
  361. *******************************/
  362. /*--------------
  363. Stackable
  364. ---------------*/
  365. @media only screen and (max-width: 991px) {
  366. .ui[class*="tablet stackable"].table,
  367. .ui[class*="tablet stackable"].table tbody,
  368. .ui[class*="tablet stackable"].table tr,
  369. .ui[class*="tablet stackable"].table tr > th,
  370. .ui[class*="tablet stackable"].table tr > td {
  371. width: 100% !important;
  372. display: block !important;
  373. }
  374. .ui[class*="tablet stackable"].table {
  375. padding: 0em;
  376. }
  377. .ui[class*="tablet stackable"].table thead {
  378. display: block;
  379. }
  380. .ui[class*="tablet stackable"].table tfoot {
  381. display: block;
  382. }
  383. .ui[class*="tablet stackable"].table tr > th,
  384. .ui[class*="tablet stackable"].table tr > td {
  385. background: none;
  386. border: none !important;
  387. padding: 0.25em 0.75em;
  388. box-shadow: none;
  389. }
  390. .ui[class*="tablet stackable"].table th:first-child,
  391. .ui[class*="tablet stackable"].table td:first-child {
  392. font-weight: bold;
  393. padding-top: 1em;
  394. }
  395. .ui[class*="tablet stackable"].table th:last-child,
  396. .ui[class*="tablet stackable"].table td:last-child {
  397. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
  398. padding-bottom: 1em;
  399. }
  400. /* Clear BG Colors */
  401. .ui[class*="tablet stackable"].table tr > td.warning,
  402. .ui[class*="tablet stackable"].table tr > td.error,
  403. .ui[class*="tablet stackable"].table tr > td.active,
  404. .ui[class*="tablet stackable"].table tr > td.positive,
  405. .ui[class*="tablet stackable"].table tr > td.negative {
  406. background-color: transparent !important;
  407. }
  408. /* Definition Table */
  409. .ui.definition[class*="tablet stackable"].table thead th:first-child {
  410. box-shadow: none !important;
  411. }
  412. .ui.definition[class*="tablet stackable"].table tr td:first-child {
  413. padding-bottom: 1em;
  414. }
  415. .ui.definition[class*="tablet stackable"].table tr td:nth-child(n+2) {
  416. padding-top: 1em;
  417. }
  418. }
  419. /*--------------
  420. Aligned
  421. ---------------*/
  422. .ui.table[class*="left aligned"],
  423. .ui.table [class*="left aligned"] {
  424. text-align: left;
  425. }
  426. .ui.table[class*="center aligned"],
  427. .ui.table [class*="center aligned"] {
  428. text-align: center;
  429. }
  430. .ui.table[class*="right aligned"],
  431. .ui.table [class*="right aligned"] {
  432. text-align: right;
  433. }
  434. /*--------------
  435. Collapsing
  436. ---------------*/
  437. .ui.table th.collapsing,
  438. .ui.table td.collapsing {
  439. width: 1px;
  440. white-space: nowrap;
  441. }
  442. /*--------------
  443. Attached
  444. ---------------*/
  445. /* All */
  446. .ui.attached.table {
  447. width: -webkit-calc(100% + 2px );
  448. width: calc(100% + 2px );
  449. margin: 0em -1px;
  450. border-radius: 0px;
  451. box-shadow: none;
  452. }
  453. /* Top */
  454. .ui[class*="top attached"].table {
  455. margin-top: 1em 0em;
  456. border-radius: 0.25rem 0.25rem 0em 0em;
  457. }
  458. .ui.table[class*="top attached"]:first-child {
  459. margin-top: 0em;
  460. }
  461. /* Bottom */
  462. .ui.table[class*="bottom attached"] {
  463. margin-top: 0em;
  464. margin-bottom: 1em 0em;
  465. border-radius: 0em 0em 0.25rem 0.25rem;
  466. }
  467. .ui.table[class*="bottom attached"]:last-child {
  468. margin-bottom: 0em;
  469. }
  470. /*--------------
  471. Striped
  472. ---------------*/
  473. /* Table Striping */
  474. .ui.striped.table > tr:nth-child(2n),
  475. .ui.striped.table tbody tr:nth-child(2n) {
  476. background-color: rgba(0, 0, 50, 0.03);
  477. }
  478. /* Stripes */
  479. .ui.inverted.striped.table > tr:nth-child(2n),
  480. .ui.inverted.striped.table tbody tr:nth-child(2n) {
  481. background-color: rgba(255, 255, 255, 0.06);
  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 #3b83c0;
  491. }
  492. .ui.green.table {
  493. border-top: 0.2em solid #5bbd72;
  494. }
  495. .ui.orange.table {
  496. border-top: 0.2em solid #e07b53;
  497. }
  498. .ui.pink.table {
  499. border-top: 0.2em solid #d9499a;
  500. }
  501. .ui.purple.table {
  502. border-top: 0.2em solid #564f8a;
  503. }
  504. .ui.red.table {
  505. border-top: 0.2em solid #d95c5c;
  506. }
  507. .ui.teal.table {
  508. border-top: 0.2em solid #00b5ad;
  509. }
  510. .ui.yellow.table {
  511. border-top: 0.2em solid #f2c61f;
  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: #3b83c0 !important;
  523. color: #ffffff !important;
  524. }
  525. .ui.inverted.green.table {
  526. background-color: #5bbd72 !important;
  527. color: #ffffff !important;
  528. }
  529. .ui.inverted.orange.table {
  530. background-color: #e07b53 !important;
  531. color: #ffffff !important;
  532. }
  533. .ui.inverted.pink.table {
  534. background-color: #d9499a !important;
  535. color: #ffffff !important;
  536. }
  537. .ui.inverted.purple.table {
  538. background-color: #564f8a !important;
  539. color: #ffffff !important;
  540. }
  541. .ui.inverted.red.table {
  542. background-color: #d95c5c !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: #f2c61f !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 #d0d0d0;
  677. color: rgba(0, 0, 0, 0.8);
  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: inline-block;
  691. content: '';
  692. width: 1em;
  693. height: 1em;
  694. opacity: 0.8;
  695. margin: 0em 0em 0em 0.5em;
  696. font-family: 'Icons';
  697. font-style: normal;
  698. font-weight: normal;
  699. text-decoration: inherit;
  700. }
  701. .ui.sortable.table thead th.ascending:after {
  702. content: '\f0d7';
  703. }
  704. .ui.sortable.table thead th.descending:after {
  705. content: '\f0d8';
  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.8);
  720. }
  721. /* Sorted Hover */
  722. .ui.sortable.table thead th.sorted:hover {
  723. background: rgba(0, 0, 0, 0.05);
  724. color: rgba(0, 0, 0, 0.8);
  725. }
  726. /* Inverted */
  727. .ui.inverted.sortable.table thead th.sorted {
  728. background: rgba(255, 255, 255, 0.07) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  729. background: rgba(255, 255, 255, 0.07) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  730. color: #ffffff;
  731. }
  732. .ui.inverted.sortable.table thead th:hover {
  733. background: rgba(255, 255, 255, 0.05) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  734. background: rgba(255, 255, 255, 0.05) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  735. color: #ffffff;
  736. }
  737. .ui.inverted.sortable.table thead th {
  738. border-left-color: transparent;
  739. border-right-color: transparent;
  740. }
  741. /*--------------
  742. Inverted
  743. ---------------*/
  744. /* Text Color */
  745. .ui.inverted.table {
  746. background: #333333;
  747. color: #ffffff;
  748. border: none;
  749. }
  750. .ui.inverted.table th {
  751. background-color: rgba(0, 0, 0, 0.15);
  752. border-color: rgba(0, 0, 0, 0.2) !important;
  753. color: rgba(255, 255, 255, 0.9);
  754. }
  755. .ui.inverted.table tr td {
  756. border-color: rgba(0, 0, 0, 0.2) !important;
  757. }
  758. .ui.inverted.table tr.disabled td,
  759. .ui.inverted.table tr td.disabled,
  760. .ui.inverted.table tr.disabled:hover td,
  761. .ui.inverted.table tr:hover td.disabled {
  762. pointer-events: none;
  763. color: rgba(225, 225, 225, 0.3);
  764. }
  765. /* Definition */
  766. .ui.inverted.definition.table tfoot:not(.full-width) th:first-child,
  767. .ui.inverted.definition.table thead:not(.full-width) th:first-child {
  768. background: #ffffff;
  769. }
  770. .ui.inverted.definition.table tr td:first-child {
  771. background: rgba(255, 255, 255, 0.02);
  772. color: #ffffff;
  773. }
  774. /*--------------
  775. Collapsing
  776. ---------------*/
  777. .ui.collapsing.table {
  778. width: auto;
  779. }
  780. /*--------------
  781. Basic
  782. ---------------*/
  783. .ui.basic.table {
  784. background: transparent;
  785. border: 1px solid #d0d0d0;
  786. box-shadow: none;
  787. }
  788. .ui.basic.table thead,
  789. .ui.basic.table tfoot {
  790. box-shadow: none;
  791. }
  792. .ui.basic.table th {
  793. background: transparent;
  794. border-left: none;
  795. }
  796. .ui.basic.table tbody tr {
  797. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  798. }
  799. .ui.basic.table td {
  800. background: transparent;
  801. }
  802. .ui.basic.striped.table tbody tr:nth-child(2n) {
  803. background-color: rgba(0, 0, 0, 0.05) !important;
  804. }
  805. /* Very Basic */
  806. .ui[class*="very basic"].table {
  807. border: none;
  808. }
  809. .ui[class*="very basic"].table:not(.sortable):not(.striped) th,
  810. .ui[class*="very basic"].table:not(.sortable):not(.striped) td {
  811. padding: 0.7em 0.8em;
  812. }
  813. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
  814. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
  815. padding-left: 0em;
  816. }
  817. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
  818. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
  819. padding-right: 0em;
  820. }
  821. .ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
  822. padding-top: 0em;
  823. }
  824. /*--------------
  825. Celled
  826. ---------------*/
  827. .ui.celled.table tr th,
  828. .ui.celled.table tr td {
  829. border-left: 1px solid #d4d4d5;
  830. }
  831. .ui.celled.table tr th:first-child,
  832. .ui.celled.table tr td:first-child {
  833. border-left: none;
  834. }
  835. /*--------------
  836. Padded
  837. ---------------*/
  838. .ui.padded.table th {
  839. padding-left: 1em;
  840. padding-right: 1em;
  841. }
  842. .ui.padded.table th,
  843. .ui.padded.table td {
  844. padding: 1em 1em;
  845. }
  846. /* Very */
  847. .ui[class*="very padded"].table th {
  848. padding-left: 1.5em;
  849. padding-right: 1.5em;
  850. }
  851. .ui[class*="very padded"].table td {
  852. padding: 1.5em 1.5em;
  853. }
  854. /*--------------
  855. Compact
  856. ---------------*/
  857. .ui.compact.table th {
  858. padding-left: 0.7em;
  859. padding-right: 0.7em;
  860. }
  861. .ui.compact.table td {
  862. padding: 0.5em 0.7em;
  863. }
  864. /* Very */
  865. .ui[class*="very compact"].table th {
  866. padding-left: 0.6em;
  867. padding-right: 0.6em;
  868. }
  869. .ui[class*="very compact"].table td {
  870. padding: 0.4em 0.6em;
  871. }
  872. /*--------------
  873. Sizes
  874. ---------------*/
  875. /* Small */
  876. .ui.small.table {
  877. font-size: 0.9em;
  878. }
  879. /* Standard */
  880. .ui.table {
  881. font-size: 1em;
  882. }
  883. /* Large */
  884. .ui.large.table {
  885. font-size: 1.1em;
  886. }
  887. /*******************************
  888. Theme Overrides
  889. *******************************/
  890. /*******************************
  891. Site Overrides
  892. *******************************/