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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  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. .video_blurred_container {
  14. height: 100%;
  15. filter: blur(40px);
  16. left: 0;
  17. overflow: hidden;
  18. position: absolute;
  19. top: 0;
  20. width: 100%;
  21. }
  22. .videocontainer {
  23. position: relative;
  24. text-align: center;
  25. &__background {
  26. @include topLeft();
  27. background-color: black;
  28. border-radius: $borderRadius;
  29. width: 100%;
  30. height: 100%;
  31. }
  32. /**
  33. * The toolbar of the video thumbnail.
  34. */
  35. &__toolbar,
  36. &__toptoolbar {
  37. position: absolute;
  38. left: 0;
  39. z-index: $zindex3;
  40. width: 100%;
  41. box-sizing: border-box; // Includes the padding in the 100% width.
  42. }
  43. &__toolbar {
  44. bottom: 0;
  45. padding: 0 5px 0 5px;
  46. height: $thumbnailToolbarHeight;
  47. }
  48. &__toptoolbar {
  49. $toolbarPadding: 5px;
  50. top: 0;
  51. padding: $toolbarPadding;
  52. padding-bottom: 0;
  53. .connection-indicator-container,
  54. .connection-indicator,
  55. span.indicator {
  56. margin-right: em(5, 8);
  57. }
  58. span.indicator {
  59. display: none;
  60. &:last-child {
  61. margin-right: 0;
  62. }
  63. }
  64. .connection-indicator,
  65. span.indicator {
  66. position: relative;
  67. font-size: 8px;
  68. text-align: center;
  69. line-height: $thumbnailIndicatorSize;
  70. padding: 0;
  71. float: left;
  72. @include circle($thumbnailIndicatorSize);
  73. box-sizing: border-box;
  74. z-index: $zindex3;
  75. background: $dominantSpeakerBg;
  76. color: $thumbnailPictogramColor;
  77. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  78. .indicatoricon {
  79. @include absoluteAligning();
  80. }
  81. .connection {
  82. position: relative;
  83. display: inline-block;
  84. margin: 0 auto;
  85. left: 0;
  86. @include transform(translate(0, -50%));
  87. &_empty
  88. {
  89. color: #8B8B8B;/*#FFFFFF*/
  90. overflow: hidden;
  91. }
  92. &_lost
  93. {
  94. color: #8B8B8B;
  95. overflow: visible;
  96. }
  97. &_full
  98. {
  99. @include topLeft();
  100. color: #FFFFFF;/*#15A1ED*/
  101. overflow: hidden;
  102. }
  103. &_ninja
  104. {
  105. font-size: 1.5em;
  106. }
  107. }
  108. .icon-connection,
  109. .icon-connection-lost {
  110. font-size: 1em;
  111. }
  112. }
  113. }
  114. &__hoverOverlay {
  115. background: rgba(0,0,0,.6);
  116. border-radius: $borderRadius;
  117. position: relative;
  118. width: 100%;
  119. height: 100%;
  120. visibility: hidden;
  121. z-index: $zindex2;
  122. }
  123. &.audio-only {
  124. .videoThumbnailProblemFilter {
  125. filter: none;
  126. }
  127. }
  128. }
  129. #localVideoWrapper {
  130. display:inline-block;
  131. }
  132. .flipVideoX {
  133. transform: scale(-1, 1);
  134. -moz-transform: scale(-1, 1);
  135. -webkit-transform: scale(-1, 1);
  136. -o-transform: scale(-1, 1);
  137. }
  138. #localVideoWrapper>video,
  139. #localVideoWrapper>object {
  140. border-radius: $borderRadius !important;
  141. cursor: hand;
  142. object-fit: cover;
  143. }
  144. #largeVideo,
  145. #largeVideoWrapper,
  146. #largeVideoContainer {
  147. overflow: hidden;
  148. text-align: center;
  149. }
  150. #largeVideoWrapper {
  151. box-shadow: 0 0 20px -2px #444;
  152. }
  153. #largeVideo,
  154. #largeVideoWrapper
  155. {
  156. object-fit: cover;
  157. }
  158. #sharedVideo,
  159. #etherpad,
  160. #localVideoWrapper>video,
  161. #localVideoWrapper>object,
  162. #localVideoWrapper,
  163. #largeVideoWrapper,
  164. #largeVideoWrapper>video,
  165. #largeVideoWrapper>object,
  166. .videocontainer>video,
  167. .videocontainer>object {
  168. position: absolute;
  169. left: 0;
  170. top: 0;
  171. z-index: $zindex1;
  172. width: 100%;
  173. height: 100%;
  174. }
  175. #etherpad {
  176. text-align: center;
  177. }
  178. #etherpad {
  179. z-index: $zindex0;
  180. }
  181. /**
  182. * Positions video thumbnail display name and editor.
  183. */
  184. .videocontainer .displayname,
  185. .videocontainer .editdisplayname {
  186. display: inline-block;
  187. position: absolute;
  188. left: 10%;
  189. width: 80%;
  190. top: 50%;
  191. @include transform(translateY(-40%));
  192. color: $participantNameColor;
  193. text-align: center;
  194. text-overflow: ellipsis;
  195. font-size: 12px;
  196. font-weight: 100;
  197. overflow: hidden;
  198. white-space: nowrap;
  199. line-height: $thumbnailToolbarHeight;
  200. z-index: $zindex2;
  201. }
  202. /**
  203. * Positions video thumbnail display name editor.
  204. */
  205. .videocontainer .editdisplayname {
  206. outline: none;
  207. border: none;
  208. background: none;
  209. box-shadow: none;
  210. padding: 0;
  211. }
  212. #localVideoContainer .displayname:hover {
  213. cursor: text;
  214. }
  215. .videocontainer .displayname {
  216. pointer-events: none;
  217. padding: 0 3px 0 3px;
  218. }
  219. .videocontainer .editdisplayname {
  220. height: auto;
  221. }
  222. #localDisplayName {
  223. pointer-events: auto !important;
  224. }
  225. .videocontainer>a.displayname {
  226. display: inline-block;
  227. position: absolute;
  228. color: #FFFFFF;
  229. bottom: 0;
  230. right: 0;
  231. padding: 3px 5px;
  232. font-size: 9pt;
  233. cursor: pointer;
  234. z-index: $zindex2;
  235. }
  236. /**
  237. * Video thumbnail toolbar icon.
  238. */
  239. .videocontainer .toolbar-icon {
  240. font-size: 8pt;
  241. text-align: center;
  242. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  243. color: #FFFFFF;
  244. width: 12px;
  245. line-height: $thumbnailToolbarHeight;
  246. height: $thumbnailToolbarHeight;
  247. padding: 0;
  248. border: 0;
  249. margin: 0px 5px 0px 0px;
  250. float: left;
  251. }
  252. /**
  253. * Toolbar icon internal i elements (font icons).
  254. */
  255. .toolbar-icon>i {
  256. line-height: $thumbnailToolbarHeight;
  257. }
  258. /**
  259. * Toolbar icons positioned on the right.
  260. */
  261. .toolbar-icon.right {
  262. float: right;
  263. margin: 0px 0px 0px 5px;
  264. }
  265. #raisehandindicator {
  266. background: $raiseHandBg;
  267. }
  268. .connection-indicator {
  269. background: $connectionIndicatorBg;
  270. }
  271. .remotevideomenu
  272. {
  273. display: inline-block;
  274. position: absolute;
  275. top: 0px;
  276. right: 0;
  277. margin: 7px;
  278. z-index: $zindex3;
  279. width: 18px;
  280. height: 13px;
  281. color: #FFF;
  282. font-size: 8pt;
  283. }
  284. /**
  285. * Audio indicator on video thumbnails.
  286. */
  287. .videocontainer>span.audioindicator,
  288. .videocontainer>.audioindicator-container {
  289. position: absolute;
  290. display: inline-block;
  291. left: 6px;
  292. top: 50%;
  293. margin-top: -17px;
  294. width: 6px;
  295. height: 35px;
  296. z-index: $zindex2;
  297. border: none;
  298. .audiodot-top,
  299. .audiodot-bottom,
  300. .audiodot-middle {
  301. opacity: 0;
  302. display: inline-block;
  303. @include circle(5px);
  304. background: $audioLevelShadow;
  305. margin: 1px 0 1px 0;
  306. transition: opacity .25s ease-in-out;
  307. -moz-transition: opacity .25s ease-in-out;
  308. }
  309. span.audiodot-top::after,
  310. span.audiodot-bottom::after,
  311. span.audiodot-middle::after {
  312. content: "";
  313. display: inline-block;
  314. width: 5px;
  315. height: 5px;
  316. border-radius: 50%;
  317. -webkit-filter: blur(0.5px);
  318. filter: blur(0.5px);
  319. background: $audioLevelBg;
  320. }
  321. }
  322. #reloadPresentation {
  323. display: none;
  324. position: absolute;
  325. color: #FFFFFF;
  326. top: 0;
  327. right:0;
  328. padding: 10px 10px;
  329. font-size: 11pt;
  330. cursor: pointer;
  331. background: rgba(0, 0, 0, 0.3);
  332. border-radius: 5px;
  333. background-clip: padding-box;
  334. -webkit-border-radius: 5px;
  335. -webkit-background-clip: padding-box;
  336. z-index: $reloadZ; /*The reload button should appear on top of the header!*/
  337. }
  338. .audiolevel {
  339. display: inline-block;
  340. position: absolute;
  341. z-index: $zindex0;
  342. border-radius:1px;
  343. pointer-events: none;
  344. }
  345. #dominantSpeaker {
  346. visibility: hidden;
  347. width: 300px;
  348. height: 300px;
  349. margin: auto;
  350. position: relative;
  351. }
  352. #mixedstream {
  353. display:none !important;
  354. }
  355. #dominantSpeakerAvatar,
  356. .dynamic-shadow {
  357. width: 200px;
  358. height: 200px;
  359. }
  360. #dominantSpeakerAvatar {
  361. top: 50px;
  362. margin: auto;
  363. position: relative;
  364. border-radius: 100px;
  365. visibility: inherit;
  366. background-color: #000000;
  367. }
  368. .dynamic-shadow {
  369. border-radius: 50%;
  370. position: absolute;
  371. top: 50%;
  372. left: 50%;
  373. margin: -100px 0 0 -100px;
  374. transition: box-shadow 0.3s ease;
  375. }
  376. .userAvatar {
  377. @include maxSize(60px);
  378. @include absoluteAligning();
  379. border-radius: 50%;
  380. height: 50%;
  381. width: auto;
  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: $zindex1;
  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: $zindex1;
  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: $zindex2;
  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. left: 0;
  450. width: 100%;
  451. top:50%;
  452. z-index: $zindex2;
  453. font-weight: 600;
  454. font-size: 14px;
  455. text-align: center;
  456. color: #FFF;
  457. opacity: .80;
  458. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  459. 0px 1px 1px rgba(0,0,0,0.3),
  460. 1px 0px 1px rgba(0,0,0,0.3),
  461. 0px 0px 1px rgba(0,0,0,0.3);
  462. }
  463. .filmstrip-only {
  464. #videoResolutionLabel {
  465. display: none;
  466. }
  467. }
  468. .video-state-indicator {
  469. background: $videoStateIndicatorBackground;
  470. color: $videoStateIndicatorColor;
  471. cursor: pointer;
  472. font-size: 13px;
  473. height: 40px;
  474. line-height: 20px;
  475. text-align: center;
  476. min-width: 40px;
  477. padding: 10px 5px;
  478. border-radius: 50%;
  479. position: absolute;
  480. box-sizing: border-box;
  481. i {
  482. cursor: pointer;
  483. }
  484. }
  485. #videoResolutionLabel,
  486. .centeredVideoLabel.moveToCorner {
  487. z-index: $tooltipsZ;
  488. }
  489. .centeredVideoLabel {
  490. bottom: 45%;
  491. border-radius: 2px;
  492. display: none;
  493. -webkit-transition: all 2s 2s linear;
  494. transition: all 2s 2s linear;
  495. z-index: $centeredVideoLabelZ;
  496. &.moveToCorner {
  497. bottom: auto;
  498. }
  499. }
  500. .moveToCorner {
  501. position: absolute;
  502. top: 30px;
  503. right: 30px;
  504. }
  505. .moveToCorner + .moveToCorner {
  506. right: 80px;
  507. }
  508. .video-state-indicator-menu {
  509. display: none;
  510. padding: 10px;
  511. position: absolute;
  512. right: -10px;
  513. top: 20px;
  514. .video-state-indicator-menu-options {
  515. background: $popoverBg;
  516. border-radius: 3px;
  517. color: $popoverFontColor;
  518. margin-top: 20px;
  519. padding: 5px 0;
  520. position: relative;
  521. div {
  522. cursor: pointer;
  523. padding: 10px;
  524. padding-right: 30px;
  525. text-align: left;
  526. white-space: nowrap;
  527. &.active {
  528. background: $toolbarToggleBackground;
  529. }
  530. &:hover:not(.active) {
  531. background: $popupMenuSelectedItemBackground;
  532. }
  533. i {
  534. margin-right: 5px;
  535. vertical-align: middle;
  536. }
  537. }
  538. }
  539. .video-state-indicator-menu-options::after {
  540. content: " ";
  541. border-color: transparent transparent $popoverBg transparent;
  542. border-style: solid;
  543. border-width: 5px;
  544. position: absolute;
  545. right: 15px;
  546. top: -10px;
  547. }
  548. }
  549. .video-state-indicator:hover,
  550. .video-state-indicator *:hover {
  551. background: $toolbarSelectBackground;
  552. .video-state-indicator-menu {
  553. display: block;
  554. }
  555. }