Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

_filmstrip.scss 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. padding-left: $defaultToolbarSize + 5;
  48. bottom: 0;
  49. width:auto;
  50. border: $thumbnailsBorder solid transparent;
  51. z-index: $filmstripVideosZ;
  52. transition: bottom 2s;
  53. overflow: visible !important;
  54. /*!!! Removes the gap between the local video container and the remote
  55. videos. */
  56. font-size: 0pt;
  57. #filmstripLocalVideo {
  58. padding-left: 0;
  59. }
  60. &.hidden {
  61. bottom: -196px;
  62. }
  63. .remote-videos-container {
  64. display: flex;
  65. }
  66. .videocontainer {
  67. display: none;
  68. position: relative;
  69. background-size: contain;
  70. border: $thumbnailVideoBorder solid transparent;
  71. border-radius: $borderRadius;
  72. margin: 0 $thumbnailVideoMargin;
  73. &.videoContainerFocused, &:hover {
  74. cursor: hand;
  75. }
  76. /**
  77. * Focused video thumbnail.
  78. */
  79. &.videoContainerFocused {
  80. transition-duration: 0.5s;
  81. -webkit-transition-duration: 0.5s;
  82. -webkit-animation-name: greyPulse;
  83. -webkit-animation-duration: 2s;
  84. -webkit-animation-iteration-count: 1;
  85. border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
  86. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  87. 0 0 3px $videoThumbnailSelected !important;
  88. }
  89. .remotevideomenu > .icon-menu {
  90. display: none;
  91. }
  92. /**
  93. * Hovered video thumbnail.
  94. */
  95. &:hover {
  96. cursor: hand;
  97. border: $thumbnailVideoBorder solid $videoThumbnailHovered;
  98. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  99. 0 0 3px $videoThumbnailHovered;
  100. .remotevideomenu > .icon-menu {
  101. display: inline-block;
  102. }
  103. }
  104. /* With the TemasysWebRTC plugin <object/> element is used
  105. instead of <video/> */
  106. & > video,
  107. & > object {
  108. cursor: hand;
  109. border-radius: $borderRadius;
  110. object-fit: cover;
  111. overflow: hidden;
  112. }
  113. }
  114. }
  115. /**
  116. * Style the filmstrip videos in filmstrip-only mode.
  117. */
  118. &__videos-filmstripOnly {
  119. margin-top: auto;
  120. margin-bottom: auto;
  121. padding-right: $defaultFilmStripOnlyToolbarSize;
  122. }
  123. .remote-videos-container {
  124. transition: opacity 1s;
  125. &.hide-videos {
  126. opacity: 0;
  127. pointer-events: none;
  128. }
  129. }
  130. }