jiti-meet/css/_premeeting-screens.scss

287 lines
5.8 KiB
SCSS
Raw Normal View History

2020-05-20 08:25:31 +00:00
/**
* Shared style for full screen local track based dialogs/modals.
*/
.premeeting-screen {
2020-06-29 07:45:58 +00:00
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.premeeting-screen {
2020-05-20 08:25:31 +00:00
align-items: stretch;
2020-09-29 11:00:30 +00:00
background: radial-gradient(50% 50% at 50% 50%, #2A3A4B 20.83%, #1E2A36 100%);
2020-05-20 08:25:31 +00:00
display: flex;
flex-direction: column;
font-size: 1.3em;
z-index: $toolbarZ + 1;
2020-09-29 11:00:30 +00:00
&-avatar {
background-color: #A4B8D1;
margin-bottom: 24px;
text {
fill: black;
font-size: 26px;
2021-02-23 11:09:22 +00:00
font-weight: 400;
2020-09-29 11:00:30 +00:00
}
}
2020-06-29 12:45:47 +00:00
.action-btn {
border-radius: 3px;
color: #fff;
cursor: pointer;
display: inline-block;
font-size: 15px;
line-height: 24px;
margin-top: 16px;
padding: 7px 16px;
position: relative;
text-align: center;
width: 286px;
&.primary {
background: #0376DA;
border: 1px solid #0376DA;
}
&.secondary {
background: transparent;
border: 1px solid #5E6D7A;
}
&.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;
display: flex;
flex: 1;
flex-direction: column;
justify-content: flex-end;
padding-bottom: 24px;
2020-05-20 08:25:31 +00:00
z-index: $toolbarZ + 2;
.title {
color: #fff;
font-size: 24px;
line-height: 32px;
margin-bottom: 16px;
}
.copy-meeting {
align-items: center;
cursor: pointer;
color: #fff;
display: flex;
flex-direction: row;
font-size: 15px;
font-weight: 300;
justify-content: center;
line-height: 24px;
margin-bottom: 16px;
2020-05-20 08:25:31 +00:00
.url {
2020-09-29 11:00:30 +00:00
background: rgba(28, 32, 37, 0.5);
border-radius: 4px;
2020-05-20 08:25:31 +00:00
display: flex;
padding: 8px 10px;
2020-09-29 11:00:30 +00:00
transition: background 0.16s ease-out;
2020-05-20 08:25:31 +00:00
&:hover {
background: #1C2025;
}
&.done {
background: #31B76A;
}
.jitsi-icon {
margin-left: 10px;
}
}
.copy-meeting-text {
width: 266px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2020-05-20 08:25:31 +00:00
&:hover {
align-self: stretch;
}
textarea {
border-width: 0;
height: 0;
opacity: 0;
padding: 0;
width: 0;
}
}
input.field {
2020-09-29 11:00:30 +00:00
background-color: white;
border: none;
outline: none;
border-radius: 3px;
font-size: 15px;
line-height: 24px;
color: #1C2025;
padding: 8px 0;
2020-05-20 08:25:31 +00:00
text-align: center;
2020-09-29 11:00:30 +00:00
width: 320px;
2020-05-20 08:25:31 +00:00
2020-09-29 11:00:30 +00:00
&.error {
box-shadow: 0px 0px 4px 3px rgba(225, 45, 45, 0.4);
2020-05-20 08:25:31 +00:00
}
2020-09-29 11:00:30 +00:00
&.focused {
box-shadow: 0px 0px 4px 3px #0376DA;
2020-05-20 08:25:31 +00:00
}
}
}
.media-btn-container {
display: flex;
justify-content: center;
2020-09-29 11:00:30 +00:00
margin: 24px 0 16px 0;
2020-05-20 08:25:31 +00:00
width: 100%;
&> div {
margin: 0 12px;
}
}
}
#preview {
height: 100%;
position: absolute;
width: 100%;
&.no-video {
background: radial-gradient(50% 50% at 50% 50%, #5B6F80 0%, #365067 100%), #FFFFFF;
text-align: center;
}
.avatar {
background: #A4B8D1;
2020-08-07 11:46:24 +00:00
margin: 0 auto;
2020-05-20 08:25:31 +00:00
}
video {
height: 100%;
object-fit: cover;
position: absolute;
width: 100%;
}
}
@mixin flex-centered() {
align-items: center;
display: flex;
justify-content: center;
}
@mixin icon-container($bg, $fill) {
.toggle-button-icon-container {
background: $bg;
svg {
fill: $fill
}
}
}
.toggle-button {
border-radius: 3px;
cursor: pointer;
color: #fff;
font-size: 13px;
height: 40px;
margin: 0 auto;
2020-09-29 11:00:30 +00:00
transition: background 0.16s ease-out;
width: 320px;
@include flex-centered();
svg {
fill: transparent;
}
&:hover {
2020-09-29 11:00:30 +00:00
background: rgba(255, 255, 255, 0.1);
.toggle-button-icon-container {
display: none;
}
}
&-container {
position: relative;
@include flex-centered();
}
&-icon-container {
border-radius: 50%;
left: -22px;
padding: 2px;
position: absolute;
}
&--toggled {
2020-09-29 11:00:30 +00:00
@include icon-container(white, #1C2025);
&:hover {
.toggle-button-icon-container {
display: block;
}
}
.toggle-button-icon-container {
display: block;
}
}
}