2021-04-21 16:31:12 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.module-TimelineWarning {
|
|
|
|
@mixin icon($icon) {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg($icon, $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg($icon, $color-gray-20);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
padding: 16px;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
border-top-width: 1px;
|
|
|
|
border-top-style: solid;
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-65;
|
|
|
|
background: $color-gray-02;
|
|
|
|
border-color: $color-gray-15;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-15;
|
|
|
|
background: $color-gray-80;
|
|
|
|
border-color: $color-gray-65;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__generic-icon {
|
2023-05-04 18:04:22 +00:00
|
|
|
@include icon('../images/icons/v3/info/info.svg');
|
2021-04-21 16:31:12 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__text {
|
|
|
|
@include font-body-2;
|
|
|
|
flex-grow: 1;
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline: 12px;
|
2021-04-21 16:31:12 +00:00
|
|
|
|
|
|
|
&__link {
|
|
|
|
@include button-reset;
|
|
|
|
display: inline;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
@include light-theme {
|
2021-05-28 16:15:17 +00:00
|
|
|
color: $color-ultramarine-icon;
|
2021-04-21 16:31:12 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-ios-blue-tint;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__close-button {
|
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
&::after {
|
2023-05-04 18:04:22 +00:00
|
|
|
@include icon('../images/icons/v3/x/x.svg');
|
2021-04-21 16:31:12 +00:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|