Fix content list styles affecting grid view

This commit is contained in:
Tetrakern 2024-03-04 21:45:14 +01:00
parent e7ddca4ba0
commit e43c65ba5b
6 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
:is(:root,:root.minimal) .content-list-style-free{--content-li-background: none;--card-content-li-background: none}:is(:root,:root.minimal) .content-list-style-free :is(.chapter-group__list-item,.story__blog-list-item){border-radius:0;border-bottom:none}
:is(:root,:root.minimal) .content-list-style-free{--content-li-background: none;--card-content-li-background: none}:is(:root,:root.minimal) .content-list-style-free [data-view=list] :is(.chapter-group__list-item,.story__blog-list-item){border-radius:0;border-bottom:none}

View File

@ -1 +1 @@
:root:not(.minimal) .content-list-style-full{--card-content-li-background: var(--card-content-li-background-full);--content-li-background: var(--content-li-background-full)}:root:not(.minimal) .content-list-style-full .chapter-group__list-item{padding:.5rem 8px .5rem 6px}:root:not(.minimal) .content-list-style-full .story__blog-list-item{padding:.5rem 8px}:root:not(.minimal) .content-list-style-full .card__link-list-item{padding-left:.35em}
:root:not(.minimal) .content-list-style-full{--card-content-li-background: var(--card-content-li-background-full);--content-li-background: var(--content-li-background-full)}:root:not(.minimal) .content-list-style-full [data-view=list] .chapter-group__list-item{padding:.5rem 8px .5rem 6px}:root:not(.minimal) .content-list-style-full .story__blog-list-item{padding:.5rem 8px}:root:not(.minimal) .content-list-style-full [data-view=list] .card__link-list-item{padding-left:.35em}

View File

@ -1 +1 @@
:is(:root,:root.minimal) .content-list-style-lines{--content-li-background: none;--card-content-li-background: none}:is(:root,:root.minimal) .content-list-style-lines :is(.chapter-group__list-item,.story__blog-list-item,.card__link-list-item){border-radius:0;border-bottom:var(--content-li-hr-border)}:is(:root,:root.minimal) .content-list-style-lines .card__link-list-item:last-child{border-bottom:none}
:is(:root,:root.minimal) .content-list-style-lines{--content-li-background: none;--card-content-li-background: none}:is(:root,:root.minimal) .content-list-style-lines [data-view=list] :is(.chapter-group__list-item,.story__blog-list-item,.card__link-list-item){border-radius:0;border-bottom:var(--content-li-hr-border)}:is(:root,:root.minimal) .content-list-style-lines [data-view=list] .card__link-list-item:last-child{border-bottom:none}

View File

@ -5,7 +5,7 @@
--content-li-background: none;
--card-content-li-background: none;
:is(.chapter-group__list-item, .story__blog-list-item) {
[data-view=list] :is(.chapter-group__list-item, .story__blog-list-item) {
border-radius: 0;
border-bottom: none;
}

View File

@ -5,7 +5,7 @@
--card-content-li-background: var(--card-content-li-background-full);
--content-li-background: var(--content-li-background-full);
.chapter-group__list-item {
[data-view=list] .chapter-group__list-item {
padding: .5rem 8px .5rem 6px;
}
@ -13,7 +13,7 @@
padding: .5rem 8px;
}
.card__link-list-item {
[data-view=list] .card__link-list-item {
padding-left: 0.35em;
}
}

View File

@ -5,12 +5,12 @@
--content-li-background: none;
--card-content-li-background: none;
:is(.chapter-group__list-item, .story__blog-list-item, .card__link-list-item) {
[data-view=list] :is(.chapter-group__list-item, .story__blog-list-item, .card__link-list-item) {
border-radius: 0;
border-bottom: var(--content-li-hr-border);
}
.card__link-list-item:last-child {
[data-view=list] .card__link-list-item:last-child {
border-bottom: none;
}
}