/* * # Semantic Table - Flat * http://github.com/quirkyinc/semantic * * * Copyright 2013 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * * Released: April 24 2013 */ /******************************* Table *******************************/ /* Prototype */ .ui.table { width: 100%; background-color: #FFFFFF; border-collapse: collapse; color: #444444; color: rgba(0, 0, 0, 0.75); border: 1px solid #DDDDDD; border-bottom-width: 3px; } .ui.table tr, .ui.table td { border-collapse: collapse; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; -webkit-transition: background-color 0.3s ease-out; -moz-transition: background-color 0.3s ease-out; -o-transition: background-color 0.3s ease-out; -ms-transition: background-color 0.3s ease-out; transition: background-color 0.3s ease-out; } .ui.table thead { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .ui.table th { cursor: auto; text-align: left; font-weight: bold; background-color: rgba(0, 0, 0, 0.03); color: rgba(0, 0, 0, 0.8); padding: 0.5em 0.7em; vertical-align: middle; } .ui.table td { padding: 0.40em 0.7em; vertical-align: middle; } .ui.table tfoot th { background-color: #FFFFFF; } .ui.table tfoot { border-top: 1px dotted rgba(0, 0, 0, 0.1); } /* Table Striping */ .ui.table tbody tr:nth-child(2n) { background-color: rgba(0, 0, 0, 0.03); } /* Icons */ .ui.table i.icon { vertical-align: middle; margin: 0px; } /******************************* States *******************************/ /*-------------- Hover ---------------*/ /* Grid */ .ui.grid.table tr:hover td { background-color: rgba(0, 0, 0, 0.02); color: rgba(0, 0, 0, 1); } /* Sortable */ .ui.sortable.table thead th:hover { background-image: none; background-color: rgba(0, 0, 0, 0.04); color: #333333; } .ui.sortable.table th.disabled:hover { cursor: auto; background-color: rgba(0, 0, 0, 0.1); text-align: left; font-weight: bold; color: #333333; color: rgba(0, 0, 0, 0.8); } /*-------------- Positive ---------------*/ .ui.table tr.positive td, .ui.table td.positive { background-color: #EEFFE9; color: #119000; /* border-color: #2FCB05 !important; */ } .ui.grid.table tr.positive:hover td, .ui.grid.table tr:hover td.positive, .ui.table tr.positive:hover td, .ui.table td:hover.positive, .ui.table th:hover.positive { background-color: #DEF5D7 !important; color: #119000; } /*-------------- Negative ---------------*/ .ui.table tr.negative td, .ui.table td.negative { background-color: #F8EBEB; color: #AD0000; /* border-color: #B06C6C !important; */ } .ui.grid.table tr.negative:hover td, .ui.grid.table tr:hover td.negative, .ui.table tr.negative:hover td, .ui.table td:hover.negative, .ui.table th:hover.negative { background-color: #F1DFDF !important; color: #AD0000; } /*-------------- Error ---------------*/ .ui.table tr.error td, .ui.table td.error, .ui.table th.error { background-color: #F8EBEB; color: #AD0000; font-weight: bold; /* border-color: #B06C6C !important; */ } .ui.grid.table tr.error:hover td, .ui.grid.table tr:hover td.error, .ui.table tr.error:hover td, .ui.table td:hover.error, .ui.table th:hover.error { background-color: #F1DFDF !important; color: #AD0000; } /*-------------- Warning ---------------*/ .ui.table tr.warning td, .ui.table td.warning, .ui.table th.warning { background-color: #F6F3D5; /* border-color: #CBB105 !important; */ font-weight: bold; color: #7D6C00; } .ui.grid.table tr.warning:hover td, .ui.grid.table tr:hover td.warning, .ui.table tr.warning:hover td, .ui.table td:hover.warning, .ui.table th:hover.warning { background-color: #F3EFC8 !important; color: #7D6C00; } /*-------------- Active ---------------*/ .ui.table tr.active td, .ui.table tr td.active { background-color: #E8E8E8 !important; font-weight: bold; color: #555555; /* border-color: rgba(0, 0, 0, 0.15) !important; */ } /******************************* Variations *******************************/ /*-------------- Grid ---------------*/ .ui.grid.table { color: rgba(0, 0, 0, 0.55); } .ui.grid.table tbody tr, .ui.grid.table tfoot tr { border: none; } .ui.grid.table th { border: 1px solid #E0E0E0; } .ui.grid.table tbody td { border: 1px solid #E0E0E0; -webkit-transition: color 0.5s ease-out; -moz-transition: color 0.5s ease-out; -o-transition: color 0.5s ease-out; -ms-transition: color 0.5s ease-out; transition: color 0.5s ease-out; } /* Sortable Table */ .ui.sortable.table th { cursor: pointer; color: #555555; vertical-align: top; } .ui.sortable.table th.sorted, .ui.sortable.table th.sorted:hover { background-color: rgba(0, 0, 0, 0.1); border-left: 1px solid rgba(0, 0, 0, 0.1); border-right: 1px solid rgba(0, 0, 0, 0.1); color: #333333; } .ui.sortable.table th:after { display: inline-block; content: ''; width: 1em; opacity: 0.5; margin: 0px 0px 0px 8px; font-size: 18px; line-height: 12px; font-family: 'Icons'; font-style: normal; font-weight: normal; text-decoration: inherit; vertical-align: middle; vertical-align: calc(); } .ui.sortable.table th.ascending:after { content: '\25b4'; } .ui.sortable.table th.descending:after { content: '\25be'; } /*-------------- Collapsing ---------------*/ .ui.collapsing.table { width: auto; } /*-------------- Padded ---------------*/ .ui.padded.table th, .ui.padded.table td { padding: 0.8em 1em; } .ui.compact.table th { padding: 0.3em 0.5em; } .ui.compact.table td { padding: 0.2em 0.5em; } /*-------------- Sizes ---------------*/ /* Small */ .ui.small.table { font-size: 14px; } /* Standard */ .ui.table { font-size: 16px; } /* Large */ .ui.large.table { font-size: 18px; }