2023-01-25 16:54:32 +00:00
|
|
|
// Copyright 2022 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
button.ListTile {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ListTile {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-20 17:03:43 +00:00
|
|
|
padding-block: 6px;
|
|
|
|
padding-inline: 14px;
|
2023-01-25 16:54:32 +00:00
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
// use a transparent border to inset the background
|
|
|
|
border: 2px solid transparent;
|
|
|
|
border-width: 2px 10px;
|
|
|
|
background-clip: padding-box;
|
|
|
|
border-radius: 20px / 12px;
|
|
|
|
|
|
|
|
// reset button styles
|
|
|
|
background-color: transparent;
|
|
|
|
color: inherit;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: inherit;
|
|
|
|
|
|
|
|
&--variant-panelrow {
|
2023-04-20 17:03:43 +00:00
|
|
|
padding-block: 8px;
|
|
|
|
padding-inline: 16px;
|
2023-01-25 16:54:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-family: $inter;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: 12px;
|
|
|
|
color: $color-gray-25;
|
|
|
|
line-height: 17px;
|
|
|
|
|
|
|
|
&--max-lines-1 {
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
}
|
|
|
|
&--max-lines-2 {
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
}
|
|
|
|
&--max-lines-3 {
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[aria-disabled='true'] {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__leading {
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-end: 12px;
|
2023-01-25 16:54:32 +00:00
|
|
|
}
|
|
|
|
&__trailing {
|
2023-04-20 17:03:43 +00:00
|
|
|
margin-inline-start: 12px;
|
2023-01-25 16:54:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--clickable {
|
|
|
|
cursor: pointer;
|
2023-09-18 21:00:26 +00:00
|
|
|
|
|
|
|
&:hover:not([aria-disabled='true'], [aria-selected='true']),
|
|
|
|
&:focus:not([aria-disabled='true'], [aria-selected='true']) {
|
2023-01-25 16:54:32 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-black-alpha-06;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-white-alpha-06;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .ConversationDetails-panel-row__actions {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|