jiti-meet/css/premeeting/_premeeting-screens.scss

244 lines
5.2 KiB
SCSS
Raw Normal View History

.premeeting-screen {
background: #292929;
bottom: 0;
2020-05-20 08:25:31 +00:00
display: flex;
font-size: 1.3em;
left: 0;
position: absolute;
right: 0;
top: 0;
2020-05-20 08:25:31 +00:00
z-index: $toolbarZ + 1;
2020-06-29 12:45:47 +00:00
.action-btn {
border-radius: 6px;
box-sizing: border-box;
2020-06-29 12:45:47 +00:00
color: #fff;
cursor: pointer;
display: inline-block;
font-size: 14px;
font-weight: 600;
2020-06-29 12:45:47 +00:00
line-height: 24px;
margin-bottom: 16px;
2020-06-29 12:45:47 +00:00
padding: 7px 16px;
position: relative;
text-align: center;
width: 100%;
2020-06-29 12:45:47 +00:00
&.primary {
background: #0376DA;
border: 1px solid #0376DA;
}
&.secondary {
background: #3D3D3D;
border: 1px solid transparent;
2020-06-29 12:45:47 +00:00
}
&.text {
width: auto;
font-size: 13px;
margin: 0;
padding: 0;
}
&.disabled {
background: #5E6D7A;
border: 1px solid #5E6D7A;
color: #AFB6BC;
cursor: initial;
.icon {
& > svg {
fill: #AFB6BC;
}
}
}
.options {
2020-09-29 11:00:30 +00:00
border-radius: 3px;
2020-06-29 12:45:47 +00:00
align-items: center;
display: flex;
height: 100%;
justify-content: center;
position: absolute;
right: 0;
top: 0;
2020-09-29 11:00:30 +00:00
width: 36px;
&:hover {
background-color: #0262B6;
}
svg {
pointer-events: none;
}
2020-06-29 12:45:47 +00:00
}
}
2020-05-20 08:25:31 +00:00
.content {
align-items: center;
box-sizing: border-box;
2020-05-20 08:25:31 +00:00
display: flex;
flex-direction: column;
flex-shrink: 0;
height: 100%;
margin: 0 110px;
padding: 24px 0 16px;
position: relative;
width: $prejoinDefaultContentWidth;
2020-05-20 08:25:31 +00:00
z-index: $toolbarZ + 2;
&-controls {
2020-05-20 08:25:31 +00:00
align-items: center;
display: flex;
flex-direction: column;
margin: auto;
width: 100%;
.title {
color: #fff;
font-size: 28px;
font-weight: 600;
letter-spacing: -0.015;
line-height: 36px;
margin-bottom: 32px;
text-align: center;
}
input.field {
background-color: white;
border: none;
outline: none;
border-radius: 6px;
font-size: 14px;
line-height: 20px;
margin-bottom: 16px;
color: #1C2025;
padding: 10px 16px;
text-align: center;
width: 100%;
&.error {
border: 1px solid #E04757;
2020-05-20 08:25:31 +00:00
}
&.focused {
box-shadow: 0px 0px 1px 1.5px black, 0px 0px 1.3px 4px white;
2020-05-20 08:25:31 +00:00
}
}
#new-toolbox {
bottom: 0;
position: relative;
transition: none;
.toolbox-content {
margin-bottom: 4px;
}
.toolbox-content-items {
background: transparent;
border-radius: 0;
box-shadow: none;
display: flex;
justify-content: space-evenly;
padding: 8px 0;
}
.toolbox-content,
.toolbox-content-wrapper,
.toolbox-content-items {
box-sizing: border-box;
width: 100%;
}
2020-05-20 08:25:31 +00:00
}
}
}
2020-05-20 08:25:31 +00:00
@media (max-width: 1000px) {
flex-direction: column-reverse;
.content {
height: auto;
margin: 0 auto;
2020-05-20 08:25:31 +00:00
}
.con-status {
margin: 24px auto;
position: fixed;
top: 0;
width: $prejoinDefaultContentWidth;
}
}
2020-05-20 08:25:31 +00:00
@media (max-width: 400px) {
.content {
padding: 16px;
width: 100%;
&-controls {
input.field {
font-size: 16px;
padding: 14px 16px;
}
}
.title {
display: none;
2020-05-20 08:25:31 +00:00
}
}
2020-05-20 08:25:31 +00:00
.con-status {
margin: 0;
width: 100%;
}
.device-status-error {
border-radius: 0;
margin: 0 -16px;
2020-05-20 08:25:31 +00:00
}
input.field {
font-size: 16px;
padding: 14px 16px;
}
2020-05-20 08:25:31 +00:00
.action-btn {
font-size: 16px;
margin-bottom: 8px;
padding: 11px 16px;
}
2020-05-20 08:25:31 +00:00
}
input::placeholder {
color: #040404;
}
2020-05-20 08:25:31 +00:00
}
#preview {
background: #040404;
display: flex;
align-items: center;
justify-content: center;
2020-05-20 08:25:31 +00:00
height: 100%;
width: 100%;
.avatar {
text {
fill: white;
}
2020-05-20 08:25:31 +00:00
}
video {
height: 100%;
object-fit: cover;
width: 100%;
}
}
@mixin flex-centered() {
align-items: center;
display: flex;
justify-content: center;
}