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.

513 lines
8.5 KiB

  1. .ui.table {
  2. width: 100%;
  3. border-collapse: collapse;
  4. }
  5. .ui.table th,
  6. .ui.table tr,
  7. .ui.table td {
  8. border-collapse: collapse;
  9. -webkit-box-sizing: border-box;
  10. -moz-box-sizing: border-box;
  11. -ms-box-sizing: border-box;
  12. box-sizing: border-box;
  13. -webkit-transition: all .1s ease-out;
  14. transition: all .1s ease-out;
  15. }
  16. .ui.table thead {
  17. border-bottom: 1px solid rgba(0,0,0,.03);
  18. }
  19. .ui.table tfoot th {
  20. background-color: rgba(0,0,0,.03);
  21. }
  22. .ui.table th {
  23. cursor: auto;
  24. background-color: rgba(0,0,0,.05);
  25. text-align: left;
  26. color: rgba(0,0,0,.8);
  27. padding: .5em .7em;
  28. vertical-align: middle;
  29. }
  30. .ui.table thead th:first-child {
  31. border-radius: 5px 0 0;
  32. }
  33. .ui.table thead th:last-child {
  34. border-radius: 0 5px 0 0;
  35. }
  36. .ui.table tfoot th:first-child {
  37. border-radius: 0 0 0 5px;
  38. }
  39. .ui.table tfoot th:last-child {
  40. border-radius: 0 0 5px;
  41. }
  42. .ui.table td {
  43. padding: .4em .7em;
  44. vertical-align: middle;
  45. }
  46. .ui.table tfoot {
  47. border-top: 1px solid rgba(0,0,0,.03);
  48. }
  49. .ui.table tfoot th {
  50. font-weight: 400;
  51. font-style: italic;
  52. }
  53. .ui.table tbody tr:nth-child(2n) {
  54. background-color: rgba(0,0,50,.02);
  55. }
  56. .ui.table>.icon {
  57. vertical-align: baseline;
  58. }
  59. .ui.table>.icon:only-child {
  60. margin: 0;
  61. }
  62. .ui.table.segment:after {
  63. display: none;
  64. }
  65. .ui.table.segment.stacked:after {
  66. display: block;
  67. }
  68. @media only screen and (max-width:768px) {
  69. .ui.table {
  70. display: block;
  71. padding: 0;
  72. }
  73. .ui.table thead,
  74. .ui.table tfoot {
  75. display: none;
  76. }
  77. .ui.table tbody {
  78. display: block;
  79. }
  80. .ui.table tr {
  81. display: block;
  82. }
  83. .ui.table tr>td {
  84. width: 100%!important;
  85. display: block;
  86. border: 0!important;
  87. padding: .25em .75em;
  88. -webkit-box-shadow: 0 1px 0 0 rgba(0,0,0,.05)!important;
  89. box-shadow: 0 1px 0 0 rgba(0,0,0,.05)!important;
  90. }
  91. .ui.table td:first-child {
  92. font-weight: 700;
  93. padding-top: 1em;
  94. }
  95. .ui.table td:last-child {
  96. -webkit-box-shadow: 0 -1px 0 0 rgba(0,0,0,.1) inset!important;
  97. box-shadow: 0 -1px 0 0 rgba(0,0,0,.1) inset!important;
  98. padding-bottom: 1em;
  99. }
  100. .ui.table tr>td.warning,
  101. .ui.table tr>td.error,
  102. .ui.table tr>td.active,
  103. .ui.table tr>td.positive,
  104. .ui.table tr>td.negative {
  105. background-color: transparent!important;
  106. }
  107. }
  108. .ui.sortable.table th.disabled:hover {
  109. cursor: auto;
  110. text-align: left;
  111. font-weight: 700;
  112. color: #333;
  113. color: rgba(0,0,0,.8);
  114. }
  115. .ui.sortable.table thead th:hover {
  116. background-color: rgba(0,0,0,.13);
  117. color: rgba(0,0,0,.8);
  118. }
  119. .ui.inverted.sortable.table thead th:hover {
  120. background-color: rgba(255,255,255,.13);
  121. color: #fff;
  122. }
  123. .ui.table tr.positive,
  124. .ui.table td.positive {
  125. -webkit-box-shadow: 2px 0 0 #119000 inset;
  126. box-shadow: 2px 0 0 #119000 inset;
  127. }
  128. .ui.table tr.positive td,
  129. .ui.table td.positive {
  130. background-color: #F2F8F0!important;
  131. color: #119000!important;
  132. }
  133. .ui.celled.table tr.positive:hover td,
  134. .ui.celled.table tr:hover td.positive,
  135. .ui.table tr.positive:hover td,
  136. .ui.table td:hover.positive,
  137. .ui.table th:hover.positive {
  138. background-color: #ECF5E9!important;
  139. color: #119000!important;
  140. }
  141. .ui.table tr.negative,
  142. .ui.table td.negative {
  143. -webkit-box-shadow: 2px 0 0 #CD2929 inset;
  144. box-shadow: 2px 0 0 #CD2929 inset;
  145. }
  146. .ui.table tr.negative td,
  147. .ui.table td.negative {
  148. background-color: #F9F4F4;
  149. color: #CD2929!important;
  150. }
  151. .ui.celled.table tr.negative:hover td,
  152. .ui.celled.table tr:hover td.negative,
  153. .ui.table tr.negative:hover td,
  154. .ui.table td:hover.negative,
  155. .ui.table th:hover.negative {
  156. background-color: #F2E8E8;
  157. color: #CD2929;
  158. }
  159. .ui.table tr.error,
  160. .ui.table td.error {
  161. -webkit-box-shadow: 2px 0 0 #CD2929 inset;
  162. box-shadow: 2px 0 0 #CD2929 inset;
  163. }
  164. .ui.table tr.error td,
  165. .ui.table td.error,
  166. .ui.table th.error {
  167. background-color: #F9F4F4;
  168. color: #CD2929;
  169. }
  170. .ui.celled.table tr.error:hover td,
  171. .ui.celled.table tr:hover td.error,
  172. .ui.table tr.error:hover td,
  173. .ui.table td:hover.error,
  174. .ui.table th:hover.error {
  175. background-color: #F2E8E8;
  176. color: #CD2929;
  177. }
  178. .ui.table tr.warning,
  179. .ui.table td.warning {
  180. -webkit-box-shadow: 2px 0 0 #7D6C00 inset;
  181. box-shadow: 2px 0 0 #7D6C00 inset;
  182. }
  183. .ui.table tr.warning td,
  184. .ui.table td.warning,
  185. .ui.table th.warning {
  186. background-color: #FBF6E9;
  187. color: #7D6C00;
  188. }
  189. .ui.celled.table tr.warning:hover td,
  190. .ui.celled.table tr:hover td.warning,
  191. .ui.table tr.warning:hover td,
  192. .ui.table td:hover.warning,
  193. .ui.table th:hover.warning {
  194. background-color: #F3EDDC;
  195. color: #7D6C00;
  196. }
  197. .ui.table tr.active,
  198. .ui.table td.active {
  199. -webkit-box-shadow: 2px 0 0 rgba(50,50,50,.9) inset;
  200. box-shadow: 2px 0 0 rgba(50,50,50,.9) inset;
  201. }
  202. .ui.table tr.active td,
  203. .ui.table tr td.active {
  204. background-color: #E0E0E0;
  205. color: rgba(50,50,50,.9);
  206. }
  207. .ui.table tr.disabled td,
  208. .ui.table tr td.disabled,
  209. .ui.table tr.disabled:hover td,
  210. .ui.table tr:hover td.disabled {
  211. color: rgba(150,150,150,.3);
  212. }
  213. .ui.two.column.table td {
  214. width: 50%;
  215. }
  216. .ui.three.column.table td {
  217. width: 33.3333%;
  218. }
  219. .ui.four.column.table td {
  220. width: 25%;
  221. }
  222. .ui.five.column.table td {
  223. width: 20%;
  224. }
  225. .ui.six.column.table td {
  226. width: 16.66667%;
  227. }
  228. .ui.seven.column.table td {
  229. width: 14.2857%;
  230. }
  231. .ui.eight.column.table td {
  232. width: 12.5%;
  233. }
  234. .ui.nine.column.table td {
  235. width: 11.1111%;
  236. }
  237. .ui.ten.column.table td {
  238. width: 10%;
  239. }
  240. .ui.eleven.column.table td {
  241. width: 9.0909%;
  242. }
  243. .ui.twelve.column.table td {
  244. width: 8.3333%;
  245. }
  246. .ui.thirteen.column.table td {
  247. width: 7.6923%;
  248. }
  249. .ui.fourteen.column.table td {
  250. width: 7.1428%;
  251. }
  252. .ui.fifteen.column.table td {
  253. width: 6.6666%;
  254. }
  255. .ui.sixteen.column.table td {
  256. width: 6.25%;
  257. }
  258. .ui.table th.one.wide,
  259. .ui.table td.one.wide {
  260. width: 6.25%;
  261. }
  262. .ui.table th.two.wide,
  263. .ui.table td.two.wide {
  264. width: 12.5%;
  265. }
  266. .ui.table th.three.wide,
  267. .ui.table td.three.wide {
  268. width: 18.75%;
  269. }
  270. .ui.table th.four.wide,
  271. .ui.table td.four.wide {
  272. width: 25%;
  273. }
  274. .ui.table th.five.wide,
  275. .ui.table td.five.wide {
  276. width: 31.25%;
  277. }
  278. .ui.table th.six.wide,
  279. .ui.table td.six.wide {
  280. width: 37.5%;
  281. }
  282. .ui.table th.seven.wide,
  283. .ui.table td.seven.wide {
  284. width: 43.75%;
  285. }
  286. .ui.table th.eight.wide,
  287. .ui.table td.eight.wide {
  288. width: 50%;
  289. }
  290. .ui.table th.nine.wide,
  291. .ui.table td.nine.wide {
  292. width: 56.25%;
  293. }
  294. .ui.table th.ten.wide,
  295. .ui.table td.ten.wide {
  296. width: 62.5%;
  297. }
  298. .ui.table th.eleven.wide,
  299. .ui.table td.eleven.wide {
  300. width: 68.75%;
  301. }
  302. .ui.table th.twelve.wide,
  303. .ui.table td.twelve.wide {
  304. width: 75%;
  305. }
  306. .ui.table th.thirteen.wide,
  307. .ui.table td.thirteen.wide {
  308. width: 81.25%;
  309. }
  310. .ui.table th.fourteen.wide,
  311. .ui.table td.fourteen.wide {
  312. width: 87.5%;
  313. }
  314. .ui.table th.fifteen.wide,
  315. .ui.table td.fifteen.wide {
  316. width: 93.75%;
  317. }
  318. .ui.table th.sixteen.wide,
  319. .ui.table td.sixteen.wide {
  320. width: 100%;
  321. }
  322. .ui.celled.table {
  323. color: rgba(0,0,0,.8);
  324. }
  325. .ui.celled.table tbody tr,
  326. .ui.celled.table tfoot tr {
  327. border: 0;
  328. }
  329. .ui.celled.table th,
  330. .ui.celled.table td {
  331. border: 1px solid rgba(0,0,0,.1);
  332. }
  333. .ui.celled.table.segment th:first-child,
  334. .ui.celled.table.segment td:first-child {
  335. border-left: 0;
  336. }
  337. .ui.celled.table.segment th:last-child,
  338. .ui.celled.table.segment td:last-child {
  339. border-right: 0;
  340. }
  341. .ui.sortable.table thead th {
  342. cursor: pointer;
  343. white-space: nowrap;
  344. }
  345. .ui.sortable.table thead th.sorted,
  346. .ui.sortable.table thead th.sorted:hover {
  347. -webkit-user-select: none;
  348. -moz-user-select: none;
  349. -ms-user-select: none;
  350. user-select: none;
  351. }
  352. .ui.sortable.table thead th:after {
  353. display: inline-block;
  354. content: '';
  355. width: 1em;
  356. opacity: .8;
  357. margin: 0 0 0 .5em;
  358. font-family: Icons;
  359. font-style: normal;
  360. font-weight: 400;
  361. text-decoration: inherit;
  362. }
  363. .ui.sortable.table thead th.ascending:after {
  364. content: '\25b4';
  365. }
  366. .ui.sortable.table thead th.descending:after {
  367. content: '\25be';
  368. }
  369. .ui.inverted.table td {
  370. color: rgba(255,255,255,.9);
  371. }
  372. .ui.inverted.table th {
  373. background-color: rgba(0,0,0,.15);
  374. color: rgba(255,255,255,.9);
  375. }
  376. .ui.inverted.table tbody tr:nth-child(2n) {
  377. background-color: rgba(255,255,255,.06);
  378. }
  379. .ui.definition.table td:first-child {
  380. font-weight: 700;
  381. }
  382. .ui.collapsing.table {
  383. width: auto;
  384. }
  385. .ui.basic.table th {
  386. background-color: transparent;
  387. padding: .5em;
  388. }
  389. .ui.basic.table tbody tr {
  390. border-bottom: 1px solid rgba(0,0,0,.03);
  391. }
  392. .ui.basic.table td {
  393. padding: .8em .5em;
  394. }
  395. .ui.basic.table tbody tr:nth-child(2n) {
  396. background-color: transparent!important;
  397. }
  398. .ui.padded.table th,
  399. .ui.padded.table td {
  400. padding: .8em 1em;
  401. }
  402. .ui.compact.table th {
  403. padding: .3em .5em;
  404. }
  405. .ui.compact.table td {
  406. padding: .2em .5em;
  407. }
  408. .ui.small.table {
  409. font-size: .875em;
  410. }
  411. .ui.table {
  412. font-size: 1em;
  413. }
  414. .ui.large.table {
  415. font-size: 1.1em;
  416. }