You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
soapbox/app/styles/chats.scss

82 lines
1.4 KiB

.pane {
@include standard-panel-shadow;
position: fixed;
bottom: 0;
right: 20px;
width: 265px;
height: 265px;
max-height: calc(100vh - 70px);
display: flex;
flex-direction: column;
z-index: 99999;
&--main {
height: calc(100vh - 70px);
}
&--minimized {
top: calc(100% - 31px);
}
&__header {
box-sizing: border-box;
background: var(--brand-color);
color: #fff;
padding: 6px 10px;
font-size: 16px;
font-weight: bold;
border-radius: 6px 6px 0 0;
display: flex;
align-items: center;
height: 31px;
.account__avatar {
margin-right: 7px;
}
.display-name__account {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.icon-button {
color: #fff;
> div {
height: auto !important;
width: auto !important;
margin-right: -6px;
}
}
.pane__close {
margin-left: auto;
}
}
&__content {
height: 100%;
background: var(--foreground-color);
display: flex;
flex-direction: column;
}
&__actions {
background: var(--foreground-color);
margin-top: auto;
input {
width: 100%;
margin: 0;
box-sizing: border-box;
padding: 6px;
background: var(--background-color);
border: 6px solid var(--foreground-color);
border-radius: 10px;
color: var(--primary-text-color);
font-size: 16px;
}
}
}