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 9.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. .video-wrapper {
  2. position: relative;
  3. z-index: 1;
  4. }
  5. #videospace {
  6. display: block;
  7. position: absolute;
  8. top: 0px;
  9. left: 0px;
  10. right: 0px;
  11. overflow: hidden;
  12. }
  13. #remoteVideos {
  14. display: -webkit-box;
  15. display: -moz-box;
  16. display: -ms-flexbox;
  17. display: -webkit-flex;
  18. display: flex;
  19. flex-direction: row-reverse;
  20. flex-wrap: nowrap;
  21. justify-content: flex-start;
  22. position:absolute;
  23. text-align:right;
  24. height:196px;
  25. padding: 10px 10px 10px 5px;
  26. bottom: 0;
  27. left: 0;
  28. right: 0;
  29. width:auto;
  30. border:1px solid transparent;
  31. z-index: 5;
  32. transition: bottom 2s;
  33. overflow: visible !important;
  34. font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/
  35. }
  36. #remotevideos.hidden {
  37. bottom: -196px;
  38. }
  39. .videocontainer {
  40. position: relative;
  41. text-align: center;
  42. }
  43. #remoteVideos .videocontainer {
  44. display: none;
  45. position: relative;
  46. background-color: black;
  47. background-size: contain;
  48. border-radius:1px;
  49. margin: 0 $thumbnailVideoMargin;
  50. border: 1px solid $defaultDarkColor;
  51. }
  52. /**
  53. * The toolbar of the video thumbnail.
  54. */
  55. .videocontainer__toolbar {
  56. position: absolute;
  57. bottom: 0;
  58. left: 0;
  59. z-index: 1;
  60. width: 100%;
  61. box-sizing: border-box; // Includes the padding in the 100% width.
  62. height: $thumbnailToolbarHeight;
  63. max-height: 100%;
  64. background-color: rgba(0, 0, 0, 0.5);
  65. padding: 0 5px 0 5px;
  66. }
  67. /**
  68. * Focused video thumbnail.
  69. */
  70. #remoteVideos .videocontainer.videoContainerFocused {
  71. cursor: hand;
  72. transition-duration: 0.5s;
  73. -webkit-transition-duration: 0.5s;
  74. -webkit-animation-name: greyPulse;
  75. -webkit-animation-duration: 2s;
  76. -webkit-animation-iteration-count: 1;
  77. border: 1px solid $videoThumbnailSelected;
  78. }
  79. #remoteVideos .videocontainer:hover,
  80. #remoteVideos .videocontainer.videoContainerFocused:hover {
  81. border: 1px solid $videoThumbnailHovered;
  82. }
  83. #localVideoWrapper {
  84. display:inline-block;
  85. }
  86. /* With TemasysWebRTC plugin <object/> element is used
  87. instead of <video/> */
  88. #remoteVideos .videocontainer>video,
  89. #remoteVideos .videocontainer>object {
  90. cursor: hand;
  91. border-radius:1px;
  92. object-fit: cover;
  93. overflow: hidden;
  94. }
  95. .flipVideoX {
  96. transform: scale(-1, 1);
  97. -moz-transform: scale(-1, 1);
  98. -webkit-transform: scale(-1, 1);
  99. -o-transform: scale(-1, 1);
  100. }
  101. #localVideoWrapper>video,
  102. #localVideoWrapper>object {
  103. cursor: hand;
  104. border-radius:1px !important;
  105. object-fit: cover;
  106. }
  107. #largeVideo,
  108. #largeVideoWrapper,
  109. #largeVideoContainer {
  110. overflow: hidden;
  111. text-align: center;
  112. }
  113. #largeVideo,
  114. #largeVideoWrapper
  115. {
  116. object-fit: cover;
  117. }
  118. #presentation,
  119. #sharedVideo,
  120. #etherpad,
  121. #localVideoWrapper>video,
  122. #localVideoWrapper>object,
  123. #localVideoWrapper,
  124. #largeVideoWrapper,
  125. #largeVideoWrapper>video,
  126. #largeVideoWrapper>object,
  127. .videocontainer>video,
  128. .videocontainer>object {
  129. position: absolute;
  130. left: 0;
  131. top: 0;
  132. z-index: 1;
  133. width: 100%;
  134. height: 100%;
  135. }
  136. #etherpad,
  137. #presentation {
  138. text-align: center;
  139. }
  140. #etherpad {
  141. z-index: 0;
  142. }
  143. /**
  144. * Positions video thumbnail display name and editor.
  145. */
  146. .videocontainer .displayname,
  147. .videocontainer .editdisplayname {
  148. display: inline-block;
  149. position: absolute;
  150. left: 30%;
  151. width: 40%;
  152. color: $participantNameColor;
  153. text-align: center;
  154. text-overflow: ellipsis;
  155. font-size: 12px;
  156. font-weight: 100;
  157. letter-spacing: 1px;
  158. overflow: hidden;
  159. white-space: nowrap;
  160. line-height: $thumbnailToolbarHeight;
  161. z-index: 2;
  162. }
  163. /**
  164. * Positions video thumbnail display name editor.
  165. */
  166. .videocontainer .editdisplayname {
  167. outline: none;
  168. border: none;
  169. background: none;
  170. box-shadow: none;
  171. padding: 0;
  172. }
  173. .videocontainer>span.status {
  174. display: inline-block;
  175. position: absolute;
  176. color: #FFFFFF;
  177. background: rgba(0,0,0,.7);
  178. text-align: center;
  179. text-overflow: ellipsis;
  180. width: 70%;
  181. height: 15%;
  182. left: 15%;
  183. bottom: 2%;
  184. padding: 5px;
  185. font-size: 10pt;
  186. overflow: hidden;
  187. white-space: nowrap;
  188. z-index: 2;
  189. border-radius:3px;
  190. }
  191. .connectionindicator
  192. {
  193. display: inline-block;
  194. position: absolute;
  195. top: 7px;
  196. right: 0;
  197. padding: 0px 5px;
  198. z-index: 3;
  199. width: 18px;
  200. height: 13px;
  201. }
  202. .connection.connection_empty
  203. {
  204. color: #8B8B8B;/*#FFFFFF*/
  205. overflow: hidden;
  206. }
  207. .connection.connection_full
  208. {
  209. color: #FFFFFF;/*#15A1ED*/
  210. overflow: hidden;
  211. }
  212. .connection
  213. {
  214. position: absolute;
  215. left: 0px;
  216. top: 0px;
  217. font-size: 8pt;
  218. border: 0px;
  219. width: 18px;
  220. height: 13px;
  221. }
  222. .connection_info
  223. {
  224. float: left;
  225. padding-bottom: 5px;
  226. }
  227. .connection_info > table
  228. {
  229. white-space: nowrap;
  230. }
  231. .connection_info, .connection_info > table
  232. {
  233. text-align: left;
  234. font-size: 11px;
  235. color: #ffffff;
  236. }
  237. #localVideoContainer>span.status:hover,
  238. #localVideoContainer .displayname:hover {
  239. cursor: text;
  240. }
  241. .videocontainer>span.status,
  242. .videocontainer .displayname {
  243. pointer-events: none;
  244. }
  245. .videocontainer .editdisplayname {
  246. height: auto;
  247. }
  248. #localDisplayName {
  249. pointer-events: auto !important;
  250. }
  251. .videocontainer>a.status,
  252. .videocontainer>a.displayname {
  253. display: inline-block;
  254. position: absolute;
  255. color: #FFFFFF;
  256. bottom: 0;
  257. right: 0;
  258. padding: 3px 5px;
  259. font-size: 9pt;
  260. cursor: pointer;
  261. z-index: 2;
  262. }
  263. /**
  264. * Video thumbnail toolbar icon.
  265. */
  266. .videocontainer .toolbar-icon {
  267. font-size: 8pt;
  268. text-align: center;
  269. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  270. color: #FFFFFF;
  271. width: 12px;
  272. line-height: $thumbnailToolbarHeight;
  273. height: $thumbnailToolbarHeight;
  274. padding: 0;
  275. border: 0;
  276. margin: 0px 5px 0px 0px;
  277. float: left;
  278. }
  279. /**
  280. * Toolbar icon internal i elements (font icons).
  281. */
  282. .toolbar-icon>i {
  283. line-height: $thumbnailToolbarHeight;
  284. }
  285. /**
  286. * Toolbar icons positioned on the right.
  287. */
  288. .toolbar-icon.right {
  289. float: right;
  290. margin: 0px 0px 0px 5px;
  291. }
  292. .videocontainer>span.indicator {
  293. position: absolute;
  294. top: 0px;
  295. left: 0px;
  296. @include circle($thumbnailIndicatorSize);
  297. box-sizing: border-box;
  298. line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  299. z-index: 3;
  300. text-align: center;
  301. background: $dominantSpeakerBg;
  302. margin: 7px;
  303. display: inline-block;
  304. color: $thumbnailPictogramColor;
  305. font-size: 8pt;
  306. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  307. }
  308. .videocontainer>#raisehandindicator {
  309. background: $raiseHandBg;
  310. }
  311. #indicatoricon {
  312. width: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  313. height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  314. line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  315. }
  316. #reloadPresentation {
  317. display: none;
  318. position: absolute;
  319. color: #FFFFFF;
  320. top: 0;
  321. right:0;
  322. padding: 10px 10px;
  323. font-size: 11pt;
  324. cursor: pointer;
  325. background: rgba(0, 0, 0, 0.3);
  326. border-radius: 5px;
  327. background-clip: padding-box;
  328. -webkit-border-radius: 5px;
  329. -webkit-background-clip: padding-box;
  330. z-index: 20; /*The reload button should appear on top of the header!*/
  331. }
  332. .audiolevel {
  333. display: inline-block;
  334. position: absolute;
  335. z-index: 0;
  336. border-radius:1px;
  337. pointer-events: none;
  338. }
  339. #dominantSpeaker {
  340. visibility: hidden;
  341. width: 300px;
  342. height: 300px;
  343. margin: auto;
  344. overflow: hidden;
  345. position: relative;
  346. }
  347. #dominantSpeakerAudioLevel {
  348. position: absolute;
  349. top: 0px;
  350. left: 0px;
  351. z-index: 2;
  352. visibility: inherit;
  353. }
  354. #mixedstream {
  355. display:none !important;
  356. }
  357. #dominantSpeakerAvatar {
  358. width: 200px;
  359. height: 200px;
  360. top: 50px;
  361. margin: auto;
  362. position: relative;
  363. border-radius: 100px;
  364. z-index: 3;
  365. visibility: inherit;
  366. background-color: #000000;
  367. }
  368. .userAvatar {
  369. @include circle(60px);
  370. @include absoluteAligning(60px, 60px);
  371. }
  372. .sharedVideoAvatar {
  373. height: 100%;
  374. width: 100%;
  375. object-fit: cover;
  376. }
  377. .noMic {
  378. position: absolute;
  379. border-radius: 8px;
  380. z-index: 1;
  381. width: 100%;
  382. height: 100%;
  383. background-image: url("../images/noMic.png");
  384. background-color: #000;
  385. background-repeat: no-repeat;
  386. background-position: center;
  387. }
  388. .noVideo {
  389. position: absolute;
  390. border-radius: 8px;
  391. z-index: 1;
  392. width: 100%;
  393. height: 100%;
  394. background-image: url("../images/noVideo.png");
  395. background-color: #000;
  396. background-repeat: no-repeat;
  397. background-position: center;
  398. }
  399. .videoMessageFilter {
  400. -webkit-filter: grayscale(.5) opacity(0.8);
  401. filter: grayscale(.5) opacity(0.8);
  402. }
  403. .videoProblemFilter {
  404. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  405. filter: blur(10px) grayscale(.5) opacity(0.8);
  406. }
  407. #videoConnectionMessage {
  408. display: none;
  409. position: absolute;
  410. width: 100%;
  411. top:50%;
  412. z-index: 1011;
  413. font-weight: 600;
  414. font-size: 14px;
  415. text-align: center;
  416. color: #FFF;
  417. opacity: .80;
  418. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  419. 0px 1px 1px rgba(0,0,0,0.3),
  420. 1px 0px 1px rgba(0,0,0,0.3),
  421. 0px 0px 1px rgba(0,0,0,0.3);
  422. }
  423. #videoResolutionLabel {
  424. display: none;
  425. position: absolute;
  426. top: 5px;
  427. right: 5px;
  428. background: rgba(0,0,0,.5);
  429. padding: 10px;
  430. color: rgba(255,255,255,.5);
  431. z-index: 1011;
  432. }
  433. .centeredVideoLabel {
  434. display: none;
  435. position: absolute;
  436. bottom: 45%;
  437. top: auto;
  438. right: auto;
  439. left: auto;
  440. line-height: 28px;
  441. height: 28px;
  442. width: auto;
  443. padding: 5px;
  444. margin-right: auto;
  445. margin-left: auto;
  446. background: rgba(0,0,0,.5);
  447. color: #FFF;
  448. z-index: 1011;
  449. border-radius: 2px;
  450. -webkit-transition: all 2s 2s linear;
  451. transition: all 2s 2s linear;
  452. }
  453. .moveToCorner {
  454. top: 5px;
  455. right: 50px; /*leave free space for the HD label*/
  456. margin-right: 0px;
  457. margin-left: auto;
  458. background: rgba(0,0,0,.3);
  459. color: rgba(255,255,255,.5);
  460. }
  461. .hidden {
  462. }