瀏覽代碼

feat(aot): improve AOT UI/UX

j8
hmuresan 4 年之前
父節點
當前提交
02ec30b8ff
共有 3 個檔案被更改,包括 5 行新增6 行删除
  1. 4
    3
      css/_mini_toolbox.scss
  2. 0
    2
      css/_variables.scss
  3. 1
    1
      react/features/always-on-top/Toolbar.js

+ 4
- 3
css/_mini_toolbox.scss 查看文件

8
     .toolbox-icon {
8
     .toolbox-icon {
9
         cursor: pointer;
9
         cursor: pointer;
10
         padding: 7px;
10
         padding: 7px;
11
-        width: 25px;
12
-        height : 25px;
11
+        width: 22px;
12
+        height : 22px;
13
 
13
 
14
         &.toggled {
14
         &.toggled {
15
-            background: $AOTToolbarButtonToggleColor;
15
+            background: none;
16
         }
16
         }
17
 
17
 
18
         &.disabled {
18
         &.disabled {
27
     position: absolute;
27
     position: absolute;
28
     bottom: 10px;
28
     bottom: 10px;
29
     transform: translateX(-50%);
29
     transform: translateX(-50%);
30
+    padding: 3px !important;
30
 }
31
 }
31
 
32
 
32
 .filmstrip-toolbox {
33
 .filmstrip-toolbox {

+ 0
- 2
css/_variables.scss 查看文件

42
 $newToolbarBackgroundColor: #131519;
42
 $newToolbarBackgroundColor: #131519;
43
 $newToolbarButtonHoverColor: rgba(255, 255, 255, 0.2);
43
 $newToolbarButtonHoverColor: rgba(255, 255, 255, 0.2);
44
 $newToolbarButtonToggleColor: rgba(255, 255, 255, 0.15);
44
 $newToolbarButtonToggleColor: rgba(255, 255, 255, 0.15);
45
-$AOTToolbarButtonHoverColor: rgba(14, 20, 35, 0.6);
46
-$AOTToolbarButtonToggleColor: rgba(14, 20, 35, 1);
47
 $menuBG:#242528;
45
 $menuBG:#242528;
48
 $newToolbarFontSize: 24px;
46
 $newToolbarFontSize: 24px;
49
 $newToolbarHangupFontSize: 32px;
47
 $newToolbarHangupFontSize: 32px;

+ 1
- 1
react/features/always-on-top/Toolbar.js 查看文件

52
                 onMouseOut = { onMouseOut }
52
                 onMouseOut = { onMouseOut }
53
                 onMouseOver = { onMouseOver }>
53
                 onMouseOver = { onMouseOver }>
54
                 <AudioMuteButton />
54
                 <AudioMuteButton />
55
-                <HangupButton customClass = 'hangup-button' />
56
                 <VideoMuteButton />
55
                 <VideoMuteButton />
56
+                <HangupButton customClass = 'hangup-button' />
57
             </div>
57
             </div>
58
         );
58
         );
59
     }
59
     }

Loading…
取消
儲存