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;
|
2024-12-03 16:33:10 +08:00
|
|
|
padding: 0 0.67em;
|
2023-12-11 14:38:07 +08:00
|
|
|
|
2024-01-30 21:18:00 +08:00
|
|
|
&.-clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-navbar {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
width: 100%;
|
|
|
|
gap: 0.25rem;
|
|
|
|
position: relative;
|
2024-11-25 10:39:03 +08:00
|
|
|
container-type: inline-size;
|
|
|
|
|
|
|
|
.is-collapsed & {
|
|
|
|
&__title {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__toggle-drawer-button {
|
|
|
|
&:after {
|
|
|
|
@container (inline-size) {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
2024-11-26 10:25:12 +08:00
|
|
|
left: -1rem;
|
2024-11-25 10:39:03 +08:00
|
|
|
width: calc(100cqw - 2.3em + 1rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--tertiary-hover);
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-19 00:49:58 +08:00
|
|
|
|
|
|
|
.single-select-header {
|
|
|
|
padding: 0.3675rem 0.584rem;
|
|
|
|
}
|
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);
|
2024-12-03 16:33:10 +08:00
|
|
|
padding: 0.5rem 0.8rem 0.5rem 0.25rem;
|
2024-01-30 21:18:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
.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
|
|
|
}
|