51 lines
1.0 KiB
SCSS
51 lines
1.0 KiB
SCSS
|
@import "theme.scss";
|
||
|
|
||
|
#channel {
|
||
|
flex: 1;
|
||
|
background-color: $background-primary;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.channel-title:not(.preview) {
|
||
|
width: calc(100vw - 240px - 72px); /* for ellipsis overflow */
|
||
|
}
|
||
|
|
||
|
.channel-title {
|
||
|
height: 48px;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
color: $header-primary;
|
||
|
background-color: $background-primary; /* Different from discrod */
|
||
|
border-bottom: 1px solid $background-secondary-alt;
|
||
|
|
||
|
.channel-icon {
|
||
|
margin: 0 8px;
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
}
|
||
|
|
||
|
.channel-name {
|
||
|
font-weight: 600;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.channel-flavor-divider {
|
||
|
width: 1px;
|
||
|
height: 24px;
|
||
|
margin: 0 16px;
|
||
|
background-color: $background-modifier-accent;
|
||
|
}
|
||
|
|
||
|
.channel-flavor-text {
|
||
|
font-size: 14px;
|
||
|
line-height: 18px;
|
||
|
font-weight: 500;
|
||
|
padding-right: 16px;
|
||
|
color: $header-secondary;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
text-overflow: ellipsis;
|
||
|
}
|
||
|
}
|