diff options
author | David Baker <dbkr@matrix.org> | 2014-09-18 11:04:45 +0100 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-09-18 11:04:45 +0100 |
commit | e932e5237eaea4c08e6f7bcd849e4be6bd2e3f98 (patch) | |
tree | ab22cc46fc524a81c986646a88c474cecfeaaca0 /webclient/app.css | |
parent | Video calling (in a tiny box at the moment) (diff) | |
download | synapse-e932e5237eaea4c08e6f7bcd849e4be6bd2e3f98.tar.xz |
WIP video chat layout
Diffstat (limited to 'webclient/app.css')
-rwxr-xr-x | webclient/app.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/webclient/app.css b/webclient/app.css index 1845b34910..69e608287e 100755 --- a/webclient/app.css +++ b/webclient/app.css @@ -89,19 +89,47 @@ a:active { color: #000; } font-size: 80%; } +#videoBackground { + position: absolute; + height: 100%; + width: 100%; + top: 32px; + left: 0px; + z-index: 1; + background-color: rgba(0,0,0,0.0); + transition: background-color linear 300ms; +} + +#videoBackground.large { + background-color: rgba(0,0,0,0.85); +} + #localVideo { position: absolute; top: 32px; left: 160px; width: 128px; height: 72px; + z-index: 2; } + #remoteVideo { position: absolute; top: 32px; left: 300px; width: 128px; height: 72px; + z-index: 2; + transition: all linear 300ms; +} + +#remoteVideo.large { + width: 100%; + height: auto; +} + +#remoteVideo.ended { + -webkit-filter: grayscale(1); } #headerContent { |