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