Skip to content

Commit

Permalink
src added
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwind committed Apr 3, 2024
1 parent 010f3af commit a12c6aa
Show file tree
Hide file tree
Showing 3 changed files with 855 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/css/avalynx-datatable.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/**
* AvalynxDataTable
*
* A simple, lightweight, and customizable data table for the web. Based on Bootstrap >=5.3 without any framework dependencies.
*
* @version 0.0.1
* @license MIT
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
* @website https://github.com/avalynx/
* @repository https://github.com/avalynx/avalynx-datatable.git
* @bugs https://github.com/avalynx/avalynx-datatable/issues
*/

.avalynx-datatable-table th.avalynx-datatable-sorting,
.avalynx-datatable-table td.avalynx-datatable-sorting,
.avalynx-datatable-table th.avalynx-datatable-sorting-,
.avalynx-datatable-table td.avalynx-datatable-sorting-asc,
.avalynx-datatable-table th.avalynx-datatable-sorting-desc,
.avalynx-datatable-table td.avalynx-datatable-sorting-desc,
.avalynx-datatable-table th.avalynx-datatable-sorting-asc_disabled,
.avalynx-datatable-table td.avalynx-datatable-sorting-asc_disabled,
.avalynx-datatable-table th.avalynx-datatable-sorting-desc_disabled,
.avalynx-datatable-table td.avalynx-datatable-sorting-desc_disabled {
cursor: pointer;
padding-right: 1.625rem;
position: relative;
}

.avalynx-datatable-table th.avalynx-datatable-sorting:before,
.avalynx-datatable-table th.avalynx-datatable-sorting:after,
.avalynx-datatable-table td.avalynx-datatable-sorting:before,
.avalynx-datatable-table td.avalynx-datatable-sorting:after {
font-size: 0.8em;
line-height: 0.5625rem;
opacity: .125;
position: absolute;
right: 0.625rem;
}

.avalynx-datatable-table th.avalynx-datatable-sorting:before,
.avalynx-datatable-table td.avalynx-datatable-sorting:before,
.avalynx-datatable-table th.avalynx-datatable-sorting-asc:before,
.avalynx-datatable-table td.avalynx-datatable-sorting-asc:before,
.avalynx-datatable-table th.avalynx-datatable-sorting-desc:before,
.avalynx-datatable-table td.avalynx-datatable-sorting-desc:before {
bottom: 50%;
content: "▲";
}

.avalynx-datatable-table th.avalynx-datatable-sorting:after,
.avalynx-datatable-table td.avalynx-datatable-sorting:after,
.avalynx-datatable-table th.avalynx-datatable-sorting-asc:after,
.avalynx-datatable-table td.avalynx-datatable-sorting-asc:after,
.avalynx-datatable-table th.avalynx-datatable-sorting-desc:after,
.avalynx-datatable-table td.avalynx-datatable-sorting-desc:after {
top: 50%;
content: "▼";
}

.avalynx-datatable-table th.avalynx-datatable-sorting-asc:before,
.avalynx-datatable-table th.avalynx-datatable-sorting-desc:after,
.avalynx-datatable-table td.avalynx-datatable-sorting-asc:before,
.avalynx-datatable-table td.avalynx-datatable-sorting-desc:after {
opacity: .7;
}
Loading

0 comments on commit a12c6aa

Please sign in to comment.