217 lines
3.1 KiB
CSS
217 lines
3.1 KiB
CSS
/* General Styles */
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 14px;
|
|
}
|
|
|
|
input {
|
|
font-size: 14px;
|
|
}
|
|
|
|
body {
|
|
line-height: 1.4;
|
|
color: #333333;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 14px;
|
|
margin-bottom: 8px;
|
|
color: #777;
|
|
}
|
|
|
|
input {
|
|
border: 1px solid #eeeeee;
|
|
padding: 12px;
|
|
outline: none;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
padding: 12px;
|
|
background: #7c5cbf;
|
|
border: none;
|
|
color: white;
|
|
font-size: 16px;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background: #6b47b8;
|
|
}
|
|
|
|
button:disabled {
|
|
cursor: default;
|
|
background: #7c5cbf94;
|
|
}
|
|
|
|
/* Join Page Styles */
|
|
|
|
.centered-form {
|
|
background: #333744;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.centered-form__box {
|
|
box-shadow: 0px 0px 17px 1px #1d1f26;
|
|
background: #f7f7fa;
|
|
padding: 24px;
|
|
width: 250px;
|
|
}
|
|
|
|
.centered-form button {
|
|
width: 100%;
|
|
}
|
|
|
|
.centered-form input {
|
|
margin-bottom: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Chat Page Layout */
|
|
|
|
.chat {
|
|
display: flex;
|
|
}
|
|
|
|
.chat__sidebar {
|
|
position: relative;
|
|
top: 51vh;
|
|
/* left: 1vh; */
|
|
/* right: 1vh; */
|
|
/* z-index: 2; */
|
|
height: 49vh;
|
|
color: rgb(223, 223, 223);
|
|
background: #333744;
|
|
width: 50%;
|
|
overflow-y: scroll;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* embedded player div */
|
|
.player {
|
|
position: absolute;
|
|
left: 1vh;
|
|
top: 1vh;
|
|
width: 49%;
|
|
height: 49%;
|
|
z-index: 1;
|
|
/* margin-top: 5px; */
|
|
/* margin-left: 5px; */
|
|
}
|
|
|
|
/* Chat styles */
|
|
|
|
.chat__main {
|
|
position: relative;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
/* margin-left: 20vh; */
|
|
background-color: rgb(233, 233, 233);
|
|
}
|
|
|
|
.chat__messages {
|
|
flex-grow: 1;
|
|
padding: 24px 24px 0 24px;
|
|
overflow-y: scroll;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* Message Styles */
|
|
|
|
.message {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.message__name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.message__meta {
|
|
color: #777;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.message a {
|
|
color: #0070cc;
|
|
}
|
|
|
|
/* Message Composition Styles */
|
|
|
|
.compose {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
margin-top: 16px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.compose form {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.compose input {
|
|
border: 1px solid #eeeeee;
|
|
width: 100%;
|
|
padding: 12px;
|
|
margin: 0 16px 0 0;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.compose button {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Chat Sidebar Styles */
|
|
|
|
.room-title {
|
|
font-weight: 400;
|
|
font-size: 20px;
|
|
background: #2c2f3a;
|
|
padding: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.list-title {
|
|
font-weight: 500;
|
|
text-align: center;
|
|
font-size: 20px;
|
|
margin-bottom: 4px;
|
|
padding: 12px 24px 0 24px;
|
|
}
|
|
|
|
.users {
|
|
text-align: center;
|
|
list-style-type: none;
|
|
font-weight: 100;
|
|
font-style: italic;
|
|
padding: 12px 24px 0 24px;
|
|
}
|
|
|
|
.welcome-mess {
|
|
font-weight: 300;
|
|
font-size: 16px;
|
|
margin-right: 8px;
|
|
color: #333333;
|
|
}
|