Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_tile_view.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /**
  2. * CSS styles that are specific to the filmstrip that shows the thumbnail tiles.
  3. */
  4. .tile-view {
  5. /**
  6. * Add a border around the active speaker to make the thumbnail easier to
  7. * see.
  8. */
  9. .active-speaker {
  10. box-shadow: 0px 0px 1px 1.5px black, 0px 0px 1.3px 4px $videoThumbnailSelected;
  11. }
  12. .remote-videos {
  13. align-items: center;
  14. box-sizing: border-box;
  15. display: flex;
  16. flex-direction: column;
  17. }
  18. .filmstrip__videos .videocontainer {
  19. &:not(.active-speaker),
  20. &:hover:not(.active-speaker) {
  21. border: none;
  22. box-shadow: none;
  23. }
  24. }
  25. #remoteVideos {
  26. /**
  27. * Height is modified with an inline style in horizontal filmstrip mode
  28. * so !important is used to override that.
  29. */
  30. height: 100% !important;
  31. width: 100%;
  32. display: flex;
  33. justify-content: center;
  34. align-items: center;
  35. transition: margin-bottom .3s ease-in;
  36. }
  37. .filmstrip {
  38. align-items: center;
  39. display: flex;
  40. height: 100%;
  41. justify-content: center;
  42. left: 0;
  43. position: absolute;
  44. top: 0;
  45. width: 100%;
  46. @media (min-width: 581px) {
  47. &.shift-right {
  48. margin-left: $sidebarWidth;
  49. width: calc(100% - #{$sidebarWidth});
  50. .remote-videos {
  51. width: calc(100vw - #{$sidebarWidth});
  52. }
  53. }
  54. }
  55. &.collapse {
  56. #remoteVideos {
  57. height: calc(100% - #{$newToolbarSizeMobile}) !important;
  58. margin-bottom: $newToolbarSizeMobile;
  59. }
  60. .remote-videos {
  61. // !important is needed here as overflow is set via element.style in a FixedSizeGrid.
  62. overflow: hidden auto !important;
  63. }
  64. }
  65. }
  66. /**
  67. * Regardless of the user setting, do not let the filmstrip be in a hidden
  68. * state.
  69. */
  70. .filmstrip__videos.hidden {
  71. display: block;
  72. }
  73. .remote-videos {
  74. box-sizing: border-box;
  75. /**
  76. * The size of the thumbnails should be set with javascript, based on
  77. * desired column count and window width. The rows are created using flex
  78. * and allowing the thumbnails to wrap.
  79. */
  80. & > div {
  81. align-content: center;
  82. align-items: center;
  83. box-sizing: border-box;
  84. display: flex;
  85. margin-top: auto;
  86. margin-bottom: auto;
  87. justify-content: center;
  88. position: absolute;
  89. .videocontainer {
  90. border: 0;
  91. box-sizing: border-box;
  92. display: block;
  93. margin: 2px;
  94. }
  95. video {
  96. object-fit: contain;
  97. }
  98. /**
  99. * Max-width corresponding to the ASPECT_RATIO_BREAKPOINT from features/filmstrip/constants.
  100. */
  101. @media only screen and (max-width: 500px) {
  102. video {
  103. object-fit: cover;
  104. }
  105. }
  106. }
  107. }
  108. }
  109. .shift-right .remote-videos > div {
  110. /**
  111. * Max-width corresponding to the ASPECT_RATIO_BREAKPOINT from features/filmstrip/constants,
  112. * from which we subtract the chat size.
  113. */
  114. @media only screen and (max-width: calc(500px + #{$sidebarWidth})) {
  115. video {
  116. object-fit: cover;
  117. }
  118. }
  119. }
  120. .indicator-icon-container {
  121. display: inline-block;
  122. }