Terms list css.

This commit is contained in:
mateuswetah 2023-04-11 10:04:22 -03:00
parent 46d5901bc0
commit 0deff84f5d
2 changed files with 55 additions and 50 deletions

View File

@ -1,59 +1,64 @@
.tainacan-taxonomy-terms-list-container .tainacan-taxonomy-terms-list { .tainacan-taxonomy-terms-list-container {
list-style: none;
&.tainacan-list-collection--container-card { .tainacan-taxonomy-terms-list {
display: grid; padding-left: 0;
grid-template-columns: repeat(auto-fit, 425px); padding-right: 0;
grid-gap: 30px; list-style: none;
.term-name { &.tainacan-list-collection--container-card {
font-size: 1.125rem !important; display: grid;
padding-left: 1rem; grid-template-columns: repeat(auto-fit, 425px);
padding-top: 0.75rem; grid-gap: 30px;
.term-name {
font-size: 1.125rem !important;
padding-left: 1rem;
padding-top: 0.75rem;
}
.term-description p {
margin-top: 0;
padding-top: 0 !important;
padding-left: 1rem;
}
.term-children-link a {
padding-left: 1rem;
margin-bottom: 1.75rem;
}
.term-items-link a {
padding-left: 1rem;
margin-bottom: 1.75rem;
}
.term-thumbnail {
float: right;
margin-bottom: 0;
width: 136px !important;
height: 136px !important;
}
} }
.term-description p { &.tainacan-list-collection--container-grid {
margin-top: 0;
padding-top: 0 !important;
padding-left: 1rem;
}
.term-children-link a { .term-name {
padding-left: 1rem; margin-bottom: 0.25rem;
margin-bottom: 1.75rem; font-size: 1.125rem !important;
} }
.term-items-link a { .term-children-link a {
padding-left: 1rem; margin-bottom: 1.5rem;
margin-bottom: 1.75rem; }
}
.term-thumbnail { .term-items-link a {
float: right; margin-bottom: 1.5rem;
margin-bottom: 0; }
width: 136px !important;
height: 136px !important;
}
}
&.tainacan-list-collection--container-grid { .term-thumbnail {
margin-top: 1rem;
.term-name { margin-bottom: 0rem;
margin-bottom: 0.25rem; }
font-size: 1.125rem !important;
}
.term-children-link a {
margin-bottom: 1.5rem;
}
.term-items-link a {
margin-bottom: 1.5rem;
}
.term-thumbnail {
margin-top: 1rem;
margin-bottom: 0rem;
} }
} }
} }

File diff suppressed because one or more lines are too long