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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .audio-preview {
  2. display: inline-block;
  3. &-content {
  4. position: relative;
  5. right: auto;
  6. margin-bottom: 4px;
  7. max-height: calc(100vh - 100px);
  8. overflow: auto;
  9. width: 300px;
  10. &-ul {
  11. margin:0;
  12. padding:0;
  13. list-style-type: none;
  14. }
  15. }
  16. &-header:hover {
  17. background-color: initial;
  18. cursor: initial;
  19. }
  20. &-entry-text {
  21. max-width: 213px;
  22. &.left-margin {
  23. margin-left: 36px;
  24. }
  25. }
  26. &-speaker {
  27. position: relative;
  28. &:hover, &:focus-within, &:focus {
  29. .audio-preview-test-button {
  30. display: inline-block;
  31. }
  32. .audio-preview-entry-text {
  33. max-width: 178px;
  34. margin-right: 0;
  35. }
  36. }
  37. .audio-preview-entry-text {
  38. max-width: 238px;
  39. }
  40. }
  41. &-microphone {
  42. position: relative;
  43. &--nometer {
  44. .audio-preview-entry-text {
  45. max-width: 238px;
  46. }
  47. }
  48. &--withmeter {
  49. .audio-preview-entry-text {
  50. max-width: 178px;
  51. }
  52. }
  53. }
  54. &-icon {
  55. border-radius: 50%;
  56. display: inline-block;
  57. width: 14px;
  58. &--exclamation {
  59. margin-left: 6px;
  60. & svg {
  61. fill: #E54B4B;
  62. }
  63. }
  64. }
  65. &-test-button {
  66. display: none;
  67. padding: 4px 10px;
  68. position: absolute;
  69. right: 16px;
  70. top: 6px;
  71. }
  72. &-meter-mic {
  73. position: absolute;
  74. right: 16px;
  75. top: 14px;
  76. }
  77. &-checkbox-container {
  78. padding: 10px 16px;
  79. }
  80. }