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.

_filmstrip.scss 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. padding: 0;
  45. /* The filmstrip should not be covered by the left toolbar. */
  46. bottom: 0;
  47. width:auto;
  48. transition: bottom 2s;
  49. overflow: visible !important;
  50. &#remoteVideos {
  51. border: $thumbnailsBorder solid transparent;
  52. padding-left: $defaultToolbarSize + 5;
  53. }
  54. /**
  55. * The local video identifier.
  56. */
  57. &#filmstripLocalVideo {
  58. bottom: 32px;
  59. flex-direction: column;
  60. /**
  61. * The invite button style.
  62. */
  63. .filmstrip__invite {
  64. padding-bottom: 5px;
  65. margin-left: 2px;
  66. }
  67. /**
  68. * The invite button group style.
  69. * TOFIX: use AtlasKit.ButtonGroup if it starts supporting different
  70. * flex grow options for the buttons.
  71. */
  72. .invite-button-group {
  73. display: inline-flex;
  74. justify-content: space-between;
  75. width: 100%;
  76. & button {
  77. background: $toolbarBackground;
  78. flex-grow: 1;
  79. flex-shrink: 1;
  80. overflow: hidden;
  81. }
  82. & > * {
  83. color: $toolbarButtonColor;
  84. flex-grow: 0;
  85. flex-shrink: 0;
  86. margin-left: 2px;
  87. }
  88. /**
  89. * Making sure any svg-s in an invite button group will be
  90. * colored the way we want.
  91. */
  92. & path {
  93. fill: $toolbarButtonColor;
  94. }
  95. }
  96. }
  97. &.hidden {
  98. bottom: -196px;
  99. }
  100. .remote-videos-container {
  101. display: flex;
  102. }
  103. .videocontainer {
  104. display: none;
  105. position: relative;
  106. background-size: contain;
  107. border: $thumbnailVideoBorder solid transparent;
  108. border-radius: $borderRadius;
  109. margin: 0 $thumbnailVideoMargin;
  110. &.videoContainerFocused, &:hover {
  111. cursor: hand;
  112. }
  113. /**
  114. * Focused video thumbnail.
  115. */
  116. &.videoContainerFocused {
  117. transition-duration: 0.5s;
  118. -webkit-transition-duration: 0.5s;
  119. -webkit-animation-name: greyPulse;
  120. -webkit-animation-duration: 2s;
  121. -webkit-animation-iteration-count: 1;
  122. border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
  123. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  124. 0 0 3px $videoThumbnailSelected !important;
  125. }
  126. .remotevideomenu > .icon-menu {
  127. display: none;
  128. }
  129. .presence-label {
  130. color: $participantNameColor;
  131. font-size: 12px;
  132. font-weight: 100;
  133. left: 0;
  134. margin: 0 auto;
  135. overflow: hidden;
  136. pointer-events: none;
  137. position: absolute;
  138. right: 0;
  139. text-align: center;
  140. text-overflow: ellipsis;
  141. top: calc(50% + 30px);
  142. white-space: nowrap;
  143. width: 100%;
  144. z-index: $zindex3;
  145. }
  146. /**
  147. * Hovered video thumbnail.
  148. */
  149. &:hover {
  150. cursor: hand;
  151. border: $thumbnailVideoBorder solid $videoThumbnailHovered;
  152. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  153. 0 0 3px $videoThumbnailHovered;
  154. .remotevideomenu > .icon-menu {
  155. display: inline-block;
  156. }
  157. }
  158. /* With the TemasysWebRTC plugin <object/> element is used
  159. instead of <video/> */
  160. & > video,
  161. & > object {
  162. cursor: hand;
  163. border-radius: $borderRadius;
  164. object-fit: cover;
  165. overflow: hidden;
  166. }
  167. }
  168. }
  169. /**
  170. * Style the filmstrip videos in filmstrip-only mode.
  171. */
  172. &__videos-filmstripOnly {
  173. margin-top: auto;
  174. margin-bottom: auto;
  175. }
  176. .remote-videos-container {
  177. transition: opacity 1s;
  178. }
  179. &.hide-videos {
  180. .remote-videos-container {
  181. opacity: 0;
  182. pointer-events: none;
  183. }
  184. }
  185. }