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

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