Watch-with-friends/public/css/styles.css

276 lines
4.4 KiB
CSS
Raw Normal View History

/* 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;
2021-01-28 01:34:15 +01:00
border-radius: 3px;
}
button {
cursor: pointer;
padding: 12px;
background: #7c5cbf;
border: none;
color: white;
font-size: 16px;
2021-01-28 01:34:15 +01:00
transition: background 0.5s ease;
border-radius: 3px;
}
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;
2021-01-26 12:31:57 +01:00
visibility: hidden;
}
.chat__sidebar {
2021-01-28 01:34:15 +01:00
position: absolute;
top: 55.5vh;
2021-01-25 19:27:44 +01:00
/* left: 1vh; */
/* right: 1vh; */
/* z-index: 2; */
2021-01-28 01:34:15 +01:00
height: 44.5%;
color: rgb(223, 223, 223);
background: #333744;
2021-01-25 19:27:44 +01:00
width: 50%;
overflow-y: scroll;
scroll-behavior: smooth;
}
2021-01-25 19:27:44 +01:00
/* embedded player div */
.player {
2021-01-28 01:34:15 +01:00
/* display: flex; */
display: flex;
flex-direction: column;
2021-01-25 19:27:44 +01:00
left: 1vh;
top: 1vh;
width: 49%;
2021-01-28 01:34:15 +01:00
height: 56.5vh;
2021-01-26 12:31:57 +01:00
z-index: 2;
2021-01-25 19:27:44 +01:00
/* margin-top: 5px; */
2021-01-28 01:34:15 +01:00
/* margin-right: 0px; */
2021-01-25 19:27:44 +01:00
}
/* Chat styles */
.chat__main {
2021-01-25 19:27:44 +01:00
position: relative;
flex-grow: 1;
display: flex;
flex-direction: column;
2021-01-25 19:27:44 +01:00
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;
}
2021-01-26 12:31:57 +01:00
/* The Modal (background) */
.modal {
display: block; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(72, 65, 138); /* Fallback color */
background-color: rgba(0, 0, 0, 0.616); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
background-color: #333744;
margin: 10% auto; /* 15% from the top and centered */
border-radius: 7px;
padding: 25px;
color: #d1d1d1;
font-size: 18px;
font-weight: 100;
width: 60%; /* Could be more or less, depending on screen size */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
text-align: justify;
}
/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
2021-01-28 01:34:15 +01:00
.buttonsDiv {
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 24px;
/* justify-content: right; */
}
.space-between {
margin-left: 12px;
}