Carbon/build/static/main.css

99 lines
1.5 KiB
CSS

@font-face {
font-family: Whitney;
font-weight: 500;
src: url(/static/whitney-500.woff?static=ba33ed18fe) format("woff2");
}
body {
font-family: sans-serif;
background-color: #36393e;
color: #ddd;
font-size: 24px;
font-family: Whitney;
margin: 0;
height: 100vh;
}
.main {
height: 100vh;
display: flex;
}
.c-rooms {
background-color: #2f3135;
padding: 8px;
width: 240px;
font-size: 20px;
overflow-y: scroll;
scrollbar-width: thin;
scrollbar-color: #42454a #2f3135;
}
.c-room {
display: flex;
align-items: center;
padding: 8px;
cursor: pointer;
}
.c-room:hover {
background-color: #393c42;
border-radius: 8px;
}
.c-room__icon {
width: 36px;
height: 36px;
background-color: #bbb;
margin-right: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.c-room__name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.c-groups {
position: relative;
width: 80px;
}
.c-groups__display {
background-color: #202224;
overflow: hidden;
width: 80px;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
}
.c-groups__display:not(.c-groups__display--closed):hover {
width: 300px;
}
.c-groups__container {
width: 300px;
padding: 8px;
}
.c-group {
display: flex;
align-items: center;
padding: 4px 8px;
cursor: pointer;
border-radius: 8px;
}
.c-group:hover {
background-color: #2f3135;
}
.c-group__icon {
width: 48px;
height: 48px;
background-color: #999;
border-radius: 50%;
margin-right: 16px;
flex-shrink: 0;
}
.c-group__name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}