2020-04-08 03:02:16 +08:00
|
|
|
// scss-lint:disable SelectorDepth SelectorFormat
|
|
|
|
// scss-lint:disable NestingDepth QualifyingElement
|
|
|
|
|
|
|
|
.dataTables_wrapper {
|
2021-03-16 20:11:15 +08:00
|
|
|
--datatable-pagination-row: 68px;
|
2020-04-22 23:55:22 +08:00
|
|
|
.main-actions {
|
2020-06-15 19:49:44 +08:00
|
|
|
align-items: center;
|
2020-04-22 23:55:22 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-06-01 16:24:03 +08:00
|
|
|
padding: 1em 0;
|
2020-04-22 23:55:22 +08:00
|
|
|
|
|
|
|
.toolbar {
|
2023-05-09 20:53:50 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2020-04-22 23:55:22 +08:00
|
|
|
flex-grow: 1;
|
2023-06-20 21:53:33 +08:00
|
|
|
gap: .25rem;
|
2020-04-22 23:55:22 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-18 21:10:34 +08:00
|
|
|
.dataTables_filter {
|
|
|
|
.search-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-05-03 04:58:11 +08:00
|
|
|
.search-icon:not(.collapsed) {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-container:not(.expand) {
|
|
|
|
display: none;
|
2022-03-18 21:10:34 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-01 16:24:03 +08:00
|
|
|
.dataTables_scrollHead {
|
|
|
|
.dataTable {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-08 03:02:16 +08:00
|
|
|
.pagination-row {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2020-04-22 23:55:22 +08:00
|
|
|
flex-wrap: wrap;
|
2023-06-14 20:40:26 +08:00
|
|
|
height: var(--datatable-pagination-row);
|
2022-12-06 22:54:50 +08:00
|
|
|
position: relative;
|
2020-04-08 03:02:16 +08:00
|
|
|
width: 100%;
|
2023-05-30 17:39:52 +08:00
|
|
|
z-index: 101;
|
2020-04-08 03:02:16 +08:00
|
|
|
|
2022-12-06 22:54:50 +08:00
|
|
|
.actions-toolbar {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-concrete;
|
|
|
|
border-bottom: 1px solid $color-alto;
|
|
|
|
display: none;
|
|
|
|
height: 70px;
|
|
|
|
overflow-x: auto;
|
|
|
|
padding: 0 1em;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
2023-03-07 18:44:03 +08:00
|
|
|
.emptyPlaceholder {
|
|
|
|
color: $color-volcano;
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
2022-12-06 22:54:50 +08:00
|
|
|
.btn {
|
2023-03-22 20:47:59 +08:00
|
|
|
margin-right: .5em;
|
2022-12-06 22:54:50 +08:00
|
|
|
}
|
2023-03-05 03:03:41 +08:00
|
|
|
|
|
|
|
.btn:focus {
|
|
|
|
box-shadow: 0 0 0 3px $brand-focus;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-light {
|
|
|
|
&:active {
|
|
|
|
background-color: $color-alto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
}
|
2022-12-06 22:54:50 +08:00
|
|
|
}
|
|
|
|
|
2020-04-08 03:02:16 +08:00
|
|
|
.pagination-info,
|
|
|
|
.pagination-actions {
|
|
|
|
flex-grow: 1;
|
2023-06-16 18:38:09 +08:00
|
|
|
|
|
|
|
.pagination,
|
|
|
|
.dataTables_paginate {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: 36px;
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-04-08 03:02:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination-info {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2020-05-06 00:17:14 +08:00
|
|
|
flex-wrap: wrap;
|
2020-04-08 03:02:16 +08:00
|
|
|
|
|
|
|
.dataTables_info {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-06 00:17:14 +08:00
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.dataTables_info {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-08 03:02:16 +08:00
|
|
|
.dataTables_length {
|
2023-06-16 18:38:09 +08:00
|
|
|
height: 2.25rem;
|
2020-04-08 03:02:16 +08:00
|
|
|
margin-right: 24px;
|
2023-06-20 21:53:33 +08:00
|
|
|
width: 180px;
|
2020-04-08 03:02:16 +08:00
|
|
|
|
|
|
|
.dropdown-selector-container {
|
|
|
|
width: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-06 00:17:14 +08:00
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.pagination-info {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-04-08 03:02:16 +08:00
|
|
|
}
|
2020-06-10 20:42:44 +08:00
|
|
|
|
2020-06-24 19:41:00 +08:00
|
|
|
tr[data-state]:not([data-state='']) {
|
2020-06-10 20:42:44 +08:00
|
|
|
td.item-name::after {
|
2020-07-15 16:52:47 +08:00
|
|
|
@include font-small;
|
2020-06-10 20:42:44 +08:00
|
|
|
background-color: $color-concrete;
|
|
|
|
color: $color-silver-chalice;
|
2020-06-12 20:14:00 +08:00
|
|
|
content: attr(data-state);
|
2020-06-10 20:42:44 +08:00
|
|
|
margin-left: 20px;
|
|
|
|
padding: .3em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2020-06-24 19:41:00 +08:00
|
|
|
|
2023-06-15 21:32:01 +08:00
|
|
|
tr[data-shared=true],
|
|
|
|
tr[data-i-shared=true] {
|
2020-06-24 19:41:00 +08:00
|
|
|
td.item-name::before {
|
|
|
|
@include font-awesome;
|
|
|
|
content: "\f0c0";
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
}
|
2020-09-01 22:25:30 +08:00
|
|
|
|
|
|
|
table > tbody > tr:first-child > td {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2022-12-06 22:54:50 +08:00
|
|
|
|
|
|
|
&.show-actions {
|
|
|
|
--datatable-pagination-row: 139px;
|
|
|
|
|
|
|
|
.pagination-row {
|
|
|
|
padding-top: 71px;
|
|
|
|
|
|
|
|
.actions-toolbar {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.pagination-row .actions-toolbar {
|
|
|
|
.btn {
|
|
|
|
.button-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fas,
|
|
|
|
img {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-08 03:02:16 +08:00
|
|
|
}
|
2023-06-20 21:53:33 +08:00
|
|
|
|
|
|
|
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2023-06-21 20:32:25 +08:00
|
|
|
justify-content: end;
|
2023-06-20 21:53:33 +08:00
|
|
|
}
|