You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
1.9 KiB
Plaintext

2 years ago
@feed-list-height: 24rem;
.isekai-feed-list-card > .card-header {
height: 2.25rem;
}
#isekai-feed-list {
margin: 0;
height: @feed-list-height;
overflow-y: auto;
display: none;
&.mounted {
display: block;
}
.loading {
width: 100%;
height: 99.5%;
height: calc(100% - 2px); // fix: overflow because of border
margin-top: 1px;
display: flex;
.spinner {
margin: auto;
padding: 2rem;
width: 100%;
}
}
}
.isekai-list {
margin: 0 !important;
padding: 0 0 0.5rem 0 !important;
list-style: none;
background-color: transparent;
.isekai-list-item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-sizing: border-box;
box-sizing: border-box;
min-height: 3rem;
padding: 0 1rem;
text-decoration: none;
cursor: pointer;
border-bottom: 1px solid rgba(0,0,0,.12);
&:hover {
background-color: rgba(0,0,0,.08);
}
&:last-of-type {
border-bottom: none;
}
}
a {
color: #000;
text-decoration: none;
}
.isekai-list-item-content {
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
padding-top: 0.875rem;
padding-bottom: 0.875rem;
font-weight: 400;
font-size: 1rem;
line-height: 1.25rem;
}
.isekai-list-item-title~.isekai-list-item-text {
margin-top: 0.25rem;
}
.isekai-list-item-text {
font-size: 0.875rem;
opacity: 0.54;
-webkit-line-clamp: 1;
height: 1.25rem;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
}
}