ComunicWeb/assets/css/components/calls/window.css

218 lines
3.3 KiB
CSS
Raw Permalink Normal View History

/**
* Call window
*/
#callsTarget {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
visibility: hidden;
z-index: 1000;
}
.call-window {
2020-04-12 16:36:40 +00:00
width: 338px;
min-width: 300px;
2020-04-12 16:36:40 +00:00
max-width: 100%;
min-height: 174px;
position: absolute;
top: 100px;
right: 10px;
z-index: 100;
border: 1px black solid;
display: flex;
flex-direction: column;
background-color: #000000b3;
visibility: visible;
2020-04-10 11:57:43 +00:00
}
2020-04-13 10:11:38 +00:00
.call-window.audio-only {
min-height: unset;
}
2020-04-13 10:04:51 +00:00
/* This could be moved to conversation page stylesheet also */
2020-04-13 09:18:04 +00:00
.call-window.embedded {
2020-04-13 10:04:51 +00:00
position: unset;
2020-04-13 09:18:04 +00:00
top: unset !important;
left: unset !important;
2020-04-13 10:04:51 +00:00
width: 90%;
2020-04-13 09:18:04 +00:00
height: 150px;
2020-04-13 10:04:51 +00:00
margin: 10px auto;
2020-04-13 09:18:04 +00:00
}
2020-04-13 10:11:38 +00:00
.call-window.embedded.audio-only {
height: 90px;
}
2020-04-13 09:18:04 +00:00
2020-04-10 11:57:43 +00:00
.call-window .head {
color: white;
padding: 5px;
margin-left: 5px;
margin-right: 5px;
}
.call-window .head .fa-phone {
margin-right: 5px;
vertical-align: middle;
}
2020-04-13 12:55:22 +00:00
.call-window .head .title {
cursor: default;
}
2020-04-10 11:57:43 +00:00
.call-window .head a {
color: inherit;
2020-04-10 14:55:31 +00:00
}
2020-04-14 16:20:37 +00:00
.call-window .head .time {
font-size: 80%;
}
2020-04-14 06:29:11 +00:00
.call-window .record-label {
2020-04-13 17:07:12 +00:00
color: red;
margin-left: 10px;
2020-04-14 06:29:11 +00:00
text-align: center;
2020-04-13 17:07:12 +00:00
}
2020-04-14 06:29:11 +00:00
.call-window .record-label a {
2020-04-13 17:07:12 +00:00
margin-left: 5px;
background-color: darkred !important;
font-weight: bold;
2020-04-14 06:29:11 +00:00
color: white;
2020-04-13 17:07:12 +00:00
}
2020-04-10 14:55:31 +00:00
.call-window .members-area {
color: white;
font-size: 80%;
text-align: center;
display: flex;
flex-direction: row;
justify-content: center;
}
.call-window .members-area span {
margin: 0px 5px;
2020-04-11 12:18:27 +00:00
}
2020-04-12 16:06:29 +00:00
.call-window .members-area span.ready {
color: rgb(1, 218, 1);
}
2021-01-23 19:56:07 +00:00
.call-window .members-area span.talking {
font-weight: bold;
text-decoration: underline;
}
2020-04-14 17:06:15 +00:00
.call-window .messages-area {
color: white;
margin: 1px 10px;
text-align: center;
}
2020-04-11 12:18:27 +00:00
.call-window .videos-area {
display: flex;
flex-direction: row;
2020-04-12 15:40:50 +00:00
max-width: 100%;
2020-04-12 16:36:40 +00:00
flex-wrap: wrap;
2020-04-12 17:02:09 +00:00
flex: 1;
justify-content: center;
2020-04-13 07:35:09 +00:00
overflow: hidden;
2020-04-11 12:18:27 +00:00
}
2020-04-13 07:26:15 +00:00
.call-window .videos-area .video {
2020-04-12 15:40:50 +00:00
flex-shrink: 1;
flex: 1;
max-height: 100%;
2020-04-12 16:36:40 +00:00
max-width: 100%;
2020-04-13 07:26:15 +00:00
display: flex;
justify-content: center;
align-items: center;
2020-04-13 07:35:09 +00:00
flex-direction: column;
2020-04-13 07:26:15 +00:00
}
.call-window .videos-area .video video {
border: 2px transparent solid;
}
.call-window .videos-area .video video.talking {
border: 2px green solid;
}
2020-04-13 07:26:15 +00:00
.call-window .videos-area .video video {
2020-04-13 07:39:10 +00:00
width: 100%;
height: 100%;
2020-04-12 16:52:56 +00:00
}
.call-window .window-bottom {
height: 40px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: black;
2020-04-12 16:52:56 +00:00
}
.call-window .window-bottom div {
color: #fff6;
flex: 1;
text-align: center;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.call-window .window-bottom div.selected {
color: white;
}
.call-window .window-bottom div:hover {
background-color: #ffffff4d;
}
.call-window .window-bottom div:active {
background-color: #fff3;
}
2020-04-13 14:30:13 +00:00
.call-window .window-bottom div i {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
2020-04-12 16:52:56 +00:00
.call-window .window-bottom div.hang-up-button {
color: #dd4b39;
2020-04-12 16:57:56 +00:00
}
2020-04-13 14:30:13 +00:00
.call-window .window-bottom .dropdown-menu {
2020-04-13 16:47:28 +00:00
left: -125px;
2020-04-13 14:30:13 +00:00
}
.call-window .window-bottom .dropdown-menu i {
display: inline;
}
2020-04-12 16:57:56 +00:00
/**
* Responsive mode
*/
2020-04-14 16:31:12 +00:00
@media screen and (max-width: 730px) {
2020-04-12 16:57:56 +00:00
#callsTarget {
z-index: 1030;
}
.call-window {
width: 100%;
position: fixed;
left: 0px;
}
2020-04-14 16:30:10 +00:00
.call-window.embedded {
height: unset;
}
2020-04-12 16:57:56 +00:00
.call-window .videos-area {
flex-direction: column;
}
2020-04-14 16:31:12 +00:00
}