From 90dad5af88c41ada07e863acb00e6058cf2339fe Mon Sep 17 00:00:00 2001
From: StefanYohansson <sy.fen0@gmail.com>
Date: Tue, 26 Sep 2017 10:14:46 -0300
Subject: [PATCH] [verto_communicator] Fix to make video devices change without
 restart.

Fix menu background for lower resolutions.
---
 html5/verto/js/src/jquery.verto.js            |  4 ++++
 .../verto_communicator/src/css/verto.css      | 24 +++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/html5/verto/js/src/jquery.verto.js b/html5/verto/js/src/jquery.verto.js
index 501a871c40..20befd92d6 100644
--- a/html5/verto/js/src/jquery.verto.js
+++ b/html5/verto/js/src/jquery.verto.js
@@ -457,6 +457,10 @@
             return;
         }
 
+        if (args["useCamera"]) {
+            verto.options.deviceParams["useCamera"] = args["useCamera"];
+        }
+
         var dialog = new $.verto.dialog($.verto.enum.direction.outbound, this, args);
 
         dialog.invite();
diff --git a/html5/verto/verto_communicator/src/css/verto.css b/html5/verto/verto_communicator/src/css/verto.css
index 5111880806..941196f871 100644
--- a/html5/verto/verto_communicator/src/css/verto.css
+++ b/html5/verto/verto_communicator/src/css/verto.css
@@ -102,6 +102,30 @@ button.btn i {
     margin: 5px 0px;
 }
 
+@media (max-width: 1024px) {
+  .navbar-nav {
+    margin: 7.5px -15px;
+  }
+}
+
+@media (max-width: 767px) {
+  .navbar .navbar-nav {
+    background-color: #0d47a1;
+  }
+
+  .navbar .drop-net-info .title {
+    background: #0d47a1;
+    color: #fafafa;
+    border-bottom: 0px;
+  }
+}
+
+.navbar .navbar-header {
+  position: relative;
+  top: 50%;
+  transform: translateY(-50%);
+}
+
 .navbar .navbar-nav > li.navbar-item-icon > a {
   padding: 18px;
   height: 60px;