2022-08-02 19:31:55 +00:00
|
|
|
// Copyright 2022 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.SendStoryModal {
|
2022-09-29 22:40:09 +00:00
|
|
|
&__body {
|
|
|
|
// force
|
|
|
|
.module-Modal & {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// don't re-layout buttons on wrap,
|
|
|
|
// since we have things beyond same-sized-rectangles in the footer
|
|
|
|
.module-Modal__button-footer {
|
|
|
|
&--one-button-per-line {
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-12 16:14:35 +00:00
|
|
|
.module-SearchInput__container {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__story-preview {
|
|
|
|
height: 140px;
|
|
|
|
width: 80px;
|
|
|
|
border-radius: 12px;
|
|
|
|
margin: 0 auto 16px auto;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
2022-09-29 22:40:09 +00:00
|
|
|
&__item--contact-or-conversation {
|
|
|
|
height: 52px;
|
|
|
|
padding: 0 6px;
|
|
|
|
}
|
|
|
|
|
2022-08-10 18:37:19 +00:00
|
|
|
&__top-bar {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
min-height: 40px;
|
|
|
|
justify-content: space-between;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__new-story {
|
2022-10-12 16:14:35 +00:00
|
|
|
&__button {
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 5px 10px;
|
2022-08-10 18:37:19 +00:00
|
|
|
&::before {
|
|
|
|
@include color-svg('../images/icons/v2/plus-20.svg', $color-white);
|
|
|
|
content: '';
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2022-10-12 16:14:35 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
2022-08-10 18:37:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__option--description {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon {
|
2022-08-30 19:13:32 +00:00
|
|
|
&--delete {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/trash-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 14px;
|
|
|
|
margin-top: 2px;
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
2022-08-10 18:37:19 +00:00
|
|
|
&--lock {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/lock-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 14px;
|
|
|
|
margin-top: 4px;
|
|
|
|
width: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--group {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/group-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 14px;
|
|
|
|
margin-top: 2px;
|
|
|
|
width: 14px;
|
|
|
|
}
|
2022-08-30 19:13:32 +00:00
|
|
|
|
|
|
|
&--settings {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/settings-outline-16.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 14px;
|
|
|
|
margin-top: 2px;
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__distribution-list-context {
|
|
|
|
&__container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-08-10 18:37:19 +00:00
|
|
|
}
|
|
|
|
|
2022-08-02 19:31:55 +00:00
|
|
|
&__distribution-list {
|
|
|
|
&__container {
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 8px 0;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__info {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
@include font-body-1-bold;
|
2022-10-12 16:14:35 +00:00
|
|
|
font-weight: 400;
|
2022-08-02 19:31:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
@include font-body-2;
|
2022-10-12 16:14:35 +00:00
|
|
|
font-size: 12px;
|
|
|
|
color: $color-gray-25;
|
2022-08-02 19:31:55 +00:00
|
|
|
}
|
|
|
|
|
2022-08-10 18:37:19 +00:00
|
|
|
&__checkbox {
|
|
|
|
margin-right: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__checkbox input[type='checkbox'] {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
&::before {
|
|
|
|
border-color: $color-ultramarine;
|
|
|
|
}
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
@include rounded-corners;
|
|
|
|
background: inherit;
|
|
|
|
border: 1.5px solid $color-gray-60;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 20px;
|
|
|
|
position: absolute;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:checked {
|
|
|
|
&::before {
|
|
|
|
background: $color-ultramarine;
|
|
|
|
border: 1.5px solid $color-ultramarine;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border: solid $color-white;
|
|
|
|
border-width: 0 2px 2px 0;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 11px;
|
|
|
|
left: 7px;
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-02 19:31:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__selected-lists {
|
|
|
|
@include font-body-2;
|
2022-08-10 18:37:19 +00:00
|
|
|
color: $color-gray-15;
|
2022-09-29 22:40:09 +00:00
|
|
|
padding-right: 16px;
|
2022-08-02 19:31:55 +00:00
|
|
|
user-select: none;
|
2022-09-29 22:40:09 +00:00
|
|
|
flex: 1;
|
2022-10-12 16:14:35 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 32px;
|
2022-08-02 19:31:55 +00:00
|
|
|
}
|
|
|
|
|
2022-08-10 18:37:19 +00:00
|
|
|
&__ok {
|
|
|
|
@include button-reset;
|
|
|
|
@include rounded-corners;
|
|
|
|
align-items: center;
|
|
|
|
background: $color-ultramarine;
|
|
|
|
display: flex;
|
|
|
|
height: 32px;
|
|
|
|
justify-content: center;
|
|
|
|
width: 32px;
|
|
|
|
|
|
|
|
&::disabled {
|
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-white);
|
|
|
|
content: '';
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-02 19:31:55 +00:00
|
|
|
&__send {
|
|
|
|
@include button-reset;
|
|
|
|
@include rounded-corners;
|
|
|
|
align-items: center;
|
|
|
|
background: $color-ultramarine;
|
|
|
|
display: flex;
|
2022-08-10 18:37:19 +00:00
|
|
|
height: 32px;
|
2022-08-02 19:31:55 +00:00
|
|
|
justify-content: center;
|
2022-08-10 18:37:19 +00:00
|
|
|
width: 32px;
|
2022-08-02 19:31:55 +00:00
|
|
|
|
|
|
|
&::disabled {
|
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
@include color-svg('../images/icons/v2/send-24.svg', $color-white);
|
|
|
|
content: '';
|
2022-08-10 18:37:19 +00:00
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
2022-08-02 19:31:55 +00:00
|
|
|
}
|
|
|
|
}
|
2022-10-12 16:14:35 +00:00
|
|
|
|
|
|
|
// more specific to override StoryImage
|
|
|
|
.SendStoryModal {
|
|
|
|
&__story {
|
|
|
|
border-radius: 12px;
|
|
|
|
backdrop-filter: blur(90px);
|
|
|
|
&__image {
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-02 19:31:55 +00:00
|
|
|
}
|