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.

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