mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
fecaafecf9
Co-authored-by: Anton <anton@scinote.net>
110 lines
1.9 KiB
SCSS
110 lines
1.9 KiB
SCSS
// scss-lint:disable SelectorDepth SelectorFormat
|
|
// scss-lint:disable NestingDepth QualifyingElement
|
|
|
|
.dataTables_wrapper {
|
|
--datatable-pagination-row: 68px;
|
|
.main-actions {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 1em 0;
|
|
|
|
.toolbar {
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
.dataTables_filter {
|
|
.search-icon {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.search-icon:not(.collapsed) {
|
|
display: initial;
|
|
}
|
|
|
|
.search-container:not(.expand) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dataTables_scrollHead {
|
|
.dataTable {
|
|
margin-top: 0 !important;
|
|
}
|
|
}
|
|
|
|
.pagination-row {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
min-height: var(--datatable-pagination-row);
|
|
width: 100%;
|
|
|
|
.pagination-info,
|
|
.pagination-actions {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.pagination-info {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.dataTables_info {
|
|
padding-top: 0;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.dataTables_info {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.dataTables_length {
|
|
margin-right: 24px;
|
|
width: 170px;
|
|
|
|
.dropdown-selector-container {
|
|
width: inherit;
|
|
}
|
|
|
|
label {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.pagination-info {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
tr[data-state]:not([data-state='']) {
|
|
td.item-name::after {
|
|
@include font-small;
|
|
background-color: $color-concrete;
|
|
color: $color-silver-chalice;
|
|
content: attr(data-state);
|
|
margin-left: 20px;
|
|
padding: .3em;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
tr[data-shared=true] {
|
|
td.item-name::before {
|
|
@include font-awesome;
|
|
content: "\f0c0";
|
|
margin-right: .5em;
|
|
}
|
|
}
|
|
|
|
table > tbody > tr:first-child > td {
|
|
border-top: 0;
|
|
}
|
|
}
|