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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. &__toolbar {
  14. @include flex();
  15. flex-direction: column-reverse;
  16. flex-wrap: nowrap;
  17. position: relative;
  18. z-index: $zindex1; // Set z-index to make element visible.
  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. z-index: $filmstripVideosZ;
  50. transition: bottom 2s;
  51. overflow: visible !important;
  52. /*!!! Removes the gap between the local video container and the remote
  53. videos. */
  54. font-size: 0pt;
  55. &#remoteVideos {
  56. border: $thumbnailsBorder solid transparent;
  57. padding-left: $defaultToolbarSize + 5;
  58. }
  59. &.hidden {
  60. bottom: -196px;
  61. }
  62. .remote-videos-container {
  63. display: flex;
  64. }
  65. .videocontainer {
  66. display: none;
  67. position: relative;
  68. background-size: contain;
  69. border: $thumbnailVideoBorder solid transparent;
  70. border-radius: $borderRadius;
  71. margin: 0 $thumbnailVideoMargin;
  72. &.videoContainerFocused, &:hover {
  73. cursor: hand;
  74. }
  75. /**
  76. * Focused video thumbnail.
  77. */
  78. &.videoContainerFocused {
  79. transition-duration: 0.5s;
  80. -webkit-transition-duration: 0.5s;
  81. -webkit-animation-name: greyPulse;
  82. -webkit-animation-duration: 2s;
  83. -webkit-animation-iteration-count: 1;
  84. border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
  85. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  86. 0 0 3px $videoThumbnailSelected !important;
  87. }
  88. .remotevideomenu > .icon-menu {
  89. display: none;
  90. }
  91. .presence-label {
  92. color: $participantNameColor;
  93. font-size: 12px;
  94. font-weight: 100;
  95. left: 0;
  96. margin: 0 auto;
  97. overflow: hidden;
  98. pointer-events: none;
  99. position: absolute;
  100. right: 0;
  101. text-align: center;
  102. text-overflow: ellipsis;
  103. top: calc(50% + 30px);
  104. white-space: nowrap;
  105. width: 100%;
  106. z-index: $zindex3;
  107. }
  108. /**
  109. * Hovered video thumbnail.
  110. */
  111. &:hover {
  112. cursor: hand;
  113. border: $thumbnailVideoBorder solid $videoThumbnailHovered;
  114. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  115. 0 0 3px $videoThumbnailHovered;
  116. .remotevideomenu > .icon-menu {
  117. display: inline-block;
  118. }
  119. }
  120. /* With the TemasysWebRTC plugin <object/> element is used
  121. instead of <video/> */
  122. & > video,
  123. & > object {
  124. cursor: hand;
  125. border-radius: $borderRadius;
  126. object-fit: cover;
  127. overflow: hidden;
  128. }
  129. }
  130. }
  131. /**
  132. * Style the filmstrip videos in filmstrip-only mode.
  133. */
  134. &__videos-filmstripOnly {
  135. margin-top: auto;
  136. margin-bottom: auto;
  137. }
  138. .remote-videos-container {
  139. transition: opacity 1s;
  140. &.hide-videos {
  141. opacity: 0;
  142. pointer-events: none;
  143. }
  144. }
  145. }