From 2f04ee2c5d24aa4df9860414a7b5a7f990ecfa12 Mon Sep 17 00:00:00 2001 From: Mohammad Amoush <47069173+mamoush34@users.noreply.github.com> Date: Fri, 7 Feb 2020 13:35:18 -0500 Subject: Some css --- src/client/views/webcam/DashWebRTCVideo.scss | 36 ++++++++++++++++++++++++++++ src/client/views/webcam/DashWebRTCVideo.tsx | 9 +++---- 2 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 src/client/views/webcam/DashWebRTCVideo.scss (limited to 'src') diff --git a/src/client/views/webcam/DashWebRTCVideo.scss b/src/client/views/webcam/DashWebRTCVideo.scss new file mode 100644 index 000000000..30665e849 --- /dev/null +++ b/src/client/views/webcam/DashWebRTCVideo.scss @@ -0,0 +1,36 @@ +@import "../globalCssVariables"; + +.webcam-cont { + // position: absolute; + background: whitesmoke; + color: grey; + border-radius: 15px; + box-shadow: $intermediate-color 0.2vw 0.2vw 0.4vw; + border: solid #BBBBBBBB 5px; + pointer-events: all; + + .webcam-header { + height: 50px; + text-align: center; + text-transform: uppercase; + letter-spacing: 2px; + font-size: 16px; + width: 100%; + } + + #localVideo { + margin: 10px; + position: relative; + width: 300px; + max-height: 300px; + } + + #remoteVideo { + margin: 10px; + position: relative; + width: 300px; + max-height: 300px; + + } + +} \ No newline at end of file diff --git a/src/client/views/webcam/DashWebRTCVideo.tsx b/src/client/views/webcam/DashWebRTCVideo.tsx index 4c75b76c9..0b704db66 100644 --- a/src/client/views/webcam/DashWebRTCVideo.tsx +++ b/src/client/views/webcam/DashWebRTCVideo.tsx @@ -6,7 +6,7 @@ import { observable } from "mobx"; import { DocumentDecorations, CloseCall } from "../DocumentDecorations"; import { InkingControl } from "../InkingControl"; import "../../views/nodes/WebBox.scss"; -import "./DashWebRTC.scss"; +import "./DashWebRTCVideo.scss"; import adapter from 'webrtc-adapter'; import { DocServer } from "../../DocServer"; import { DocumentView } from "../nodes/DocumentView"; @@ -397,18 +397,15 @@ export class DashWebRTCVideo extends React.Component +
DashWebRTC
this.roomText = e!} onKeyDown={this.onEnterKeyDown} /> - {/* - - */} + ; let frozen = !this.props.isSelected() || DocumentDecorations.Instance.Interacting; -- cgit v1.2.3-70-g09d2