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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  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: relative;
  153. width: 100%;
  154. height: 100%;
  155. visibility: hidden;
  156. z-index: $zindex2;
  157. }
  158. &.audio-only {
  159. .videoThumbnailProblemFilter {
  160. filter: none;
  161. }
  162. }
  163. }
  164. #localVideoWrapper {
  165. display:inline-block;
  166. }
  167. .flipVideoX {
  168. transform: scale(-1, 1);
  169. -moz-transform: scale(-1, 1);
  170. -webkit-transform: scale(-1, 1);
  171. -o-transform: scale(-1, 1);
  172. }
  173. #localVideoWrapper video,
  174. #localVideoWrapper object {
  175. border-radius: $borderRadius !important;
  176. cursor: hand;
  177. object-fit: cover;
  178. }
  179. #largeVideo,
  180. #largeVideoWrapper,
  181. #largeVideoContainer {
  182. overflow: hidden;
  183. text-align: center;
  184. }
  185. #largeVideoContainer {
  186. height: 100%;
  187. width: 100%;
  188. }
  189. #largeVideoWrapper {
  190. box-shadow: 0 0 20px -2px #444;
  191. }
  192. #largeVideo,
  193. #largeVideoWrapper
  194. {
  195. object-fit: cover;
  196. }
  197. #sharedVideo,
  198. #etherpad,
  199. #localVideoWrapper video,
  200. #localVideoWrapper object,
  201. #localVideoWrapper,
  202. #largeVideoWrapper,
  203. #largeVideoWrapper>video,
  204. #largeVideoWrapper>object,
  205. .videocontainer>video,
  206. .videocontainer>object {
  207. position: absolute;
  208. left: 0;
  209. top: 0;
  210. z-index: $zindex1;
  211. width: 100%;
  212. height: 100%;
  213. }
  214. #etherpad {
  215. text-align: center;
  216. }
  217. #etherpad {
  218. z-index: $zindex0;
  219. }
  220. /**
  221. * Positions video thumbnail display name and editor.
  222. */
  223. #alwaysOnTop .displayname,
  224. .videocontainer .displayname,
  225. .videocontainer .editdisplayname {
  226. display: inline-block;
  227. position: absolute;
  228. left: 10%;
  229. width: 80%;
  230. top: 50%;
  231. @include transform(translateY(-40%));
  232. color: $participantNameColor;
  233. text-align: center;
  234. text-overflow: ellipsis;
  235. font-size: 12px;
  236. font-weight: 100;
  237. overflow: hidden;
  238. white-space: nowrap;
  239. line-height: $thumbnailToolbarHeight;
  240. z-index: $zindex2;
  241. }
  242. #alwaysOnTop .displayname {
  243. font-size: 15px;
  244. position: inherit;
  245. width: 100%;
  246. left: 0px;
  247. top: 0px;
  248. margin-top: 10px;
  249. }
  250. /**
  251. * Positions video thumbnail display name editor.
  252. */
  253. .videocontainer .editdisplayname {
  254. outline: none;
  255. border: none;
  256. background: none;
  257. box-shadow: none;
  258. padding: 0;
  259. }
  260. #localVideoContainer .displayname:hover {
  261. cursor: text;
  262. }
  263. .videocontainer .displayname {
  264. pointer-events: none;
  265. padding: 0 3px 0 3px;
  266. }
  267. .videocontainer .editdisplayname {
  268. height: auto;
  269. }
  270. #localDisplayName {
  271. pointer-events: auto !important;
  272. }
  273. .videocontainer>a.displayname {
  274. display: inline-block;
  275. position: absolute;
  276. color: #FFFFFF;
  277. bottom: 0;
  278. right: 0;
  279. padding: 3px 5px;
  280. font-size: 9pt;
  281. cursor: pointer;
  282. z-index: $zindex2;
  283. }
  284. /**
  285. * Video thumbnail toolbar icon.
  286. */
  287. .videocontainer .toolbar-icon {
  288. font-size: 8pt;
  289. text-align: center;
  290. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  291. color: #FFFFFF;
  292. width: 12px;
  293. line-height: $thumbnailToolbarHeight;
  294. height: $thumbnailToolbarHeight;
  295. padding: 0;
  296. border: 0;
  297. margin: 0px 5px 0px 0px;
  298. }
  299. /**
  300. * Toolbar icon internal i elements (font icons).
  301. */
  302. .toolbar-icon>div {
  303. height: $thumbnailToolbarHeight;
  304. display: flex;
  305. flex-direction: column;
  306. justify-content: center;
  307. }
  308. /**
  309. * Toolbar icons positioned on the right.
  310. */
  311. .moderator-icon {
  312. display: inline-block;
  313. &.right {
  314. float: right;
  315. margin: 0px 0px 0px 5px;
  316. }
  317. .toolbar-icon {
  318. margin: 0;
  319. }
  320. }
  321. .raisehandindicator {
  322. background: $raiseHandBg;
  323. }
  324. .connection-indicator {
  325. background: $connectionIndicatorBg;
  326. &.status-high {
  327. background: green;
  328. }
  329. &.status-med {
  330. background: #FFD740;
  331. }
  332. &.status-lost {
  333. background: gray;
  334. }
  335. &.status-low {
  336. background: #BF2117;
  337. }
  338. &.status-other {
  339. background: $connectionIndicatorBg;
  340. }
  341. }
  342. .remote-video-menu-trigger,
  343. .remotevideomenu
  344. {
  345. display: inline-block;
  346. position: absolute;
  347. top: 0px;
  348. right: 0;
  349. z-index: $zindex2;
  350. width: 18px;
  351. height: 13px;
  352. color: #FFF;
  353. font-size: 10pt;
  354. margin-right: $remoteVideoMenuIconMargin;
  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. #dominantSpeakerAvatarContainer,
  434. .dynamic-shadow {
  435. width: 200px;
  436. height: 200px;
  437. }
  438. #dominantSpeakerAvatarContainer {
  439. top: 50px;
  440. margin: auto;
  441. position: relative;
  442. overflow: hidden;
  443. visibility: inherit;
  444. }
  445. .dynamic-shadow {
  446. border-radius: 50%;
  447. position: absolute;
  448. top: 50%;
  449. left: 50%;
  450. margin: -100px 0 0 -100px;
  451. transition: box-shadow 0.3s ease;
  452. }
  453. .avatar-container {
  454. @include maxSize(60px);
  455. @include absoluteAligning();
  456. display: flex;
  457. justify-content: center;
  458. height: 50%;
  459. overflow: hidden;
  460. width: auto;
  461. .userAvatar {
  462. height: 100%;
  463. object-fit: cover;
  464. width: 100%;
  465. }
  466. }
  467. #videoNotAvailableScreen {
  468. text-align: center;
  469. #avatarContainer {
  470. border-radius: 50%;
  471. display: inline-block;
  472. height: 50vh;
  473. margin-top: 25vh;
  474. overflow: hidden;
  475. width: 50vh;
  476. #avatar {
  477. height: 100%;
  478. object-fit: cover;
  479. width: 100%;
  480. }
  481. }
  482. }
  483. .sharedVideoAvatar {
  484. height: 100%;
  485. width: 100%;
  486. object-fit: cover;
  487. }
  488. .videoMessageFilter {
  489. -webkit-filter: grayscale(.5) opacity(0.8);
  490. filter: grayscale(.5) opacity(0.8);
  491. }
  492. .remoteVideoProblemFilter {
  493. -webkit-filter: grayscale(100%);
  494. filter: grayscale(100%);
  495. }
  496. .videoProblemFilter {
  497. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  498. filter: blur(10px) grayscale(.5) opacity(0.8);
  499. }
  500. .videoThumbnailProblemFilter {
  501. -webkit-filter: grayscale(100%);
  502. filter: grayscale(100%);
  503. }
  504. #remotePresenceMessage,
  505. #remoteConnectionMessage {
  506. position: absolute;
  507. width: auto;
  508. z-index: $zindex2;
  509. font-weight: 600;
  510. font-size: 14px;
  511. text-align: center;
  512. color: #FFF;
  513. left: 50%;
  514. transform: translate(-50%, 0);
  515. }
  516. #remotePresenceMessage .presence-label,
  517. #remoteConnectionMessage {
  518. opacity: .80;
  519. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  520. 0px 1px 1px rgba(0,0,0,0.3),
  521. 1px 0px 1px rgba(0,0,0,0.3),
  522. 0px 0px 1px rgba(0,0,0,0.3);
  523. background: rgba(0,0,0,.5);
  524. border-radius: 5px;
  525. padding: 5px;
  526. padding-left: 10px;
  527. padding-right: 10px;
  528. }
  529. #remoteConnectionMessage {
  530. display: none;
  531. }
  532. #localConnectionMessage {
  533. display: none;
  534. position: absolute;
  535. left: 0;
  536. width: 100%;
  537. top:50%;
  538. z-index: $zindex2;
  539. font-weight: 600;
  540. font-size: 14px;
  541. text-align: center;
  542. color: #FFF;
  543. opacity: .80;
  544. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  545. 0px 1px 1px rgba(0,0,0,0.3),
  546. 1px 0px 1px rgba(0,0,0,0.3),
  547. 0px 0px 1px rgba(0,0,0,0.3);
  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. }