Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

_tile_view.scss 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. border: $thumbnailVideoBorder solid $videoThumbnailSelected;
  11. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  12. 0 0 3px $videoThumbnailSelected;
  13. }
  14. #filmstripRemoteVideos {
  15. align-items: center;
  16. box-sizing: border-box;
  17. display: flex;
  18. flex-direction: column;
  19. height: 100vh;
  20. width: 100vw;
  21. }
  22. .filmstrip__videos .videocontainer {
  23. &:not(.active-speaker),
  24. &:hover:not(.active-speaker) {
  25. border: none;
  26. box-shadow: none;
  27. }
  28. }
  29. #remoteVideos {
  30. /**
  31. * Height is modified with an inline style in horizontal filmstrip mode
  32. * so !important is used to override that.
  33. */
  34. height: 100% !important;
  35. width: 100%;
  36. }
  37. .filmstrip {
  38. align-items: center;
  39. display: flex;
  40. height: 100%;
  41. justify-content: center;
  42. left: 0;
  43. position: fixed;
  44. top: 0;
  45. width: 100%;
  46. z-index: $filmstripVideosZ
  47. }
  48. /**
  49. * Regardless of the user setting, do not let the filmstrip be in a hidden
  50. * state.
  51. */
  52. .filmstrip__videos.hidden {
  53. display: block;
  54. }
  55. #filmstripRemoteVideos {
  56. box-sizing: border-box;
  57. /**
  58. * Allow scrolling of the thumbnails.
  59. */
  60. overflow: auto;
  61. }
  62. /**
  63. * The size of the thumbnails should be set with javascript, based on
  64. * desired column count and window width. The rows are created using flex
  65. * and allowing the thumbnails to wrap.
  66. */
  67. #filmstripRemoteVideosContainer {
  68. align-content: center;
  69. align-items: center;
  70. box-sizing: border-box;
  71. display: flex;
  72. flex-wrap: wrap;
  73. height: 100vh;
  74. justify-content: center;
  75. padding: 100px 0;
  76. .videocontainer {
  77. box-sizing: border-box;
  78. display: block;
  79. margin: 5px;
  80. }
  81. video {
  82. object-fit: contain;
  83. }
  84. }
  85. .has-overflow#filmstripRemoteVideosContainer {
  86. align-content: baseline;
  87. }
  88. .has-overflow .videocontainer {
  89. align-self: baseline;
  90. }
  91. /**
  92. * Firefox flex acts a little differently. To make sure the bottom row of
  93. * thumbnails is not overlapped by the horizontal toolbar, margin is added
  94. * to the local thumbnail to keep it from the bottom of the screen. It is
  95. * assumed the local thumbnail will always be on the bottom row.
  96. */
  97. .has-overflow #localVideoContainer {
  98. margin-bottom: 100px !important;
  99. }
  100. }