Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_filmstrip.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. &.hidden {
  58. bottom: -196px;
  59. }
  60. .videocontainer {
  61. display: none;
  62. position: relative;
  63. background-size: contain;
  64. border: $thumbnailVideoBorder solid transparent;
  65. border-radius: $borderRadius;
  66. margin: 0 $thumbnailVideoMargin;
  67. &.videoContainerFocused, &:hover {
  68. cursor: hand;
  69. }
  70. /**
  71. * Focused video thumbnail.
  72. */
  73. &.videoContainerFocused {
  74. transition-duration: 0.5s;
  75. -webkit-transition-duration: 0.5s;
  76. -webkit-animation-name: greyPulse;
  77. -webkit-animation-duration: 2s;
  78. -webkit-animation-iteration-count: 1;
  79. border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
  80. box-shadow: inset 0 0 3px $videoThumbnailSelected,
  81. 0 0 3px $videoThumbnailSelected !important;
  82. }
  83. .remotevideomenu > .icon-menu {
  84. display: none;
  85. }
  86. /**
  87. * Hovered video thumbnail.
  88. */
  89. &:hover {
  90. cursor: hand;
  91. border: $thumbnailVideoBorder solid $videoThumbnailHovered;
  92. box-shadow: inset 0 0 3px $videoThumbnailHovered,
  93. 0 0 3px $videoThumbnailHovered;
  94. .remotevideomenu > .icon-menu {
  95. display: inline-block;
  96. }
  97. }
  98. /* With the TemasysWebRTC plugin <object/> element is used
  99. instead of <video/> */
  100. & > video,
  101. & > object {
  102. cursor: hand;
  103. border-radius: $borderRadius;
  104. object-fit: cover;
  105. overflow: hidden;
  106. }
  107. }
  108. }
  109. /**
  110. * Style the filmstrip videos in filmstrip-only mode.
  111. */
  112. &__videos-filmstripOnly {
  113. margin-top: auto;
  114. margin-bottom: auto;
  115. padding-right: $defaultToolbarSize;
  116. }
  117. }