mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 20:51:36 +01:00
206e9593ac
Port e2b561e3a5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
115 lines
1.8 KiB
SCSS
115 lines
1.8 KiB
SCSS
.account-card__header {
|
|
position: relative;
|
|
}
|
|
|
|
.explore__search-header {
|
|
background: darken($ui-base-color, 4%);
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 15px;
|
|
|
|
.search {
|
|
width: 100%;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.search__input {
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
|
padding: 10px;
|
|
}
|
|
|
|
.search .fa {
|
|
top: 10px;
|
|
right: 10px;
|
|
color: $dark-text-color;
|
|
}
|
|
|
|
.search .fa-times-circle {
|
|
top: 12px;
|
|
}
|
|
}
|
|
|
|
.explore__search-results {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.story {
|
|
display: flex;
|
|
align-items: center;
|
|
color: $primary-text-color;
|
|
text-decoration: none;
|
|
padding: 15px 0;
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
&:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
background-color: lighten($ui-base-color, 4%);
|
|
}
|
|
|
|
&__details {
|
|
padding: 0 15px;
|
|
flex: 1 1 auto;
|
|
|
|
&__publisher {
|
|
color: $darker-text-color;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
&__title {
|
|
font-size: 19px;
|
|
line-height: 24px;
|
|
font-weight: 500;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
&__shared {
|
|
color: $darker-text-color;
|
|
}
|
|
}
|
|
|
|
&__thumbnail {
|
|
flex: 0 0 auto;
|
|
margin: 0 15px;
|
|
position: relative;
|
|
width: 120px;
|
|
height: 120px;
|
|
|
|
.skeleton {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
img {
|
|
border-radius: 4px;
|
|
display: block;
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
&__preview {
|
|
border-radius: 4px;
|
|
display: block;
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: fill;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 0;
|
|
|
|
&--hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|