source: main/trunk/model-sites-dev/cambridge-museum/collect/waikato-independent/pre-import/EditableDatabaseTable/WebContent/header-media/DataTables-1.10.22/css/dataTables.bootstrap4.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: 5.7 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 border-spacing: 0;
8}
9table.dataTable td,
10table.dataTable th {
11 -webkit-box-sizing: content-box;
12 box-sizing: content-box;
13}
14table.dataTable td.dataTables_empty,
15table.dataTable th.dataTables_empty {
16 text-align: center;
17}
18table.dataTable.nowrap th,
19table.dataTable.nowrap td {
20 white-space: nowrap;
21}
22
23div.dataTables_wrapper div.dataTables_length label {
24 font-weight: normal;
25 text-align: left;
26 white-space: nowrap;
27}
28div.dataTables_wrapper div.dataTables_length select {
29 width: auto;
30 display: inline-block;
31}
32div.dataTables_wrapper div.dataTables_filter {
33 text-align: right;
34}
35div.dataTables_wrapper div.dataTables_filter label {
36 font-weight: normal;
37 white-space: nowrap;
38 text-align: left;
39}
40div.dataTables_wrapper div.dataTables_filter input {
41 margin-left: 0.5em;
42 display: inline-block;
43 width: auto;
44}
45div.dataTables_wrapper div.dataTables_info {
46 padding-top: 0.85em;
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 justify-content: flex-end;
57}
58div.dataTables_wrapper div.dataTables_processing {
59 position: absolute;
60 top: 50%;
61 left: 50%;
62 width: 200px;
63 margin-left: -100px;
64 margin-top: -26px;
65 text-align: center;
66 padding: 1em 0;
67}
68
69table.dataTable > thead > tr > th:active,
70table.dataTable > thead > tr > td:active {
71 outline: none;
72}
73table.dataTable > thead > tr > th:not(.sorting_disabled),
74table.dataTable > thead > tr > td:not(.sorting_disabled) {
75 padding-right: 30px;
76}
77table.dataTable > thead .sorting,
78table.dataTable > thead .sorting_asc,
79table.dataTable > thead .sorting_desc,
80table.dataTable > thead .sorting_asc_disabled,
81table.dataTable > thead .sorting_desc_disabled {
82 cursor: pointer;
83 position: relative;
84}
85table.dataTable > thead .sorting:before, table.dataTable > thead .sorting:after,
86table.dataTable > thead .sorting_asc:before,
87table.dataTable > thead .sorting_asc:after,
88table.dataTable > thead .sorting_desc:before,
89table.dataTable > thead .sorting_desc:after,
90table.dataTable > thead .sorting_asc_disabled:before,
91table.dataTable > thead .sorting_asc_disabled:after,
92table.dataTable > thead .sorting_desc_disabled:before,
93table.dataTable > thead .sorting_desc_disabled:after {
94 position: absolute;
95 bottom: 0.9em;
96 display: block;
97 opacity: 0.3;
98}
99table.dataTable > thead .sorting:before,
100table.dataTable > thead .sorting_asc:before,
101table.dataTable > thead .sorting_desc:before,
102table.dataTable > thead .sorting_asc_disabled:before,
103table.dataTable > thead .sorting_desc_disabled:before {
104 right: 1em;
105 content: "\2191";
106}
107table.dataTable > thead .sorting:after,
108table.dataTable > thead .sorting_asc:after,
109table.dataTable > thead .sorting_desc:after,
110table.dataTable > thead .sorting_asc_disabled:after,
111table.dataTable > thead .sorting_desc_disabled:after {
112 right: 0.5em;
113 content: "\2193";
114}
115table.dataTable > thead .sorting_asc:before,
116table.dataTable > thead .sorting_desc:after {
117 opacity: 1;
118}
119table.dataTable > thead .sorting_asc_disabled:before,
120table.dataTable > thead .sorting_desc_disabled:after {
121 opacity: 0;
122}
123
124div.dataTables_scrollHead table.dataTable {
125 margin-bottom: 0 !important;
126}
127
128div.dataTables_scrollBody table {
129 border-top: none;
130 margin-top: 0 !important;
131 margin-bottom: 0 !important;
132}
133div.dataTables_scrollBody table thead .sorting:before,
134div.dataTables_scrollBody table thead .sorting_asc:before,
135div.dataTables_scrollBody table thead .sorting_desc:before,
136div.dataTables_scrollBody table thead .sorting:after,
137div.dataTables_scrollBody table thead .sorting_asc:after,
138div.dataTables_scrollBody table thead .sorting_desc:after {
139 display: none;
140}
141div.dataTables_scrollBody table tbody tr:first-child th,
142div.dataTables_scrollBody table tbody tr:first-child td {
143 border-top: none;
144}
145
146div.dataTables_scrollFoot > .dataTables_scrollFootInner {
147 box-sizing: content-box;
148}
149div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
150 margin-top: 0 !important;
151 border-top: none;
152}
153
154@media screen and (max-width: 767px) {
155 div.dataTables_wrapper div.dataTables_length,
156 div.dataTables_wrapper div.dataTables_filter,
157 div.dataTables_wrapper div.dataTables_info,
158 div.dataTables_wrapper div.dataTables_paginate {
159 text-align: center;
160 }
161 div.dataTables_wrapper div.dataTables_paginate ul.pagination {
162 justify-content: center !important;
163 }
164}
165table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
166 padding-right: 20px;
167}
168table.dataTable.table-sm .sorting:before,
169table.dataTable.table-sm .sorting_asc:before,
170table.dataTable.table-sm .sorting_desc:before {
171 top: 5px;
172 right: 0.85em;
173}
174table.dataTable.table-sm .sorting:after,
175table.dataTable.table-sm .sorting_asc:after,
176table.dataTable.table-sm .sorting_desc:after {
177 top: 5px;
178}
179
180table.table-bordered.dataTable {
181 border-right-width: 0;
182}
183table.table-bordered.dataTable th,
184table.table-bordered.dataTable td {
185 border-left-width: 0;
186}
187table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
188table.table-bordered.dataTable td:last-child,
189table.table-bordered.dataTable td:last-child {
190 border-right-width: 1px;
191}
192table.table-bordered.dataTable tbody th,
193table.table-bordered.dataTable tbody td {
194 border-bottom-width: 0;
195}
196
197div.dataTables_scrollHead table.table-bordered {
198 border-bottom-width: 0;
199}
200
201div.table-responsive > div.dataTables_wrapper > div.row {
202 margin: 0;
203}
204div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
205 padding-left: 0;
206}
207div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
208 padding-right: 0;
209}
Note: See TracBrowser for help on using the repository browser.