瀏覽代碼

fix(UI): Highlight the audio device when we hover over it

master
Jaya Allamsetty 4 年之前
父節點
當前提交
e6093e0706
共有 1 個文件被更改,包括 19 次插入3 次删除
  1. 19
    3
      css/_audio-preview.css

+ 19
- 3
css/_audio-preview.css 查看文件

@@ -1,5 +1,6 @@
1 1
 .audio-preview {
2 2
     &-content {
3
+        background: #2A3A4B;
3 4
         font-size: 15px;
4 5
         line-height: 24px;
5 6
         max-height: 456px;
@@ -32,7 +33,7 @@
32 33
         margin-left: 48px;
33 34
 
34 35
         &--selected {
35
-            background: rgba(28,32,37,0.5);
36
+            background: #1C2025;
36 37
             cursor: initial;
37 38
             margin-left: 0;
38 39
             padding-left: 21px;
@@ -55,7 +56,7 @@
55 56
 
56 57
         &:hover {
57 58
             .audio-preview-entry {
58
-                background: rgba(255,255,255, 0.2);
59
+                background: #3F4E5E;
59 60
                 margin-left: 0;
60 61
                 padding-left: 48px;
61 62
 
@@ -80,8 +81,23 @@
80 81
 
81 82
     &-microphone {
82 83
         position: relative;
83
-    }
84 84
 
85
+        &:hover {
86
+            .audio-preview-entry {
87
+                background: #3F4E5E;
88
+                margin-left: 0;
89
+                padding-left: 48px;
90
+
91
+                &--selected {
92
+                    padding-left: 21px;
93
+                }
94
+            }
95
+        }
96
+
97
+        .audio-preview-entry-text {
98
+            max-width: 196px;
99
+        }
100
+    }
85 101
 
86 102
     &-icon {
87 103
         border-radius: 50%;

Loading…
取消
儲存