Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_videolayout_default.scss 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  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: 1;
  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. #remoteVideos .videocontainer.videoContainerFocused,
  75. #remoteVideos .videocontainer:hover {
  76. cursor: hand;
  77. margin-right: $thumbnailVideoMargin - 2;
  78. margin-left: $thumbnailVideoMargin - 2;
  79. margin-top: -2px;
  80. }
  81. /**
  82. * Focused video thumbnail.
  83. */
  84. #remoteVideos .videocontainer.videoContainerFocused {
  85. transition-duration: 0.5s;
  86. -webkit-transition-duration: 0.5s;
  87. -webkit-animation-name: greyPulse;
  88. -webkit-animation-duration: 2s;
  89. -webkit-animation-iteration-count: 1;
  90. border: 2px solid $videoThumbnailSelected !important;
  91. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  92. 0 0 3px $videoThumbnailSelected !important;
  93. }
  94. /**
  95. * Hovered video thumbnail.
  96. */
  97. #remoteVideos .videocontainer:hover {
  98. cursor: hand;
  99. border: 2px solid $videoThumbnailHovered;
  100. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  101. 0 0 3px $videoThumbnailHovered;
  102. }
  103. #localVideoWrapper {
  104. display:inline-block;
  105. }
  106. /* With TemasysWebRTC plugin <object/> element is used
  107. instead of <video/> */
  108. #remoteVideos .videocontainer>video,
  109. #remoteVideos .videocontainer>object {
  110. cursor: hand;
  111. border-radius:1px;
  112. object-fit: cover;
  113. overflow: hidden;
  114. }
  115. .flipVideoX {
  116. transform: scale(-1, 1);
  117. -moz-transform: scale(-1, 1);
  118. -webkit-transform: scale(-1, 1);
  119. -o-transform: scale(-1, 1);
  120. }
  121. #localVideoWrapper>video,
  122. #localVideoWrapper>object {
  123. cursor: hand;
  124. border-radius:1px !important;
  125. object-fit: cover;
  126. }
  127. #largeVideo,
  128. #largeVideoWrapper,
  129. #largeVideoContainer {
  130. overflow: hidden;
  131. text-align: center;
  132. }
  133. #largeVideo,
  134. #largeVideoWrapper
  135. {
  136. object-fit: cover;
  137. }
  138. #sharedVideo,
  139. #etherpad,
  140. #localVideoWrapper>video,
  141. #localVideoWrapper>object,
  142. #localVideoWrapper,
  143. #largeVideoWrapper,
  144. #largeVideoWrapper>video,
  145. #largeVideoWrapper>object,
  146. .videocontainer>video,
  147. .videocontainer>object {
  148. position: absolute;
  149. left: 0;
  150. top: 0;
  151. z-index: 1;
  152. width: 100%;
  153. height: 100%;
  154. }
  155. #etherpad {
  156. text-align: center;
  157. }
  158. #etherpad {
  159. z-index: 0;
  160. }
  161. /**
  162. * Positions video thumbnail display name and editor.
  163. */
  164. .videocontainer .displayname,
  165. .videocontainer .editdisplayname {
  166. display: inline-block;
  167. position: absolute;
  168. left: 10%;
  169. width: 80%;
  170. top: 50%;
  171. @include transform(translateY(-40%));
  172. color: $participantNameColor;
  173. text-align: center;
  174. text-overflow: ellipsis;
  175. font-size: 12px;
  176. font-weight: 100;
  177. overflow: hidden;
  178. white-space: nowrap;
  179. line-height: $thumbnailToolbarHeight;
  180. z-index: 2;
  181. }
  182. /**
  183. * Positions video thumbnail display name editor.
  184. */
  185. .videocontainer .editdisplayname {
  186. outline: none;
  187. border: none;
  188. background: none;
  189. box-shadow: none;
  190. padding: 0;
  191. }
  192. #localVideoContainer .displayname:hover {
  193. cursor: text;
  194. }
  195. .videocontainer .displayname {
  196. pointer-events: none;
  197. }
  198. .videocontainer .editdisplayname {
  199. height: auto;
  200. }
  201. #localDisplayName {
  202. pointer-events: auto !important;
  203. }
  204. .videocontainer>a.displayname {
  205. display: inline-block;
  206. position: absolute;
  207. color: #FFFFFF;
  208. bottom: 0;
  209. right: 0;
  210. padding: 3px 5px;
  211. font-size: 9pt;
  212. cursor: pointer;
  213. z-index: 2;
  214. }
  215. /**
  216. * Video thumbnail toolbar icon.
  217. */
  218. .videocontainer .toolbar-icon {
  219. font-size: 8pt;
  220. text-align: center;
  221. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  222. color: #FFFFFF;
  223. width: 12px;
  224. line-height: $thumbnailToolbarHeight;
  225. height: $thumbnailToolbarHeight;
  226. padding: 0;
  227. border: 0;
  228. margin: 0px 5px 0px 0px;
  229. float: left;
  230. }
  231. /**
  232. * Toolbar icon internal i elements (font icons).
  233. */
  234. .toolbar-icon>i {
  235. line-height: $thumbnailToolbarHeight;
  236. }
  237. /**
  238. * Toolbar icons positioned on the right.
  239. */
  240. .toolbar-icon.right {
  241. float: right;
  242. margin: 0px 0px 0px 5px;
  243. }
  244. #raisehandindicator {
  245. background: $raiseHandBg;
  246. }
  247. #connectionindicator {
  248. background: $connectionIndicatorBg;
  249. }
  250. .videocontainer__toptoolbar span.indicator {
  251. position: relative;
  252. font-size: 8pt;
  253. text-align: center;
  254. line-height: $thumbnailToolbarHeight;
  255. display: none;
  256. padding: 0;
  257. margin-right: 5px;
  258. float: left;
  259. @include circle($thumbnailIndicatorSize);
  260. box-sizing: border-box;
  261. z-index: 3;
  262. background: $dominantSpeakerBg;
  263. color: $thumbnailPictogramColor;
  264. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  265. .indicatoricon {
  266. position: absolute;
  267. top: 50%;
  268. left: 0;
  269. @include transform(translateY(-50%));
  270. width: $thumbnailIndicatorSize - 2 * $thumbnailIndicatorBorder;
  271. height: $thumbnailIndicatorSize - 2 * $thumbnailIndicatorBorder;
  272. line-height: $thumbnailIndicatorSize - 2 * $thumbnailIndicatorBorder;
  273. }
  274. .connection {
  275. position: relative;
  276. margin: 0 auto;
  277. width: 12px;
  278. height: 8px;
  279. &_empty
  280. {
  281. @include topLeft();
  282. max-width: 12px;
  283. width: 12px;
  284. color: #8B8B8B;/*#FFFFFF*/
  285. overflow: hidden;
  286. }
  287. &_lost
  288. {
  289. @include topLeft();
  290. max-width: 12px;
  291. width: 12px;
  292. color: #8B8B8B;
  293. overflow: visible;
  294. }
  295. &_full
  296. {
  297. @include topLeft();
  298. max-width: 12px;
  299. width: 12px;
  300. color: #FFFFFF;/*#15A1ED*/
  301. overflow: hidden;
  302. }
  303. }
  304. .icon-connection,
  305. .icon-connection-lost {
  306. font-size: 6pt;
  307. }
  308. }
  309. .remotevideomenu
  310. {
  311. display: inline-block;
  312. position: absolute;
  313. top: 0px;
  314. right: 0;
  315. margin: 7px;
  316. z-index: 3;
  317. width: 18px;
  318. height: 13px;
  319. color: #FFF;
  320. font-size: 8pt;
  321. }
  322. /**
  323. * Audio indicator on video thumbnails.
  324. */
  325. .videocontainer>span.audioindicator {
  326. position: absolute;
  327. display: inline-block;
  328. left: 6px;
  329. top: 50%;
  330. margin-top: -17px;
  331. width: 6px;
  332. height: 35px;
  333. z-index: 2;
  334. border: none;
  335. .audiodot-top,
  336. .audiodot-bottom,
  337. .audiodot-middle {
  338. opacity: 0;
  339. display: inline-block;
  340. @include circle(5px);
  341. background: $audioLevelShadow;
  342. margin: 1px 0 1px 0;
  343. transition: opacity .25s ease-in-out;
  344. -moz-transition: opacity .25s ease-in-out;
  345. }
  346. span.audiodot-top::after,
  347. span.audiodot-bottom::after,
  348. span.audiodot-middle::after {
  349. content: "";
  350. display: inline-block;
  351. width: 5px;
  352. height: 5px;
  353. border-radius: 50%;
  354. -webkit-filter: blur(0.5px);
  355. filter: blur(0.5px);
  356. background: $audioLevelBg;
  357. }
  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: 2;
  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: 2;
  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. .video-state-indicator {
  498. background: $videoStateIndicatorBackground;
  499. color: $videoStateIndicatorColor;
  500. font-size: 13px;
  501. line-height: 20px;
  502. text-align: center;
  503. min-width: 40px;
  504. height: 40px;
  505. padding: 10px 5px;
  506. border-radius: 50%;
  507. position: absolute;
  508. box-sizing: border-box;
  509. }
  510. #videoResolutionLabel,
  511. .centeredVideoLabel {
  512. display: none;
  513. z-index: 1011;
  514. }
  515. .centeredVideoLabel {
  516. bottom: 45%;
  517. border-radius: 2px;
  518. -webkit-transition: all 2s 2s linear;
  519. transition: all 2s 2s linear;
  520. &.moveToCorner {
  521. bottom: auto;
  522. }
  523. }
  524. .moveToCorner {
  525. position: absolute;
  526. top: 30px;
  527. right: 30px;
  528. }
  529. .moveToCorner + .moveToCorner {
  530. right: 80px;
  531. }