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

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