You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_vertical_filmstrip_overrides.scss 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. transform: rotate(-90deg);
  61. }
  62. #remoteVideos {
  63. flex-direction: column-reverse;
  64. height: 100%;
  65. }
  66. .videocontainer {
  67. /**
  68. * Move status icons to the bottom right of the thumbnail.
  69. */
  70. &__toolbar {
  71. text-align: right;
  72. .toolbar-icon {
  73. float: none;
  74. }
  75. }
  76. }
  77. }
  78. /**
  79. * These styles are for the video labels that display on the top right. The
  80. * styles adjust the labels' positioning as the filmstrip itself or
  81. * filmstrip's remote videos appear and disappear.
  82. *
  83. * The class with-filmstrip is for when the filmstrip is visible.
  84. * The class without-filmstrip is for when the filmstrip has been toggled to
  85. * be hidden.
  86. * The class opening is for when the filmstrip is transitioning from hidden
  87. * to visible.
  88. * The class with-remote-videos is for when the filmstrip has remote videos
  89. * displayed, as opposed to 1-on-1 mode where they might be hidden.
  90. * The class without-remote-videos is for when the filmstrip is visible
  91. * but it has no videos to display.
  92. */
  93. .video-state-indicator.moveToCorner {
  94. transition: right 0.5s;
  95. &.with-filmstrip.with-remote-videos {
  96. &#recordingLabel {
  97. right: 200px;
  98. }
  99. &#videoResolutionLabel {
  100. right: 150px;
  101. }
  102. }
  103. &.with-filmstrip.without-remote-videos {
  104. transition-delay: 0.5s;
  105. }
  106. &.with-filmstrip.with-remote-videos.opening {
  107. transition: 0.9s;
  108. transition-timing-function: ease-in-out;
  109. }
  110. &.without-filmstrip {
  111. transition: 1.2s ease-in-out;
  112. transition-delay: 0.1s;
  113. }
  114. }
  115. /**
  116. * Move toastr closer to the bottom of the screen and move left to avoid
  117. * overlapping of videos when they are configured at default height.
  118. */
  119. #toast-container {
  120. &.notification-bottom-right {
  121. bottom: 25px;
  122. right: 130 + 2 * ($thumbnailVideoMargin + $thumbnailsBorder) + $thumbnailVideoBorder;
  123. }
  124. }
  125. }