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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. .device-selection {
  2. .device-selectors {
  3. font-size: 14px;
  4. > div {
  5. display: block;
  6. margin-bottom: 4px;
  7. }
  8. .device-selector-icon {
  9. align-self: center;
  10. color: inherit;
  11. font-size: 20px;
  12. margin-left: 3px;
  13. }
  14. .device-selector-label {
  15. margin-bottom: 1px;
  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. a {
  89. color: 4C9AFF;
  90. cursor: pointer;
  91. text-decoration: none;
  92. }
  93. }
  94. .audio-input-preview {
  95. background: #1B2638;
  96. border-radius: 5px;
  97. height: 8px;
  98. .audio-input-preview-level {
  99. background: #4C9AFF;
  100. border-radius: 5px;
  101. height: 100%;
  102. -webkit-transition: width .1s ease-in-out;
  103. -moz-transition: width .1s ease-in-out;
  104. -o-transition: width .1s ease-in-out;
  105. transition: width .1s ease-in-out;
  106. }
  107. }
  108. }