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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  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:1px 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. border: 1px solid $defaultDarkColor;
  47. }
  48. /**
  49. * The toolbar of the video thumbnail.
  50. */
  51. .videocontainer__toolbar {
  52. position: absolute;
  53. bottom: 0;
  54. left: 0;
  55. z-index: 1;
  56. width: 100%;
  57. box-sizing: border-box; // Includes the padding in the 100% width.
  58. height: $thumbnailToolbarHeight;
  59. max-height: 100%;
  60. background-color: rgba(0, 0, 0, 0.5);
  61. padding: 0 5px 0 5px;
  62. }
  63. /**
  64. * Focused video thumbnail.
  65. */
  66. #remoteVideos .videocontainer.videoContainerFocused {
  67. cursor: hand;
  68. transition-duration: 0.5s;
  69. -webkit-transition-duration: 0.5s;
  70. -webkit-animation-name: greyPulse;
  71. -webkit-animation-duration: 2s;
  72. -webkit-animation-iteration-count: 1;
  73. border: 1px solid $videoThumbnailSelected;
  74. }
  75. #remoteVideos .videocontainer:hover,
  76. #remoteVideos .videocontainer.videoContainerFocused:hover {
  77. border: 1px solid $videoThumbnailHovered;
  78. }
  79. #localVideoWrapper {
  80. display:inline-block;
  81. }
  82. /* With TemasysWebRTC plugin <object/> element is used
  83. instead of <video/> */
  84. #remoteVideos .videocontainer>video,
  85. #remoteVideos .videocontainer>object {
  86. cursor: hand;
  87. border-radius:1px;
  88. object-fit: cover;
  89. overflow: hidden;
  90. }
  91. .flipVideoX {
  92. transform: scale(-1, 1);
  93. -moz-transform: scale(-1, 1);
  94. -webkit-transform: scale(-1, 1);
  95. -o-transform: scale(-1, 1);
  96. }
  97. #localVideoWrapper>video,
  98. #localVideoWrapper>object {
  99. cursor: hand;
  100. border-radius:1px !important;
  101. object-fit: cover;
  102. }
  103. #largeVideo,
  104. #largeVideoWrapper,
  105. #largeVideoContainer {
  106. overflow: hidden;
  107. text-align: center;
  108. }
  109. #largeVideo,
  110. #largeVideoWrapper
  111. {
  112. object-fit: cover;
  113. }
  114. #sharedVideo,
  115. #etherpad,
  116. #localVideoWrapper>video,
  117. #localVideoWrapper>object,
  118. #localVideoWrapper,
  119. #largeVideoWrapper,
  120. #largeVideoWrapper>video,
  121. #largeVideoWrapper>object,
  122. .videocontainer>video,
  123. .videocontainer>object {
  124. position: absolute;
  125. left: 0;
  126. top: 0;
  127. z-index: 1;
  128. width: 100%;
  129. height: 100%;
  130. }
  131. #etherpad {
  132. text-align: center;
  133. }
  134. #etherpad {
  135. z-index: 0;
  136. }
  137. /**
  138. * Positions video thumbnail display name and editor.
  139. */
  140. .videocontainer .displayname,
  141. .videocontainer .editdisplayname {
  142. display: inline-block;
  143. position: absolute;
  144. left: 30%;
  145. width: 40%;
  146. color: $participantNameColor;
  147. text-align: center;
  148. text-overflow: ellipsis;
  149. font-size: 12px;
  150. font-weight: 100;
  151. letter-spacing: 1px;
  152. overflow: hidden;
  153. white-space: nowrap;
  154. line-height: $thumbnailToolbarHeight;
  155. z-index: 2;
  156. }
  157. /**
  158. * Positions video thumbnail display name editor.
  159. */
  160. .videocontainer .editdisplayname {
  161. outline: none;
  162. border: none;
  163. background: none;
  164. box-shadow: none;
  165. padding: 0;
  166. }
  167. .videocontainer>span.status {
  168. display: inline-block;
  169. position: absolute;
  170. color: #FFFFFF;
  171. background: rgba(0,0,0,.7);
  172. text-align: center;
  173. text-overflow: ellipsis;
  174. width: 70%;
  175. height: 15%;
  176. left: 15%;
  177. bottom: 2%;
  178. padding: 5px;
  179. font-size: 10pt;
  180. overflow: hidden;
  181. white-space: nowrap;
  182. z-index: 2;
  183. border-radius:3px;
  184. }
  185. .connectionindicator
  186. {
  187. display: inline-block;
  188. position: absolute;
  189. top: 7px;
  190. right: 0;
  191. padding: 0px 5px;
  192. z-index: 3;
  193. width: 18px;
  194. height: 13px;
  195. }
  196. .connection.connection_empty
  197. {
  198. color: #8B8B8B;/*#FFFFFF*/
  199. overflow: hidden;
  200. }
  201. .connection.connection_lost
  202. {
  203. color: #8B8B8B;
  204. overflow: visible;
  205. }
  206. .connection.connection_full
  207. {
  208. color: #FFFFFF;/*#15A1ED*/
  209. overflow: hidden;
  210. }
  211. .connection
  212. {
  213. position: absolute;
  214. left: 0px;
  215. top: 0px;
  216. font-size: 8pt;
  217. border: 0px;
  218. width: 18px;
  219. height: 13px;
  220. }
  221. .connection_info
  222. {
  223. float: left;
  224. padding-bottom: 5px;
  225. }
  226. .connection_info > table
  227. {
  228. white-space: nowrap;
  229. }
  230. .connection_info, .connection_info > table
  231. {
  232. text-align: left;
  233. font-size: 11px;
  234. color: #ffffff;
  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. #indicatoricon {
  311. width: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  312. height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  313. line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  314. }
  315. #reloadPresentation {
  316. display: none;
  317. position: absolute;
  318. color: #FFFFFF;
  319. top: 0;
  320. right:0;
  321. padding: 10px 10px;
  322. font-size: 11pt;
  323. cursor: pointer;
  324. background: rgba(0, 0, 0, 0.3);
  325. border-radius: 5px;
  326. background-clip: padding-box;
  327. -webkit-border-radius: 5px;
  328. -webkit-background-clip: padding-box;
  329. z-index: 20; /*The reload button should appear on top of the header!*/
  330. }
  331. .audiolevel {
  332. display: inline-block;
  333. position: absolute;
  334. z-index: 0;
  335. border-radius:1px;
  336. pointer-events: none;
  337. }
  338. #dominantSpeaker {
  339. visibility: hidden;
  340. width: 300px;
  341. height: 300px;
  342. margin: auto;
  343. overflow: hidden;
  344. position: relative;
  345. }
  346. #dominantSpeakerAudioLevel {
  347. position: absolute;
  348. top: 0px;
  349. left: 0px;
  350. z-index: 2;
  351. visibility: inherit;
  352. }
  353. #mixedstream {
  354. display:none !important;
  355. }
  356. #dominantSpeakerAvatar {
  357. width: 200px;
  358. height: 200px;
  359. top: 50px;
  360. margin: auto;
  361. position: relative;
  362. border-radius: 100px;
  363. z-index: 3;
  364. visibility: inherit;
  365. background-color: #000000;
  366. }
  367. .userAvatar {
  368. @include circle(60px);
  369. @include absoluteAligning(60px, 60px);
  370. }
  371. .sharedVideoAvatar {
  372. height: 100%;
  373. width: 100%;
  374. object-fit: cover;
  375. }
  376. .noMic {
  377. position: absolute;
  378. border-radius: 8px;
  379. z-index: 1;
  380. width: 100%;
  381. height: 100%;
  382. background-image: url("../images/noMic.png");
  383. background-color: #000;
  384. background-repeat: no-repeat;
  385. background-position: center;
  386. }
  387. .noVideo {
  388. position: absolute;
  389. border-radius: 8px;
  390. z-index: 1;
  391. width: 100%;
  392. height: 100%;
  393. background-image: url("../images/noVideo.png");
  394. background-color: #000;
  395. background-repeat: no-repeat;
  396. background-position: center;
  397. }
  398. .videoMessageFilter {
  399. -webkit-filter: grayscale(.5) opacity(0.8);
  400. filter: grayscale(.5) opacity(0.8);
  401. }
  402. .videoProblemFilter {
  403. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  404. filter: blur(10px) grayscale(.5) opacity(0.8);
  405. }
  406. #videoConnectionMessage {
  407. display: none;
  408. position: absolute;
  409. width: 100%;
  410. top:50%;
  411. z-index: 1011;
  412. font-weight: 600;
  413. font-size: 14px;
  414. text-align: center;
  415. color: #FFF;
  416. opacity: .80;
  417. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  418. 0px 1px 1px rgba(0,0,0,0.3),
  419. 1px 0px 1px rgba(0,0,0,0.3),
  420. 0px 0px 1px rgba(0,0,0,0.3);
  421. }
  422. #videoResolutionLabel {
  423. display: none;
  424. position: absolute;
  425. top: 5px;
  426. right: 5px;
  427. background: rgba(0,0,0,.5);
  428. padding: 10px;
  429. color: rgba(255,255,255,.5);
  430. z-index: 1011;
  431. }
  432. .centeredVideoLabel {
  433. display: none;
  434. position: absolute;
  435. bottom: 45%;
  436. top: auto;
  437. right: auto;
  438. left: auto;
  439. line-height: 28px;
  440. height: 28px;
  441. width: auto;
  442. padding: 5px;
  443. margin-right: auto;
  444. margin-left: auto;
  445. background: rgba(0,0,0,.5);
  446. color: #FFF;
  447. z-index: 1011;
  448. border-radius: 2px;
  449. -webkit-transition: all 2s 2s linear;
  450. transition: all 2s 2s linear;
  451. }
  452. .moveToCorner {
  453. top: 5px;
  454. right: 50px; /*leave free space for the HD label*/
  455. margin-right: 0px;
  456. margin-left: auto;
  457. background: rgba(0,0,0,.3);
  458. color: rgba(255,255,255,.5);
  459. }
  460. .hidden {
  461. }