UNPKG

angular-openvidu

Version:

Simple, robust, OpenVidu room videochat component for Angular

41 lines (39 loc) 1.14 kB
.flip-screen { -webkit-transform: scaleX(-1); -ms-transform: scaleX(-1); transform: scaleX(-1); } :host(stream-appearin) { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } :host(stream-appearin) .participant { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; width: 100%; background-color: rgba(0, 0, 0, 0.4); display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } :host(stream-appearin) .participant span { color: #fff; display: none; } :host(stream-appearin) .participant video { width: 100%; height: 100%; }