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

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