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

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