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

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