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 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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: 1; // Set z-index to make element visible
  19. width: $hideFilmstripButtonWidth;
  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. padding-left: 17px;
  47. bottom: 0;
  48. width:auto;
  49. border: $thumbnailsBorder solid transparent;
  50. z-index: 5;
  51. transition: bottom 2s;
  52. overflow: visible !important;
  53. font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/
  54. &.hidden {
  55. bottom: -196px;
  56. }
  57. .videocontainer {
  58. display: none;
  59. position: relative;
  60. background-size: contain;
  61. border: $thumbnailVideoBorder solid transparent;
  62. border-radius:1px;
  63. margin: 0 $thumbnailVideoMargin;
  64. &.videoContainerFocused, &:hover {
  65. cursor: hand;
  66. }
  67. /**
  68. * Focused video thumbnail.
  69. */
  70. &.videoContainerFocused {
  71. transition-duration: 0.5s;
  72. -webkit-transition-duration: 0.5s;
  73. -webkit-animation-name: greyPulse;
  74. -webkit-animation-duration: 2s;
  75. -webkit-animation-iteration-count: 1;
  76. border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
  77. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  78. 0 0 3px $videoThumbnailSelected !important;
  79. }
  80. .remotevideomenu {
  81. display: none;
  82. }
  83. /**
  84. * Hovered video thumbnail.
  85. */
  86. &:hover {
  87. cursor: hand;
  88. border: $thumbnailVideoBorder solid $videoThumbnailHovered;
  89. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  90. 0 0 3px $videoThumbnailHovered;
  91. .remotevideomenu {
  92. display: inline-block;
  93. }
  94. }
  95. /* With TemasysWebRTC plugin <object/> element is used
  96. instead of <video/> */
  97. & > video,
  98. & > object {
  99. cursor: hand;
  100. border-radius:1px;
  101. object-fit: cover;
  102. overflow: hidden;
  103. }
  104. }
  105. }
  106. }