Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_videolayout_default.scss 12KB

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