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

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