зеркало из https://github.com/nextcloud/spreed.git
Combine fullscreen handling rules, ensure white background if 1 participant fullscreen
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Родитель
dda6de7602
Коммит
6af4f0285a
|
@ -524,18 +524,51 @@ video {
|
|||
opacity: .8 !important;
|
||||
}
|
||||
|
||||
#app-content:-webkit-full-screen {
|
||||
|
||||
/* Fullscreen handling */
|
||||
|
||||
/**
|
||||
* Different browsers handle fullscreen elements with a margin in different
|
||||
* ways: Firefox ignores the margin and uses the full width, while Chromium uses
|
||||
* a strange mix which is neither the full width nor the full margin. Due to
|
||||
* this the margin is removed to unify the appearance across browsers; visually,
|
||||
* this causes the sidebar to slide on the content instead of "pushing" it to
|
||||
* the left.
|
||||
*/
|
||||
#app-content:-webkit-full-screen {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
|
||||
&.participants-1 {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
#app-content:-moz-full-screen {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
|
||||
&.participants-1 {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
#app-content:-ms-fullscreen {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
|
||||
&.participants-1 {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
#app-content:fullscreen {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
|
||||
&.participants-1 {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
/* No switching between rooms in fullscreen, focus on the current call. */
|
||||
#app-content:-webkit-full-screen #app-navigation-toggle {
|
||||
display: none !important;
|
||||
}
|
||||
|
@ -549,27 +582,6 @@ video {
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Different browsers handle fullscreen elements with a margin in different
|
||||
* ways: Firefox ignores the margin and uses the full width, while Chromium uses
|
||||
* a strange mix which is neither the full width nor the full margin. Due to
|
||||
* this the margin is removed to unify the appearance across browsers; visually,
|
||||
* this causes the sidebar to slide on the content instead of "pushing" it to
|
||||
* the left.
|
||||
*/
|
||||
#app-content:-webkit-full-screen {
|
||||
margin-right: 0;
|
||||
}
|
||||
#app-content:-moz-full-screen {
|
||||
margin-right: 0;
|
||||
}
|
||||
#app-content:-ms-fullscreen {
|
||||
margin-right: 0;
|
||||
}
|
||||
#app-content:fullscreen {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* In fullscreen mode there is no header, so the sidebar has to be moved to the
|
||||
* top.
|
||||
|
@ -628,6 +640,7 @@ video {
|
|||
top: 44px;
|
||||
}
|
||||
|
||||
|
||||
.localmediaerror h2 {
|
||||
color: red;
|
||||
font-weight: bold;
|
||||
|
|
Загрузка…
Ссылка в новой задаче