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

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