111 lines
2 KiB
SCSS
111 lines
2 KiB
SCSS
body {
|
|
background-color: #E5E5E5;
|
|
}
|
|
|
|
.container-fluid {
|
|
padding: 50px 200px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.user-list-card {
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
|
height: calc(100vh - 100px);
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
|
|
.user-card {
|
|
display: flex;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
|
|
&.active {
|
|
background-color: #E5E5E5;
|
|
}
|
|
|
|
.username {
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
margin-bottom: 0;
|
|
display: flex;
|
|
margin-left: 5px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.user-card:not(:last-child) {
|
|
border-bottom: 1px solid #BBBBBB;
|
|
}
|
|
}
|
|
|
|
.chat-container {
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
|
height: calc(100vh - 100px);
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
.chat-header {
|
|
height: 70px;
|
|
background-color: #E5E5E5;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
|
|
.username {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
margin-bottom: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.chat-body {
|
|
background-color: white;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
height: calc(89vh - 125px);
|
|
overflow-y: auto;
|
|
|
|
.message-container {
|
|
background-color: white;
|
|
padding: 7px;
|
|
border-radius: 5px;
|
|
width: fit-content;
|
|
max-width: 90%;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.same-user {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
|
|
.message-container {
|
|
background-color: lightskyblue;
|
|
}
|
|
}
|
|
}
|
|
|
|
.chat-footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: #EDEDED;
|
|
padding: 10px 20px;
|
|
|
|
.form-control {
|
|
background-color: white;
|
|
border: 1px solid #D8DDEC;
|
|
box-sizing: border-box;
|
|
font-size: 1rem;
|
|
color: black;
|
|
}
|
|
}
|
|
}
|