Skip to content

Commit

Permalink
(chocolatey#430) datatables.js Select > jQuery Duallistbox
Browse files Browse the repository at this point in the history
  • Loading branch information
st3phhays committed Nov 20, 2024
1 parent b5a7da6 commit 7fcdee1
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"cssnano": "^6.1.0",
"datatables.net-bs5": "^2.0.8",
"datatables.net-dt": "^2.0.8",
"datatables.net-select": "^2.1.0",
"esbuild": "^0.20.1",
"eslint": "^9.11.1",
"eslint-config-standard": "^17.0.0",
Expand Down
20 changes: 17 additions & 3 deletions scss/libraries/_datatables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,23 @@ div.dt-container div {
}

table.table.dataTable {
&.table-striped>tbody>tr:nth-of-type(odd)>* {
box-shadow: unset;
background: var(--bs-secondary-bg);
&.table-striped>tbody>tr {
&.selected>* {
box-shadow: unset !important;
}

&.selected .bg-selected {
background-color: var(--bs-primary) !important;
color: var(--bs-primary-contrast) !important;
font-weight: bold !important;
}
}

&.table-striped>tbody>tr:nth-of-type(odd) {
>* {
box-shadow: unset;
background: var(--bs-secondary-bg);
}
}

td.dt-type-date,
Expand Down
20 changes: 20 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2211,6 +2211,7 @@ __metadata:
cssnano: "npm:^6.1.0"
datatables.net-bs5: "npm:^2.0.8"
datatables.net-dt: "npm:^2.0.8"
datatables.net-select: "npm:^2.1.0"
easymde: "npm:^2.16.1"
esbuild: "npm:^0.20.1"
eslint: "npm:^9.11.1"
Expand Down Expand Up @@ -2677,6 +2678,16 @@ __metadata:
languageName: node
linkType: hard

"datatables.net-select@npm:^2.1.0":
version: 2.1.0
resolution: "datatables.net-select@npm:2.1.0"
dependencies:
datatables.net: "npm:^2"
jquery: "npm:>=1.7"
checksum: 10c0/a6e379c49e6d14e563c91b66a67337d9ea8bcdc8c00febc9f048b7083236961dc7219c354e662954e60783a5034aaa66f85a02fb0751317f132ce15202f2378c
languageName: node
linkType: hard

"datatables.net@npm:2.1.7":
version: 2.1.7
resolution: "datatables.net@npm:2.1.7"
Expand All @@ -2686,6 +2697,15 @@ __metadata:
languageName: node
linkType: hard

"datatables.net@npm:^2":
version: 2.1.8
resolution: "datatables.net@npm:2.1.8"
dependencies:
jquery: "npm:>=1.7"
checksum: 10c0/0c669c84c03bc63610bb885f5d0e84829221e26ae1e15d9568544b6acd9df3e89aac3b74f367af4267850498cd56feb591fbcf70c8cda0b114ca325ea94da473
languageName: node
linkType: hard

"debug@npm:4, debug@npm:^4, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.6":
version: 4.3.7
resolution: "debug@npm:4.3.7"
Expand Down

0 comments on commit 7fcdee1

Please sign in to comment.