Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

_videolayout_default.scss 14KB

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