mirror of
https://github.com/discourse/discourse.git
synced 2026-08-15 17:24:47 +08:00
Can use a little padding here because this tab doesn't have a header Before: <img width="440" alt="image" src="https://github.com/user-attachments/assets/d5158b08-5505-4e85-a547-ffd1f5290132" /> After: <img width="440" alt="image" src="https://github.com/user-attachments/assets/2b6630c0-0c40-40d0-8ac3-d1ec665418ed" /> Another tab with a header, for reference, gets space above the list items naturally <img width="444" alt="image" src="https://github.com/user-attachments/assets/9e093d56-f19b-4b82-9755-54e0604bcd1f" />
82 lines
1.5 KiB
SCSS
Vendored
82 lines
1.5 KiB
SCSS
Vendored
.btn-floating.open-new-message-btn {
|
|
position: fixed;
|
|
background: var(--tertiary);
|
|
bottom: 5rem;
|
|
right: 2rem;
|
|
border-radius: 50%;
|
|
font-size: var(--font-up-3);
|
|
padding: 0.5rem;
|
|
transition:
|
|
transform 0.25s ease,
|
|
box-shadow 0.25s ease;
|
|
z-index: z("usercard");
|
|
box-shadow: 0 5px 5px -1px rgb(0, 0, 0, 0.25);
|
|
|
|
.d-icon {
|
|
color: var(--primary-very-low);
|
|
}
|
|
|
|
&:active {
|
|
box-shadow: 0 0 5px -1px rgb(0, 0, 0, 0.25);
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
&:focus {
|
|
@include default-focus;
|
|
border-color: var(--d-nav-color--active);
|
|
outline-color: var(--d-nav-color--active);
|
|
}
|
|
}
|
|
|
|
.channels-list,
|
|
.channels-list-container {
|
|
position: relative;
|
|
height: 100%;
|
|
padding-bottom: 1rem;
|
|
|
|
@include chat-scrollbar;
|
|
|
|
.open-browse-page-btn,
|
|
.open-draft-channel-page-btn,
|
|
.chat-channel-leave-btn {
|
|
position: relative;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: var(--primary-medium);
|
|
font-size: var(--font-0-rem);
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
}
|
|
|
|
&:hover {
|
|
background: transparent;
|
|
|
|
.d-icon {
|
|
color: var(--primary);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.starred-channels {
|
|
padding-top: var(--space-2);
|
|
}
|
|
}
|
|
|
|
.chat-channel-divider {
|
|
padding: 0.5rem 1rem 0.5rem 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-family: var(--heading-font-family);
|
|
color: var(--primary);
|
|
|
|
.channel-title {
|
|
line-height: var(--line-height-medium);
|
|
}
|
|
}
|