275 lines
4.9 KiB
SCSS
275 lines
4.9 KiB
SCSS
.LeftSearch {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
|
|
& > .Transition {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.TabList {
|
|
padding-bottom: 1px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.documents-list {
|
|
padding: 0 1.25rem 1.25rem;
|
|
|
|
.ListItem {
|
|
padding: 0.625rem 0;
|
|
}
|
|
}
|
|
|
|
.section-heading {
|
|
position: relative;
|
|
padding-top: 1.25rem;
|
|
padding-left: 1.25rem;
|
|
margin: 0 0 1rem -1.25rem !important;
|
|
|
|
font-weight: 500;
|
|
font-size: 0.9375rem;
|
|
color: var(--color-text-secondary);
|
|
|
|
&-first {
|
|
padding-top: 0.75rem;
|
|
}
|
|
|
|
&-with-border::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: calc(100% + 1.25rem);
|
|
height: 1px;
|
|
background: var(--color-borders);
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
&[dir="rtl"],
|
|
&[dir="auto"] {
|
|
padding-left: 0;
|
|
padding-right: 1.25rem;
|
|
margin: 0 -1.25rem 0 1rem !important;
|
|
text-align: initial;
|
|
|
|
&::before {
|
|
left: auto;
|
|
right: 0.625rem;
|
|
}
|
|
}
|
|
|
|
&.topic-search-heading {
|
|
margin-left: -1.0625rem !important;
|
|
padding-left: 2.125rem;
|
|
}
|
|
}
|
|
|
|
.LeftSearch .search-section .section-heading,
|
|
.RecentContacts .search-section .section-heading {
|
|
margin-left: -0.5rem !important;
|
|
padding-left: 1.5rem;
|
|
width: calc(100% + 0.625rem);
|
|
box-shadow: 0 -1px 0 0 var(--color-borders);
|
|
|
|
&::before {
|
|
display: none;
|
|
}
|
|
|
|
&.without-border {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
.WebLink {
|
|
display: flex;
|
|
}
|
|
|
|
.content:not(.with-seekline) {
|
|
align-self: center;
|
|
min-width: 0;
|
|
flex-grow: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.message-date {
|
|
font-size: 0.75rem;
|
|
color: var(--color-text-secondary);
|
|
padding-left: 1rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.media-list {
|
|
display: grid;
|
|
padding: 0.5rem;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-auto-rows: 1fr;
|
|
grid-gap: 0.25rem;
|
|
}
|
|
|
|
.Audio {
|
|
.ProgressSpinner {
|
|
margin: -0.1875rem 0 0 -0.1875rem;
|
|
}
|
|
}
|
|
|
|
.ListItem.search-result {
|
|
.ChatInfo {
|
|
// Fix for overflow hidden and stories indicator
|
|
padding: 0.0625rem;
|
|
margin: -0.0625rem;
|
|
|
|
.handle {
|
|
unicode-bidi: plaintext;
|
|
color: var(--color-primary);
|
|
|
|
&::before {
|
|
content: "@";
|
|
html[lang="ar"] & {
|
|
content: " ،@";
|
|
margin-inline-end: 0.25rem;
|
|
}
|
|
}
|
|
|
|
&.withStatus::after {
|
|
content: ", ";
|
|
color: var(--color-text-secondary);
|
|
|
|
html[lang="ar"] & {
|
|
content: "";
|
|
}
|
|
}
|
|
}
|
|
|
|
&[dir="rtl"] {
|
|
.status {
|
|
text-align: right;
|
|
|
|
.handle {
|
|
float: right;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.topic-item {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 1rem;
|
|
line-height: 1.6875rem;
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
|
|
.topic-icon {
|
|
--custom-emoji-size: 2rem;
|
|
margin-inline-end: 0.25rem !important;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
font-size: 2rem !important;
|
|
}
|
|
|
|
.fullName {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ListItem.search-result-message {
|
|
.sender-name {
|
|
color: var(--color-text);
|
|
|
|
&::after {
|
|
content: ": ";
|
|
white-space: pre;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.ListItem {
|
|
margin: 0 -0.125rem 0 -0.5rem;
|
|
}
|
|
}
|
|
|
|
.search-section {
|
|
padding: 0 0.125rem 0.5rem 0.5rem;
|
|
|
|
.section-heading {
|
|
color: var(--color-text-secondary);
|
|
font-size: 0.9375rem;
|
|
font-weight: 500;
|
|
margin-bottom: 0 !important;
|
|
padding-top: 0.875rem;
|
|
|
|
.Link {
|
|
float: right;
|
|
color: var(--color-links);
|
|
font-weight: 400;
|
|
margin-right: 1rem;
|
|
|
|
&:focus,
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
&[dir="rtl"],
|
|
&[dir="auto"] {
|
|
.Link {
|
|
float: left;
|
|
margin-left: 1rem;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.Loading {
|
|
height: 4.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.chat-selection {
|
|
padding-top: 0.5rem;
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
box-shadow: inset 0 -1px 0 0 var(--color-borders);
|
|
background-color: var(--color-background);
|
|
-webkit-overflow-scrolling: touch;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
|
|
> .PickerSelectedItem {
|
|
flex: 0 0 auto;
|
|
|
|
&:last-child {
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
&[dir="rtl"] {
|
|
> .PickerSelectedItem:last-child {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.NothingFound {
|
|
height: 100%;
|
|
}
|
|
|
|
[dir="rtl"] {
|
|
.message-date {
|
|
padding-left: 0;
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
}
|