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.

_audio-preview.scss 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .audio-preview {
  2. &-content {
  3. background: #2A3A4B;
  4. font-size: 15px;
  5. line-height: 24px;
  6. max-height: 456px;
  7. overflow: auto;
  8. width: 328px;
  9. }
  10. &-header {
  11. color: #fff;
  12. display: flex;
  13. padding: 16px;
  14. &-icon {
  15. color: #A4B8D1;
  16. display: inline-block;
  17. }
  18. &-text {
  19. font-weight: bold;
  20. margin-left: 8px;
  21. }
  22. }
  23. &-entry {
  24. align-items: center;
  25. color: #fff;
  26. cursor: pointer;
  27. display: flex;
  28. padding: 12px 0;
  29. margin-left: 48px;
  30. &--selected {
  31. background: #1C2025;
  32. cursor: initial;
  33. margin-left: 0;
  34. padding-left: 21px;
  35. }
  36. &-text {
  37. color: #fff;
  38. font-size: 15px;
  39. display: inline-block;
  40. line-height: 24px;
  41. text-overflow: ellipsis;
  42. max-width: 213px;
  43. overflow: hidden;
  44. white-space: nowrap;
  45. }
  46. }
  47. &-speaker {
  48. position: relative;
  49. &:hover {
  50. .audio-preview-entry {
  51. background: #3F4E5E;
  52. margin-left: 0;
  53. padding-left: 48px;
  54. &--selected {
  55. padding-left: 21px;
  56. }
  57. }
  58. .audio-preview-test-button {
  59. display: inline-block;
  60. }
  61. .audio-preview-entry-text {
  62. max-width: 196px;
  63. }
  64. }
  65. .audio-preview-entry-text {
  66. max-width: 256px;
  67. }
  68. }
  69. &-microphone {
  70. position: relative;
  71. &:hover {
  72. .audio-preview-entry {
  73. background: #3F4E5E;
  74. margin-left: 0;
  75. padding-left: 48px;
  76. &--selected {
  77. padding-left: 21px;
  78. }
  79. }
  80. }
  81. .audio-preview-entry-text {
  82. max-width: 196px;
  83. }
  84. }
  85. &-icon {
  86. border-radius: 50%;
  87. display: inline-block;
  88. width: 14px;
  89. & svg {
  90. fill: #1C2025;
  91. }
  92. &--check {
  93. background: #31B76A;
  94. margin-right: 13px;
  95. }
  96. &--exclamation {
  97. margin-left: 6px;
  98. & svg {
  99. fill: #E54B4B;
  100. }
  101. }
  102. }
  103. &-test-button {
  104. display: none;
  105. background: #FFF;
  106. border: 1px solid #D1DBE8;
  107. border-radius: 3px;
  108. color: #1C2025;
  109. cursor: pointer;
  110. font-weight: 600;
  111. font-size: 15px;
  112. line-height: 24px;
  113. padding: 4px 16px;
  114. position: absolute;
  115. right: 16px;
  116. top: 8px;
  117. }
  118. &-meter-mic {
  119. position: absolute;
  120. right: 16px;
  121. top: 18px;
  122. }
  123. // Override @atlaskit/InlineDialog container which is made with styled components
  124. & > div:nth-child(2) {
  125. outline: none;
  126. padding: 0;
  127. }
  128. }