mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
123 lines
2.6 KiB
SCSS
123 lines
2.6 KiB
SCSS
@use "common/colors" as *;
|
|
@use "common/material" as *;
|
|
|
|
|
|
// контейнер чата и панели с чатами
|
|
.all-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
|
|
#profile {
|
|
display: none;
|
|
flex-direction: column;
|
|
z-index: 2000;
|
|
top: 0;
|
|
left: 0;
|
|
position: fixed;
|
|
height: 100vh;
|
|
width: 27%;
|
|
background-color: $color-dark-surface-container;
|
|
position: relative;
|
|
|
|
.profileheader {
|
|
display: flex;
|
|
gap: 200px;
|
|
|
|
p {
|
|
color: white;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: white;
|
|
border: solid 2px $color-dark-on-surface-variant;
|
|
padding: 5px;
|
|
border-radius: 10px;
|
|
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.241);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#chat-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 0;
|
|
width: 40%;
|
|
background-color: $color-dark-surface-container;
|
|
height: 100%;
|
|
z-index: 1000;
|
|
|
|
.chat-header-left {
|
|
display: flex;
|
|
color: white;
|
|
font-size: 25px;
|
|
background-color: $color-dark-surface-container;
|
|
width: 100%;
|
|
justify-content: center;
|
|
gap: 110px;
|
|
align-items: center;
|
|
padding: 16px;
|
|
|
|
#productname {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.profile {
|
|
font-size: 24px;
|
|
display: flex;
|
|
justify-content: start;
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
|
|
#closeprofile a {
|
|
text-decoration: none;
|
|
color: white;
|
|
border: solid 2px $color-dark-on-surface-variant;
|
|
padding: 5px;
|
|
border-radius: 10px;
|
|
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.241);
|
|
}
|
|
}
|
|
|
|
img {
|
|
$size: 45px;
|
|
|
|
display: flex;
|
|
border-radius: 50%;
|
|
width: $size;
|
|
height: $size;
|
|
}
|
|
}
|
|
}
|
|
|
|
.chat-tabs {
|
|
margin-top: 5px;
|
|
width: 100%;
|
|
--mdui-color-surface: $color-dark-surface-container;
|
|
--mdui-color-surface-variant: transparent;
|
|
|
|
img {
|
|
width: 45px;
|
|
height: 45px;
|
|
border-radius: 20%;
|
|
object-fit: cover;
|
|
margin-right: 1rem;
|
|
}
|
|
}
|
|
|
|
mdui-bottom-app-bar {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
margin-top: auto;
|
|
}
|
|
} |