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.

10 lines
12 KiB

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. .ui.table{width:100%;background:#fff;margin:1em 0;border:1px solid #d0d0d0;box-shadow:none;border-radius:.25rem;color:rgba(0,0,0,.8);border-collapse:separate;border-spacing:0}.ui.table:first-child{margin-top:0}.ui.table:last-child{margin-bottom:0}.ui.table td,.ui.table th{-webkit-transition:all .2s ease;transition:all .2s ease}.ui.table thead{box-shadow:none}.ui.table thead th{cursor:auto;background:#f0f0f0;text-align:left;color:rgba(0,0,0,.8);padding:.7em .8em;vertical-align:middle;font-style:none;font-weight:700;text-transform:none;border-bottom:1px solid #d4d4d5;border-left:none}.ui.table thead th:first-child{border-radius:.25rem 0 0;border-left:none}.ui.table thead th:last-child{border-radius:0 .25rem 0 0}.ui.table thead th:only-child{border-radius:.25rem .25rem 0 0}.ui.table tfoot{box-shadow:none}.ui.table tfoot th{cursor:auto;border-top:1px solid #d4d4d5;background:#fff;text-align:left;color:rgba(0,0,0,.8);padding:.7em .8em;vertical-align:middle;font-style:normal;font-weight:400;text-transform:none}.ui.table tfoot th:first-child{border-radius:0 0 0 .25rem}.ui.table tfoot th:last-child{border-radius:0 0 .25rem}.ui.table tfoot th:only-child{border-radius:0 0 .25rem .25rem}.ui.table tr td{border-top:1px solid #d4d4d5}.ui.table tr:first-child td{border-top:none}.ui.table td{padding:.7em .8em;text-align:left;vertical-align:middle}.ui.table>.icon{vertical-align:baseline}.ui.table>.icon:only-child{margin:0}.ui.table.segment{padding:0}.ui.table.segment:after{display:none}.ui.table.segment.stacked:after{display:block}@media only screen and (max-width:768px){.ui.table{display:block;padding:0}.ui.table tbody,.ui.table tfoot,.ui.table thead,.ui.table tr{display:block}.ui.table tr>td,.ui.table tr>th{background:0 0;width:100%!important;display:block;border:none!important;padding:.25em .75em;box-shadow:none}.ui.table td:first-child,.ui.table th:first-child{font-weight:700;padding-top:1em}.ui.table td:last-child,.ui.table th:last-child{box-shadow:0 -1px 0 0 rgba(0,0,0,.1) inset;padding-bottom:1em}.ui.table tr>td.active,.ui.table tr>td.error,.ui.table tr>td.negative,.ui.table tr>td.positive,.ui.table tr>td.warning{background-color:transparent!important}}.ui.definition.table thead:not(.full-width) th:first-child{pointer-events:none;background:0 0;font-weight:400;color:rgba(0,0,0,.4);box-shadow:-1px -1px 0 1px #fff}.ui.definition.table tfoot:not(.full-width) th:first-child{pointer-events:none;background:0 0;font-weight:rgba(0,0,0,.4);color:normal;box-shadow:1px 1px 0 1px #fff}.ui.celled.definition.table thead:not(.full-width) th:first-child{box-shadow:0 -1px 0 1px #fff}.ui.celled.definition.table tfoot:not(.full-width) th:first-child{box-shadow:0 1px 0 1px #fff}.ui.definition.table tr td:first-child{background:rgba(0,0,0,.03);font-weight:700;color:rgba(0,0,0,.8)}.ui.definition.table td:nth-child(2),.ui.definition.table tfoot:not(.full-width) th:nth-child(2),.ui.definition.table thead:not(.full-width) th:nth-child(2){border-left:1px solid #d0d0d0}.ui.table td.positive,.ui.table tr.positive{box-shadow:0 0 0 #b7caa7 inset}.ui.table td.positive,.ui.table tr.positive td{background:#eeffe7!important;color:#3c763d!important}.ui.celled.table tr.positive:hover td,.ui.celled.table tr:hover td.positive{background:#e3ffd8!important;color:#376c38!important}.ui.table td.negative,.ui.table tr.negative{box-shadow:0 0 0 #dbb1b1 inset}.ui.table td.negative,.ui.table tr.negative td{background:#fff0f0!important;color:#cd2929!important}.ui.celled.table tr.negative:hover td,.ui.celled.table tr:hover td.negative{background:#ffe1e1!important;color:#c02626!important}.ui.table td.error,.ui.table tr.error{box-shadow:0 0 0 #dbb1b1 inset}.ui.table td.error,.ui.table tr.error td{background:#fff0f0!important;color:#cd2929!important}.ui.celled.table tr.error:hover td,.ui.celled.table tr:hover td.error{background:#ffe1e1!important;color:#c02626!important}.ui.table td.warning,.ui.table tr.warning{box-shadow:0 0 0 #d9caab inset}.ui.table td.warning,.ui.table tr.warning td{background:#fffbe6!important;color:#7d6c00!important}.ui.celled.table tr.warning:hover td,.ui.ce