2022-10-09 12:23:06 +03:00
|
|
|
.account-card__header {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-02-25 01:34:33 +02:00
|
|
|
.explore__search-header {
|
2022-10-04 21:13:23 +03:00
|
|
|
background: darken($ui-base-color, 4%);
|
2022-02-25 01:34:33 +02:00
|
|
|
justify-content: center;
|
2022-10-04 21:13:23 +03:00
|
|
|
align-items: center;
|
2022-02-25 01:34:33 +02:00
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.search {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search__input {
|
2022-10-04 21:13:23 +03:00
|
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
2022-02-25 01:34:33 +02:00
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search .fa {
|
|
|
|
top: 10px;
|
2023-04-16 18:45:18 +03:00
|
|
|
inset-inline-end: 10px;
|
2022-02-25 01:34:33 +02:00
|
|
|
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;
|
2023-07-25 01:57:15 +03:00
|
|
|
padding: 15px;
|
2022-02-25 01:34:33 +02:00
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2023-07-25 01:57:15 +03:00
|
|
|
gap: 15px;
|
2022-02-25 01:34:33 +02:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2023-07-25 01:57:15 +03:00
|
|
|
color: $highlight-text-color;
|
|
|
|
|
|
|
|
.story__details__publisher,
|
|
|
|
.story__details__shared {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
2022-02-25 01:34:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__details {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
|
|
&__publisher {
|
|
|
|
color: $darker-text-color;
|
2023-07-25 01:57:15 +03:00
|
|
|
margin-bottom: 8px;
|
2022-02-25 01:34:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
font-weight: 500;
|
2023-07-25 01:57:15 +03:00
|
|
|
margin-bottom: 8px;
|
2022-02-25 01:34:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__shared {
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
2023-07-25 01:57:15 +03:00
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2022-02-25 01:34:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__thumbnail {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
position: relative;
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
|
|
|
|
.skeleton {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2023-07-25 01:57:15 +03:00
|
|
|
border-radius: 8px;
|
2022-02-25 01:34:33 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__preview {
|
2023-07-25 01:57:15 +03:00
|
|
|
border-radius: 8px;
|
2022-02-25 01:34:33 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: fill;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-04-16 18:45:18 +03:00
|
|
|
inset-inline-start: 0;
|
2022-02-25 01:34:33 +02:00
|
|
|
z-index: 0;
|
|
|
|
|
|
|
|
&--hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-07-25 01:57:15 +03:00
|
|
|
|
|
|
|
&.expanded {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.story__thumbnail {
|
|
|
|
order: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
aspect-ratio: 1.91 / 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.story__details {
|
|
|
|
order: 2;
|
|
|
|
width: 100%;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2022-02-25 01:34:33 +02:00
|
|
|
}
|