You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_videolayout_default.scss 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. #videoconference_page {
  2. min-height: 100%;
  3. position: relative;
  4. transform: translate3d(0, 0, 0);
  5. width: 100%;
  6. }
  7. #layout_wrapper {
  8. @include ltr;
  9. display: flex;
  10. height: 100%;
  11. }
  12. #videospace {
  13. display: block;
  14. height: 100%;
  15. width: 100%;
  16. min-height: 100%;
  17. position: absolute;
  18. top: 0px;
  19. left: 0px;
  20. right: 0px;
  21. overflow: hidden;
  22. }
  23. #largeVideoBackgroundContainer,
  24. .large-video-background {
  25. height: 100%;
  26. left: 0;
  27. overflow: hidden;
  28. position: absolute;
  29. top: 0;
  30. width: 100%;
  31. #largeVideoBackground {
  32. min-height: 100%;
  33. min-width: 100%;
  34. }
  35. }
  36. #largeVideoBackgroundContainer {
  37. filter: blur(40px);
  38. }
  39. .videocontainer {
  40. position: relative;
  41. text-align: center;
  42. overflow: 'hidden';
  43. }
  44. #localVideoWrapper {
  45. display:inline-block;
  46. }
  47. .flipVideoX {
  48. transform: scale(-1, 1);
  49. -moz-transform: scale(-1, 1);
  50. -webkit-transform: scale(-1, 1);
  51. -o-transform: scale(-1, 1);
  52. }
  53. #localVideoWrapper video,
  54. #localVideoWrapper object {
  55. border-radius: $borderRadius !important;
  56. cursor: hand;
  57. object-fit: cover;
  58. }
  59. #largeVideo,
  60. #largeVideoWrapper,
  61. #largeVideoContainer {
  62. overflow: hidden;
  63. text-align: center;
  64. &.transition {
  65. transition: width 1s, height 1s, top 1s;
  66. }
  67. }
  68. .animatedFadeIn {
  69. opacity: 0;
  70. animation: fadeInAnimation 0.3s ease forwards;
  71. }
  72. @keyframes fadeInAnimation {
  73. from {
  74. opacity: 0;
  75. }
  76. to {
  77. opacity: 1;
  78. }
  79. }
  80. .animatedFadeOut {
  81. opacity: 1;
  82. animation: fadeOutAnimation 0.3s ease forwards;
  83. }
  84. @keyframes fadeOutAnimation {
  85. from {
  86. opacity: 1;
  87. }
  88. to {
  89. opacity: 0;
  90. }
  91. }
  92. #largeVideoContainer {
  93. height: 100%;
  94. width: 100%;
  95. position: absolute;
  96. top: 0;
  97. left: 0;
  98. margin: 0 !important;
  99. }
  100. #largeVideoWrapper {
  101. box-shadow: 0 0 20px -2px #444;
  102. }
  103. #largeVideo,
  104. #largeVideoWrapper
  105. {
  106. object-fit: cover;
  107. }
  108. #sharedVideo video {
  109. width: 100%;
  110. height: 100%;
  111. }
  112. #sharedVideo.disable-pointer {
  113. pointer-events: none;
  114. }
  115. #sharedVideo,
  116. #etherpad,
  117. #localVideoWrapper video,
  118. #localVideoWrapper object,
  119. #localVideoWrapper,
  120. #largeVideoWrapper,
  121. #largeVideoWrapper>video,
  122. #largeVideoWrapper>object,
  123. .videocontainer>video,
  124. .videocontainer>object {
  125. position: absolute;
  126. left: 0;
  127. top: 0;
  128. z-index: $zindex1;
  129. width: 100%;
  130. height: 100%;
  131. }
  132. #etherpad {
  133. text-align: center;
  134. }
  135. #etherpad {
  136. z-index: $zindex0;
  137. }
  138. #alwaysOnTop .displayname {
  139. font-size: 15px;
  140. position: inherit;
  141. width: 100%;
  142. left: 0px;
  143. top: 0px;
  144. margin-top: 10px;
  145. }
  146. /**
  147. * Audio indicator on video thumbnails.
  148. */
  149. .videocontainer>span.audioindicator,
  150. .videocontainer>.audioindicator-container {
  151. position: absolute;
  152. display: inline-block;
  153. left: 6px;
  154. top: 50%;
  155. margin-top: -17px;
  156. width: 6px;
  157. height: 35px;
  158. z-index: $zindex2;
  159. border: none;
  160. .audiodot-top,
  161. .audiodot-bottom,
  162. .audiodot-middle {
  163. opacity: 0;
  164. display: inline-block;
  165. @include circle(5px);
  166. background: rgba(9, 36, 77, 0.9);
  167. margin: 1px 0 1px 0;
  168. transition: opacity .25s ease-in-out;
  169. -moz-transition: opacity .25s ease-in-out;
  170. }
  171. span.audiodot-top::after,
  172. span.audiodot-bottom::after,
  173. span.audiodot-middle::after {
  174. content: "";
  175. display: inline-block;
  176. width: 5px;
  177. height: 5px;
  178. border-radius: 50%;
  179. -webkit-filter: blur(0.5px);
  180. filter: blur(0.5px);
  181. background: #44A5FF;
  182. }
  183. }
  184. #dominantSpeaker {
  185. visibility: hidden;
  186. width: 300px;
  187. height: 300px;
  188. margin: auto;
  189. position: relative;
  190. top: 50%;
  191. transform: translateY(-50%);
  192. }
  193. #dominantSpeakerAvatarContainer,
  194. .dynamic-shadow {
  195. width: 200px;
  196. height: 200px;
  197. }
  198. #dominantSpeakerAvatarContainer {
  199. top: 50px;
  200. margin: auto;
  201. position: relative;
  202. overflow: hidden;
  203. visibility: inherit;
  204. }
  205. .dynamic-shadow {
  206. border-radius: 50%;
  207. position: absolute;
  208. top: 50%;
  209. left: 50%;
  210. margin: -100px 0 0 -100px;
  211. transition: box-shadow 0.3s ease;
  212. }
  213. .avatar-container {
  214. @include maxSize(60px);
  215. @include absoluteAligning();
  216. display: flex;
  217. justify-content: center;
  218. height: 50%;
  219. width: auto;
  220. overflow: hidden;
  221. .userAvatar {
  222. height: 100%;
  223. object-fit: cover;
  224. width: 100%;
  225. top: 0px;
  226. left: 0px;
  227. position: absolute;
  228. }
  229. }
  230. #videoNotAvailableScreen {
  231. text-align: center;
  232. #avatarContainer {
  233. border-radius: 50%;
  234. display: inline-block;
  235. height: 50dvh;
  236. margin-top: 25dvh;
  237. overflow: hidden;
  238. width: 50dvh;
  239. #avatar {
  240. height: 100%;
  241. object-fit: cover;
  242. width: 100%;
  243. }
  244. }
  245. }
  246. .sharedVideoAvatar {
  247. position: absolute;
  248. left: 0px;
  249. top: 0px;
  250. height: 100%;
  251. width: 100%;
  252. object-fit: cover;
  253. }
  254. #remotePresenceMessage,
  255. #remoteConnectionMessage {
  256. position: absolute;
  257. width: auto;
  258. z-index: $zindex2;
  259. font-weight: 600;
  260. font-size: 14px;
  261. text-align: center;
  262. color: #FFF;
  263. left: 50%;
  264. transform: translate(-50%, 0);
  265. }
  266. #remotePresenceMessage .presence-label,
  267. #remoteConnectionMessage {
  268. opacity: .80;
  269. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  270. 0px 1px 1px rgba(0,0,0,0.3),
  271. 1px 0px 1px rgba(0,0,0,0.3),
  272. 0px 0px 1px rgba(0,0,0,0.3);
  273. background: rgba(0,0,0,.5);
  274. border-radius: 5px;
  275. padding: 5px;
  276. padding-left: 10px;
  277. padding-right: 10px;
  278. }
  279. #remoteConnectionMessage {
  280. display: none;
  281. }
  282. .display-video {
  283. .avatar-container {
  284. visibility: hidden;
  285. }
  286. video {
  287. visibility: visible;
  288. }
  289. }
  290. .display-avatar-only {
  291. .avatar-container {
  292. visibility: visible;
  293. }
  294. video {
  295. visibility: hidden;
  296. }
  297. }
  298. .presence-label {
  299. color: #fff;
  300. font-size: 12px;
  301. font-weight: 100;
  302. left: 0;
  303. margin: 0 auto;
  304. overflow: hidden;
  305. pointer-events: none;
  306. right: 0;
  307. text-align: center;
  308. text-overflow: ellipsis;
  309. top: calc(50% + 30px);
  310. white-space: nowrap;
  311. width: 100%;
  312. }