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

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