diff --git a/static/css/tables.css b/static/css/tables.css new file mode 100644 index 0000000..abae78e --- /dev/null +++ b/static/css/tables.css @@ -0,0 +1,120 @@ +table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child, +table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child { + position: relative; + padding-left: 30px; + cursor: pointer; +} +table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before, +table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before { + top: 10px; + left: initial; + right: 15px; + height: 16px; + width: 16px; + color: initial; + border: initial; + border-radius: initial; + text-align: initial; + line-height: initial; + box-shadow: initial; + box-sizing: initial; + background-color: initial; + display: block; + position: absolute; + background-image: url(../img/search-plus.svg); + background-repeat: no-repeat; + background-size: 16px 16px; + content: ''; +} +table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child.dataTables_empty:before, +table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child.dataTables_empty:before { + display: none; +} +table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before, +table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before { + background-color: initial; + background-image: url(../img/minus-square.svg); + background-repeat: no-repeat; + background-size: 16px 16px; + content: ''; +} +table.dataTable.dtr-inline.collapsed > tbody > tr.child td:before { + display: none; +} +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td:first-child, +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th:first-child { + padding-left: 27px; +} +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td:first-child:before, +table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th:first-child:before { + top: 5px; + left: 4px; + height: 14px; + width: 14px; + border-radius: 14px; + line-height: 12px; +} +table.dataTable.dtr-column > tbody > tr > td.control, +table.dataTable.dtr-column > tbody > tr > th.control { + position: relative; + cursor: pointer; + width: 15px; +} +table.dataTable.dtr-column > tbody > tr > td.control:before, +table.dataTable.dtr-column > tbody > tr > th.control:before { + top: initial; + left: initial; + height: 16px; + width: 16px; + margin-top: auto; + margin-left: auto; + display: block; + position: absolute; + background-image: url(../img/search-plus.svg); + background-repeat: no-repeat; + background-size: 16px 16px; + content: ''; + color: initial; + border: initial; + border-radius: initial; + text-align: initial; + line-height: initial; + box-shadow: initial; + box-sizing: initial; + background-color: initial; +} +table.dataTable.dtr-column > tbody > tr.parent td.control:before, +table.dataTable.dtr-column > tbody > tr.parent th.control:before { + background-color: initial; + background-image: url(../img/minus-square.svg); + background-repeat: no-repeat; + background-size: 16px 16px; + content: ''; +} +table.dataTable > tbody > tr.child { + padding: 0.5em 1em; +} +table.dataTable > tbody > tr.child:hover { + background: transparent !important; +} +table.dataTable > tbody > tr.child ul { + display: inline-block; + list-style-type: none; + margin: 0; + padding: 0; +} +table.dataTable > tbody > tr.child ul li { + border-bottom: 1px solid #efefef; + padding: 0.5em 0; +} +table.dataTable > tbody > tr.child ul li:first-child { + padding-top: 0; +} +table.dataTable > tbody > tr.child ul li:last-child { + border-bottom: none; +} +table.dataTable > tbody > tr.child span.dtr-title { + display: inline-block; + min-width: 75px; + font-weight: bold; +} \ No newline at end of file diff --git a/static/img/minus-square.svg b/static/img/minus-square.svg new file mode 100644 index 0000000..30fcd62 --- /dev/null +++ b/static/img/minus-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/search-plus.svg b/static/img/search-plus.svg new file mode 100644 index 0000000..d7fc4b7 --- /dev/null +++ b/static/img/search-plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/up-arrow-black.png b/static/img/up-arrow-black.png deleted file mode 100644 index ad37471..0000000 Binary files a/static/img/up-arrow-black.png and /dev/null differ diff --git a/static/img/up-arrow-black.svg b/static/img/up-arrow-black.svg deleted file mode 100644 index 843f74b..0000000 --- a/static/img/up-arrow-black.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/static/img/up-arrow-white.png b/static/img/up-arrow-white.png deleted file mode 100644 index 176e6c3..0000000 Binary files a/static/img/up-arrow-white.png and /dev/null differ diff --git a/static/img/up-arrow-white.svg b/static/img/up-arrow-white.svg deleted file mode 100644 index 80d89ac..0000000 --- a/static/img/up-arrow-white.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - -