In case the browser doesn't support fullscreen, disabled button and change tooltip
authorrougeronj
Wed, 30 Sep 2015 16:33:38 +0200
changeset 556 2737bc21e6dd
parent 555 49daeea94e88
child 557 18c36f038e9f
In case the browser doesn't support fullscreen, disabled button and change tooltip Update css and translation of the new tooltip mesage
client/css/renkan.css
client/js/i18n.js
--- a/client/css/renkan.css	Wed Sep 30 16:32:21 2015 +0200
+++ b/client/css/renkan.css	Wed Sep 30 16:33:38 2015 +0200
@@ -191,6 +191,14 @@
     background-position: -36px -35px;
 }
 
+.Rk-FullScreen-Button.disabled {
+    opacity: .5; cursor: default;
+}
+
+.Rk-FullScreen-Button.disabled:hover {
+    opacity: .5; background-position: -36px 0; z-index:1;
+}
+
 .Rk-AddEdge-Button {
     width: 30px; background-position: -70px 0;
 }
--- a/client/js/i18n.js	Wed Sep 30 16:32:21 2015 +0200
+++ b/client/js/i18n.js	Wed Sep 30 16:33:38 2015 +0200
@@ -96,6 +96,7 @@
         "Search in " : "Chercher dans ",
         "Show hidden nodes": "Montrer les noeuds cachés",
         "Show neighbors": "Montrer les voisins",
-        "Hide": "Cacher"
+        "Hide": "Cacher",
+        "Fullscreen not supported by your browser": "Le plein écran n'est pas supporté par votre navigateur"
     }
 };