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.

_device-selection.scss 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .device-selection {
  2. .device-selectors {
  3. font-size: 14px;
  4. > div {
  5. display: block;
  6. margin-bottom: 10px;
  7. }
  8. > div:last-child {
  9. margin-bottom: 5px;
  10. }
  11. .device-selector-icon {
  12. align-self: center;
  13. color: inherit;
  14. font-size: 20px;
  15. margin-left: 3px;
  16. }
  17. /* device-selector-trigger stylings attempt to mimic AtlasKit button */
  18. .device-selector-trigger {
  19. background-color: #0E1624;
  20. border: 1px solid #455166;
  21. border-radius: 5px;
  22. display: flex;
  23. height: 2.3em;
  24. justify-content: space-between;
  25. line-height: 2.3em;
  26. overflow: hidden;
  27. padding: 0 8px;
  28. }
  29. .device-selector-trigger-disabled {
  30. .device-selector-trigger {
  31. color: #a5adba;
  32. cursor: default;
  33. }
  34. }
  35. .device-selector-trigger-text {
  36. overflow: hidden;
  37. margin-left: 8px;
  38. text-overflow: ellipsis;
  39. white-space: nowrap;
  40. width: 100%;
  41. }
  42. }
  43. .device-selection-column {
  44. box-sizing: border-box;
  45. display: inline-block;
  46. vertical-align: top;
  47. &.column-selectors {
  48. margin-left: 15px;
  49. width: 45%;
  50. }
  51. &.column-video {
  52. width: 50%;
  53. }
  54. }
  55. .device-selection-video-container {
  56. border-radius: 3px;
  57. margin-bottom: 5px;
  58. .video-input-preview {
  59. margin-top: 2px;
  60. position: relative;
  61. > video {
  62. border-radius: 3px;
  63. }
  64. .video-input-preview-error {
  65. color: $participantNameColor;
  66. display: none;
  67. left: 0;
  68. position: absolute;
  69. right: 0;
  70. text-align: center;
  71. top: 50%;
  72. }
  73. &.video-preview-has-error {
  74. background: black;
  75. .video-input-preview-error {
  76. display: block;
  77. }
  78. }
  79. .video-input-preview-display {
  80. height: auto;
  81. overflow: hidden;
  82. width: 100%;
  83. }
  84. }
  85. }
  86. .audio-output-preview {
  87. font-size: 14px;
  88. margin-top: 10px;
  89. a {
  90. color: 4C9AFF;
  91. cursor: pointer;
  92. text-decoration: none;
  93. }
  94. }
  95. .audio-input-preview {
  96. background: #7b7b7b;
  97. border-radius: 5px;
  98. height: 6px;
  99. .audio-input-preview-level {
  100. background: #4C9AFF;
  101. border-radius: 5px;
  102. height: 100%;
  103. -webkit-transition: width .1s ease-in-out;
  104. -moz-transition: width .1s ease-in-out;
  105. -o-transition: width .1s ease-in-out;
  106. transition: width .1s ease-in-out;
  107. }
  108. }
  109. }