decentralized-video-chat/public/css/chat.css

174 lines
3.0 KiB
CSS
Raw Normal View History

2020-03-25 05:34:57 +08:00
@import url("https://fonts.googleapis.com/css?family=Fira+Sans:600|Heebo:400,500,700&display=swap");
.videos {
2020-03-24 13:04:30 +08:00
display: flex;
height: 100vh;
margin: 0;
2020-03-25 05:34:57 +08:00
padding: 0;
2020-03-24 13:04:30 +08:00
align-items: center;
2020-03-25 05:34:57 +08:00
/*padding: 0 50px;*/
}
body {
background: #16171B;
margin: 0;
padding: 0;
/*background: #ececec;*/
2020-03-24 13:04:30 +08:00
}
video {
background: #292B32;
/*background: white;*/
margin: 0 5%;
box-sizing: border-box;
border-radius: 10px;
padding: 0;
/*box-shadow: rgba(118, 143, 255, 0.4) 0px 16px 24px 0px;*/
}
#local-video {
width: 20%;
height: auto
}
#remote-video {
width: 70%;
2020-03-25 06:14:05 +08:00
height: auto;
background-image: url(../images/loader.gif);
2020-03-25 06:14:05 +08:00
background-size: 400px auto;
background-repeat: no-repeat;
2020-03-25 06:14:05 +08:00
background-position: center center;
}
2020-03-25 05:34:57 +08:00
.buttons {
width: 700px;
margin-left: -350px;
2020-03-25 05:34:57 +08:00
bottom: 0px;
position: absolute;
left: 50%;
}
.buttons a {
cursor: pointer;
}
2020-03-25 05:34:57 +08:00
.round-button {
display: block;
width: 100px;
height: 60px;
line-height: 60px;
2020-03-25 05:34:57 +08:00
border-radius: 4px;
background: #292B32;
text-align: center;
2020-03-25 05:34:57 +08:00
text-decoration: none;
color: white;
transition: 0.2s;
margin: 20px;
font-family: "Heebo", sans-serif;
font-weight: 400;
float: left;
2020-03-25 05:34:57 +08:00
}
2020-03-25 05:34:57 +08:00
.round-button:hover {
background: #3d3f47;
2020-03-26 05:57:54 +08:00
}
.snackbar-container {
transition: all .5s ease;
transition-property: top, right, bottom, left, opacity;
font-family: "Heebo", sans-serif;
font-size: 14px;
min-height: 14px;
position: fixed;
display: flex;
justify-content: space-between;
align-items: center;
color: #fff;
line-height: 22px;
padding: 18px 24px;
bottom: -100px;
top: -100px;
opacity: 0;
z-index: 9999
}
.snackbar-container .action {
background: inherit;
display: inline-block;
border: none;
font-size: inherit;
text-transform: uppercase;
color: #4caf50;
margin: 0 0 0 24px;
padding: 0;
min-width: min-content;
cursor: pointer
}
@media (min-width: 640px) {
.snackbar-container {
min-width: 288px;
max-width: 568px;
display: inline-flex;
border-radius: 2px;
margin: 24px
}
}
@media (max-width: 640px) {
.snackbar-container {
left: 0;
right: 0;
width: 100%
}
}
.snackbar-pos.bottom-center {
top: auto !important;
bottom: 0;
left: 50%;
transform: translate(-50%, 0)
}
.snackbar-pos.bottom-left {
top: auto !important;
bottom: 0;
left: 0
}
.snackbar-pos.bottom-right {
top: auto !important;
bottom: 0;
right: 0
}
.snackbar-pos.top-left {
bottom: auto !important;
top: 0;
left: 0
}
.snackbar-pos.top-center {
bottom: auto !important;
top: 0;
left: 50%;
transform: translate(-50%, 0)
}
.snackbar-pos.top-right {
bottom: auto !important;
top: 0;
right: 0
}
@media (max-width: 640px) {
.snackbar-pos.bottom-center, .snackbar-pos.top-center {
left: 0;
transform: none
}
2020-03-24 13:04:30 +08:00
}