Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

_video-quality.scss 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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. .video-state-indicator {
  118. background: $videoStateIndicatorBackground;
  119. cursor: default;
  120. font-size: 13px;
  121. height: $videoStateIndicatorSize;
  122. line-height: 20px;
  123. text-align: left;
  124. min-width: $videoStateIndicatorSize;
  125. border-radius: 50%;
  126. position: absolute;
  127. box-sizing: border-box;
  128. &.is-recording {
  129. background: none;
  130. opacity: 0.9;
  131. padding: 0;
  132. }
  133. i {
  134. line-height: $videoStateIndicatorSize;
  135. }
  136. /**
  137. * Give the label padding so it has more volume and can be easily clicked.
  138. */
  139. .video-quality-label-status {
  140. line-height: $videoStateIndicatorSize;
  141. min-width: $videoStateIndicatorSize;
  142. text-align: center;
  143. }
  144. .recording-icon,
  145. .recording-icon i {
  146. color: rgb(255, 86, 48);
  147. line-height: $videoStateIndicatorSize;
  148. font-size: $videoStateIndicatorSize;
  149. opacity: 0.9;
  150. position: relative;
  151. }
  152. .recording-icon-background {
  153. background: white;
  154. height: 25%;
  155. left: 50%;
  156. opacity: 0.9;
  157. position: absolute;
  158. top: 50%;
  159. transform: translate(-50%, -50%);
  160. width: 80%;
  161. }
  162. #recordingLabelText {
  163. display: inline-block;
  164. }
  165. }
  166. .centeredVideoLabel.moveToCorner {
  167. z-index: $zindex3;
  168. }
  169. #videoResolutionLabel {
  170. z-index: $zindex3 + 1;
  171. }
  172. .centeredVideoLabel {
  173. bottom: 45%;
  174. border-radius: 2px;
  175. display: none;
  176. padding: 10px;
  177. transform: translate(-50%, 0);
  178. z-index: $centeredVideoLabelZ;
  179. &.moveToCorner {
  180. bottom: auto;
  181. transform: none;
  182. }
  183. }
  184. .moveToCorner {
  185. position: absolute;
  186. top: 30px;
  187. right: 30px;
  188. }
  189. .moveToCorner + .moveToCorner {
  190. right: 80px;
  191. }