浏览代码

Merge branch 'master' into BeatC-BeatC-moving-conference-init-to-react-1

j8
Lyubomir Marinov 8 年前
父节点
当前提交
4d5f82633b
共有 4 个文件被更改,包括 21 次插入12 次删除
  1. 8
    5
      css/_filmstrip.scss
  2. 4
    4
      css/_variables.scss
  3. 6
    3
      css/_videolayout_default.scss
  4. 3
    0
      css/themes/_light.scss

+ 8
- 5
css/_filmstrip.scss 查看文件

50
         position:relative;
50
         position:relative;
51
         height:196px;
51
         height:196px;
52
         padding: 0;
52
         padding: 0;
53
-        padding-left: 17px;
53
+        /*The filmstrip should not be covered by the left toolbar*/
54
+        padding-left: $defaultToolbarSize + 5;
54
         bottom: 0;
55
         bottom: 0;
55
         width:auto;
56
         width:auto;
56
         border: $thumbnailsBorder solid transparent;
57
         border: $thumbnailsBorder solid transparent;
57
         z-index: 5;
58
         z-index: 5;
58
         transition: bottom 2s;
59
         transition: bottom 2s;
59
         overflow: visible !important;
60
         overflow: visible !important;
60
-        font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/
61
+        /*!!!Removes the gap between the local video container and the remote
62
+        videos.*/
63
+        font-size: 0pt;
61
 
64
 
62
         &.hidden {
65
         &.hidden {
63
             bottom: -196px;
66
             bottom: -196px;
67
             display: none;
70
             display: none;
68
             position: relative;
71
             position: relative;
69
             background-size: contain;
72
             background-size: contain;
70
-            border: $thumbnailVideoBorder solid transparent;
71
-            border-radius:1px;
73
+            border: $thumbnailVideoBorder solid $thumbnailBorderColor;
74
+            border-radius: $borderRadius;
72
             margin: 0 $thumbnailVideoMargin;
75
             margin: 0 $thumbnailVideoMargin;
73
 
76
 
74
             &.videoContainerFocused, &:hover {
77
             &.videoContainerFocused, &:hover {
112
             & > video,
115
             & > video,
113
             & > object {
116
             & > object {
114
                 cursor: hand;
117
                 cursor: hand;
115
-                border-radius:1px;
118
+                border-radius: $borderRadius;
116
                 object-fit: cover;
119
                 object-fit: cover;
117
                 overflow: hidden;
120
                 overflow: hidden;
118
             }
121
             }

+ 4
- 4
css/_variables.scss 查看文件

14
 
14
 
15
 // Video layout.
15
 // Video layout.
16
 $thumbnailToolbarHeight: 22px;
16
 $thumbnailToolbarHeight: 22px;
17
-$thumbnailIndicatorBorder: 0;
18
-$thumbnailIndicatorSize: 3em;
19
-$thumbnailVideoMargin: 2px;
17
+$thumbnailIndicatorBorder: 2px;
18
+$thumbnailIndicatorSize: $thumbnailToolbarHeight;
19
+$thumbnailVideoMargin: 5px;
20
 $thumbnailsBorder: 2px;
20
 $thumbnailsBorder: 2px;
21
 $thumbnailVideoBorder: 2px;
21
 $thumbnailVideoBorder: 2px;
22
 $hideFilmstripButtonWidth: 17px;
22
 $hideFilmstripButtonWidth: 17px;
95
 /**
95
 /**
96
  * Misc.
96
  * Misc.
97
  */
97
  */
98
-$borderRadius: 3px;
98
+$borderRadius: 4px;
99
 $defaultWatermarkLink: '../images/watermark.png';
99
 $defaultWatermarkLink: '../images/watermark.png';
100
 $sidebarWidth: 220px;
100
 $sidebarWidth: 220px;
101
 $popoverMenuPadding: 13px;
101
 $popoverMenuPadding: 13px;

+ 6
- 3
css/_videolayout_default.scss 查看文件

18
 
18
 
19
     &__background {
19
     &__background {
20
         @include topLeft();
20
         @include topLeft();
21
+        background-color: black;
22
+        border-radius: $borderRadius - 1;
21
         width: 100%;
23
         width: 100%;
22
         height: 100%;
24
         height: 100%;
23
-        background-color: black;
24
     }
25
     }
25
 
26
 
26
     /**
27
     /**
106
     }
107
     }
107
 
108
 
108
     &__hoverOverlay {
109
     &__hoverOverlay {
110
+        background: rgba(0,0,0,.6);
111
+        border-radius: $borderRadius;
109
         position: relative;
112
         position: relative;
110
         width: 100%;
113
         width: 100%;
111
         height: 100%;
114
         height: 100%;
112
         visibility: hidden;
115
         visibility: hidden;
113
-        background: rgba(0,0,0,.6);
114
         z-index: 2;
116
         z-index: 2;
115
     }
117
     }
116
 }
118
 }
128
 
130
 
129
 #localVideoWrapper>video,
131
 #localVideoWrapper>video,
130
 #localVideoWrapper>object {
132
 #localVideoWrapper>object {
133
+    border-radius: $borderRadius !important;
131
     cursor: hand;
134
     cursor: hand;
132
-    border-radius:1px !important;
133
     object-fit: cover;
135
     object-fit: cover;
134
 }
136
 }
135
 
137
 
211
 
213
 
212
 .videocontainer .displayname {
214
 .videocontainer .displayname {
213
     pointer-events: none;
215
     pointer-events: none;
216
+    padding: 0 3px 0 3px;
214
 }
217
 }
215
 
218
 
216
 .videocontainer .editdisplayname {
219
 .videocontainer .editdisplayname {

+ 3
- 0
css/themes/_light.scss 查看文件

85
 // Toolbar
85
 // Toolbar
86
 $splitterColor: #ccc;
86
 $splitterColor: #ccc;
87
 
87
 
88
+// Thumbnail
89
+$thumbnailBorderColor: rgba(71, 71, 71, .7);
90
+
88
 /**
91
 /**
89
  * Forms
92
  * Forms
90
  */
93
  */

正在加载...
取消
保存