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

_videolayout_default.scss 14KB

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