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 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  1. #videoconference_page {
  2. min-height: 100%;
  3. }
  4. #videospace {
  5. display: block;
  6. min-height: 100%;
  7. position: absolute;
  8. top: 0px;
  9. left: 0px;
  10. right: 0px;
  11. overflow: hidden;
  12. }
  13. #largeVideoBackgroundContainer,
  14. .large-video-background {
  15. height: 100%;
  16. left: 0;
  17. overflow: hidden;
  18. position: absolute;
  19. top: 0;
  20. width: 100%;
  21. &.fit-full-height #largeVideoBackground {
  22. height: 100%;
  23. width: auto;
  24. }
  25. .fit-full-width #largeVideoBackground {
  26. height: auto;
  27. width: 100%;
  28. }
  29. }
  30. #largeVideoBackgroundContainer {
  31. filter: blur(40px);
  32. }
  33. .videocontainer {
  34. position: relative;
  35. text-align: center;
  36. &__background {
  37. @include topLeft();
  38. background-color: black;
  39. border-radius: $borderRadius;
  40. width: 100%;
  41. height: 100%;
  42. }
  43. /**
  44. * The toolbar of the video thumbnail.
  45. */
  46. &__toolbar,
  47. &__toptoolbar {
  48. position: absolute;
  49. left: 0;
  50. pointer-events: none;
  51. z-index: $zindex10;
  52. width: 100%;
  53. box-sizing: border-box; // Includes the padding in the 100% width.
  54. /**
  55. * FIXME (lenny): Disabling pointer-events is a pretty big sin that
  56. * sidesteps the problems. There are z-index wars occurring within
  57. * videocontainer and AtlasKit Tooltips rely on their parent z-indexe
  58. * being higher than whatever they need to appear over. So set a higher
  59. * z-index for the tooltip containers but make any empty space not block
  60. * mouse overs for various mouseover triggers.
  61. */
  62. pointer-events: none;
  63. * {
  64. pointer-events: auto;
  65. }
  66. .indicator-container {
  67. display: inline-block;
  68. float: left;
  69. pointer-events: all;
  70. }
  71. /**
  72. * Need to overwrite the background for the top toolbar dark theme div
  73. * wrapper needed before we're able to move all top toolbar indicators
  74. * creation to react.
  75. */
  76. .ckAJgx {
  77. background: none;
  78. }
  79. }
  80. &__toolbar {
  81. bottom: 0;
  82. height: $thumbnailToolbarHeight;
  83. padding: 0 5px 0 5px;
  84. }
  85. &__toptoolbar {
  86. $toolbarIconMargin: 5px;
  87. top: 0;
  88. padding-bottom: 0;
  89. /**
  90. * Override text-align center as icons need to be left justified.
  91. */
  92. text-align: left;
  93. /**
  94. * Intentionally use margin on the icon itself as AtlasKit InlineDialog
  95. * positioning depends on the trigger (indicator icon).
  96. */
  97. .indicator {
  98. margin-left: 5px;
  99. margin-top: $toolbarIconMargin;
  100. }
  101. .indicator-container:nth-child(1) .indicator {
  102. margin-left: $toolbarIconMargin;
  103. }
  104. .indicator-container {
  105. display: inline-block;
  106. vertical-align: top;
  107. .popover-trigger {
  108. display: inline-block;
  109. }
  110. }
  111. .connection-indicator,
  112. .indicator {
  113. position: relative;
  114. font-size: 8px;
  115. text-align: center;
  116. line-height: $thumbnailIndicatorSize;
  117. padding: 0;
  118. @include circle($thumbnailIndicatorSize);
  119. box-sizing: border-box;
  120. z-index: $zindex3;
  121. background: $dominantSpeakerBg;
  122. color: $thumbnailPictogramColor;
  123. border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
  124. .indicatoricon {
  125. @include absoluteAligning();
  126. }
  127. .connection {
  128. position: relative;
  129. display: inline-block;
  130. margin: 0 auto;
  131. left: 0;
  132. @include transform(translate(0, -50%));
  133. &_empty,
  134. &_lost
  135. {
  136. color: #8B8B8B;/*#FFFFFF*/
  137. overflow: hidden;
  138. }
  139. &_full
  140. {
  141. @include topLeft();
  142. color: #FFFFFF;/*#15A1ED*/
  143. overflow: hidden;
  144. }
  145. &_ninja
  146. {
  147. font-size: 1.5em;
  148. }
  149. }
  150. .icon-gsm-bars {
  151. cursor: pointer;
  152. font-size: 1em;
  153. }
  154. }
  155. .hide-connection-indicator {
  156. display: none;
  157. }
  158. }
  159. &__hoverOverlay {
  160. background: rgba(0,0,0,.6);
  161. border-radius: $borderRadius;
  162. position: relative;
  163. width: 100%;
  164. height: 100%;
  165. visibility: hidden;
  166. z-index: $zindex2;
  167. }
  168. &.audio-only {
  169. .videoThumbnailProblemFilter {
  170. filter: none;
  171. }
  172. }
  173. }
  174. #localVideoWrapper {
  175. display:inline-block;
  176. }
  177. .flipVideoX {
  178. transform: scale(-1, 1);
  179. -moz-transform: scale(-1, 1);
  180. -webkit-transform: scale(-1, 1);
  181. -o-transform: scale(-1, 1);
  182. }
  183. #localVideoWrapper video,
  184. #localVideoWrapper object {
  185. border-radius: $borderRadius !important;
  186. cursor: hand;
  187. object-fit: cover;
  188. }
  189. #largeVideo,
  190. #largeVideoWrapper,
  191. #largeVideoContainer {
  192. overflow: hidden;
  193. text-align: center;
  194. }
  195. #largeVideoWrapper {
  196. box-shadow: 0 0 20px -2px #444;
  197. }
  198. #largeVideo,
  199. #largeVideoWrapper
  200. {
  201. object-fit: cover;
  202. }
  203. #sharedVideo,
  204. #etherpad,
  205. #localVideoWrapper video,
  206. #localVideoWrapper object,
  207. #localVideoWrapper,
  208. #largeVideoWrapper,
  209. #largeVideoWrapper>video,
  210. #largeVideoWrapper>object,
  211. .videocontainer>video,
  212. .videocontainer>object {
  213. position: absolute;
  214. left: 0;
  215. top: 0;
  216. z-index: $zindex1;
  217. width: 100%;
  218. height: 100%;
  219. }
  220. #etherpad {
  221. text-align: center;
  222. }
  223. #etherpad {
  224. z-index: $zindex0;
  225. }
  226. /**
  227. * Positions video thumbnail display name and editor.
  228. */
  229. #alwaysOnTop .displayname,
  230. .videocontainer .displayname,
  231. .videocontainer .editdisplayname {
  232. display: inline-block;
  233. position: absolute;
  234. left: 10%;
  235. width: 80%;
  236. top: 50%;
  237. @include transform(translateY(-40%));
  238. color: $participantNameColor;
  239. text-align: center;
  240. text-overflow: ellipsis;
  241. font-size: 12px;
  242. font-weight: 100;
  243. overflow: hidden;
  244. white-space: nowrap;
  245. line-height: $thumbnailToolbarHeight;
  246. z-index: $zindex2;
  247. }
  248. #alwaysOnTop .displayname {
  249. font-size: 15px;
  250. position: inherit;
  251. width: 100%;
  252. left: 0px;
  253. top: 0px;
  254. margin-top: 10px;
  255. }
  256. /**
  257. * Positions video thumbnail display name editor.
  258. */
  259. .videocontainer .editdisplayname {
  260. outline: none;
  261. border: none;
  262. background: none;
  263. box-shadow: none;
  264. padding: 0;
  265. }
  266. #localVideoContainer .displayname:hover {
  267. cursor: text;
  268. }
  269. .videocontainer .displayname {
  270. pointer-events: none;
  271. padding: 0 3px 0 3px;
  272. }
  273. .videocontainer .editdisplayname {
  274. height: auto;
  275. }
  276. #localDisplayName {
  277. pointer-events: auto !important;
  278. }
  279. .videocontainer>a.displayname {
  280. display: inline-block;
  281. position: absolute;
  282. color: #FFFFFF;
  283. bottom: 0;
  284. right: 0;
  285. padding: 3px 5px;
  286. font-size: 9pt;
  287. cursor: pointer;
  288. z-index: $zindex2;
  289. }
  290. /**
  291. * Video thumbnail toolbar icon.
  292. */
  293. .videocontainer .toolbar-icon {
  294. font-size: 8pt;
  295. text-align: center;
  296. text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
  297. color: #FFFFFF;
  298. width: 12px;
  299. line-height: $thumbnailToolbarHeight;
  300. height: $thumbnailToolbarHeight;
  301. padding: 0;
  302. border: 0;
  303. margin: 0px 5px 0px 0px;
  304. }
  305. /**
  306. * Toolbar icon internal i elements (font icons).
  307. */
  308. .toolbar-icon>i {
  309. line-height: $thumbnailToolbarHeight;
  310. }
  311. /**
  312. * Toolbar icons positioned on the right.
  313. */
  314. .moderator-icon {
  315. display: inline-block;
  316. &.right {
  317. float: right;
  318. margin: 0px 0px 0px 5px;
  319. }
  320. .toolbar-icon {
  321. margin: 0;
  322. }
  323. }
  324. .raisehandindicator {
  325. background: $raiseHandBg;
  326. }
  327. .connection-indicator {
  328. background: $connectionIndicatorBg;
  329. &.status-high {
  330. background: green;
  331. }
  332. &.status-med {
  333. background: #FFD740;
  334. }
  335. &.status-lost {
  336. background: gray;
  337. }
  338. &.status-low {
  339. background: #BF2117;
  340. }
  341. &.status-other {
  342. background: $connectionIndicatorBg;
  343. }
  344. }
  345. .remote-video-menu-trigger,
  346. .remotevideomenu
  347. {
  348. display: inline-block;
  349. position: absolute;
  350. top: 0px;
  351. right: 0;
  352. z-index: $zindex2;
  353. width: 18px;
  354. height: 13px;
  355. color: #FFF;
  356. font-size: 10pt;
  357. >i{
  358. cursor: hand;
  359. }
  360. }
  361. .remote-video-menu-trigger {
  362. margin-top: 7px;
  363. }
  364. /**
  365. * Audio indicator on video thumbnails.
  366. */
  367. .videocontainer>span.audioindicator,
  368. .videocontainer>.audioindicator-container {
  369. position: absolute;
  370. display: inline-block;
  371. left: 6px;
  372. top: 50%;
  373. margin-top: -17px;
  374. width: 6px;
  375. height: 35px;
  376. z-index: $zindex2;
  377. border: none;
  378. .audiodot-top,
  379. .audiodot-bottom,
  380. .audiodot-middle {
  381. opacity: 0;
  382. display: inline-block;
  383. @include circle(5px);
  384. background: $audioLevelShadow;
  385. margin: 1px 0 1px 0;
  386. transition: opacity .25s ease-in-out;
  387. -moz-transition: opacity .25s ease-in-out;
  388. }
  389. span.audiodot-top::after,
  390. span.audiodot-bottom::after,
  391. span.audiodot-middle::after {
  392. content: "";
  393. display: inline-block;
  394. width: 5px;
  395. height: 5px;
  396. border-radius: 50%;
  397. -webkit-filter: blur(0.5px);
  398. filter: blur(0.5px);
  399. background: $audioLevelBg;
  400. }
  401. }
  402. #reloadPresentation {
  403. display: none;
  404. position: absolute;
  405. color: #FFFFFF;
  406. top: 0;
  407. right:0;
  408. padding: 10px 10px;
  409. font-size: 11pt;
  410. cursor: pointer;
  411. background: rgba(0, 0, 0, 0.3);
  412. border-radius: 5px;
  413. background-clip: padding-box;
  414. -webkit-border-radius: 5px;
  415. -webkit-background-clip: padding-box;
  416. z-index: $reloadZ; /*The reload button should appear on top of the header!*/
  417. }
  418. .audiolevel {
  419. display: inline-block;
  420. position: absolute;
  421. z-index: $zindex0;
  422. border-radius:1px;
  423. pointer-events: none;
  424. }
  425. #dominantSpeaker {
  426. visibility: hidden;
  427. width: 300px;
  428. height: 300px;
  429. margin: auto;
  430. position: relative;
  431. }
  432. #mixedstream {
  433. display:none !important;
  434. }
  435. #dominantSpeakerAvatar,
  436. .dynamic-shadow {
  437. width: 200px;
  438. height: 200px;
  439. }
  440. #dominantSpeakerAvatar {
  441. top: 50px;
  442. margin: auto;
  443. position: relative;
  444. border-radius: 100px;
  445. visibility: inherit;
  446. background-color: #000000;
  447. }
  448. .dynamic-shadow {
  449. border-radius: 50%;
  450. position: absolute;
  451. top: 50%;
  452. left: 50%;
  453. margin: -100px 0 0 -100px;
  454. transition: box-shadow 0.3s ease;
  455. }
  456. .userAvatar {
  457. @include maxSize(60px);
  458. @include absoluteAligning();
  459. border-radius: 50%;
  460. height: 50%;
  461. width: auto;
  462. }
  463. #videoNotAvailableScreen {
  464. text-align: center;
  465. #avatarContainer {
  466. height: 50vh;
  467. display:inline-block;
  468. margin-top: 25vh;
  469. #avatar {
  470. border-radius: 50%;
  471. height: 100%;
  472. }
  473. }
  474. }
  475. .sharedVideoAvatar {
  476. height: 100%;
  477. width: 100%;
  478. object-fit: cover;
  479. }
  480. .noMic {
  481. position: absolute;
  482. border-radius: 8px;
  483. z-index: $zindex1;
  484. width: 100%;
  485. height: 100%;
  486. background-image: url("../images/noMic.png");
  487. background-color: #000;
  488. background-repeat: no-repeat;
  489. background-position: center;
  490. }
  491. .noVideo {
  492. position: absolute;
  493. border-radius: 8px;
  494. z-index: $zindex1;
  495. width: 100%;
  496. height: 100%;
  497. background-image: url("../images/noVideo.png");
  498. background-color: #000;
  499. background-repeat: no-repeat;
  500. background-position: center;
  501. }
  502. .videoMessageFilter {
  503. -webkit-filter: grayscale(.5) opacity(0.8);
  504. filter: grayscale(.5) opacity(0.8);
  505. }
  506. .remoteVideoProblemFilter {
  507. -webkit-filter: grayscale(100%);
  508. filter: grayscale(100%);
  509. }
  510. .videoProblemFilter {
  511. -webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
  512. filter: blur(10px) grayscale(.5) opacity(0.8);
  513. }
  514. .videoThumbnailProblemFilter {
  515. -webkit-filter: grayscale(100%);
  516. filter: grayscale(100%);
  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. #remotePresenceMessage .no-presence,
  544. #remoteConnectionMessage {
  545. display: none;
  546. }
  547. #localConnectionMessage {
  548. display: none;
  549. position: absolute;
  550. left: 0;
  551. width: 100%;
  552. top:50%;
  553. z-index: $zindex2;
  554. font-weight: 600;
  555. font-size: 14px;
  556. text-align: center;
  557. color: #FFF;
  558. opacity: .80;
  559. text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
  560. 0px 1px 1px rgba(0,0,0,0.3),
  561. 1px 0px 1px rgba(0,0,0,0.3),
  562. 0px 0px 1px rgba(0,0,0,0.3);
  563. }