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

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