modmapper-web/styles/ModList.module.css
Tyler Hallada 5491894e00 Add pagination to cell and mod lists
Speeds up showing and hiding of the sidebar.
2022-08-28 02:27:53 -04:00

133 lines
1.6 KiB
CSS

.mod-list {
list-style-type: none;
padding: 0;
margin-top: 0;
}
.mod-list-item {
margin-bottom: 12px;
}
.mod-title {
margin-bottom: 8px;
}
.file-list {
list-style-type: none;
padding-left: 8px;
margin-top: 0;
}
.file-list li {
margin-top: 8px;
}
.filters {
margin-bottom: 12px;
display: flex;
flex-direction: column;
}
.filters hr {
margin: 0;
width: 100%;
}
.filters hr:first-child {
margin-bottom: 8px;
}
.filters hr:last-child {
margin-top: 8px;
}
.filter-row {
display: flex;
flex-direction: row;
align-items: center;
margin-top: 4px;
margin-bottom: 4px;
}
.filter-row label,
.filter-row input,
.filter-row select {
flex: 1;
}
.sort-by {
min-width: 119px;
}
.sort-asc {
margin-left: 8px;
min-width: 50px;
max-width: 50px;
}
.category {
min-width: 175px;
width: 175px;
}
.filter {
width: 175px;
}
.include-translations input {
margin-right: 8px;
}
.sort-direction {
display: flex;
flex-direction: row;
margin-left: 8px;
}
.sort-direction button {
width: 24px;
height: 20px;
display: block;
outline: none;
border: 0;
background-color: transparent;
cursor: pointer;
overflow: hidden;
}
.sort-direction button img {
width: 100%;
height: 100%;
}
.asc {
transform: rotate(-90deg);
}
.desc {
transform: rotate(90deg);
}
.pagination {
display: flex;
flex-direction: row;
list-style-type: none;
padding: 0;
margin-top: 0;
width: 100%;
justify-content: center;
}
.pagination li {
padding: 4px;
}
.pagination li a {
cursor: pointer;
user-select: none;
}
.active-page a {
color: black;
text-decoration: none;
}