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

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