2022-03-04 21:14:52 +00:00
|
|
|
// Copyright 2022 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.MyStories {
|
|
|
|
&__distribution {
|
|
|
|
&__title {
|
|
|
|
@include font-body-1-bold;
|
2022-07-07 21:59:08 +00:00
|
|
|
color: $color-gray-05;
|
2022-08-25 00:33:16 +00:00
|
|
|
margin: 24px 10px 8px 10px;
|
2022-03-04 21:14:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-25 00:33:16 +00:00
|
|
|
&__story-button {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2022-03-04 21:14:52 +00:00
|
|
|
&__story {
|
|
|
|
align-items: center;
|
2022-08-25 00:33:16 +00:00
|
|
|
border-radius: 10px;
|
2022-03-04 21:14:52 +00:00
|
|
|
display: flex;
|
|
|
|
height: 96px;
|
2022-08-25 00:33:16 +00:00
|
|
|
padding-right: 10px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-gray-65;
|
|
|
|
|
|
|
|
& .MyStories__story__download,
|
|
|
|
.MyStories__story__more__button {
|
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
2022-03-04 21:14:52 +00:00
|
|
|
|
|
|
|
&__details {
|
|
|
|
@include font-body-1-bold;
|
2022-07-07 21:59:08 +00:00
|
|
|
color: $color-gray-05;
|
2022-03-04 21:14:52 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
2022-08-25 00:33:16 +00:00
|
|
|
margin-left: 12px;
|
2022-11-16 22:10:11 +00:00
|
|
|
|
|
|
|
&__failed {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 12px;
|
|
|
|
margin-right: 12px;
|
|
|
|
width: 12px;
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-outline-24.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
@include button-reset;
|
|
|
|
@include font-subtitle;
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
2022-03-04 21:14:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__timestamp {
|
|
|
|
color: $color-gray-25;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__download {
|
|
|
|
@include button-reset;
|
|
|
|
align-items: center;
|
|
|
|
background: $color-gray-65;
|
|
|
|
border-radius: 100%;
|
|
|
|
display: flex;
|
|
|
|
height: 28px;
|
|
|
|
justify-content: center;
|
|
|
|
width: 28px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/save-outline-24.svg',
|
2022-08-25 00:33:16 +00:00
|
|
|
$color-gray-15
|
2022-03-04 21:14:52 +00:00
|
|
|
);
|
|
|
|
content: '';
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
}
|
2022-08-25 00:33:16 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-gray-75 !important;
|
|
|
|
}
|
2022-03-04 21:14:52 +00:00
|
|
|
}
|
|
|
|
|
2022-07-25 18:55:44 +00:00
|
|
|
&__more__button {
|
2022-03-04 21:14:52 +00:00
|
|
|
align-items: center;
|
|
|
|
background: $color-gray-65;
|
|
|
|
border-radius: 100%;
|
|
|
|
display: flex;
|
|
|
|
height: 28px;
|
|
|
|
justify-content: center;
|
|
|
|
margin-left: 16px;
|
|
|
|
width: 28px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/more-horiz-24.svg',
|
2022-08-25 00:33:16 +00:00
|
|
|
$color-gray-15
|
2022-03-04 21:14:52 +00:00
|
|
|
);
|
|
|
|
content: '';
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
}
|
2022-08-25 00:33:16 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-gray-75 !important;
|
|
|
|
}
|
2022-03-04 21:14:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
&--save {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/save-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
&--forward {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/reply-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
&--delete {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/trash-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2022-08-05 23:24:49 +00:00
|
|
|
|
|
|
|
&__avatar-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__avatar__add-story {
|
|
|
|
@include button-reset;
|
|
|
|
@include rounded-corners;
|
|
|
|
align-items: center;
|
|
|
|
background: $color-ultramarine-dawn;
|
|
|
|
border: 2px solid $color-gray-80;
|
|
|
|
bottom: -2px;
|
|
|
|
display: flex;
|
|
|
|
height: 20px;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
right: -4px;
|
|
|
|
width: 20px;
|
|
|
|
z-index: $z-index-base;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
@include color-svg('../images/icons/v2/plus-20.svg', $color-white);
|
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
}
|
2022-03-04 21:14:52 +00:00
|
|
|
}
|
2022-08-19 18:36:47 +00:00
|
|
|
|
|
|
|
.StoryListItem__button:hover .MyStories__avatar__add-story {
|
|
|
|
border-color: $color-gray-65;
|
|
|
|
}
|