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.

_filmstrip.scss 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. %align-right {
  2. @include flex();
  3. flex-direction: row-reverse;
  4. flex-wrap: nowrap;
  5. justify-content: flex-start;
  6. }
  7. .filmstrip {
  8. position: absolute;
  9. bottom: 0;
  10. right: 0;
  11. padding: 10px 5px;
  12. @extend %align-right;
  13. z-index: $filmstripVideosZ;
  14. &__toolbar {
  15. @include flex();
  16. flex-direction: column-reverse;
  17. flex-wrap: nowrap;
  18. position: relative;
  19. width: $filmstripToggleButtonWidth;
  20. button {
  21. font-size: 14px;
  22. line-height: 1.2;
  23. text-align: center;
  24. background: transparent;
  25. opacity: 0.7;
  26. height: auto;
  27. width: 100%;
  28. padding: 0;
  29. margin: 0;
  30. border: none;
  31. outline: none;
  32. -webkit-appearance: none;
  33. &:hover {
  34. opacity: 1;
  35. }
  36. i {
  37. cursor: pointer;
  38. }
  39. }
  40. }
  41. &__videos {
  42. @extend %align-right;
  43. position:relative;
  44. height:196px;
  45. padding: 0;
  46. /* The filmstrip should not be covered by the left toolbar. */
  47. bottom: 0;
  48. width:auto;
  49. transition: bottom 2s;
  50. overflow: visible !important;
  51. /*!!! Removes the gap between the local video container and the remote
  52. videos. */
  53. font-size: 0pt;
  54. &#remoteVideos {
  55. border: $thumbnailsBorder solid transparent;
  56. padding-left: $defaultToolbarSize + 5;
  57. }
  58. &.hidden {
  59. bottom: -196px;
  60. }
  61. .remote-videos-container {
  62. display: flex;
  63. }
  64. .videocontainer {
  65. display: none;
  66. position: relative;
  67. background-size: contain;
  68. border: $thumbnailVideoBorder solid transparent;
  69. border-radius: $borderRadius;
  70. margin: 0 $thumbnailVideoMargin;
  71. &.videoContainerFocused, &:hover {
  72. cursor: hand;
  73. }
  74. /**
  75. * Focused video thumbnail.
  76. */
  77. &.videoContainerFocused {
  78. transition-duration: 0.5s;
  79. -webkit-transition-duration: 0.5s;
  80. -webkit-animation-name: greyPulse;
  81. -webkit-animation-duration: 2s;
  82. -webkit-animation-iteration-count: 1;
  83. border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
  84. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  85. 0 0 3px $videoThumbnailSelected !important;
  86. }
  87. .remotevideomenu > .icon-menu {
  88. display: none;
  89. }
  90. .presence-label {
  91. color: $participantNameColor;
  92. font-size: 12px;
  93. font-weight: 100;
  94. left: 0;
  95. margin: 0 auto;
  96. overflow: hidden;
  97. pointer-events: none;
  98. position: absolute;
  99. right: 0;
  100. text-align: center;
  101. text-overflow: ellipsis;
  102. top: calc(50% + 30px);
  103. white-space: nowrap;
  104. width: 100%;
  105. z-index: $zindex3;
  106. }
  107. /**
  108. * Hovered video thumbnail.
  109. */
  110. &:hover {
  111. cursor: hand;
  112. border: $thumbnailVideoBorder solid $videoThumbnailHovered;
  113. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  114. 0 0 3px $videoThumbnailHovered;
  115. .remotevideomenu > .icon-menu {
  116. display: inline-block;
  117. }
  118. }
  119. /* With the TemasysWebRTC plugin <object/> element is used
  120. instead of <video/> */
  121. & > video,
  122. & > object {
  123. cursor: hand;
  124. border-radius: $borderRadius;
  125. object-fit: cover;
  126. overflow: hidden;
  127. }
  128. }
  129. }
  130. /**
  131. * Style the filmstrip videos in filmstrip-only mode.
  132. */
  133. &__videos-filmstripOnly {
  134. margin-top: auto;
  135. margin-bottom: auto;
  136. }
  137. .remote-videos-container {
  138. transition: opacity 1s;
  139. }
  140. &.hide-videos {
  141. .remote-videos-container {
  142. opacity: 0;
  143. pointer-events: none;
  144. }
  145. }
  146. }