ComunicWeb/assets/css/components/calls/callWindow.css

155 lines
2.1 KiB
CSS
Raw Normal View History

2019-01-24 13:40:36 +00:00
/**
* Calls window stylesheet
*
* @author Pierre HUBERT
*/
2019-01-26 09:23:57 +00:00
#callsTarget {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
visibility: hidden;
z-index: 1000;
}
2019-01-24 13:40:36 +00:00
.call-window {
width: 300px;
2019-01-26 09:23:57 +00:00
position: absolute;
2019-01-24 13:40:36 +00:00
top: 100px;
right: 10px;
z-index: 100;
border: 1px black solid;
display: flex;
flex-direction: column;
2019-01-26 08:52:40 +00:00
background-color: #000000b3;
2019-01-26 09:23:57 +00:00
visibility: visible;
2019-01-25 14:34:40 +00:00
}
2019-01-26 09:57:58 +00:00
.call-window .call-window-body{
2019-01-25 14:34:40 +00:00
flex: 1;
2019-01-26 09:57:58 +00:00
display: flex;
2019-01-26 10:40:39 +00:00
max-height: calc(100% - 62px);
2019-01-24 13:40:36 +00:00
}
/**
* Toolbar
*/
.call-toolbar {
height: 20px;
background-color: #000000b3;
color: white;
display: flex;
align-items: center;
padding-left: 10px;
}
.call-toolbar > i:first-child {
margin-right: 6px;
}
.call-title {
flex: 1;
2019-01-25 14:34:40 +00:00
}
/**
* Loading message
*/
2019-01-25 18:03:00 +00:00
.loading-message-container {
2019-01-25 14:34:40 +00:00
position: absolute;
2019-01-26 08:52:40 +00:00
min-height: 112px;
2019-01-25 14:34:40 +00:00
width: 100%;
display: flex;
background: 1px #0009;
flex-direction: column;
justify-content: space-around;
text-align: center;
font-size: 150%;
color: white;
2019-01-25 18:03:00 +00:00
}
/**
* Stream target
*/
.call-window .streams-target {
2019-01-26 09:57:58 +00:00
flex: 1;
2019-01-25 18:03:00 +00:00
display: flex;
flex-wrap: wrap;
flex-direction: row;
2019-01-26 09:57:58 +00:00
max-width: 100%;
2019-01-25 18:03:00 +00:00
}
.call-window .streams-target video {
2019-01-26 09:57:58 +00:00
flex: 1;
flex-shrink: 1;
2019-01-26 10:40:39 +00:00
max-height: 100%;
2019-01-26 08:52:40 +00:00
}
/**
* Footer
*/
.call-window .call-footer {
height: 40px;
display: flex;
justify-content: space-around;
align-items: center;
}
.call-window .call-footer .call-option-button {
color: #fff6;
flex: 1;
text-align: center;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.call-window .call-footer .call-option-button.selected {
color: white;
}
.call-window .call-footer .call-option-button:hover {
background-color: #ffffff4d;
}
.call-window .call-footer .call-option-button:active {
background-color: #fff3;
}
.call-window .call-footer .call-option-button.hang-up-button {
color: #dd4b39;
2019-01-26 11:10:41 +00:00
}
/**
* Responsive mode
*/
@media screen and (max-width: 730px) {
#callsTarget {
z-index: 1030;
}
.streams-target {
flex-direction: column !important;
}
.streams-target video {
max-width: 100%;
}
.call-window {
position: fixed;
width: 100%;
height: 100%;
top: 0px !important;
left: 0px !important;
}
2019-01-24 13:40:36 +00:00
}