Browse Source

feat(css): configurable Videolayot and overflow menu.

master
Hristo Terezov 6 years ago
parent
commit
c4361ed7da
3 changed files with 13 additions and 5 deletions
  1. 7
    5
      css/_toolbars.scss
  2. 5
    0
      css/_variables.scss
  3. 1
    0
      css/_videolayout_default.scss

+ 7
- 5
css/_toolbars.scss View File

@@ -153,15 +153,16 @@
153 153
         .overflow-menu {
154 154
             font-size: 1.2em;
155 155
             list-style-type: none;
156
+            background-color: $overflowMenuBG;
156 157
             /**
157 158
              * Undo atlaskit padding by reducing margins.
158 159
              */
159
-            margin: -15px -24px;
160
+            margin: -16px -24px;
160 161
             padding: 4px 0;
161 162
 
162 163
             .overflow-menu-item {
163 164
                 align-items: center;
164
-                color: #B8C7E0;
165
+                color: $overflowMenuItemColor;
165 166
                 cursor: pointer;
166 167
                 display: flex;
167 168
                 font-size: 14px;
@@ -175,7 +176,8 @@
175 176
                 }
176 177
 
177 178
                 &:hover {
178
-                    background: #313D52;
179
+                    background-color: $overflowMenuItemHoverBG;
180
+                    color: $overflowMenuItemHoverColor;
179 181
                 }
180 182
 
181 183
                 &.unclickable {
@@ -191,9 +193,9 @@
191 193
             }
192 194
 
193 195
             .beta-tag {
194
-                background: #B8C7E0;
196
+                background: $overflowMenuItemColor;
195 197
                 border-radius: 2px;
196
-                color: $newToolbarBackgroundColor;
198
+                color: $overflowMenuBG;
197 199
                 font-size: 11px;
198 200
                 font-weight: bold;
199 201
                 margin-left: 8px;

+ 5
- 0
css/_variables.scss View File

@@ -43,6 +43,10 @@ $newToolbarHangupFontSize: 32px;
43 43
 $newToolbarSize: 40px;
44 44
 $newToolbarSizeWithPadding: calc(#{$newToolbarSize} + 24px);
45 45
 $toolbarTitleFontSize: 19px;
46
+$overflowMenuBG: initial;
47
+$overflowMenuItemHoverBG: #313D52;
48
+$overflowMenuItemHoverColor: #B8C7E0;
49
+$overflowMenuItemColor: #B8C7E0;
46 50
 
47 51
 /**
48 52
  * Video layout
@@ -59,6 +63,7 @@ $audioLevelShadow: rgba(9, 36, 77, 0.9);
59 63
 $videoStateIndicatorColor: $defaultColor;
60 64
 $videoStateIndicatorBackground: $toolbarBackground;
61 65
 $videoStateIndicatorSize: 40px;
66
+$remoteVideoMenuIconLeft: initial;
62 67
 
63 68
 /**
64 69
  * Feedback Modal

+ 1
- 0
css/_videolayout_default.scss View File

@@ -412,6 +412,7 @@
412 412
 
413 413
     >i{
414 414
         cursor: hand;
415
+        margin-left: $remoteVideoMenuIconLeft;
415 416
     }
416 417
 }
417 418
 .remote-video-menu-trigger {

Loading…
Cancel
Save