Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

_audio-preview.css 2.7KB

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