diff options
author | David Baker <dbkr@matrix.org> | 2014-09-18 15:51:30 +0100 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-09-18 15:51:30 +0100 |
commit | 3bd8cbc62fd8ac47acd56ec50360259f6098c66b (patch) | |
tree | a0db10c55eb9db72564d3cf8f91678d04ca62c81 /webclient/app.css | |
parent | WIP video chat layout (diff) | |
download | synapse-3bd8cbc62fd8ac47acd56ec50360259f6098c66b.tar.xz |
Prettier and stabler video with basic support for viewing mode. For now, transition into 'large' mode is disabled.
Diffstat (limited to 'webclient/app.css')
-rwxr-xr-x | webclient/app.css | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/webclient/app.css b/webclient/app.css index 69e608287e..7b6051e0b9 100755 --- a/webclient/app.css +++ b/webclient/app.css @@ -97,30 +97,44 @@ a:active { color: #000; } left: 0px; z-index: 1; background-color: rgba(0,0,0,0.0); + pointer-events: none; transition: background-color linear 300ms; } #videoBackground.large { background-color: rgba(0,0,0,0.85); + pointer-events: auto; } -#localVideo { - position: absolute; +#videoContainer { + max-width: 1280px; + margin: auto; top: 32px; - left: 160px; +} + +#videoContainer.large { +} + +#localVideo.mini { + position: relative; + left: 120px; width: 128px; height: 72px; - z-index: 2; +} + +#localVideo.ended { + -webkit-filter: grayscale(1); } #remoteVideo { - position: absolute; - top: 32px; - left: 300px; + transition: all linear 300ms; +} + +#remoteVideo.mini { + position: relative; + left: 120px; width: 128px; height: 72px; - z-index: 2; - transition: all linear 300ms; } #remoteVideo.large { |