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

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