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

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