In case the browser doesn't support fullscreen, disabled button and change tooltip
Update css and translation of the new tooltip mesage
--- 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"
}
};