Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

_videolayout_default.scss 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  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_full
  202. {
  203. color: #FFFFFF;/*#15A1ED*/
  204. overflow: hidden;
  205. }
  206. .connection
  207. {
  208. position: absolute;
  209. left: 0px;
  210. top: 0px;
  211. font-size: 8pt;
  212. border: 0px;
  213. width: 18px;
  214. height: 13px;
  215. }
  216. .connection_info
  217. {
  218. float: left;
  219. padding-bottom: 5px;
  220. }
  221. .connection_info > table
  222. {
  223. white-space: nowrap;
  224. }
  225. .connection_info, .connection_info > table
  226. {
  227. text-align: left;
  228. font-size: 11px;
  229. color: #ffffff;
  230. }
  231. #localVideoContainer>span.status:hover,
  232. #localVideoContainer .displayname:hover {
  233. cursor: text;
  234. }
  235. .videocontainer>span.status,
  236. .videocontainer .displayname {
  237. pointer-events: none;
  238. }
  239. .videocontainer .editdisplayname {
  240. height: auto;
  241. }
  242. #localDisplayName {
  243. pointer-events: auto !important;
  244. }
  245. .videocontainer>a.status,
  246. .videocontainer>a.displayname {
  247. display: inline-block;
  248. position: absolute;
  249. color: #FFFFFF;
  250. bottom: 0;
  251. right: 0;
  252. padding: 3px 5px;
  253. font-size: 9pt;
  254. cursor: pointer;
  255. z-index: 2;
  256. }
  257. /**
  258. * Video thumbnail toolbar icon.
  259. */
  260. .videocontainer .toolbar-icon {
  261. font-size: 8pt;
  262. text-align: center;
  263. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  264. color: #FFFFFF;
  265. width: 12px;
  266. line-height: $thumbnailToolbarHeight;
  267. height: $thumbnailToolbarHeight;
  268. padding: 0;
  269. border: 0;
  270. margin: 0px 5px 0px 0px;
  271. float: left;
  272. }
  273. /**
  274. * Toolbar icon internal i elements (font icons).
  275. */
  276. .toolbar-icon>i {
  277. line-height: $thumbnailToolbarHeight;
  278. }
  279. /**
  280. * Toolbar icons positioned on the right.
  281. */
  282. .toolbar-icon.right {
  283. float: right;
  284. margin: 0px 0px 0px 5px;
  285. }
  286. .videocontainer>span.indicator {
  287. position: absolute;
  288. top: 0px;
  289. left: 0px;
  290. @include circle($thumbnailIndicatorSize);
  291. box-sizing: border-box;
  292. line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  293. z-index: 3;
  294. text-align: center;
  295. background: $dominantSpeakerBg;
  296. margin: 7px;
  297. display: inline-block;
  298. color: $thumbnailPictogramColor;
  299. font-size: 8pt;
  300. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  301. }
  302. .videocontainer>#raisehandindicator {
  303. background: $raiseHandBg;
  304. }
  305. #indicatoricon {
  306. width: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  307. height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  308. line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
  309. }
  310. #reloadPresentation {
  311. display: none;
  312. position: absolute;
  313. color: #FFFFFF;
  314. top: 0;
  315. right:0;
  316. padding: 10px 10px;
  317. font-size: 11pt;
  318. cursor: pointer;
  319. background: rgba(0, 0, 0, 0.3);
  320. border-radius: 5px;
  321. background-clip: padding-box;
  322. -webkit-border-radius: 5px;
  323. -webkit-background-clip: padding-box;
  324. z-index: 20; /*The reload button should appear on top of the header!*/
  325. }
  326. .audiolevel {
  327. display: inline-block;
  328. position: absolute;
  329. z-index: 0;
  330. border-radius:1px;
  331. pointer-events: none;
  332. }
  333. #dominantSpeaker {
  334. visibility: hidden;
  335. width: 300px;
  336. height: 300px;
  337. margin: auto;
  338. overflow: hidden;
  339. position: relative;
  340. }
  341. #dominantSpeakerAudioLevel {
  342. position: absolute;
  343. top: 0px;
  344. left: 0px;
  345. z-index: 2;
  346. visibility: inherit;
  347. }
  348. #mixedstream {
  349. display:none !important;
  350. }
  351. #dominantSpeakerAvatar {
  352. width: 200px;
  353. height: 200px;
  354. top: 50px;
  355. margin: auto;
  356. position: relative;
  357. border-radius: 100px;
  358. z-index: 3;
  359. visibility: inherit;
  360. background-color: #000000;
  361. }
  362. .userAvatar {
  363. @include circle(60px);
  364. @include absoluteAligning(60px, 60px);
  365. }
  366. .sharedVideoAvatar {
  367. height: 100%;
  368. width: 100%;
  369. object-fit: cover;
  370. }
  371. .noMic {
  372. position: absolute;
  373. border-radius: 8px;
  374. z-index: 1;
  375. width: 100%;
  376. height: 100%;
  377. background-image: url("../images/noMic.png");
  378. background-color: #000;
  379. background-repeat: no-repeat;
  380. background-position: center;
  381. }
  382. .noVideo {
  383. position: absolute;
  384. border-radius: 8px;
  385. z-index: 1;
  386. width: 100%;
  387. height: 100%;
  388. background-image: url("../images/noVideo.png");
  389. background-color: #000;
  390. background-repeat: no-repeat;
  391. background-position: center;
  392. }
  393. .videoMessageFilter {
  394. -webkit-filter: grayscale(.5) opacity(0.8);
  395. filter: grayscale(.5) opacity(0.8);
  396. }
  397. .videoProblemFilter {
  398. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  399. filter: blur(10px) grayscale(.5) opacity(0.8);
  400. }
  401. #videoConnectionMessage {
  402. display: none;
  403. position: absolute;
  404. width: 100%;
  405. top:50%;
  406. z-index: 1011;
  407. font-weight: 600;
  408. font-size: 14px;
  409. text-align: center;
  410. color: #FFF;
  411. opacity: .80;
  412. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  413. 0px 1px 1px rgba(0,0,0,0.3),
  414. 1px 0px 1px rgba(0,0,0,0.3),
  415. 0px 0px 1px rgba(0,0,0,0.3);
  416. }
  417. #videoResolutionLabel {
  418. display: none;
  419. position: absolute;
  420. top: 5px;
  421. right: 5px;
  422. background: rgba(0,0,0,.5);
  423. padding: 10px;
  424. color: rgba(255,255,255,.5);
  425. z-index: 1011;
  426. }
  427. .centeredVideoLabel {
  428. display: none;
  429. position: absolute;
  430. bottom: 45%;
  431. top: auto;
  432. right: auto;
  433. left: auto;
  434. line-height: 28px;
  435. height: 28px;
  436. width: auto;
  437. padding: 5px;
  438. margin-right: auto;
  439. margin-left: auto;
  440. background: rgba(0,0,0,.5);
  441. color: #FFF;
  442. z-index: 1011;
  443. border-radius: 2px;
  444. -webkit-transition: all 2s 2s linear;
  445. transition: all 2s 2s linear;
  446. }
  447. .moveToCorner {
  448. top: 5px;
  449. right: 50px; /*leave free space for the HD label*/
  450. margin-right: 0px;
  451. margin-left: auto;
  452. background: rgba(0,0,0,.3);
  453. color: rgba(255,255,255,.5);
  454. }
  455. .hidden {
  456. }