From f2d4f31b8f2572b08ac59a897cfb29e8d9aa4d4c Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Thu, 5 Jul 2012 14:36:01 +0100 Subject: [PATCH] moved tooltip position a bit down and on top of everything else besides exclusive notifications --- WebContent/gui/OSRM.Notifications.js | 6 +++--- WebContent/main.css | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/WebContent/gui/OSRM.Notifications.js b/WebContent/gui/OSRM.Notifications.js index abdfd02fa..a0eb7a3aa 100644 --- a/WebContent/gui/OSRM.Notifications.js +++ b/WebContent/gui/OSRM.Notifications.js @@ -25,7 +25,7 @@ OSRM.GUI.extend( { tooltips: { // triggered in OSRM.Localization.setLanguageWrapper localization: - { timeout: 1800, // 30min + { timeout: 180000, // 30min header: "Did you know? You can change the display language.", body: "You can use the pulldown menu in the upper left corner to select your favorite language. " + "

" + @@ -35,7 +35,7 @@ tooltips: { }, // triggered in OSRM.Map.click clicking: - { timeout: 600, // 1min + { timeout: 60000, // 1min header: "Did you know? You can click on the map to set route markers.", body: "You can click on the map with the left mouse button to set a source marker (green) or a target marker (red), " + "if the source marker already exists. " + @@ -45,7 +45,7 @@ tooltips: { }, // triggered in OSRM.Routing.getRoute_Dragging dragging: - { timeout: 1200, // 2min + { timeout: 120000, // 2min header: "Did you know? You can drag each route marker on the map.", body: "You can drag a marker by clicking on it with the left mouse button and holding the button pressed. " + "Then you can move the marker around the map and the route will be updated instantaneously. " + diff --git a/WebContent/main.css b/WebContent/main.css index 13562ca1e..28ba219a2 100644 --- a/WebContent/main.css +++ b/WebContent/main.css @@ -459,9 +459,10 @@ html, body { { width:700px; height:38px; - top: 10px; + top: 20px; left: 50%; margin-left:-350px; + z-index:98; display: none; } #tooltip-notification-content