source: main/trunk/model-sites-dev/cambridge-museum/collect/waikato-independent/pre-import/EditableDatabaseTable/WebContent/header-media/DataTables-1.10.22/css/dataTables.bootstrap.css@ 34511

Last change on this file since 34511 was 34511, checked in by davidb, 4 years ago

Evolution of code away from Company model to one that uses RecordHashmap to represent the rows coming out of the JDBC database

File size: 4.9 KB
Line 
1table.dataTable {
2 clear: both;
3 margin-top: 6px !important;
4 margin-bottom: 6px !important;
5 max-width: none !important;
6 border-collapse: separate !important;
7}
8table.dataTable td,
9table.dataTable th {
10 -webkit-box-sizing: content-box;
11 box-sizing: content-box;
12}
13table.dataTable td.dataTables_empty,
14table.dataTable th.dataTables_empty {
15 text-align: center;
16}
17table.dataTable.nowrap th,
18table.dataTable.nowrap td {
19 white-space: nowrap;
20}
21
22div.dataTables_wrapper div.dataTables_length label {
23 font-weight: normal;
24 text-align: left;
25 white-space: nowrap;
26}
27div.dataTables_wrapper div.dataTables_length select {
28 width: 75px;
29 display: inline-block;
30}
31div.dataTables_wrapper div.dataTables_filter {
32 text-align: right;
33}
34div.dataTables_wrapper div.dataTables_filter label {
35 font-weight: normal;
36 white-space: nowrap;
37 text-align: left;
38}
39div.dataTables_wrapper div.dataTables_filter input {
40 margin-left: 0.5em;
41 display: inline-block;
42 width: auto;
43}
44div.dataTables_wrapper div.dataTables_info {
45 padding-top: 8px;
46 white-space: nowrap;
47}
48div.dataTables_wrapper div.dataTables_paginate {
49 margin: 0;
50 white-space: nowrap;
51 text-align: right;
52}
53div.dataTables_wrapper div.dataTables_paginate ul.pagination {
54 margin: 2px 0;
55 white-space: nowrap;
56}
57div.dataTables_wrapper div.dataTables_processing {
58 position: absolute;
59 top: 50%;
60 left: 50%;
61 width: 200px;
62 margin-left: -100px;
63 margin-top: -26px;
64 text-align: center;
65 padding: 1em 0;
66}
67
68table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
69table.dataTable thead > tr > td.sorting_asc,
70table.dataTable thead > tr > td.sorting_desc,
71table.dataTable thead > tr > td.sorting {
72 padding-right: 30px;
73}
74table.dataTable thead > tr > th:active,
75table.dataTable thead > tr > td:active {
76 outline: none;
77}
78table.dataTable thead .sorting,
79table.dataTable thead .sorting_asc,
80table.dataTable thead .sorting_desc,
81table.dataTable thead .sorting_asc_disabled,
82table.dataTable thead .sorting_desc_disabled {
83 cursor: pointer;
84 position: relative;
85}
86table.dataTable thead .sorting:after,
87table.dataTable thead .sorting_asc:after,
88table.dataTable thead .sorting_desc:after,
89table.dataTable thead .sorting_asc_disabled:after,
90table.dataTable thead .sorting_desc_disabled:after {
91 position: absolute;
92 bottom: 8px;
93 right: 8px;
94 display: block;
95 font-family: 'Glyphicons Halflings';
96 opacity: 0.5;
97}
98table.dataTable thead .sorting:after {
99 opacity: 0.2;
100 content: "\e150";
101 /* sort */
102}
103table.dataTable thead .sorting_asc:after {
104 content: "\e155";
105 /* sort-by-attributes */
106}
107table.dataTable thead .sorting_desc:after {
108 content: "\e156";
109 /* sort-by-attributes-alt */
110}
111table.dataTable thead .sorting_asc_disabled:after,
112table.dataTable thead .sorting_desc_disabled:after {
113 color: #eee;
114}
115
116div.dataTables_scrollHead table.dataTable {
117 margin-bottom: 0 !important;
118}
119
120div.dataTables_scrollBody > table {
121 border-top: none;
122 margin-top: 0 !important;
123 margin-bottom: 0 !important;
124}
125div.dataTables_scrollBody > table > thead .sorting:after,
126div.dataTables_scrollBody > table > thead .sorting_asc:after,
127div.dataTables_scrollBody > table > thead .sorting_desc:after {
128 display: none;
129}
130div.dataTables_scrollBody > table > tbody > tr:first-child > th,
131div.dataTables_scrollBody > table > tbody > tr:first-child > td {
132 border-top: none;
133}
134
135div.dataTables_scrollFoot > .dataTables_scrollFootInner {
136 box-sizing: content-box;
137}
138div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
139 margin-top: 0 !important;
140 border-top: none;
141}
142
143@media screen and (max-width: 767px) {
144 div.dataTables_wrapper div.dataTables_length,
145 div.dataTables_wrapper div.dataTables_filter,
146 div.dataTables_wrapper div.dataTables_info,
147 div.dataTables_wrapper div.dataTables_paginate {
148 text-align: center;
149 }
150}
151table.dataTable.table-condensed > thead > tr > th {
152 padding-right: 20px;
153}
154table.dataTable.table-condensed .sorting:after,
155table.dataTable.table-condensed .sorting_asc:after,
156table.dataTable.table-condensed .sorting_desc:after {
157 top: 6px;
158 right: 6px;
159}
160
161table.table-bordered.dataTable {
162 border-right-width: 0;
163}
164table.table-bordered.dataTable th,
165table.table-bordered.dataTable td {
166 border-left-width: 0;
167}
168table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
169table.table-bordered.dataTable td:last-child,
170table.table-bordered.dataTable td:last-child {
171 border-right-width: 1px;
172}
173table.table-bordered.dataTable tbody th,
174table.table-bordered.dataTable tbody td {
175 border-bottom-width: 0;
176}
177
178div.dataTables_scrollHead table.table-bordered {
179 border-bottom-width: 0;
180}
181
182div.table-responsive > div.dataTables_wrapper > div.row {
183 margin: 0;
184}
185div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
186 padding-left: 0;
187}
188div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
189 padding-right: 0;
190}
Note: See TracBrowser for help on using the repository browser.