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.css 2.4KB

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