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. * git://github.com/Semantic-Org/Semantic-UI.git#1.0
  4. *
  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:2px 0 0 #119000 inset}.ui.table td.positive,.ui.table tr.positive td{background:#f2f8f0!important;color:#119000!important}.ui.celled.table tr.positive:hover td,.ui.celled.table tr:hover td.positive,.ui.table td:hover.positive,.ui.table th:hover.positive,.ui.table tr.positive:hover td{background:#ecf5e9!important;color:#119000!important}.ui.table td.negative,.ui.table tr.negative{box-shadow:2px 0 0 #cd2929 inset}.ui.table td.negative,.ui.table tr.negative td{background:#f9f4f4!important;color:#cd2929!important}.ui.celled.table tr.negative:hover td,.ui.celled.table tr:hover td.negative{background:#f2e8e8!important;color:#cd2929!important}.ui.table td.error,.ui.table tr.error{box-shadow:2px 0 0 #cd2929 inset}.ui.table td.error,.ui.table tr.error td{background:#f9f4f4!important;color:#cd2929!important}.ui.celled.table tr.error:hover td,.ui.celled.table tr:hover td.error{background:#f2e8e8!important;color:#cd2929!important}.ui.table td.warning,.ui.table tr.warning{box-shadow:2px 0 0 #7d6c00 inset}.ui.table td.warning,.ui.table tr.warning td{b