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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. .video-state-indicator {
  79. bottom: 30px;
  80. left: 30px;
  81. right: auto;
  82. top: auto;
  83. /**
  84. * Move the label to the bottom left of the screen
  85. */
  86. &#videoResolutionLabel {
  87. left: 60px;
  88. z-index: $poweredByZ;
  89. /**
  90. * Open the menu above the label.
  91. */
  92. .video-state-indicator-menu {
  93. bottom: calc(100% - 15px);
  94. left: -10px;
  95. /**
  96. * Create padding for mouse travel on hover.
  97. */
  98. padding-bottom: 20px;
  99. right: auto;
  100. top: auto;
  101. .video-state-indicator-menu-options {
  102. margin: 0;
  103. /**
  104. * The menu arrow should point down
  105. */
  106. &::after {
  107. border-color: $popoverBg transparent transparent;
  108. bottom: -10px;
  109. left: 15px;
  110. right: auto;
  111. top: auto;
  112. }
  113. }
  114. }
  115. }
  116. &#recordingLabel {
  117. left: 110px;
  118. z-index: $poweredByZ;
  119. }
  120. }
  121. /**
  122. * Move toastr closer to the bottom of the screen and move left to avoid
  123. * overlapping of videos when they are configured at default height.
  124. */
  125. #toast-container {
  126. &.notification-bottom-right {
  127. bottom: 25px;
  128. right: 130 + 2 * ($thumbnailVideoMargin + $thumbnailsBorder) + $thumbnailVideoBorder;
  129. }
  130. }
  131. }