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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  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. @media (min-width: 581px) {
  168. &.shift-right {
  169. &#largeVideoContainer {
  170. margin-left: $sidebarWidth;
  171. width: calc(100% - #{$sidebarWidth});
  172. }
  173. }
  174. }
  175. }
  176. #localVideoWrapper {
  177. display:inline-block;
  178. }
  179. .flipVideoX {
  180. transform: scale(-1, 1);
  181. -moz-transform: scale(-1, 1);
  182. -webkit-transform: scale(-1, 1);
  183. -o-transform: scale(-1, 1);
  184. }
  185. #localVideoWrapper video,
  186. #localVideoWrapper object {
  187. border-radius: $borderRadius !important;
  188. cursor: hand;
  189. object-fit: cover;
  190. }
  191. #largeVideo,
  192. #largeVideoWrapper,
  193. #largeVideoContainer {
  194. overflow: hidden;
  195. text-align: center;
  196. }
  197. #largeVideoContainer {
  198. height: 100%;
  199. width: 100%;
  200. }
  201. #largeVideoWrapper {
  202. box-shadow: 0 0 20px -2px #444;
  203. }
  204. #largeVideo,
  205. #largeVideoWrapper
  206. {
  207. object-fit: cover;
  208. }
  209. #sharedVideo video {
  210. width: 100%;
  211. height: 100%;
  212. }
  213. #sharedVideo.disable-pointer {
  214. pointer-events: none;
  215. }
  216. #sharedVideo,
  217. #etherpad,
  218. #localVideoWrapper video,
  219. #localVideoWrapper object,
  220. #localVideoWrapper,
  221. #largeVideoWrapper,
  222. #largeVideoWrapper>video,
  223. #largeVideoWrapper>object,
  224. .videocontainer>video,
  225. .videocontainer>object {
  226. position: absolute;
  227. left: 0;
  228. top: 0;
  229. z-index: $zindex1;
  230. width: 100%;
  231. height: 100%;
  232. }
  233. #etherpad {
  234. text-align: center;
  235. }
  236. #etherpad {
  237. z-index: $zindex0;
  238. }
  239. /**
  240. * Positions video thumbnail display name and editor.
  241. */
  242. #alwaysOnTop .displayname,
  243. .videocontainer .displayname,
  244. .videocontainer .editdisplayname {
  245. display: inline-block;
  246. position: absolute;
  247. left: 10%;
  248. width: 80%;
  249. top: 50%;
  250. @include transform(translateY(-40%));
  251. color: $participantNameColor;
  252. text-align: center;
  253. text-overflow: ellipsis;
  254. font-size: 12px;
  255. font-weight: 100;
  256. overflow: hidden;
  257. white-space: nowrap;
  258. line-height: $thumbnailToolbarHeight;
  259. z-index: $zindex2;
  260. }
  261. #alwaysOnTop .displayname {
  262. font-size: 15px;
  263. position: inherit;
  264. width: 100%;
  265. left: 0px;
  266. top: 0px;
  267. margin-top: 10px;
  268. }
  269. /**
  270. * Positions video thumbnail display name editor.
  271. */
  272. .videocontainer .editdisplayname {
  273. outline: none;
  274. border: none;
  275. background: none;
  276. box-shadow: none;
  277. padding: 0;
  278. }
  279. #localVideoContainer .displayname:hover {
  280. cursor: text;
  281. }
  282. .videocontainer .displayname {
  283. pointer-events: none;
  284. padding: 0 3px 0 3px;
  285. }
  286. .videocontainer .editdisplayname {
  287. height: auto;
  288. }
  289. #localDisplayName {
  290. pointer-events: auto !important;
  291. }
  292. .videocontainer>a.displayname {
  293. display: inline-block;
  294. position: absolute;
  295. color: #FFFFFF;
  296. bottom: 0;
  297. right: 0;
  298. padding: 3px 5px;
  299. font-size: 9pt;
  300. cursor: pointer;
  301. z-index: $zindex2;
  302. }
  303. /**
  304. * Video thumbnail toolbar icon.
  305. */
  306. .videocontainer .toolbar-icon {
  307. font-size: 8pt;
  308. text-align: center;
  309. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  310. color: #FFFFFF;
  311. width: 12px;
  312. line-height: $thumbnailToolbarHeight;
  313. height: $thumbnailToolbarHeight;
  314. padding: 0;
  315. border: 0;
  316. margin: 0px 5px 0px 0px;
  317. }
  318. /**
  319. * Toolbar icon internal i elements (font icons).
  320. */
  321. .toolbar-icon>div {
  322. height: $thumbnailToolbarHeight;
  323. display: flex;
  324. flex-direction: column;
  325. justify-content: center;
  326. }
  327. /**
  328. * Toolbar icons positioned on the right.
  329. */
  330. .moderator-icon {
  331. display: inline-block;
  332. &.right {
  333. float: right;
  334. margin: 0px 0px 0px 5px;
  335. }
  336. .toolbar-icon {
  337. margin: 0;
  338. }
  339. }
  340. .raisehandindicator {
  341. background: $raiseHandBg;
  342. }
  343. .connection-indicator {
  344. background: $connectionIndicatorBg;
  345. &.status-high {
  346. background: green;
  347. }
  348. &.status-med {
  349. background: #FFD740;
  350. }
  351. &.status-lost {
  352. background: gray;
  353. }
  354. &.status-low {
  355. background: #BF2117;
  356. }
  357. &.status-other {
  358. background: $connectionIndicatorBg;
  359. }
  360. }
  361. .local-video-menu-trigger,
  362. .remote-video-menu-trigger,
  363. .localvideomenu,
  364. .remotevideomenu
  365. {
  366. display: inline-block;
  367. position: absolute;
  368. top: 0px;
  369. right: 0;
  370. z-index: $zindex2;
  371. width: 18px;
  372. height: 13px;
  373. color: #FFF;
  374. font-size: 10pt;
  375. margin-right: $remoteVideoMenuIconMargin;
  376. >i{
  377. cursor: hand;
  378. }
  379. }
  380. .local-video-menu-trigger,
  381. .remote-video-menu-trigger {
  382. margin-top: 7px;
  383. }
  384. /**
  385. * Audio indicator on video thumbnails.
  386. */
  387. .videocontainer>span.audioindicator,
  388. .videocontainer>.audioindicator-container {
  389. position: absolute;
  390. display: inline-block;
  391. left: 6px;
  392. top: 50%;
  393. margin-top: -17px;
  394. width: 6px;
  395. height: 35px;
  396. z-index: $zindex2;
  397. border: none;
  398. .audiodot-top,
  399. .audiodot-bottom,
  400. .audiodot-middle {
  401. opacity: 0;
  402. display: inline-block;
  403. @include circle(5px);
  404. background: $audioLevelShadow;
  405. margin: 1px 0 1px 0;
  406. transition: opacity .25s ease-in-out;
  407. -moz-transition: opacity .25s ease-in-out;
  408. }
  409. span.audiodot-top::after,
  410. span.audiodot-bottom::after,
  411. span.audiodot-middle::after {
  412. content: "";
  413. display: inline-block;
  414. width: 5px;
  415. height: 5px;
  416. border-radius: 50%;
  417. -webkit-filter: blur(0.5px);
  418. filter: blur(0.5px);
  419. background: $audioLevelBg;
  420. }
  421. }
  422. #reloadPresentation {
  423. display: none;
  424. position: absolute;
  425. color: #FFFFFF;
  426. top: 0;
  427. right:0;
  428. padding: 10px 10px;
  429. font-size: 11pt;
  430. cursor: pointer;
  431. background: rgba(0, 0, 0, 0.3);
  432. border-radius: 5px;
  433. background-clip: padding-box;
  434. -webkit-border-radius: 5px;
  435. -webkit-background-clip: padding-box;
  436. z-index: $reloadZ; /*The reload button should appear on top of the header!*/
  437. }
  438. #dominantSpeaker {
  439. visibility: hidden;
  440. width: 300px;
  441. height: 300px;
  442. margin: auto;
  443. position: relative;
  444. top: 50%;
  445. transform: translateY(-50%);
  446. }
  447. #mixedstream {
  448. display:none !important;
  449. }
  450. #dominantSpeakerAvatarContainer,
  451. .dynamic-shadow {
  452. width: 200px;
  453. height: 200px;
  454. }
  455. #dominantSpeakerAvatarContainer {
  456. top: 50px;
  457. margin: auto;
  458. position: relative;
  459. overflow: hidden;
  460. visibility: inherit;
  461. }
  462. .dynamic-shadow {
  463. border-radius: 50%;
  464. position: absolute;
  465. top: 50%;
  466. left: 50%;
  467. margin: -100px 0 0 -100px;
  468. transition: box-shadow 0.3s ease;
  469. }
  470. .avatar-container {
  471. @include maxSize(60px);
  472. @include absoluteAligning();
  473. display: flex;
  474. justify-content: center;
  475. height: 50%;
  476. width: auto;
  477. overflow: hidden;
  478. .userAvatar {
  479. height: 100%;
  480. object-fit: cover;
  481. width: 100%;
  482. top: 0px;
  483. left: 0px;
  484. position: absolute;
  485. }
  486. }
  487. #videoNotAvailableScreen {
  488. text-align: center;
  489. #avatarContainer {
  490. border-radius: 50%;
  491. display: inline-block;
  492. height: 50vh;
  493. margin-top: 25vh;
  494. overflow: hidden;
  495. width: 50vh;
  496. #avatar {
  497. height: 100%;
  498. object-fit: cover;
  499. width: 100%;
  500. }
  501. }
  502. }
  503. .sharedVideoAvatar {
  504. position: absolute;
  505. left: 0px;
  506. top: 0px;
  507. height: 100%;
  508. width: 100%;
  509. object-fit: cover;
  510. }
  511. .videoMessageFilter {
  512. -webkit-filter: grayscale(.5) opacity(0.8);
  513. filter: grayscale(.5) opacity(0.8);
  514. }
  515. #remotePresenceMessage,
  516. #remoteConnectionMessage {
  517. position: absolute;
  518. width: auto;
  519. z-index: $zindex2;
  520. font-weight: 600;
  521. font-size: 14px;
  522. text-align: center;
  523. color: #FFF;
  524. left: 50%;
  525. transform: translate(-50%, 0);
  526. }
  527. #remotePresenceMessage .presence-label,
  528. #remoteConnectionMessage {
  529. opacity: .80;
  530. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  531. 0px 1px 1px rgba(0,0,0,0.3),
  532. 1px 0px 1px rgba(0,0,0,0.3),
  533. 0px 0px 1px rgba(0,0,0,0.3);
  534. background: rgba(0,0,0,.5);
  535. border-radius: 5px;
  536. padding: 5px;
  537. padding-left: 10px;
  538. padding-right: 10px;
  539. }
  540. #remoteConnectionMessage {
  541. display: none;
  542. }
  543. .display-avatar-with-name {
  544. .avatar-container {
  545. visibility: visible;
  546. }
  547. .displayNameContainer {
  548. visibility: visible;
  549. }
  550. .videocontainer__hoverOverlay {
  551. visibility: visible;
  552. }
  553. video {
  554. visibility: hidden;
  555. }
  556. }
  557. .display-name-on-black {
  558. .avatar-container {
  559. visibility: hidden;
  560. }
  561. .displayNameContainer {
  562. visibility: visible;
  563. }
  564. .videocontainer__hoverOverlay {
  565. visibility: hidden;
  566. }
  567. video {
  568. opacity: 0.2;
  569. visibility: visible;
  570. }
  571. }
  572. .display-video {
  573. .avatar-container {
  574. visibility: hidden;
  575. }
  576. .displayNameContainer {
  577. visibility: hidden;
  578. }
  579. .videocontainer__hoverOverlay {
  580. visibility: hidden;
  581. }
  582. video {
  583. visibility: visible;
  584. }
  585. }
  586. .display-name-on-video {
  587. .avatar-container {
  588. visibility: hidden;
  589. }
  590. .displayNameContainer {
  591. visibility: visible;
  592. }
  593. .videocontainer__hoverOverlay {
  594. visibility: visible;
  595. }
  596. video {
  597. visibility: visible;
  598. }
  599. }
  600. .display-avatar-only {
  601. .avatar-container {
  602. visibility: visible;
  603. }
  604. .displayNameContainer {
  605. visibility: hidden;
  606. }
  607. .videocontainer__hoverOverlay {
  608. visibility: hidden;
  609. }
  610. video {
  611. visibility: hidden;
  612. }
  613. }
  614. .presence-label {
  615. color: $participantNameColor;
  616. font-size: 12px;
  617. font-weight: 100;
  618. left: 0;
  619. margin: 0 auto;
  620. overflow: hidden;
  621. pointer-events: none;
  622. right: 0;
  623. text-align: center;
  624. text-overflow: ellipsis;
  625. top: calc(50% + 30px);
  626. white-space: nowrap;
  627. width: 100%;
  628. }