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 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /**
  2. * Override other styles to support vertical filmstrip mode.
  3. */
  4. .vertical-filmstrip {
  5. .filmstrip {
  6. align-items: flex-end;
  7. box-sizing: border-box;
  8. display: flex;
  9. flex-direction: column-reverse;
  10. height: 100%;
  11. /**
  12. * Hide videos by making them slight to the right.
  13. */
  14. .filmstrip__videos {
  15. right: 0;
  16. transition: right 2s;
  17. &.hidden {
  18. bottom: auto;
  19. right: -196px;
  20. }
  21. }
  22. #filmstripLocalVideo {
  23. height: auto;
  24. justify-content: flex-end;
  25. }
  26. /**
  27. * Remove unnecssary padding that is normally used to prevent horizontal
  28. * filmstrip from overlapping the left edge of the screen.
  29. */
  30. #filmstripLocalVideo,
  31. #filmstripRemoteVideos {
  32. padding: 0;
  33. }
  34. #filmstripRemoteVideos {
  35. display: flex;
  36. flex: 1;
  37. flex-direction: column;
  38. height: auto;
  39. overflow-x: hidden !important;
  40. .remote-videos-container {
  41. flex-direction: column;
  42. }
  43. }
  44. /**
  45. * Rotate the hide filmstrip icon so it points towards the right edge
  46. * of the screen.
  47. */
  48. &__toolbar {
  49. transform: rotate(-90deg);
  50. }
  51. /**
  52. * Move the remote video menu trigger to the bottom left of the
  53. * video thumbnail.
  54. */
  55. .remotevideomenu {
  56. bottom: 0;
  57. left: 0;
  58. top: auto;
  59. right: auto;
  60. margin-bottom: 7px;
  61. transform: translate3d(0,0,0);
  62. }
  63. #remoteVideos {
  64. flex-direction: column-reverse;
  65. flex-grow: 1;
  66. }
  67. .videocontainer {
  68. &__toolbar,
  69. &__toptoolbar {
  70. transform: translate3d(0,0,0);
  71. }
  72. /**
  73. * Move status icons to the bottom right of the thumbnail.
  74. */
  75. &__toolbar {
  76. text-align: right;
  77. .toolbar-icon {
  78. float: none;
  79. margin: auto;
  80. }
  81. }
  82. }
  83. }
  84. &.filmstrip-only {
  85. .filmstrip {
  86. flex-direction: row-reverse;
  87. }
  88. .filmstrip__videos-filmstripOnly {
  89. height: 100%;
  90. }
  91. /**
  92. * In filmstrip only mode, the toolbar is normally displayed in the
  93. * vertical center of the filmstrip strip. In vertical filmstrip mode,
  94. * that alignment makes the toolbar appear floating and detached from
  95. * the filmstrip. So, instead anchor the toolbar next to the local
  96. * video.
  97. */
  98. .toolbar_filmstrip-only {
  99. bottom: 0;
  100. top: auto;
  101. transform: none;
  102. }
  103. }
  104. /**
  105. * These styles are for the video labels that display on the top right. The
  106. * styles adjust the labels' positioning as the filmstrip itself or
  107. * filmstrip's remote videos appear and disappear.
  108. *
  109. * The class with-filmstrip is for when the filmstrip is visible.
  110. * The class without-filmstrip is for when the filmstrip has been toggled to
  111. * be hidden.
  112. * The class opening is for when the filmstrip is transitioning from hidden
  113. * to visible.
  114. * The class with-remote-videos is for when the filmstrip has remote videos
  115. * displayed, as opposed to 1-on-1 mode where they might be hidden.
  116. * The class without-remote-videos is for when the filmstrip is visible
  117. * but it has no videos to display.
  118. */
  119. .video-state-indicator.moveToCorner {
  120. transition: right 0.5s;
  121. &.with-filmstrip.with-remote-videos {
  122. &#recordingLabel {
  123. right: 200px;
  124. }
  125. &#videoResolutionLabel {
  126. right: 150px;
  127. }
  128. }
  129. &.with-filmstrip.without-remote-videos {
  130. transition-delay: 0.5s;
  131. }
  132. &.with-filmstrip.with-remote-videos.opening {
  133. transition: 0.9s;
  134. transition-timing-function: ease-in-out;
  135. }
  136. &.without-filmstrip {
  137. transition: 1.2s ease-in-out;
  138. transition-delay: 0.1s;
  139. }
  140. }
  141. /**
  142. * Move toastr closer to the bottom of the screen and move left to avoid
  143. * overlapping of videos when they are configured at default height.
  144. */
  145. #toast-container {
  146. &.notification-bottom-right {
  147. bottom: 25px;
  148. right: 130 + 2 * ($thumbnailVideoMargin + $thumbnailsBorder) + $thumbnailVideoBorder;
  149. }
  150. }
  151. }