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.

_video-quality.scss 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. .video-quality-dialog {
  2. .hide-warning {
  3. height: 0;
  4. visibility: hidden;
  5. }
  6. .video-quality-dialog-title {
  7. margin-bottom: 10px;
  8. }
  9. .video-quality-dialog-contents {
  10. align-items: center;
  11. display: flex;
  12. flex-direction: column;
  13. padding: 10px;
  14. min-width: 250px;
  15. .video-quality-dialog-slider-container {
  16. width: 100%;
  17. text-align: center;
  18. }
  19. .video-quality-dialog-slider {
  20. width: calc(100% - 5px);
  21. @mixin sliderTrackStyles() {
  22. height: 15px;
  23. border-radius: 10px;
  24. background: rgb(14, 22, 36);
  25. }
  26. &::-ms-track {
  27. @include sliderTrackStyles();
  28. }
  29. &::-moz-range-track {
  30. @include sliderTrackStyles();
  31. }
  32. &::-webkit-slider-runnable-track {
  33. @include sliderTrackStyles();
  34. }
  35. @mixin sliderThumbStyles() {
  36. top: 50%;
  37. border: none;
  38. position: relative;
  39. opacity: 0;
  40. }
  41. &::-ms-thumb {
  42. @include sliderThumbStyles();
  43. }
  44. &::-moz-range-thumb {
  45. @include sliderThumbStyles();
  46. }
  47. &::-webkit-slider-thumb {
  48. @include sliderThumbStyles();
  49. }
  50. }
  51. .video-quality-dialog-labels {
  52. box-sizing: border-box;
  53. display: flex;
  54. margin-top: 5px;
  55. position: relative;
  56. width: 90%;
  57. }
  58. .video-quality-dialog-label-container {
  59. position: absolute;
  60. text-align: center;
  61. transform: translate(-50%, 0%);
  62. &::before {
  63. content: '';
  64. border-radius: 50%;
  65. left: 0;
  66. height: 6px;
  67. margin: 0 auto;
  68. pointer-events: none;
  69. position: absolute;
  70. right: 0;
  71. top: -16px;
  72. width: 6px;
  73. }
  74. }
  75. .video-quality-dialog-label-container.active {
  76. color: $videoQualityActive;
  77. &::before {
  78. background: $videoQualityActive;
  79. height: 12px;
  80. top: -19px;
  81. width: 12px;
  82. }
  83. }
  84. .video-quality-dialog-label-container:first-child {
  85. position: relative;
  86. }
  87. .video-quality-dialog-label {
  88. display: table-caption;
  89. word-spacing: unset;
  90. }
  91. }
  92. &.video-not-supported {
  93. .video-quality-dialog-labels {
  94. color: gray;
  95. }
  96. .video-quality-dialog-slider {
  97. @mixin sliderTrackDisabledStyles() {
  98. background: rgba(14, 22, 36, 0.1);
  99. }
  100. &::-ms-track {
  101. @include sliderTrackDisabledStyles();
  102. }
  103. &::-moz-range-track {
  104. @include sliderTrackDisabledStyles();
  105. }
  106. &::-webkit-slider-runnable-track {
  107. @include sliderTrackDisabledStyles();
  108. }
  109. }
  110. }
  111. }
  112. .modal-dialog-form {
  113. .video-quality-dialog-title {
  114. display: none;
  115. }
  116. }
  117. #videoResolutionLabel {
  118. z-index: $zindex3 + 1;
  119. }
  120. .large-video-labels {
  121. display: flex;
  122. position: absolute;
  123. top: 30px;
  124. right: 30px;
  125. transition: right 0.5s;
  126. z-index: $zindex3;
  127. .circular-label {
  128. color: white;
  129. font-weight: bold;
  130. margin-left: 8px;
  131. opacity: 0.8;
  132. }
  133. .circular-label {
  134. background: #B8C7E0;
  135. }
  136. .circular-label.file {
  137. background: #FF5630;
  138. }
  139. .circular-label.local-rec {
  140. background: #FF5630;
  141. }
  142. .circular-label.stream {
  143. background: #0065FF;
  144. }
  145. .recording-label.center-message {
  146. background: $videoStateIndicatorBackground;
  147. bottom: 50%;
  148. display: block;
  149. left: 50%;
  150. padding: 10px;
  151. position: fixed;
  152. transform: translate(-50%, -50%);
  153. z-index: $centeredVideoLabelZ;
  154. }
  155. }
  156. .circular-label {
  157. background: $videoStateIndicatorBackground;
  158. border-radius: 50%;
  159. box-sizing: border-box;
  160. cursor: default;
  161. font-size: 13px;
  162. height: $videoStateIndicatorSize;
  163. line-height: $videoStateIndicatorSize;
  164. text-align: center;
  165. min-width: $videoStateIndicatorSize;
  166. }