Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

_videolayout_default.scss 11KB

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