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.

_vertical_filmstrip_overrides.scss 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /**
  2. * Rotate the hide filmstrip icon so it points towards the right edge
  3. * of the screen.
  4. */
  5. .vertical-filmstrip .filmstrip__toolbar {
  6. transform: rotate(-90deg);
  7. }
  8. /**
  9. * Overrides for video containers that should not be centered aligned to avoid=
  10. * clashing with the filmstrip.
  11. */
  12. .vertical-filmstrip #etherpad,
  13. .vertical-filmstrip #sharedvideo {
  14. text-align: left;
  15. }
  16. /**
  17. * Overrides for small videos in vertical filmstrip mode.
  18. */
  19. .vertical-filmstrip .filmstrip__videos .videocontainer {
  20. /**
  21. * Move status icons to the bottom right of the thumbnail.
  22. */
  23. .videocontainer__toolbar {
  24. /**
  25. * FIXME: disable pointer to allow any elements moved below to still
  26. * be clickable. The real fix would to make sure those moved elements
  27. * are actually part of the toolbar instead of positioning being faked.
  28. */
  29. pointer-events: none;
  30. text-align: right;
  31. > div {
  32. pointer-events: none;
  33. }
  34. .right {
  35. float: none;
  36. margin: auto;
  37. }
  38. .toolbar-icon {
  39. pointer-events: all;
  40. }
  41. }
  42. /**
  43. * Apply hardware acceleration to prevent flickering on scroll. The
  44. * selectors are specific to icon wrappers to prevent fixed position dialogs
  45. * and tooltips from getting a new location context due to translate3d.
  46. */
  47. .connection-indicator,
  48. .local-video-menu-trigger,
  49. .remote-video-menu-trigger,
  50. .indicator-icon-container {
  51. transform: translate3d(0, 0, 0);
  52. }
  53. .indicator-icon-container {
  54. display: inline-block;
  55. }
  56. .indicator-container {
  57. float: none;
  58. }
  59. /**
  60. * Move the remote video menu trigger to the bottom left of the video
  61. * thumbnail.
  62. */
  63. .localvideomenu,
  64. .remotevideomenu,
  65. .local-video-menu-trigger,
  66. .remote-video-menu-trigger {
  67. bottom: 0;
  68. left: 0;
  69. top: auto;
  70. right: auto;
  71. }
  72. .local-video-menu-trigger,
  73. .remote-video-menu-trigger {
  74. margin-bottom: 3px;
  75. margin-left: $remoteVideoMenuIconMargin;
  76. }
  77. .self-view-mobile-portrait video {
  78. object-fit: contain;
  79. }
  80. }
  81. /**
  82. * Overrides for quality labels in filmstrip only mode. The styles adjust the
  83. * labels' positioning as the filmstrip itself or filmstrip's remote videos
  84. * appear and disappear.
  85. *
  86. * The class with-filmstrip is for when the filmstrip is visible.
  87. * The class without-filmstrip is for when the filmstrip has been toggled to
  88. * be hidden.
  89. * The class opening is for when the filmstrip is transitioning from hidden
  90. * to visible.
  91. */
  92. .vertical-filmstrip .large-video-labels {
  93. &.with-filmstrip {
  94. right: 150px;
  95. }
  96. &.with-filmstrip.opening {
  97. transition: 0.9s;
  98. transition-timing-function: ease-in-out;
  99. }
  100. &.without-filmstrip {
  101. transition: 1.2s ease-in-out;
  102. transition-delay: 0.1s;
  103. }
  104. }
  105. /**
  106. * Overrides for self view when in portrait mode on mobile.
  107. * This is done in order to keep the aspect ratio.
  108. */
  109. .vertical-filmstrip .self-view-mobile-portrait #localVideo_container {
  110. object-fit: contain;
  111. }