FarisaRahmaSari_E31222327/public/plugins/RWD-Table-Patterns/dist/css/rwd-table.css

360 lines
16 KiB
CSS

/*!
* Responsive Tables v5.3.3 (http://gergeo.se/RWD-Table-Patterns)
* This is an awesome solution for responsive tables with complex data.
* Authors: Nadan Gergeo <nadan@blimp.se> (www.blimp.se), Lucas Wiener <lucas@blimp.se> & "Maggie Wachs (www.filamentgroup.com)"
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
*/
.dropdown-menu > li.checkbox-row {
padding: 5px 20px;
}
.dropdown-menu li.checkbox-row {
display: block;
clear: both;
font-weight: normal;
line-height: 20px;
color: #333333;
white-space: nowrap;
}
.dropdown-menu li.checkbox-row label {
font-weight: normal;
}
.dropdown-menu li.checkbox-row:hover,
.dropdown-menu li.checkbox-row input:hover,
.dropdown-menu li.checkbox-row label:hover {
cursor: pointer;
}
.no-touch .dropdown-menu > .checkbox-row:hover,
.no-touch .dropdown-menu > .checkbox-row:active {
text-decoration: none;
color: #262626;
background-color: #f5f5f5;
}
.btn-toolbar {
margin-bottom: 20px;
}
.lt-ie8 .btn-toolbar {
display: none;
}
.table-responsive {
border-radius: 3px;
border: 1px solid #ddd;
margin-bottom: 20px;
}
.table-responsive > .table {
margin-bottom: 0;
}
.table-responsive > .table-bordered {
border: 0;
}
.table-responsive > .table-bordered > thead > tr > th:first-child,
.table-responsive > .table-bordered > tbody > tr > th:first-child,
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
.table-responsive > .table-bordered > thead > tr > td:first-child,
.table-responsive > .table-bordered > tbody > tr > td:first-child,
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.table-responsive > .table-bordered > thead > tr > th:last-child,
.table-responsive > .table-bordered > tbody > tr > th:last-child,
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
.table-responsive > .table-bordered > thead > tr > td:last-child,
.table-responsive > .table-bordered > tbody > tr > td:last-child,
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.table-responsive > .table-bordered > tbody > tr:last-child > th,
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
.table-responsive > .table-bordered > tbody > tr:last-child > td,
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
.table-responsive[data-pattern="priority-columns"] {
width: 100%;
margin-bottom: 20px;
overflow-y: hidden;
overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
border-radius: 3px;
border: 1px solid #ddd;
-webkit-overflow-scrolling: touch;
}
.table-responsive[data-pattern="priority-columns"] > .table {
margin-bottom: 0;
}
.table-responsive[data-pattern="priority-columns"] > .table > thead > tr > th,
.table-responsive[data-pattern="priority-columns"] > .table > tbody > tr > th,
.table-responsive[data-pattern="priority-columns"] > .table > tfoot > tr > th,
.table-responsive[data-pattern="priority-columns"] > .table > thead > tr > td,
.table-responsive[data-pattern="priority-columns"] > .table > tbody > tr > td,
.table-responsive[data-pattern="priority-columns"] > .table > tfoot > tr > td {
white-space: nowrap;
}
.table-responsive[data-pattern="priority-columns"] > .table-bordered {
border: 0;
}
.table-responsive[data-pattern="priority-columns"] > .table-bordered > thead > tr > th:first-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tbody > tr > th:first-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tfoot > tr > th:first-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > thead > tr > td:first-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tbody > tr > td:first-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.table-responsive[data-pattern="priority-columns"] > .table-bordered > thead > tr > th:last-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tbody > tr > th:last-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tfoot > tr > th:last-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > thead > tr > td:last-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tbody > tr > td:last-child,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tbody > tr:last-child > th,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tfoot > tr:last-child > th,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tbody > tr:last-child > td,
.table-responsive[data-pattern="priority-columns"] > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
.table-responsive.absolute-solution {
position: relative;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="-1"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="-1"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="-1"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="-1"],
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="0"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="0"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="0"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="0"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="1"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="1"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="1"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="1"],
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="2"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="2"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="2"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="2"],
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="3"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="3"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="3"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="3"],
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="4"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="4"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="4"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="4"],
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="5"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="5"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="5"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="5"],
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="6"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="6"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="6"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="6"] {
display: none;
}
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="1"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header th[data-priority="1"],
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="1"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header td[data-priority="1"] {
display: inline;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="1"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="1"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="1"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="1"] {
display: table-cell;
}
@media screen and (min-width: 480px) {
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="2"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header th[data-priority="2"],
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="2"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header td[data-priority="2"] {
display: inline;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="2"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="2"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="2"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="2"] {
display: table-cell;
}
}
@media screen and (min-width: 640px) {
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="3"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header th[data-priority="3"],
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="3"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header td[data-priority="3"] {
display: inline;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="3"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="3"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="3"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="3"] {
display: table-cell;
}
}
@media screen and (min-width: 800px) {
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="4"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header th[data-priority="4"],
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="4"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header td[data-priority="4"] {
display: inline;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="4"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="4"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="4"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="4"] {
display: table-cell;
}
}
@media screen and (min-width: 960px) {
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="5"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header th[data-priority="5"],
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="5"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header td[data-priority="5"] {
display: inline;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="5"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="5"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="5"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="5"] {
display: table-cell;
}
}
@media screen and (min-width: 1120px) {
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="6"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header th[data-priority="6"],
.lt-ie9.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="6"],
.lt-ie9.mq.js.lt-ie10 .sticky-table-header td[data-priority="6"] {
display: inline;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th[data-priority="6"],
.mq.js.lt-ie10 .sticky-table-header th[data-priority="6"],
.mq.js .table-responsive[data-pattern="priority-columns"] td[data-priority="6"],
.mq.js.lt-ie10 .sticky-table-header td[data-priority="6"] {
display: table-cell;
}
}
.mq.js .table-responsive[data-pattern="priority-columns"] th.cell-hide,
.mq.js.lt-ie10 .sticky-table-header th.cell-hide,
.mq.js .table-responsive[data-pattern="priority-columns"] td.cell-hide,
.mq.js.lt-ie10 .sticky-table-header td.cell-hide {
display: none;
}
.mq.js .table-responsive[data-pattern="priority-columns"] th.cell-show,
.mq.js.lt-ie10 .sticky-table-header th.cell-show,
.mq.js .table-responsive[data-pattern="priority-columns"] td.cell-show,
.mq.js.lt-ie10 .sticky-table-header td.cell-show {
display: table-cell;
}
.lt-ie9 .mq.js .table-responsive[data-pattern="priority-columns"] th.cell-show,
.lt-ie9 .mq.js.lt-ie10 .sticky-table-header th.cell-show,
.lt-ie9 .mq.js .table-responsive[data-pattern="priority-columns"] td.cell-show,
.lt-ie9 .mq.js.lt-ie10 .sticky-table-header td.cell-show {
display: inline;
}
.lt-ie9 .mq.js .table-responsive[data-pattern="priority-columns"].display-all th,
.lt-ie9 .mq.js.lt-ie10 .sticky-table-header.display-all th,
.lt-ie9 .mq.js .table-responsive[data-pattern="priority-columns"].display-all td,
.lt-ie9 .mq.js.lt-ie10 .sticky-table-header.display-all td {
display: inline !important;
}
.lt-ie9 .mq.js .table-responsive[data-pattern="priority-columns"].display-all th[data-priority="-1"],
.lt-ie9 .mq.js.lt-ie10 .sticky-table-header.display-all th[data-priority="-1"],
.lt-ie9 .mq.js .table-responsive[data-pattern="priority-columns"].display-all td[data-priority="-1"],
.lt-ie9 .mq.js.lt-ie10 .sticky-table-header.display-all td[data-priority="-1"] {
display: none !important;
}
.mq.js .table-responsive[data-pattern="priority-columns"] table.display-all th,
.mq.js.lt-ie10 .sticky-table-header table.display-all th,
.mq.js .table-responsive[data-pattern="priority-columns"] table.display-all td,
.mq.js.lt-ie10 .sticky-table-header table.display-all td {
display: table-cell !important;
}
.mq.js .table-responsive[data-pattern="priority-columns"] table.display-all th[data-priority="-1"],
.mq.js.lt-ie10 .sticky-table-header table.display-all th[data-priority="-1"],
.mq.js .table-responsive[data-pattern="priority-columns"] table.display-all td[data-priority="-1"],
.mq.js.lt-ie10 .sticky-table-header table.display-all td[data-priority="-1"] {
display: none !important;
}
table.table-small-font {
font-size: 12px;
-webkit-text-size-adjust: none;
line-height: 1.5em;
}
table.focus-on tbody tr:hover,
table.focus-on tfoot tr:hover {
cursor: pointer;
}
table.focus-on tbody tr.unfocused th,
table.focus-on tfoot tr.unfocused th,
table.focus-on tbody tr.unfocused td,
table.focus-on tfoot tr.unfocused td {
color: #777777;
color: rgba(0, 0, 0, 0.4);
}
table.focus-on tbody tr.focused th,
table.focus-on tfoot tr.focused th,
table.focus-on tbody tr.focused td,
table.focus-on tfoot tr.focused td {
background-color: #5bc0de;
color: #000;
}
.sticky-table-header {
background-color: #fff;
border: none;
border-radius: 0;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
visibility: hidden;
z-index: 990;
overflow: hidden;
}
.fixed-solution .sticky-table-header {
position: fixed;
min-width: 0;
}
.absolute-solution .sticky-table-header {
position: absolute;
min-width: 100%;
top: 0;
}
.sticky-table-header.border-radius-fix {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.sticky-table-header > .table {
margin-bottom: 0;
}
.sticky-table-header > .table > thead > tr > th,
.sticky-table-header > .table > tbody > tr > th,
.sticky-table-header > .table > tfoot > tr > th,
.sticky-table-header > .table > thead > tr > td,
.sticky-table-header > .table > tbody > tr > td,
.sticky-table-header > .table > tfoot > tr > td {
white-space: nowrap;
}
.sticky-table-header > .table-bordered {
border: 0;
}
.sticky-table-header > .table-bordered > thead > tr > th:first-child,
.sticky-table-header > .table-bordered > tbody > tr > th:first-child,
.sticky-table-header > .table-bordered > tfoot > tr > th:first-child,
.sticky-table-header > .table-bordered > thead > tr > td:first-child,
.sticky-table-header > .table-bordered > tbody > tr > td:first-child,
.sticky-table-header > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.sticky-table-header > .table-bordered > thead > tr > th:last-child,
.sticky-table-header > .table-bordered > tbody > tr > th:last-child,
.sticky-table-header > .table-bordered > tfoot > tr > th:last-child,
.sticky-table-header > .table-bordered > thead > tr > td:last-child,
.sticky-table-header > .table-bordered > tbody > tr > td:last-child,
.sticky-table-header > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.sticky-table-header > .table-bordered > tbody > tr:last-child > th,
.sticky-table-header > .table-bordered > tfoot > tr:last-child > th,
.sticky-table-header > .table-bordered > tbody > tr:last-child > td,
.sticky-table-header > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}