datatables.net-select-dt 3.1.2 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  table.dataTable > tbody > tr > .selected {
2
2
  background-color: rgba(13, 110, 253, 0.9);
3
- color: white;
3
+ color: rgb(var(--dt-row-selected-text));
4
4
  }
5
5
 
6
6
  div.dt-container span.select-info,
@@ -8,6 +8,13 @@ div.dt-container span.select-item {
8
8
  margin-left: 0.5em;
9
9
  }
10
10
 
11
+ @media screen and (max-width: 640px) {
12
+ div.dt-container span.select-info,
13
+ div.dt-container span.select-item {
14
+ margin-left: 0;
15
+ display: block;
16
+ }
17
+ }
11
18
  table.dataTable > tbody > tr > .dt-select {
12
19
  text-align: center;
13
20
  vertical-align: middle;
@@ -93,11 +100,3 @@ html.dark table.dataTable input.dt-select-checkbox:indeterminate:after,
93
100
  html[data-bs-theme=dark] table.dataTable input.dt-select-checkbox:indeterminate:after {
94
101
  background-color: white;
95
102
  }
96
-
97
- @media screen and (max-width: 640px) {
98
- div.dt-container span.select-info,
99
- div.dt-container span.select-item {
100
- margin-left: 0;
101
- display: block;
102
- }
103
- }
@@ -1 +1 @@
1
- table.dataTable>tbody>tr>.selected{background-color:rgba(13, 110, 253, 0.9);color:white}div.dt-container span.select-info,div.dt-container span.select-item{margin-left:.5em}table.dataTable>tbody>tr>.dt-select{text-align:center;vertical-align:middle}table.dataTable>thead>tr>.dt-select{text-align:center;vertical-align:middle}table.dataTable>thead>tr>.dt-select input.dt-select-checkbox{margin-left:auto;margin-right:auto}table.dataTable input.dt-select-checkbox{appearance:none;position:relative;display:inline-block;width:12px;height:12px;border:1px solid;border-radius:3px;vertical-align:middle;margin-top:1px;color:inherit;font-size:20px;line-height:1em}table.dataTable input.dt-select-checkbox:checked:after{display:block;content:"✓";margin-top:-8px}table.dataTable input.dt-select-checkbox:indeterminate:after{display:block;position:absolute;content:" ";top:3px;left:3px;height:4px;width:4px;background-color:black;border-radius:2px}table.dataTable>tbody>tr.selected input.dt-select-checkbox:checked{border:1px solid}table.dataTable>tbody>tr>td.select-checkbox,table.dataTable>tbody>tr>th.select-checkbox{position:relative}table.dataTable>tbody>tr>td.select-checkbox:before,table.dataTable>tbody>tr>th.select-checkbox:before{display:block;position:absolute;top:50%;left:50%;width:12px;height:12px;box-sizing:border-box;content:" ";margin-top:-6px;margin-left:-6px;border:1px solid;border-radius:3px}table.dataTable>tbody>tr.selected>td.select-checkbox:before,table.dataTable>tbody>tr.selected>th.select-checkbox:before{border:1px solid;content:"✓";font-size:20px;line-height:6px;text-align:center}table.dataTable.compact>tbody>tr>td.select-checkbox:before,table.dataTable.compact>tbody>tr>th.select-checkbox:before{margin-top:-12px}table.dataTable.compact>tbody>tr.selected>td.select-checkbox:after,table.dataTable.compact>tbody>tr.selected>th.select-checkbox:after{margin-top:-16px}html.dark table.dataTable input.dt-select-checkbox:indeterminate:after,html[data-bs-theme=dark] table.dataTable input.dt-select-checkbox:indeterminate:after{background-color:white}@media screen and (max-width: 640px){div.dt-container span.select-info,div.dt-container span.select-item{margin-left:0;display:block}}
1
+ table.dataTable>tbody>tr>.selected{background-color:rgba(13, 110, 253, 0.9);color:rgb(var(--dt-row-selected-text))}div.dt-container span.select-info,div.dt-container span.select-item{margin-left:.5em}@media screen and (max-width: 640px){div.dt-container span.select-info,div.dt-container span.select-item{margin-left:0;display:block}}table.dataTable>tbody>tr>.dt-select{text-align:center;vertical-align:middle}table.dataTable>thead>tr>.dt-select{text-align:center;vertical-align:middle}table.dataTable>thead>tr>.dt-select input.dt-select-checkbox{margin-left:auto;margin-right:auto}table.dataTable input.dt-select-checkbox{appearance:none;position:relative;display:inline-block;width:12px;height:12px;border:1px solid;border-radius:3px;vertical-align:middle;margin-top:1px;color:inherit;font-size:20px;line-height:1em}table.dataTable input.dt-select-checkbox:checked:after{display:block;content:"✓";margin-top:-8px}table.dataTable input.dt-select-checkbox:indeterminate:after{display:block;position:absolute;content:" ";top:3px;left:3px;height:4px;width:4px;background-color:black;border-radius:2px}table.dataTable>tbody>tr.selected input.dt-select-checkbox:checked{border:1px solid}table.dataTable>tbody>tr>td.select-checkbox,table.dataTable>tbody>tr>th.select-checkbox{position:relative}table.dataTable>tbody>tr>td.select-checkbox:before,table.dataTable>tbody>tr>th.select-checkbox:before{display:block;position:absolute;top:50%;left:50%;width:12px;height:12px;box-sizing:border-box;content:" ";margin-top:-6px;margin-left:-6px;border:1px solid;border-radius:3px}table.dataTable>tbody>tr.selected>td.select-checkbox:before,table.dataTable>tbody>tr.selected>th.select-checkbox:before{border:1px solid;content:"✓";font-size:20px;line-height:6px;text-align:center}table.dataTable.compact>tbody>tr>td.select-checkbox:before,table.dataTable.compact>tbody>tr>th.select-checkbox:before{margin-top:-12px}table.dataTable.compact>tbody>tr.selected>td.select-checkbox:after,table.dataTable.compact>tbody>tr.selected>th.select-checkbox:after{margin-top:-16px}html.dark table.dataTable input.dt-select-checkbox:indeterminate:after,html[data-bs-theme=dark] table.dataTable input.dt-select-checkbox:indeterminate:after{background-color:white}
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "module": "js/select.dataTables.mjs",
6
6
  "style": "css/select.dataTables.css",
7
7
  "types": "./types/select.dataTables.d.ts",
8
- "version": "3.1.2",
8
+ "version": "3.1.3",
9
9
  "files": [
10
10
  "css/**/*.css",
11
11
  "js/**/*.js",
@@ -22,7 +22,7 @@
22
22
  "sort"
23
23
  ],
24
24
  "dependencies": {
25
- "datatables.net-select": "3.1.2",
25
+ "datatables.net-select": "3.1.3",
26
26
  "datatables.net-dt": "^2",
27
27
  "jquery": ">=1.7"
28
28
  },