/* * # Semantic - Table * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2014 Contributor * Released under the MIT license * http://opensource.org/licenses/MIT * */ /******************************* Theme *******************************/ /* ███████╗███████╗███╗ ███╗ █████╗ ███╗ ██╗████████╗██╗ ██████╗ ██╗ ██╗██╗ ██╔════╝██╔════╝████╗ ████║██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██║ ██║██║ ███████╗█████╗ ██╔████╔██║███████║██╔██╗ ██║ ██║ ██║██║ ██║ ██║██║ ╚════██║██╔══╝ ██║╚██╔╝██║██╔══██║██║╚██╗██║ ██║ ██║██║ ██║ ██║██║ ███████║███████╗██║ ╚═╝ ██║██║ ██║██║ ╚████║ ██║ ██║╚██████╗ ╚██████╔╝██║ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ */ /******************************* Folders *******************************/ /* Path to theme packages */ /* Path to site override folder */ /******************************* Themes *******************************/ /* To override a theme for an individual element specify theme name below Be sure to update the user folder name (see README) */ /* Global */ /* Elements */ /* Collections */ /* Modules */ /* Views */ /******************************* Import Directives *******************************/ /*------------------ Load Default -------------------*/ /******************************* Site Settings *******************************/ /*------------------- Paths --------------------*/ /*------------------- Fonts --------------------*/ /*------------------- Site Colors --------------------*/ /*--- Colors ---*/ /*------------------- Page --------------------*/ /*------------------- Background Colors --------------------*/ /* Used for differentiating neutrals */ /* Used for differentiating layers */ /*------------------- Grid --------------------*/ /*------------------- Breakpoints --------------------*/ /******************************* Power-User *******************************/ /*------------------- Icons --------------------*/ /* Max Width of Icon */ /*------------------- Easing --------------------*/ /*--- Light Variations ---*/ /*--- Neutrals ---*/ /*--- Colored Backgrounds ---*/ /*--- Colored Text ---*/ /*--- Colored Headers ---*/ /*------------------- Emotive Colors --------------------*/ /* Mood */ /* Solid Background Color */ /* Status */ /* Darkened Headers */ /*------------------- Neutral Text --------------------*/ /*------------------- Brand Colors --------------------*/ /*------------------- Grid Columns --------------------*/ /*------------------- Borders --------------------*/ /*------------------- Sizes --------------------*/ /*------------------- Transitions --------------------*/ /******************************* States *******************************/ /*------------------- Disabled --------------------*/ /*------------------- Hover --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /*------------------- Down (:active) --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /*------------------- Active --------------------*/ /*--- Standard ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /******************************* Table *******************************/ /*------------------- Element --------------------*/ /*-------------- Parts ---------------*/ /* Table Row */ /* Table Cell */ /* Table Header */ /* Table Footer */ /* Responsive Size */ /*-------------- Couplings ---------------*/ /*-------------- States ---------------*/ /* Positive */ /* Negative */ /* Error */ /* Warning */ /* Active */ /*-------------- Types ---------------*/ /* Striped */ /* Sortable */ /* Colors */ /* Inverted */ /* Definition */ /* Basic */ /* Padded */ /* Compact */ /* Sizes */ /*------------------ Load Theme -------------------*/ /*------------------ Load Site -------------------*/ /******************************* User Global Variables *******************************/ /******************************* User Variable Overrides *******************************/ /*------------------ Override Mix-in -------------------*/ /******************************* Table *******************************/ /* Prototype */ .ui.table { width: 100%; background: #ffffff; margin: 1em 0em; border: 1px solid #d0d0d0; box-shadow: none; border-radius: 0.25rem; color: rgba(0, 0, 0, 0.8); border-collapse: separate; border-spacing: 0px; } .ui.table:first-child { margin-top: 0em; } .ui.table:last-child { margin-bottom: 0em; } /******************************* Parts *******************************/ /* Table Content */ .ui.table th, .ui.table td { -webkit-transition: all 0.2s ease; transition: all 0.2s ease; } /* Headers */ .ui.table thead { box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.05); } .ui.table thead th { cursor: auto; background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: linear-gradient(transparent, rgba(0, 0, 0, 0.05)); text-align: left; color: rgba(0, 0, 0, 0.8); padding: 0.7em 0.8em; vertical-align: middle; font-style: none; font-weight: bold; text-transform: none; border-bottom: 1px solid #dddddd; border-left: none; } .ui.table thead th:first-child { border-radius: 0.25rem 0em 0em 0em; border-left: none; } .ui.table thead th:last-child { border-radius: 0em 0.25rem 0em 0em; } /* Footer */ .ui.table tfoot { box-shadow: 0px -1px 1px 0px rgba(0, 0, 0, 0.05); } .ui.table tfoot th { cursor: auto; border-top: 1px solid #dddddd; background: rgba(0, 0, 0, 0.05); text-align: left; color: rgba(0, 0, 0, 0.8); padding: 0.7em 0.8em; vertical-align: middle; font-style: normal; font-weight: normal; text-transform: none; } .ui.table tfoot th:first-child { border-radius: 0em 0em 0em 0.25rem; } .ui.table tfoot th:last-child { border-radius: 0em 0em 0.25rem 0em; } /* Table Row */ .ui.table tr td { border-top: 1px solid #dddddd; } .ui.table tr:first-child td { border-top: none; } /* Table Cells */ .ui.table td { padding: 0.7em 0.8em; vertical-align: middle; } /* Icons */ .ui.table > .icon { vertical-align: baseline; } .ui.table > .icon:only-child { margin: 0em; } /* Table Segment */ .ui.table.segment { padding: 0em; } .ui.table.segment:after { display: none; } .ui.table.segment.stacked:after { display: block; } /* Responsive */ @media only screen and (max-width: 768px) { .ui.table { display: block; padding: 0em; } .ui.table thead { display: block; } .ui.table tfoot { display: block; } .ui.table tbody { display: block; } .ui.table tr { display: block; } .ui.table tr > th, .ui.table tr > td { background: none; width: 100% !important; display: block; border: none !important; padding: 0.25em 0.75em; box-shadow: none; } .ui.table th:first-child, .ui.table td:first-child { font-weight: bold; padding-top: 1em; } .ui.table th:last-child, .ui.table td:last-child { box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset; padding-bottom: 1em; } /* Clear BG Colors */ .ui.table tr > td.warning, .ui.table tr > td.error, .ui.table tr > td.active, .ui.table tr > td.positive, .ui.table tr > td.negative { background-color: transparent !important; } } /******************************* States *******************************/ /*-------------- Positive ---------------*/ .ui.table tr.positive, .ui.table td.positive { box-shadow: 2px 0px 0px #119000 inset; } .ui.table tr.positive td, .ui.table td.positive { background: #f2f8f0 !important; color: #119000 !important; } .ui.celled.table tr.positive:hover td, .ui.celled.table tr:hover td.positive, .ui.table tr.positive:hover td, .ui.table td:hover.positive, .ui.table th:hover.positive { background: #ecf5e9 !important; color: #119000 !important; } /*-------------- Negative ---------------*/ .ui.table tr.negative, .ui.table td.negative { box-shadow: 2px 0px 0px #cd2929 inset; } .ui.table tr.negative td, .ui.table td.negative { 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; } /*-------------- Error ---------------*/ .ui.table tr.error, .ui.table td.error { box-shadow: 2px 0px 0px #cd2929 inset; } .ui.table tr.error td, .ui.table td.error { 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; } /*-------------- Warning ---------------*/ .ui.table tr.warning, .ui.table td.warning { box-shadow: 2px 0px 0px #7d6c00 inset; } .ui.table tr.warning td, .ui.table td.warning { background: #fbf6e9 !important; color: #7d6c00 !important; } .ui.celled.table tr.warning:hover td, .ui.celled.table tr:hover td.warning { background: #f3eddc !important; color: #cd2929 !important; } /*-------------- Active ---------------*/ .ui.table tr.active, .ui.table td.active { box-shadow: 2px 0px 0px rgba(50, 50, 50, 0.9) inset; } .ui.table tr.active td, .ui.table td.active { background: #e0e0e0 !important; color: rgba(50, 50, 50, 0.9) !important; } .ui.celled.table tr.active:hover td, .ui.celled.table tr:hover td.active { background: #e0e0e0 !important; color: rgba(50, 50, 50, 0.9) !important; } /*-------------- Disabled ---------------*/ .ui.table tr.disabled td, .ui.table tr td.disabled, .ui.table tr.disabled:hover td, .ui.table tr:hover td.disabled { color: rgba(150, 150, 150, 0.3); } /******************************* Variations *******************************/ /*-------------- Striped ---------------*/ /* Table Striping */ .ui.striped.table > tr:nth-child(2n), .ui.striped.table tbody tr:nth-child(2n) { background-color: rgba(0, 0, 50, 0.03); } /* Stripes */ .ui.inverted.striped.table > tr:nth-child(2n), .ui.inverted.striped.table tbody tr:nth-child(2n) { background-color: rgba(255, 255, 255, 0.06); } /*------------------- Colors --------------------*/ .ui.black.table { border-top: 0.2em solid #191919; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.blue.table { border-top: 0.2em solid #0074d9; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.green.table { border-top: 0.2em solid #2ecc40; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.orange.table { border-top: 0.2em solid #ff851b; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.pink.table { border-top: 0.2em solid #d9499a; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.purple.table { border-top: 0.2em solid #a24096; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.red.table { border-top: 0.2em solid #ff4136; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.teal.table { border-top: 0.2em solid #39cccc; border-radius: 0em 0em 0.25rem 0.25rem; } .ui.yellow.table { border-top: 0.2em solid #ffcb08; border-radius: 0em 0em 0.25rem 0.25rem; } /*------------------- Inverted Colors --------------------*/ .ui.inverted.table, .ui.inverted.black.table { background-color: #191919 !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.blue.table { background-color: #0074d9 !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.green.table { background-color: #2ecc40 !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.orange.table { background-color: #ff851b !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.pink.table { background-color: #d9499a !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.purple.table { background-color: #a24096 !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.red.table { background-color: #ff4136 !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.teal.table { background-color: #39cccc !important; border-radius: 0.25rem; color: #ffffff !important; } .ui.inverted.yellow.table { background-color: #ffcb08 !important; border-radius: 0.25rem; color: #ffffff !important; } /*-------------- Column Count ---------------*/ /* Grid Based */ .ui.one.column.table td { width: 100%; } .ui.two.column.table td { width: 50%; } .ui.three.column.table td { width: 33.33333333%; } .ui.four.column.table td { width: 25%; } .ui.five.column.table td { width: 20%; } .ui.six.column.table td { width: 16.66666667%; } .ui.seven.column.table td { width: 14.28571429%; } .ui.eight.column.table td { width: 12.5%; } .ui.nine.column.table td { width: 11.11111111%; } .ui.ten.column.table td { width: 10%; } .ui.eleven.column.table td { width: 9.09090909%; } .ui.twelve.column.table td { width: 8.33333333%; } .ui.thirteen.column.table td { width: 7.69230769%; } .ui.fourteen.column.table td { width: 7.14285714%; } .ui.fifteen.column.table td { width: 6.66666667%; } .ui.sixteen.column.table td { width: 6.25%; } /* Column Width */ .ui.table th.one.wide, .ui.table td.one.wide { width: 6.25%; } .ui.table th.two.wide, .ui.table td.two.wide { width: 12.5%; } .ui.table th.three.wide, .ui.table td.three.wide { width: 18.75%; } .ui.table th.four.wide, .ui.table td.four.wide { width: 25%; } .ui.table th.five.wide, .ui.table td.five.wide { width: 31.25%; } .ui.table th.six.wide, .ui.table td.six.wide { width: 37.5%; } .ui.table th.seven.wide, .ui.table td.seven.wide { width: 43.75%; } .ui.table th.eight.wide, .ui.table td.eight.wide { width: 50%; } .ui.table th.nine.wide, .ui.table td.nine.wide { width: 56.25%; } .ui.table th.ten.wide, .ui.table td.ten.wide { width: 62.5%; } .ui.table th.eleven.wide, .ui.table td.eleven.wide { width: 68.75%; } .ui.table th.twelve.wide, .ui.table td.twelve.wide { width: 75%; } .ui.table th.thirteen.wide, .ui.table td.thirteen.wide { width: 81.25%; } .ui.table th.fourteen.wide, .ui.table td.fourteen.wide { width: 87.5%; } .ui.table th.fifteen.wide, .ui.table td.fifteen.wide { width: 93.75%; } .ui.table th.sixteen.wide, .ui.table td.sixteen.wide { width: 100%; } /*-------------- Celled ---------------*/ .ui.celled.table th, .ui.celled.table td { border-left: 1px solid #dddddd; } .ui.celled.table th:first-child, .ui.celled.table td:first-child { border-left: none; } /*-------------- Sortable ---------------*/ .ui.sortable.table thead th { cursor: pointer; white-space: nowrap; border-left: 1px solid rgba(0, 0, 0, 0.1); } .ui.sortable.table thead th:first-child { border-left: none; } .ui.sortable.table thead th.sorted, .ui.sortable.table thead th.sorted:hover { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .ui.sortable.table thead th:after { display: inline-block; content: ''; width: 1em; opacity: 0.8; margin: 0em 0em 0em 0.5em; font-family: 'Icons'; font-style: normal; font-weight: normal; text-decoration: inherit; } .ui.sortable.table thead th.ascending:after { content: '\f0d7'; } .ui.sortable.table thead th.descending:after { content: '\f0d8'; } /* Sorted */ .ui.sortable.table thead th.sorted { background: rgba(0, 0, 0, 0.05) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: rgba(0, 0, 0, 0.05) linear-gradient(transparent, rgba(0, 0, 0, 0.05)); color: rgba(0, 0, 0, 0.8); } /* Hover */ .ui.sortable.table th.disabled:hover { cursor: auto; color: rgba(0, 0, 0, 0.2); } .ui.sortable.table thead th:hover { background: rgba(0, 0, 0, 0.03) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: rgba(0, 0, 0, 0.03) linear-gradient(transparent, rgba(0, 0, 0, 0.05)); color: rgba(0, 0, 0, 0.8); } /* Inverted */ .ui.inverted.sortable.table thead th.sorted { background: rgba(255, 255, 255, 0.01) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: rgba(255, 255, 255, 0.01) linear-gradient(transparent, rgba(0, 0, 0, 0.05)); color: #ffffff; } .ui.inverted.sortable.table thead th:hover { background: rgba(255, 255, 255, 0.05) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05)); background: rgba(255, 255, 255, 0.05) linear-gradient(transparent, rgba(0, 0, 0, 0.05)); color: #ffffff; } .ui.inverted.sortable.table thead th { border-left-color: transparent; } /*-------------- Inverted ---------------*/ /* Text Color */ .ui.inverted.table { background: #333333; color: #ffffff; border: none; } .ui.inverted.table th { background-color: rgba(0, 0, 0, 0.15); border-color: rgba(0, 0, 0, 0.2); color: rgba(255, 255, 255, 0.9); } .ui.inverted.table tr td { border-color: rgba(0, 0, 0, 0.2); } /*-------------- Definition ---------------*/ .ui.definition.table td:first-child { background: ''; font-weight: bold; color: rgba(0, 0, 0, 0.8); } /*-------------- Collapsing ---------------*/ .ui.collapsing.table { width: auto; } /*-------------- Basic ---------------*/ .ui.basic.table { background: transparent; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: none; } .ui.basic.table thead, .ui.basic.table tfoot { box-shadow: none; } .ui.basic.table th { background: transparent; border-left: none; } .ui.basic.table tbody tr { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .ui.basic.table td { background: transparent; } .ui.basic.striped.table tbody tr:nth-child(2n) { background-color: rgba(0, 0, 0, 0.05) !important; } /* Very Basic */ .ui.very.basic.table { border: none; } .ui.very.basic.table:not(.sortable):not(.striped) th, .ui.very.basic.table:not(.sortable):not(.striped) td { padding: 0.8em 0em; } .ui.very.basic.table:not(.sortable):not(.striped) thead th { padding-top: 0em; } .ui.very.basic.table:not(.sortable):not(.striped) tbody tr:last-child td { padding-bottom: 0em; } /*-------------- Padded ---------------*/ .ui.padded.table th { padding-left: 1em; padding-right: 1em; } .ui.padded.table th, .ui.padded.table td { padding: 1em 1em; } /* Very */ .ui.very.padded.table th { padding-left: 1.5em; padding-right: 1.5em; } .ui.very.padded.table td { padding: 1.5em 1.5em; } /*-------------- Compact ---------------*/ .ui.compact.table th { padding-left: 0.7em; padding-right: 0.7em; } .ui.compact.table td { padding: 0.5em 0.7em; } /* Very */ .ui.very.compact.table th { padding-left: 0.6em; padding-right: 0.6em; } .ui.very.compact.table td { padding: 0.4em 0.6em; } /*-------------- Sizes ---------------*/ /* Small */ .ui.small.table { font-size: 0.9em; } /* Standard */ .ui.table { font-size: 1em; } /* Large */ .ui.large.table { font-size: 1.1em; } /******************************* Overrides *******************************/ /******************************* Overrides *******************************/