10 lines
15 KiB
CSS
10 lines
15 KiB
CSS
|
/*!
|
||
|
* # Semantic UI 1.11.4 - Table
|
||
|
* http://github.com/semantic-org/semantic-ui/
|
||
|
*
|
||
|
*
|
||
|
* Copyright 2014 Contributors
|
||
|
* Released under the MIT license
|
||
|
* http://opensource.org/licenses/MIT
|
||
|
*
|
||
|
*/.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:background .2s ease,border-color .2s ease,color .2s ease;transition:background .2s ease,border-color .2s ease,color .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 tr>th:first-child{border-left:none}.ui.table thead tr:first-child>th:first-child{border-radius:.25rem 0 0}.ui.table thead tr:first-child>th:last-child{border-radius:0 .25rem 0 0}.ui.table thead tr:first-child>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 tr>th:first-child{border-left:none}.ui.table tfoot tr:first-child>th:first-child{border-radius:0 0 0 .25rem}.ui.table tfoot tr:first-child>th:last-child{border-radius:0 0 .25rem}.ui.table tfoot tr:first-child>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:767px){.ui.table:not(.unstackable){width:100%}.ui.table:not(.unstackable) tbody,.ui.table:not(.unstackable) tr,.ui.table:not(.unstackable) tr>td,.ui.table:not(.unstackable) tr>th{width:auto!important;display:block!important}.ui.table:not(.unstackable){padding:0}.ui.table:not(.unstackable) tfoot,.ui.table:not(.unstackable) thead{display:block}.ui.table:not(.unstackable) tr>td,.ui.table:not(.unstackable) tr>th{background:0 0;border:none!important;padding:.25em .75em;box-shadow:none}.ui.table:not(.unstackable) td:first-child,.ui.table:not(.unstackable) th:first-child{font-weight:700;padding-top:1em}.ui.table:not(.unstackable) td:last-child,.ui.table:not(.unstackable) th:last-child{box-shadow:0 -1px 0 0 rgba(0,0,0,.1) inset;padding-bottom:1em}.ui.table:not(.unstackable) tr>td.active,.ui.table:not(.unstackable) tr>td.error,.ui.table:not(.unstackable) tr>td.negative,.ui.table:not(.unstackable) tr>td.positive,.ui.table:not(.unstackable) tr>td.warning{background-color:transparent!important}.ui.definition.table:not(.unstackable) thead th:first-child{box-shadow:none!important}.ui.definition.table:not(.unstackable) tr td:first-child{padding-bottom:1em}.ui.definition.table:not(.unstackable) tr td:nth-child(n+2){padding-top:1em}}.ui.table td .image,.ui.table td .image img,.ui.table th .image,.ui.table th .image img{max-width:none}.ui.structured.table{border-collapse:collapse}.ui.structured.table thead th{border-left:none;border-right:none}.ui.structured.sortable.table thead th{border-left:1px solid #d0d0d0;border-right:1px solid #d0d0d0}.ui.structured.basic.table th{border-left:none;border-right:none}.ui.structured.celled.table tr td,.ui.structured.celled.table tr th{border-left:1px solid #d4d4d5;border-right:1px solid #d4d4d5}.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
|