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

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