镜像自地址
https://github.com/TopRealm/SemanticResultFormats.git
已同步 2024-06-02 23:40:16 +08:00
ed9f36e6e7
* fix sorting with $wgCachePages * fix sorting with $wgCachePages * fix datatable collation * added datatable hook * hook + datatables v2 * datatable v2 * datatable v2 (fixed comment error) * datatables modules * datatables richer features * datatables native options * datatables native options * datatables v2 revised * datatables v2 api * datatables v2 ajax * datatables v2 ajax * datatables messages * datatables v2 merge with old design * datatables ajax loading * updated max length * updated sliced result * fixed mainlabel * fixed mainlabel * datatables v2 search * datatables v2 search * fix pageLength * fix pagelength * fix pagelength * fix pagelength * fix space * added parser * pageLength and style * fix parser * fix load datatables extra * Rename resources/jquery/datatables/jquery.dataTables.bootstrap.css to resources/jquery/datatables-legacy/jquery.dataTables.bootstrap.css * Rename resources/jquery/datatables/jquery.dataTables.bootstrap.js to resources/jquery/datatables-legacy/jquery.dataTables.bootstrap.js * Rename resources/jquery/datatables/jquery.dataTables.extras.js to resources/jquery/datatables-legacy/jquery.dataTables.extras.js * Rename resources/jquery/datatables/jquery.dataTables_themeroller.css to resources/jquery/datatables-legacy/jquery.dataTables_themeroller.css * datatables extra v2 * datatables fix sort * datatables fix sort * datatable native options messages * added options * added options * fix class * fix margin * added options, license notice * added options, license notice * added license notice * remove console.log * moved files to legacy folder * datatables v2 (sorting - printouts parameters) * datatables v2 (sorting - printouts parameters) * datatables v2 + legacy version * datatables v2 messages * datatables legacy * Rename formats/DataTablesLegacy.php to formats/datatables-legacy/DataTablesLegacy.php * datatables legacy js * Rename formats/datatables-legacy/ext.srf.formats.datatables.js to formats/datatables-legacy/resources/ext.srf.formats.datatables.js * datatables legacy css * datatables legacy js * fix show Panes * fix cache * datatables notice * datatables notice * datatables notice * datatables notice * update cookieKey * comment labelsCount * fix template printout label * fix nested printouts parameters * fix console log * added tests * added tests * added tests * js tests * fix module * Rename ext.srf.formats.datatables.js to ext.srf.formats.datatablesLegacy.js * updated class name * added comment * datatables comment * update class vars * add type case * add type cast * fix hook BeforeQueryResultLookupComplete not called * added scrollY auto unit --------- Co-authored-by: Bernhard Krabina <bernhard.krabina@km-a.net>
245 行
4.5 KiB
CSS
245 行
4.5 KiB
CSS
|
|
|
|
/*
|
|
* Table
|
|
*/
|
|
table.dataTable {
|
|
margin: 0 auto;
|
|
clear: both;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table.dataTable thead th {
|
|
padding: 3px 0px 3px 10px;
|
|
cursor: pointer;
|
|
*cursor: hand;
|
|
}
|
|
|
|
table.dataTable tfoot th {
|
|
padding: 3px 10px;
|
|
}
|
|
|
|
table.dataTable td {
|
|
padding: 3px 10px;
|
|
}
|
|
|
|
table.dataTable td.center,
|
|
table.dataTable td.dataTables_empty {
|
|
text-align: center;
|
|
}
|
|
|
|
table.dataTable tr.odd { background-color: #E2E4FF; }
|
|
table.dataTable tr.even { background-color: white; }
|
|
|
|
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
|
|
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
|
|
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
|
|
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
|
|
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
|
|
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
|
|
|
|
|
|
/*
|
|
* Table wrapper
|
|
*/
|
|
.dataTables_wrapper {
|
|
position: relative;
|
|
clear: both;
|
|
*zoom: 1;
|
|
}
|
|
.dataTables_wrapper .ui-widget-header {
|
|
font-weight: normal;
|
|
}
|
|
.dataTables_wrapper .ui-toolbar {
|
|
padding: 5px;
|
|
}
|
|
|
|
|
|
/*
|
|
* Page length menu
|
|
*/
|
|
.dataTables_length {
|
|
float: left;
|
|
}
|
|
|
|
|
|
/*
|
|
* Filter
|
|
*/
|
|
.dataTables_filter {
|
|
float: right;
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
/*
|
|
* Table information
|
|
*/
|
|
.dataTables_info {
|
|
padding-top: 3px;
|
|
clear: both;
|
|
float: left;
|
|
}
|
|
|
|
|
|
/*
|
|
* Pagination
|
|
*/
|
|
.dataTables_paginate {
|
|
float: right;
|
|
text-align: right;
|
|
}
|
|
|
|
.dataTables_paginate .ui-button {
|
|
margin-right: -0.1em !important;
|
|
}
|
|
|
|
.paging_two_button .ui-button {
|
|
float: left;
|
|
cursor: pointer;
|
|
* cursor: hand;
|
|
}
|
|
|
|
.paging_full_numbers .ui-button {
|
|
padding: 2px 6px;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
* cursor: hand;
|
|
color: #333 !important;
|
|
}
|
|
|
|
/* Two button pagination - previous / next */
|
|
.paginate_disabled_previous,
|
|
.paginate_enabled_previous,
|
|
.paginate_disabled_next,
|
|
.paginate_enabled_next {
|
|
height: 19px;
|
|
float: left;
|
|
cursor: pointer;
|
|
*cursor: hand;
|
|
color: #111 !important;
|
|
}
|
|
.paginate_disabled_previous:hover,
|
|
.paginate_enabled_previous:hover,
|
|
.paginate_disabled_next:hover,
|
|
.paginate_enabled_next:hover {
|
|
text-decoration: none !important;
|
|
}
|
|
.paginate_disabled_previous:active,
|
|
.paginate_enabled_previous:active,
|
|
.paginate_disabled_next:active,
|
|
.paginate_enabled_next:active {
|
|
outline: none;
|
|
}
|
|
|
|
.paginate_disabled_previous,
|
|
.paginate_disabled_next {
|
|
color: #666 !important;
|
|
}
|
|
.paginate_disabled_previous,
|
|
.paginate_enabled_previous {
|
|
padding-left: 23px;
|
|
}
|
|
.paginate_disabled_next,
|
|
.paginate_enabled_next {
|
|
padding-right: 23px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
|
|
.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
|
|
.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
|
|
|
|
.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
|
|
.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
|
|
.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
|
|
|
|
/* Full number pagination */
|
|
.paging_full_numbers a:active {
|
|
outline: none
|
|
}
|
|
.paging_full_numbers a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.paging_full_numbers a.paginate_button,
|
|
.paging_full_numbers a.paginate_active {
|
|
border: 1px solid #aaa;
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
padding: 2px 5px;
|
|
margin: 0 3px;
|
|
cursor: pointer;
|
|
*cursor: hand;
|
|
color: #333 !important;
|
|
}
|
|
|
|
.paging_full_numbers a.paginate_button {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
.paging_full_numbers a.paginate_button:hover {
|
|
background-color: #ccc;
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.paging_full_numbers a.paginate_active {
|
|
background-color: #99B3FF;
|
|
}
|
|
|
|
|
|
/*
|
|
* Processing indicator
|
|
*/
|
|
.dataTables_processing {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 250px;
|
|
height: 30px;
|
|
margin-left: -125px;
|
|
margin-top: -15px;
|
|
padding: 14px 0 2px 0;
|
|
border: 1px solid #ddd;
|
|
text-align: center;
|
|
color: #999;
|
|
font-size: 14px;
|
|
background-color: white;
|
|
}
|
|
|
|
|
|
/*
|
|
* Sorting
|
|
*/
|
|
table.dataTable thead th div.DataTables_sort_wrapper {
|
|
position: relative;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
table.dataTable thead th div.DataTables_sort_wrapper span {
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -8px;
|
|
right: 0;
|
|
}
|
|
|
|
table.dataTable th:active {
|
|
outline: none;
|
|
}
|
|
|
|
|
|
/*
|
|
* Scrolling
|
|
*/
|
|
.dataTables_scroll {
|
|
clear: both;
|
|
}
|
|
|
|
.dataTables_scrollBody {
|
|
*margin-top: -1px;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|