2024-01-30 21:18:00 +08:00
|
|
|
.c-navbar-container {
|
|
|
|
position: relative;
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
background: var(--secondary);
|
|
|
|
box-sizing: border-box;
|
2023-12-11 14:38:07 +08:00
|
|
|
display: flex;
|
2024-01-30 21:18:00 +08:00
|
|
|
z-index: z("composer", "content") - 1;
|
|
|
|
padding: 0 1rem;
|
2023-12-11 14:38:07 +08:00
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
&.-clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.-full-title {
|
|
|
|
.c-navbar__title {
|
|
|
|
min-height: var(--chat-header-offset);
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-navbar__title,
|
|
|
|
.c-navbar__title-text {
|
|
|
|
height: auto;
|
|
|
|
overflow: visible;
|
|
|
|
white-space: normal;
|
|
|
|
text-overflow: unset;
|
2023-12-19 00:49:58 +08:00
|
|
|
}
|
|
|
|
}
|
2024-01-30 21:18:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.c-navbar {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
width: 100%;
|
|
|
|
gap: 0.25rem;
|
|
|
|
position: relative;
|
2023-12-19 00:49:58 +08:00
|
|
|
|
|
|
|
.single-select-header {
|
|
|
|
padding: 0.3675rem 0.584rem;
|
|
|
|
}
|
2024-03-06 19:03:42 +08:00
|
|
|
|
|
|
|
> .c-navbar__title:first-child {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2024-01-30 21:18:00 +08:00
|
|
|
}
|
2023-12-19 00:49:58 +08:00
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
.c-navbar__back-button {
|
|
|
|
height: var(--chat-header-offset);
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-navbar__channel-title {
|
|
|
|
@include ellipsis();
|
|
|
|
font-weight: 700;
|
|
|
|
height: var(--chat-header-offset);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-navbar__title {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
@include ellipsis();
|
|
|
|
height: var(--chat-header-offset);
|
2023-12-19 00:49:58 +08:00
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
&-text {
|
2023-12-19 00:49:58 +08:00
|
|
|
@include ellipsis();
|
|
|
|
font-weight: 700;
|
2024-01-30 21:18:00 +08:00
|
|
|
max-width: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding-block: 5px;
|
2023-12-20 23:24:10 +08:00
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
> .d-icon {
|
|
|
|
margin-right: 5px;
|
2023-12-20 23:24:10 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
.chat-drawer & {
|
|
|
|
padding-left: 1rem;
|
2023-12-19 00:49:58 +08:00
|
|
|
}
|
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
.d-icon {
|
|
|
|
vertical-align: middle;
|
2023-12-19 00:49:58 +08:00
|
|
|
}
|
2024-01-30 21:18:00 +08:00
|
|
|
}
|
2023-12-19 00:49:58 +08:00
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
.c-navbar__sub-title {
|
|
|
|
line-height: var(--line-height-small);
|
|
|
|
font-size: var(--font-down-1-rem);
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2023-12-19 00:49:58 +08:00
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
.c-navbar__threads-list-button {
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
|
|
|
&.has-unreads {
|
|
|
|
.d-icon-discourse-threads {
|
|
|
|
color: var(--tertiary-med-or-tertiary);
|
2023-12-19 00:49:58 +08:00
|
|
|
}
|
2023-12-11 14:38:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-19 00:49:58 +08:00
|
|
|
.c-navbar__actions {
|
2023-12-11 14:38:07 +08:00
|
|
|
list-style: none;
|
|
|
|
margin-left: auto;
|
2023-12-19 00:49:58 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-02-16 01:00:22 +08:00
|
|
|
height: var(--chat-header-offset);
|
2024-02-29 18:47:07 +08:00
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
}
|
2024-01-30 21:18:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.c-navbar__back-button ~ .c-navbar__title {
|
|
|
|
padding-left: 0;
|
2023-12-11 14:38:07 +08:00
|
|
|
}
|