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.

999 lines
20 KiB

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
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
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
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  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. .ui.table:not(.unstackable) tbody,
  132. .ui.table:not(.unstackable) tr,
  133. .ui.table:not(.unstackable) tr > th,
  134. .ui.table:not(.unstackable) tr > td {
  135. width: 100% !important;
  136. display: block !important;
  137. }
  138. .ui.table:not(.unstackable) {
  139. padding: 0em;
  140. }
  141. .ui.table:not(.unstackable) thead {
  142. display: block;
  143. }
  144. .ui.table:not(.unstackable) tfoot {
  145. display: block;
  146. }
  147. .ui.table:not(.unstackable) tr > th,
  148. .ui.table:not(.unstackable) tr > td {
  149. background: none;
  150. border: none !important;
  151. padding: 0.25em 0.75em;
  152. box-shadow: none;
  153. }
  154. .ui.table:not(.unstackable) th:first-child,
  155. .ui.table:not(.unstackable) td:first-child {
  156. font-weight: bold;
  157. padding-top: 1em;
  158. }
  159. .ui.table:not(.unstackable) th:last-child,
  160. .ui.table:not(.unstackable) td:last-child {
  161. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
  162. padding-bottom: 1em;
  163. }
  164. /* Clear BG Colors */
  165. .ui.table:not(.unstackable) tr > td.warning,
  166. .ui.table:not(.unstackable) tr > td.error,
  167. .ui.table:not(.unstackable) tr > td.active,
  168. .ui.table:not(.unstackable) tr > td.positive,
  169. .ui.table:not(.unstackable) tr > td.negative {
  170. background-color: transparent !important;
  171. }
  172. /* Definition Table */
  173. .ui.definition.table:not(.unstackable) thead th:first-child {
  174. box-shadow: none !important;
  175. }
  176. .ui.definition.table:not(.unstackable) tr td:first-child {
  177. padding-bottom: 1em;
  178. }
  179. .ui.definition.table:not(.unstackable) tr td:nth-child(n+2) {
  180. padding-top: 1em;
  181. }
  182. }
  183. /*******************************
  184. Coupling
  185. *******************************/
  186. /* UI Image */
  187. .ui.table th .image,
  188. .ui.table th .image img,
  189. .ui.table td .image,
  190. .ui.table td .image img {
  191. max-width: none;
  192. }
  193. /*******************************
  194. Types
  195. *******************************/
  196. /*--------------
  197. Complex
  198. ---------------*/
  199. .ui.structured.table {
  200. border-collapse: collapse;
  201. }
  202. .ui.structured.table thead th {
  203. border-left: none;
  204. border-right: none;
  205. }
  206. .ui.structured.sortable.table thead th {
  207. border-left: 1px solid #d0d0d0;
  208. border-right: 1px solid #d0d0d0;
  209. }
  210. .ui.structured.basic.table th {
  211. border-left: none;
  212. border-right: none;
  213. }
  214. .ui.structured.celled.table tr th,
  215. .ui.structured.celled.table tr td {
  216. border-left: 1px solid #d4d4d5;
  217. border-right: 1px solid #d4d4d5;
  218. }
  219. /*--------------
  220. Definition
  221. ---------------*/
  222. .ui.definition.table thead:not(.full-width) th:first-child {
  223. pointer-events: none;
  224. background: transparent;
  225. font-weight: normal;
  226. color: rgba(0, 0, 0, 0.4);
  227. box-shadow: -1px -1px 0px 1px #ffffff;
  228. }
  229. .ui.definition.table tfoot:not(.full-width) th:first-child {
  230. pointer-events: none;
  231. background: transparent;
  232. font-weight: rgba(0, 0, 0, 0.4);
  233. color: normal;
  234. box-shadow: 1px 1px 0px 1px #ffffff;
  235. }
  236. /* Remove Border */
  237. .ui.celled.definition.table thead:not(.full-width) th:first-child {
  238. box-shadow: 0px -1px 0px 1px #ffffff;
  239. }
  240. .ui.celled.definition.table tfoot:not(.full-width) th:first-child {
  241. box-shadow: 0px 1px 0px 1px #ffffff;
  242. }
  243. /* Highlight Defining Column */
  244. .ui.definition.table tr td:first-child {
  245. background: rgba(0, 0, 0, 0.03);
  246. font-weight: bold;
  247. color: rgba(0, 0, 0, 0.8);
  248. }
  249. /* Fix 2nd Column */
  250. .ui.definition.table thead:not(.full-width) th:nth-child(2) {
  251. border-left: 1px solid #d0d0d0;
  252. }
  253. .ui.definition.table tfoot:not(.full-width) th:nth-child(2) {
  254. border-left: 1px solid #d0d0d0;
  255. }
  256. .ui.definition.table td:nth-child(2) {
  257. border-left: 1px solid #d0d0d0;
  258. }
  259. /*******************************
  260. States
  261. *******************************/
  262. /*--------------
  263. Positive
  264. ---------------*/
  265. .ui.table tr.positive,
  266. .ui.table td.positive {
  267. box-shadow: 0px 0px 0px #b7caa7 inset;
  268. }
  269. .ui.table tr.positive td,
  270. .ui.table td.positive {
  271. background: #eeffe7 !important;
  272. color: #3c763d !important;
  273. }
  274. .ui.celled.table tr.positive:hover td,
  275. .ui.celled.table tr:hover td.positive {
  276. background: #e3ffd8 !important;
  277. color: #376c38 !important;
  278. }
  279. /*--------------
  280. Negative
  281. ---------------*/
  282. .ui.table tr.negative,
  283. .ui.table td.negative {
  284. box-shadow: 0px 0px 0px #dbb1b1 inset;
  285. }
  286. .ui.table tr.negative td,
  287. .ui.table td.negative {
  288. background: #fff0f0 !important;
  289. color: #cd2929 !important;
  290. }
  291. .ui.celled.table tr.negative:hover td,
  292. .ui.celled.table tr:hover td.negative {
  293. background: #ffe1e1 !important;
  294. color: #c02626 !important;
  295. }
  296. /*--------------
  297. Error
  298. ---------------*/
  299. .ui.table tr.error,
  300. .ui.table td.error {
  301. box-shadow: 0px 0px 0px #dbb1b1 inset;
  302. }
  303. .ui.table tr.error td,
  304. .ui.table td.error {
  305. background: #fff0f0 !important;
  306. color: #cd2929 !important;
  307. }
  308. .ui.celled.table tr.error:hover td,
  309. .ui.celled.table tr:hover td.error {
  310. background: #ffe1e1 !important;
  311. color: #c02626 !important;
  312. }
  313. /*--------------
  314. Warning
  315. ---------------*/
  316. .ui.table tr.warning,
  317. .ui.table td.warning {
  318. box-shadow: 0px 0px 0px #d9caab inset;
  319. }
  320. .ui.table tr.warning td,
  321. .ui.table td.warning {
  322. background: #fffbe6 !important;
  323. color: #7d6c00 !important;
  324. }
  325. .ui.celled.table tr.warning:hover td,
  326. .ui.celled.table tr:hover td.warning {
  327. background: #fff9d7 !important;
  328. color: #6e5f00 !important;
  329. }
  330. /*--------------
  331. Active
  332. ---------------*/
  333. .ui.table tr.active,
  334. .ui.table td.active {
  335. box-shadow: 0px 0px 0px rgba(50, 50, 50, 0.9) inset;
  336. }
  337. .ui.table tr.active td,
  338. .ui.table td.active {
  339. background: #e0e0e0 !important;
  340. color: rgba(50, 50, 50, 0.9) !important;
  341. }
  342. .ui.celled.table tr.active:hover td,
  343. .ui.celled.table tr:hover td.active {
  344. background: #e0e0e0 !important;
  345. color: rgba(50, 50, 50, 0.9) !important;
  346. }
  347. /*--------------
  348. Disabled
  349. ---------------*/
  350. .ui.table tr.disabled td,
  351. .ui.table tr td.disabled,
  352. .ui.table tr.disabled:hover td,
  353. .ui.table tr:hover td.disabled {
  354. pointer-events: none;
  355. color: rgba(40, 40, 40, 0.3);
  356. }
  357. /*******************************
  358. Variations
  359. *******************************/
  360. /*--------------
  361. Stackable
  362. ---------------*/
  363. @media only screen and (max-width: 991px) {
  364. .ui[class*="tablet stackable"].table,
  365. .ui[class*="tablet stackable"].table tbody,
  366. .ui[class*="tablet stackable"].table tr,
  367. .ui[class*="tablet stackable"].table tr > th,
  368. .ui[class*="tablet stackable"].table tr > td {
  369. width: 100% !important;
  370. display: block !important;
  371. }
  372. .ui[class*="tablet stackable"].table {
  373. padding: 0em;
  374. }
  375. .ui[class*="tablet stackable"].table thead {
  376. display: block;
  377. }
  378. .ui[class*="tablet stackable"].table tfoot {
  379. display: block;
  380. }
  381. .ui[class*="tablet stackable"].table tr > th,
  382. .ui[class*="tablet stackable"].table tr > td {
  383. background: none;
  384. border: none !important;
  385. padding: 0.25em 0.75em;
  386. box-shadow: none;
  387. }
  388. .ui[class*="tablet stackable"].table th:first-child,
  389. .ui[class*="tablet stackable"].table td:first-child {
  390. font-weight: bold;
  391. padding-top: 1em;
  392. }
  393. .ui[class*="tablet stackable"].table th:last-child,
  394. .ui[class*="tablet stackable"].table td:last-child {
  395. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
  396. padding-bottom: 1em;
  397. }
  398. /* Clear BG Colors */
  399. .ui[class*="tablet stackable"].table tr > td.warning,
  400. .ui[class*="tablet stackable"].table tr > td.error,
  401. .ui[class*="tablet stackable"].table tr > td.active,
  402. .ui[class*="tablet stackable"].table tr > td.positive,
  403. .ui[class*="tablet stackable"].table tr > td.negative {
  404. background-color: transparent !important;
  405. }
  406. /* Definition Table */
  407. .ui.definition[class*="tablet stackable"].table thead th:first-child {
  408. box-shadow: none !important;
  409. }
  410. .ui.definition[class*="tablet stackable"].table tr td:first-child {
  411. padding-bottom: 1em;
  412. }
  413. .ui.definition[class*="tablet stackable"].table tr td:nth-child(n+2) {
  414. padding-top: 1em;
  415. }
  416. }
  417. /*--------------
  418. Aligned
  419. ---------------*/
  420. .ui.table[class*="left aligned"],
  421. .ui.table [class*="left aligned"] {
  422. text-align: left;
  423. }
  424. .ui.table[class*="center aligned"],
  425. .ui.table [class*="center aligned"] {
  426. text-align: center;
  427. }
  428. .ui.table[class*="right aligned"],
  429. .ui.table [class*="right aligned"] {
  430. text-align: right;
  431. }
  432. /*--------------
  433. Collapsing
  434. ---------------*/
  435. .ui.table th.collapsing,
  436. .ui.table td.collapsing {
  437. width: 1px;
  438. white-space: nowrap;
  439. }
  440. /*--------------
  441. Attached
  442. ---------------*/
  443. /* All */
  444. .ui.attached.table {
  445. width: -webkit-calc(100% + 2px );
  446. width: calc(100% + 2px );
  447. margin: 0em -1px;
  448. border-radius: 0px;
  449. box-shadow: none;
  450. }
  451. /* Top */
  452. .ui[class*="top attached"].table {
  453. margin-top: 1em 0em;
  454. border-radius: 0.25rem 0.25rem 0em 0em;
  455. }
  456. .ui.table[class*="top attached"]:first-child {
  457. margin-top: 0em;
  458. }
  459. /* Bottom */
  460. .ui.table[class*="bottom attached"] {
  461. margin-top: 0em;
  462. margin-bottom: 1em 0em;
  463. border-radius: 0em 0em 0.25rem 0.25rem;
  464. }
  465. .ui.table[class*="bottom attached"]:last-child {
  466. margin-bottom: 0em;
  467. }
  468. /*--------------
  469. Striped
  470. ---------------*/
  471. /* Table Striping */
  472. .ui.striped.table > tr:nth-child(2n),
  473. .ui.striped.table tbody tr:nth-child(2n) {
  474. background-color: rgba(0, 0, 50, 0.03);
  475. }
  476. /* Stripes */
  477. .ui.inverted.striped.table > tr:nth-child(2n),
  478. .ui.inverted.striped.table tbody tr:nth-child(2n) {
  479. background-color: rgba(255, 255, 255, 0.06);
  480. }
  481. /*-------------------
  482. Colors
  483. --------------------*/
  484. .ui.black.table {
  485. border-top: 0.2em solid #1b1c1d;
  486. }
  487. .ui.blue.table {
  488. border-top: 0.2em solid #3b83c0;
  489. }
  490. .ui.green.table {
  491. border-top: 0.2em solid #5bbd72;
  492. }
  493. .ui.orange.table {
  494. border-top: 0.2em solid #e07b53;
  495. }
  496. .ui.pink.table {
  497. border-top: 0.2em solid #d9499a;
  498. }
  499. .ui.purple.table {
  500. border-top: 0.2em solid #564f8a;
  501. }
  502. .ui.red.table {
  503. border-top: 0.2em solid #d95c5c;
  504. }
  505. .ui.teal.table {
  506. border-top: 0.2em solid #00b5ad;
  507. }
  508. .ui.yellow.table {
  509. border-top: 0.2em solid #f2c61f;
  510. }
  511. /*-------------------
  512. Inverted Colors
  513. --------------------*/
  514. .ui.inverted.table,
  515. .ui.inverted.black.table {
  516. background-color: #1b1c1d !important;
  517. color: #ffffff !important;
  518. }
  519. .ui.inverted.blue.table {
  520. background-color: #3b83c0 !important;
  521. color: #ffffff !important;
  522. }
  523. .ui.inverted.green.table {
  524. background-color: #5bbd72 !important;
  525. color: #ffffff !important;
  526. }
  527. .ui.inverted.orange.table {
  528. background-color: #e07b53 !important;
  529. color: #ffffff !important;
  530. }
  531. .ui.inverted.pink.table {
  532. background-color: #d9499a !important;
  533. color: #ffffff !important;
  534. }
  535. .ui.inverted.purple.table {
  536. background-color: #564f8a !important;
  537. color: #ffffff !important;
  538. }
  539. .ui.inverted.red.table {
  540. background-color: #d95c5c !important;
  541. color: #ffffff !important;
  542. }
  543. .ui.inverted.teal.table {
  544. background-color: #00b5ad !important;
  545. color: #ffffff !important;
  546. }
  547. .ui.inverted.yellow.table {
  548. background-color: #f2c61f !important;
  549. color: #ffffff !important;
  550. }
  551. /*--------------
  552. Column Count
  553. ---------------*/
  554. /* Grid Based */
  555. .ui.one.column.table td {
  556. width: 100%;
  557. }
  558. .ui.two.column.table td {
  559. width: 50%;
  560. }
  561. .ui.three.column.table td {
  562. width: 33.33333333%;
  563. }
  564. .ui.four.column.table td {
  565. width: 25%;
  566. }
  567. .ui.five.column.table td {
  568. width: 20%;
  569. }
  570. .ui.six.column.table td {
  571. width: 16.66666667%;
  572. }
  573. .ui.seven.column.table td {
  574. width: 14.28571429%;
  575. }
  576. .ui.eight.column.table td {
  577. width: 12.5%;
  578. }
  579. .ui.nine.column.table td {
  580. width: 11.11111111%;
  581. }
  582. .ui.ten.column.table td {
  583. width: 10%;
  584. }
  585. .ui.eleven.column.table td {
  586. width: 9.09090909%;
  587. }
  588. .ui.twelve.column.table td {
  589. width: 8.33333333%;
  590. }
  591. .ui.thirteen.column.table td {
  592. width: 7.69230769%;
  593. }
  594. .ui.fourteen.column.table td {
  595. width: 7.14285714%;
  596. }
  597. .ui.fifteen.column.table td {
  598. width: 6.66666667%;
  599. }
  600. .ui.sixteen.column.table td {
  601. width: 6.25%;
  602. }
  603. /* Column Width */
  604. .ui.table th.one.wide,
  605. .ui.table td.one.wide {
  606. width: 6.25%;
  607. }
  608. .ui.table th.two.wide,
  609. .ui.table td.two.wide {
  610. width: 12.5%;
  611. }
  612. .ui.table th.three.wide,
  613. .ui.table td.three.wide {
  614. width: 18.75%;
  615. }
  616. .ui.table th.four.wide,
  617. .ui.table td.four.wide {
  618. width: 25%;
  619. }
  620. .ui.table th.five.wide,
  621. .ui.table td.five.wide {
  622. width: 31.25%;
  623. }
  624. .ui.table th.six.wide,
  625. .ui.table td.six.wide {
  626. width: 37.5%;
  627. }
  628. .ui.table th.seven.wide,
  629. .ui.table td.seven.wide {
  630. width: 43.75%;
  631. }
  632. .ui.table th.eight.wide,
  633. .ui.table td.eight.wide {
  634. width: 50%;
  635. }
  636. .ui.table th.nine.wide,
  637. .ui.table td.nine.wide {
  638. width: 56.25%;
  639. }
  640. .ui.table th.ten.wide,
  641. .ui.table td.ten.wide {
  642. width: 62.5%;
  643. }
  644. .ui.table th.eleven.wide,
  645. .ui.table td.eleven.wide {
  646. width: 68.75%;
  647. }
  648. .ui.table th.twelve.wide,
  649. .ui.table td.twelve.wide {
  650. width: 75%;
  651. }
  652. .ui.table th.thirteen.wide,
  653. .ui.table td.thirteen.wide {
  654. width: 81.25%;
  655. }
  656. .ui.table th.fourteen.wide,
  657. .ui.table td.fourteen.wide {
  658. width: 87.5%;
  659. }
  660. .ui.table th.fifteen.wide,
  661. .ui.table td.fifteen.wide {
  662. width: 93.75%;
  663. }
  664. .ui.table th.sixteen.wide,
  665. .ui.table td.sixteen.wide {
  666. width: 100%;
  667. }
  668. /*--------------
  669. Sortable
  670. ---------------*/
  671. .ui.sortable.table thead th {
  672. cursor: pointer;
  673. white-space: nowrap;
  674. border-left: 1px solid #d0d0d0;
  675. color: rgba(0, 0, 0, 0.8);
  676. }
  677. .ui.sortable.table thead th:first-child {
  678. border-left: none;
  679. }
  680. .ui.sortable.table thead th.sorted,
  681. .ui.sortable.table thead th.sorted:hover {
  682. -webkit-user-select: none;
  683. -moz-user-select: none;
  684. -ms-user-select: none;
  685. user-select: none;
  686. }
  687. .ui.sortable.table thead th:after {
  688. display: inline-block;
  689. content: '';
  690. width: 1em;
  691. height: 1em;
  692. opacity: 0.8;
  693. margin: 0em 0em 0em 0.5em;
  694. font-family: 'Icons';
  695. font-style: normal;
  696. font-weight: normal;
  697. text-decoration: inherit;
  698. }
  699. .ui.sortable.table thead th.ascending:after {
  700. content: '\f0d7';
  701. }
  702. .ui.sortable.table thead th.descending:after {
  703. content: '\f0d8';
  704. }
  705. /* Hover */
  706. .ui.sortable.table th.disabled:hover {
  707. cursor: auto;
  708. color: rgba(40, 40, 40, 0.3);
  709. }
  710. .ui.sortable.table thead th:hover {
  711. background: rgba(0, 0, 0, 0.05);
  712. color: rgba(0, 0, 0, 0.8);
  713. }
  714. /* Sorted */
  715. .ui.sortable.table thead th.sorted {
  716. background: rgba(0, 0, 0, 0.05);
  717. color: rgba(0, 0, 0, 0.8);
  718. }
  719. /* Sorted Hover */
  720. .ui.sortable.table thead th.sorted:hover {
  721. background: rgba(0, 0, 0, 0.05);
  722. color: rgba(0, 0, 0, 0.8);
  723. }
  724. /* Inverted */
  725. .ui.inverted.sortable.table thead th.sorted {
  726. background: rgba(255, 255, 255, 0.07) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  727. background: rgba(255, 255, 255, 0.07) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  728. color: #ffffff;
  729. }
  730. .ui.inverted.sortable.table thead th:hover {
  731. background: rgba(255, 255, 255, 0.05) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  732. background: rgba(255, 255, 255, 0.05) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  733. color: #ffffff;
  734. }
  735. .ui.inverted.sortable.table thead th {
  736. border-left-color: transparent;
  737. border-right-color: transparent;
  738. }
  739. /*--------------
  740. Inverted
  741. ---------------*/
  742. /* Text Color */
  743. .ui.inverted.table {
  744. background: #333333;
  745. color: #ffffff;
  746. border: none;
  747. }
  748. .ui.inverted.table th {
  749. background-color: rgba(0, 0, 0, 0.15);
  750. border-color: rgba(0, 0, 0, 0.2) !important;
  751. color: rgba(255, 255, 255, 0.9);
  752. }
  753. .ui.inverted.table tr td {
  754. border-color: rgba(0, 0, 0, 0.2) !important;
  755. }
  756. .ui.inverted.table tr.disabled td,
  757. .ui.inverted.table tr td.disabled,
  758. .ui.inverted.table tr.disabled:hover td,
  759. .ui.inverted.table tr:hover td.disabled {
  760. pointer-events: none;
  761. color: rgba(225, 225, 225, 0.3);
  762. }
  763. /* Definition */
  764. .ui.inverted.definition.table tfoot:not(.full-width) th:first-child,
  765. .ui.inverted.definition.table thead:not(.full-width) th:first-child {
  766. background: #ffffff;
  767. }
  768. .ui.inverted.definition.table tr td:first-child {
  769. background: rgba(255, 255, 255, 0.02);
  770. color: #ffffff;
  771. }
  772. /*--------------
  773. Collapsing
  774. ---------------*/
  775. .ui.collapsing.table {
  776. width: auto;
  777. }
  778. /*--------------
  779. Basic
  780. ---------------*/
  781. .ui.basic.table {
  782. background: transparent;
  783. border: 1px solid #d0d0d0;
  784. box-shadow: none;
  785. }
  786. .ui.basic.table thead,
  787. .ui.basic.table tfoot {
  788. box-shadow: none;
  789. }
  790. .ui.basic.table th {
  791. background: transparent;
  792. border-left: none;
  793. }
  794. .ui.basic.table tbody tr {
  795. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  796. }
  797. .ui.basic.table td {
  798. background: transparent;
  799. }
  800. .ui.basic.striped.table tbody tr:nth-child(2n) {
  801. background-color: rgba(0, 0, 0, 0.05) !important;
  802. }
  803. /* Very Basic */
  804. .ui[class*="very basic"].table {
  805. border: none;
  806. }
  807. .ui[class*="very basic"].table:not(.sortable):not(.striped) th,
  808. .ui[class*="very basic"].table:not(.sortable):not(.striped) td {
  809. padding: 0.7em 0.8em;
  810. }
  811. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
  812. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
  813. padding-left: 0em;
  814. }
  815. .ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
  816. .ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
  817. padding-right: 0em;
  818. }
  819. .ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
  820. padding-top: 0em;
  821. }
  822. /*--------------
  823. Celled
  824. ---------------*/
  825. .ui.celled.table tr th,
  826. .ui.celled.table tr td {
  827. border-left: 1px solid #d4d4d5;
  828. }
  829. .ui.celled.table tr th:first-child,
  830. .ui.celled.table tr td:first-child {
  831. border-left: none;
  832. }
  833. /*--------------
  834. Padded
  835. ---------------*/
  836. .ui.padded.table th {
  837. padding-left: 1em;
  838. padding-right: 1em;
  839. }
  840. .ui.padded.table th,
  841. .ui.padded.table td {
  842. padding: 1em 1em;
  843. }
  844. /* Very */
  845. .ui[class*="very padded"].table th {
  846. padding-left: 1.5em;
  847. padding-right: 1.5em;
  848. }
  849. .ui[class*="very padded"].table td {
  850. padding: 1.5em 1.5em;
  851. }
  852. /*--------------
  853. Compact
  854. ---------------*/
  855. .ui.compact.table th {
  856. padding-left: 0.7em;
  857. padding-right: 0.7em;
  858. }
  859. .ui.compact.table td {
  860. padding: 0.5em 0.7em;
  861. }
  862. /* Very */
  863. .ui[class*="very compact"].table th {
  864. padding-left: 0.6em;
  865. padding-right: 0.6em;
  866. }
  867. .ui[class*="very compact"].table td {
  868. padding: 0.4em 0.6em;
  869. }
  870. /*--------------
  871. Sizes
  872. ---------------*/
  873. /* Small */
  874. .ui.small.table {
  875. font-size: 0.9em;
  876. }
  877. /* Standard */
  878. .ui.table {
  879. font-size: 1em;
  880. }
  881. /* Large */
  882. .ui.large.table {
  883. font-size: 1.1em;
  884. }
  885. /*******************************
  886. Theme Overrides
  887. *******************************/
  888. /*******************************
  889. Site Overrides
  890. *******************************/