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

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