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

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