Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_videolayout_default.scss 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724
  1. #videoconference_page {
  2. min-height: 100%;
  3. }
  4. #videospace {
  5. display: block;
  6. height: 100%;
  7. width: 100%;
  8. min-height: 100%;
  9. position: absolute;
  10. top: 0px;
  11. left: 0px;
  12. right: 0px;
  13. overflow: hidden;
  14. }
  15. #largeVideoBackgroundContainer,
  16. .large-video-background {
  17. height: 100%;
  18. left: 0;
  19. overflow: hidden;
  20. position: absolute;
  21. top: 0;
  22. width: 100%;
  23. &.fit-full-height #largeVideoBackground {
  24. height: 100%;
  25. width: auto;
  26. }
  27. .fit-full-width #largeVideoBackground {
  28. height: auto;
  29. width: 100%;
  30. }
  31. }
  32. #largeVideoBackgroundContainer {
  33. filter: blur(40px);
  34. }
  35. .videocontainer {
  36. position: relative;
  37. text-align: center;
  38. &__background {
  39. @include topLeft();
  40. background-color: black;
  41. border-radius: $borderRadius;
  42. width: 100%;
  43. height: 100%;
  44. }
  45. /**
  46. * The toolbar of the video thumbnail.
  47. */
  48. &__toolbar,
  49. &__toptoolbar {
  50. position: absolute;
  51. left: 0;
  52. pointer-events: none;
  53. z-index: $zindex10;
  54. width: 100%;
  55. box-sizing: border-box; // Includes the padding in the 100% width.
  56. /**
  57. * FIXME (lenny): Disabling pointer-events is a pretty big sin that
  58. * sidesteps the problems. There are z-index wars occurring within
  59. * videocontainer and AtlasKit Tooltips rely on their parent z-indexe
  60. * being higher than whatever they need to appear over. So set a higher
  61. * z-index for the tooltip containers but make any empty space not block
  62. * mouse overs for various mouseover triggers.
  63. */
  64. pointer-events: none;
  65. * {
  66. pointer-events: auto;
  67. }
  68. .indicator-container {
  69. display: inline-block;
  70. float: left;
  71. pointer-events: all;
  72. }
  73. }
  74. &__toolbar {
  75. bottom: 0;
  76. height: $thumbnailToolbarHeight;
  77. padding: 0 5px 0 5px;
  78. }
  79. &__toptoolbar {
  80. $toolbarIconMargin: 5px;
  81. top: 0;
  82. padding-bottom: 0;
  83. /**
  84. * Override text-align center as icons need to be left justified.
  85. */
  86. text-align: left;
  87. /**
  88. * Intentionally use margin on the icon itself as AtlasKit InlineDialog
  89. * positioning depends on the trigger (indicator icon).
  90. */
  91. .indicator {
  92. margin-left: 5px;
  93. margin-top: $toolbarIconMargin;
  94. }
  95. .indicator-container:nth-child(1) .indicator {
  96. margin-left: $toolbarIconMargin;
  97. }
  98. .indicator-container {
  99. display: inline-block;
  100. vertical-align: top;
  101. .popover-trigger {
  102. display: inline-block;
  103. }
  104. }
  105. .connection-indicator,
  106. .indicator {
  107. position: relative;
  108. font-size: 8px;
  109. text-align: center;
  110. line-height: $thumbnailIndicatorSize;
  111. padding: 0;
  112. @include circle($thumbnailIndicatorSize);
  113. box-sizing: border-box;
  114. z-index: $zindex3;
  115. background: $dominantSpeakerBg;
  116. color: $thumbnailPictogramColor;
  117. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  118. .indicatoricon {
  119. @include absoluteAligning();
  120. }
  121. .connection {
  122. position: relative;
  123. display: inline-block;
  124. margin: 0 auto;
  125. left: 0;
  126. @include transform(translate(0, -50%));
  127. &_empty,
  128. &_lost
  129. {
  130. color: #8B8B8B;/*#FFFFFF*/
  131. overflow: hidden;
  132. }
  133. &_full
  134. {
  135. @include topLeft();
  136. color: #FFFFFF;/*#15A1ED*/
  137. overflow: hidden;
  138. }
  139. &_ninja
  140. {
  141. font-size: 1.5em;
  142. }
  143. }
  144. .icon-gsm-bars {
  145. cursor: pointer;
  146. font-size: 1em;
  147. }
  148. }
  149. .hide-connection-indicator {
  150. display: none;
  151. }
  152. }
  153. &__hoverOverlay {
  154. background: rgba(0,0,0,.6);
  155. border-radius: $borderRadius;
  156. position: relative;
  157. width: 100%;
  158. height: 100%;
  159. visibility: hidden;
  160. z-index: $zindex2;
  161. }
  162. &.audio-only {
  163. .videoThumbnailProblemFilter {
  164. filter: none;
  165. }
  166. }
  167. }
  168. #localVideoWrapper {
  169. display:inline-block;
  170. }
  171. .flipVideoX {
  172. transform: scale(-1, 1);
  173. -moz-transform: scale(-1, 1);
  174. -webkit-transform: scale(-1, 1);
  175. -o-transform: scale(-1, 1);
  176. }
  177. #localVideoWrapper video,
  178. #localVideoWrapper object {
  179. border-radius: $borderRadius !important;
  180. cursor: hand;
  181. object-fit: cover;
  182. }
  183. #largeVideo,
  184. #largeVideoWrapper,
  185. #largeVideoContainer {
  186. overflow: hidden;
  187. text-align: center;
  188. }
  189. #largeVideoContainer {
  190. height: 100%;
  191. width: 100%;
  192. }
  193. #largeVideoWrapper {
  194. box-shadow: 0 0 20px -2px #444;
  195. }
  196. #largeVideo,
  197. #largeVideoWrapper
  198. {
  199. object-fit: cover;
  200. }
  201. #sharedVideo,
  202. #etherpad,
  203. #localVideoWrapper video,
  204. #localVideoWrapper object,
  205. #localVideoWrapper,
  206. #largeVideoWrapper,
  207. #largeVideoWrapper>video,
  208. #largeVideoWrapper>object,
  209. .videocontainer>video,
  210. .videocontainer>object {
  211. position: absolute;
  212. left: 0;
  213. top: 0;
  214. z-index: $zindex1;
  215. width: 100%;
  216. height: 100%;
  217. }
  218. #etherpad {
  219. text-align: center;
  220. }
  221. #etherpad {
  222. z-index: $zindex0;
  223. }
  224. /**
  225. * Positions video thumbnail display name and editor.
  226. */
  227. #alwaysOnTop .displayname,
  228. .videocontainer .displayname,
  229. .videocontainer .editdisplayname {
  230. display: inline-block;
  231. position: absolute;
  232. left: 10%;
  233. width: 80%;
  234. top: 50%;
  235. @include transform(translateY(-40%));
  236. color: $participantNameColor;
  237. text-align: center;
  238. text-overflow: ellipsis;
  239. font-size: 12px;
  240. font-weight: 100;
  241. overflow: hidden;
  242. white-space: nowrap;
  243. line-height: $thumbnailToolbarHeight;
  244. z-index: $zindex2;
  245. }
  246. #alwaysOnTop .displayname {
  247. font-size: 15px;
  248. position: inherit;
  249. width: 100%;
  250. left: 0px;
  251. top: 0px;
  252. margin-top: 10px;
  253. }
  254. /**
  255. * Positions video thumbnail display name editor.
  256. */
  257. .videocontainer .editdisplayname {
  258. outline: none;
  259. border: none;
  260. background: none;
  261. box-shadow: none;
  262. padding: 0;
  263. }
  264. #localVideoContainer .displayname:hover {
  265. cursor: text;
  266. }
  267. .videocontainer .displayname {
  268. pointer-events: none;
  269. padding: 0 3px 0 3px;
  270. }
  271. .videocontainer .editdisplayname {
  272. height: auto;
  273. }
  274. #localDisplayName {
  275. pointer-events: auto !important;
  276. }
  277. .videocontainer>a.displayname {
  278. display: inline-block;
  279. position: absolute;
  280. color: #FFFFFF;
  281. bottom: 0;
  282. right: 0;
  283. padding: 3px 5px;
  284. font-size: 9pt;
  285. cursor: pointer;
  286. z-index: $zindex2;
  287. }
  288. /**
  289. * Video thumbnail toolbar icon.
  290. */
  291. .videocontainer .toolbar-icon {
  292. font-size: 8pt;
  293. text-align: center;
  294. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  295. color: #FFFFFF;
  296. width: 12px;
  297. line-height: $thumbnailToolbarHeight;
  298. height: $thumbnailToolbarHeight;
  299. padding: 0;
  300. border: 0;
  301. margin: 0px 5px 0px 0px;
  302. }
  303. /**
  304. * Toolbar icon internal i elements (font icons).
  305. */
  306. .toolbar-icon>i {
  307. line-height: $thumbnailToolbarHeight;
  308. }
  309. /**
  310. * Toolbar icons positioned on the right.
  311. */
  312. .moderator-icon {
  313. display: inline-block;
  314. &.right {
  315. float: right;
  316. margin: 0px 0px 0px 5px;
  317. }
  318. .toolbar-icon {
  319. margin: 0;
  320. }
  321. }
  322. .raisehandindicator {
  323. background: $raiseHandBg;
  324. }
  325. .connection-indicator {
  326. background: $connectionIndicatorBg;
  327. &.status-high {
  328. background: green;
  329. }
  330. &.status-med {
  331. background: #FFD740;
  332. }
  333. &.status-lost {
  334. background: gray;
  335. }
  336. &.status-low {
  337. background: #BF2117;
  338. }
  339. &.status-other {
  340. background: $connectionIndicatorBg;
  341. }
  342. }
  343. .remote-video-menu-trigger,
  344. .remotevideomenu
  345. {
  346. display: inline-block;
  347. position: absolute;
  348. top: 0px;
  349. right: 0;
  350. z-index: $zindex2;
  351. width: 18px;
  352. height: 13px;
  353. color: #FFF;
  354. font-size: 10pt;
  355. >i{
  356. cursor: hand;
  357. }
  358. }
  359. .remote-video-menu-trigger {
  360. margin-top: 7px;
  361. }
  362. /**
  363. * Audio indicator on video thumbnails.
  364. */
  365. .videocontainer>span.audioindicator,
  366. .videocontainer>.audioindicator-container {
  367. position: absolute;
  368. display: inline-block;
  369. left: 6px;
  370. top: 50%;
  371. margin-top: -17px;
  372. width: 6px;
  373. height: 35px;
  374. z-index: $zindex2;
  375. border: none;
  376. .audiodot-top,
  377. .audiodot-bottom,
  378. .audiodot-middle {
  379. opacity: 0;
  380. display: inline-block;
  381. @include circle(5px);
  382. background: $audioLevelShadow;
  383. margin: 1px 0 1px 0;
  384. transition: opacity .25s ease-in-out;
  385. -moz-transition: opacity .25s ease-in-out;
  386. }
  387. span.audiodot-top::after,
  388. span.audiodot-bottom::after,
  389. span.audiodot-middle::after {
  390. content: "";
  391. display: inline-block;
  392. width: 5px;
  393. height: 5px;
  394. border-radius: 50%;
  395. -webkit-filter: blur(0.5px);
  396. filter: blur(0.5px);
  397. background: $audioLevelBg;
  398. }
  399. }
  400. #reloadPresentation {
  401. display: none;
  402. position: absolute;
  403. color: #FFFFFF;
  404. top: 0;
  405. right:0;
  406. padding: 10px 10px;
  407. font-size: 11pt;
  408. cursor: pointer;
  409. background: rgba(0, 0, 0, 0.3);
  410. border-radius: 5px;
  411. background-clip: padding-box;
  412. -webkit-border-radius: 5px;
  413. -webkit-background-clip: padding-box;
  414. z-index: $reloadZ; /*The reload button should appear on top of the header!*/
  415. }
  416. .audiolevel {
  417. display: inline-block;
  418. position: absolute;
  419. z-index: $zindex0;
  420. border-radius:1px;
  421. pointer-events: none;
  422. }
  423. #dominantSpeaker {
  424. visibility: hidden;
  425. width: 300px;
  426. height: 300px;
  427. margin: auto;
  428. position: relative;
  429. }
  430. #mixedstream {
  431. display:none !important;
  432. }
  433. #dominantSpeakerAvatar,
  434. .dynamic-shadow {
  435. width: 200px;
  436. height: 200px;
  437. }
  438. #dominantSpeakerAvatar {
  439. top: 50px;
  440. margin: auto;
  441. position: relative;
  442. border-radius: 100px;
  443. visibility: inherit;
  444. background-color: #000000;
  445. }
  446. .dynamic-shadow {
  447. border-radius: 50%;
  448. position: absolute;
  449. top: 50%;
  450. left: 50%;
  451. margin: -100px 0 0 -100px;
  452. transition: box-shadow 0.3s ease;
  453. }
  454. .userAvatar {
  455. @include maxSize(60px);
  456. @include absoluteAligning();
  457. border-radius: 50%;
  458. height: 50%;
  459. width: auto;
  460. }
  461. #videoNotAvailableScreen {
  462. text-align: center;
  463. #avatarContainer {
  464. height: 50vh;
  465. display:inline-block;
  466. margin-top: 25vh;
  467. #avatar {
  468. border-radius: 50%;
  469. height: 100%;
  470. }
  471. }
  472. }
  473. .sharedVideoAvatar {
  474. height: 100%;
  475. width: 100%;
  476. object-fit: cover;
  477. }
  478. .videoMessageFilter {
  479. -webkit-filter: grayscale(.5) opacity(0.8);
  480. filter: grayscale(.5) opacity(0.8);
  481. }
  482. .remoteVideoProblemFilter {
  483. -webkit-filter: grayscale(100%);
  484. filter: grayscale(100%);
  485. }
  486. .videoProblemFilter {
  487. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  488. filter: blur(10px) grayscale(.5) opacity(0.8);
  489. }
  490. .videoThumbnailProblemFilter {
  491. -webkit-filter: grayscale(100%);
  492. filter: grayscale(100%);
  493. }
  494. #remotePresenceMessage,
  495. #remoteConnectionMessage {
  496. position: absolute;
  497. width: auto;
  498. z-index: $zindex2;
  499. font-weight: 600;
  500. font-size: 14px;
  501. text-align: center;
  502. color: #FFF;
  503. left: 50%;
  504. transform: translate(-50%, 0);
  505. }
  506. #remotePresenceMessage .presence-label,
  507. #remoteConnectionMessage {
  508. opacity: .80;
  509. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  510. 0px 1px 1px rgba(0,0,0,0.3),
  511. 1px 0px 1px rgba(0,0,0,0.3),
  512. 0px 0px 1px rgba(0,0,0,0.3);
  513. background: rgba(0,0,0,.5);
  514. border-radius: 5px;
  515. padding: 5px;
  516. padding-left: 10px;
  517. padding-right: 10px;
  518. }
  519. #remoteConnectionMessage {
  520. display: none;
  521. }
  522. #localConnectionMessage {
  523. display: none;
  524. position: absolute;
  525. left: 0;
  526. width: 100%;
  527. top:50%;
  528. z-index: $zindex2;
  529. font-weight: 600;
  530. font-size: 14px;
  531. text-align: center;
  532. color: #FFF;
  533. opacity: .80;
  534. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  535. 0px 1px 1px rgba(0,0,0,0.3),
  536. 1px 0px 1px rgba(0,0,0,0.3),
  537. 0px 0px 1px rgba(0,0,0,0.3);
  538. }
  539. .display-avatar-with-name {
  540. .avatar-container {
  541. visibility: visible;
  542. }
  543. .displayNameContainer {
  544. visibility: visible;
  545. }
  546. .videocontainer__hoverOverlay {
  547. visibility: visible;
  548. }
  549. video {
  550. visibility: hidden;
  551. }
  552. }
  553. .display-name-on-black {
  554. .avatar-container {
  555. visibility: hidden;
  556. }
  557. .displayNameContainer {
  558. visibility: visible;
  559. }
  560. .videocontainer__hoverOverlay {
  561. visibility: hidden;
  562. }
  563. video {
  564. opacity: 0.2;
  565. visibility: visible;
  566. }
  567. }
  568. .display-video {
  569. .avatar-container {
  570. visibility: hidden;
  571. }
  572. .displayNameContainer {
  573. visibility: hidden;
  574. }
  575. .videocontainer__hoverOverlay {
  576. visibility: hidden;
  577. }
  578. video {
  579. visibility: visible;
  580. }
  581. }
  582. .display-name-on-video {
  583. .avatar-container {
  584. visibility: hidden;
  585. }
  586. .displayNameContainer {
  587. visibility: visible;
  588. }
  589. .videocontainer__hoverOverlay {
  590. visibility: visible;
  591. }
  592. video {
  593. visibility: visible;
  594. }
  595. }
  596. .display-avatar-only {
  597. .avatar-container {
  598. visibility: visible;
  599. }
  600. .displayNameContainer {
  601. visibility: hidden;
  602. }
  603. .videocontainer__hoverOverlay {
  604. visibility: hidden;
  605. }
  606. video {
  607. visibility: hidden;
  608. }
  609. }
  610. .presence-label {
  611. color: $participantNameColor;
  612. font-size: 12px;
  613. font-weight: 100;
  614. left: 0;
  615. margin: 0 auto;
  616. overflow: hidden;
  617. pointer-events: none;
  618. right: 0;
  619. text-align: center;
  620. text-overflow: ellipsis;
  621. top: calc(50% + 30px);
  622. white-space: nowrap;
  623. width: 100%;
  624. }