diff --git a/js_src/Help.js b/js_src/Help.js
new file mode 100644
index 0000000..bf46efa
--- /dev/null
+++ b/js_src/Help.js
@@ -0,0 +1,224 @@
+
+var grandTour;
+function GrandTour(_name) {
+ console.log("GrandTour");
+ this.tour = "";
+ this.name = _name;
+ var self = this;
+
+ this.init = function() {
+ console.log("GrandTour >> f:init()");
+
+ this.tour = function() {
+ $('#help_d3dIntro').joyride({
+ autoStart: false,
+ modal: true,
+ expose: true,
+ 'tipAdjustmentX': 15,
+ 'tipAdjustmentY': 15,
+ 'tipLocation': 'bottom', // 'top' or 'bottom' in relation to parent
+ 'nubPosition': 'auto', // override on a per tooltip bases
+ 'scrollSpeed': 300, // Page scrolling speed in ms
+ // 'timer': 2000, // 0 = off, all other numbers = time(ms)
+ 'startTimerOnClick': true, // true/false to start timer on first click
+ 'nextButton': true, // true/false for next button visibility
+ 'tipAnimation': 'fade', // 'pop' or 'fade' in each tip
+ 'pauseAfter': [], // array of indexes where to pause the tour after
+ 'tipAnimationFadeSpeed': 250, // if 'fade'- speed in ms of transition
+// 'cookieMonster': true, // true/false for whether cookies are used
+// 'cookieDomain': false, // set to false or yoursite.com
+// 'cookieName': 'Doodle3DFirstTime', // choose your own cookie name
+ // 'localStorage': true, //
+ // 'localStorageKey': 'Doodle3DFirstTime', // choose your own cookie name
+ 'preRideCallback' : self.preRideCallback,
+ 'postStepCallback': self.postStepCallback, // A method to call after each step
+ 'postRideCallback': self.postRideCallback // a method to call once the tour closes
+ });
+ };
+ this.tour();
+ };
+
+ this.preRideCallback = function(index, tip) {
+ console.log("GrandTour >> f:preRideCallback() >> index: " + index);
+ if ($.cookie("Doodle3DFirstTime") == "ridden" && index == 0) {
+ console.log("we've been here before...");
+ // $(this).joyride('set_li', false, 1);
+ }
+ if ($.cookie("Doodle3DFirstTime") == 'ridden') {
+ console.log("we've been here before...");
+ $(this).joyride('set_li', false);
+ }
+ // if (index == 0) {
+ // console.log("...yeah");
+ // $(this).joyride('set_li', false, 1);
+ // }
+ };
+ this.postStepCallback = function(index, tip) {
+ console.log("GrandTour >> f:postStepCallback() >> index: " + index);
+ };
+ this.postRideCallback = function(index, tip) {
+ console.log("GrandTour >> f:postRideCallback() >> index: " + index);
+
+ $(document).trigger(helpTours.TOURFINISHED, self.name);
+
+ if (index < $(this)[0].$tip_content.length - 1) {
+ console.log("doPostRideCallback >> ENDED BEFORE END");
+ helpTours.startTour(helpTours.INFOREMINDER);
+// infoReminderTour.start();
+ } else {
+ console.log("doPostRideCallback >> this is the end my friend...");
+ // we should be at the end...
+ $.cookie("Doodle3DFirstTime", 'ridden', { expires: 365, domain: false, path: '/' });
+ }
+
+ };
+
+ this.start = function() {
+ console.log("GrandTour >> f:start()");
+ $(window).joyride('restart');
+// self.tour();
+ };
+}
+
+var infoReminderTour;
+function InfoReminderTour(_name) {
+ console.log("InfoReminderTour");
+ this.tour = "";
+ this.name = _name;
+ var self = this;
+
+ this.init = function(callback) {
+ console.log("InfoReminderTour >> f:init()");
+
+ this.tour = function() {
+ $('#help_InfoReminder').joyride({
+ autoStart: false,
+ modal: true,
+ expose: true,
+ 'tipAdjustmentX': 15,
+ 'tipAdjustmentY': 15,
+ 'tipLocation': 'left', // 'top' or 'bottom' in relation to parent
+ 'nubPosition': 'auto', // override on a per tooltip bases
+ 'scrollSpeed': 300, // Page scrolling speed in ms
+ 'nextButton': true, // true/false for next button visibility
+ 'tipAnimation': 'fade', // 'pop' or 'fade' in each tip
+ 'tipAnimationFadeSpeed': 250, // if 'fade'- speed in ms of transition
+ 'preRideCallback' : self.preRideCallback,
+ 'postStepCallback': self.postStepCallback, // A method to call after each step
+ 'postRideCallback': self.postRideCallback // a method to call once the tour closes
+ });
+ }
+ this.tour();
+ if (callback != undefined) callback();
+ };
+
+ this.preRideCallback = function(index, tip) {
+ console.log("InfoReminderTour >> f:preRideCallback() >> index: " + index + ", tip: " , tip);
+ };
+ this.postStepCallback = function(index, tip) {
+ console.log("InfoReminderTour >> f:postStepCallback() >> index: " + index + ", tip: " , tip);
+ };
+ this.postRideCallback = function(index, tip) {
+ console.log("InfoReminderTour >> f:postRideCallback() >> index: " + index + ", tip: " , tip);
+ $(document).trigger(helpTours.TOURFINISHED, self.name);
+ };
+
+ this.start = function() {
+ console.log("InfoReminderTour >> f:start()");
+ $(window).joyride('restart');
+// self.tour();
+ };
+}
+
+function initHelp() {
+ console.log("f:initHelp()");
+
+
+
+// grandTour = new GrandTour();
+// infoReminderTour = new InfoReminderTour();
+
+ // first call inits the tour
+// joyride2();
+
+ $("#helpContainer").load("helpcontent.html", function() {
+ console.log("helpContent loaded");
+ helpTours = new HelpTours();
+ helpTours.init();
+
+// grandTour.init();
+//// infoReminderTour.init();
+//
+// if ($.cookie("Doodle3DFirstTime") != "ridden") {
+// console.log("intro tour has not been given yet > let's go!");
+// setTimeout(grandTour.start, 1000);
+// }
+ });
+
+}
+
+var helpTours;
+function HelpTours() {
+ console.log("HelpTours");
+
+ this.WELCOMETOUR = "welcometour";
+ this.INFOREMINDER = "inforeminder";
+ this.TOURFINISHED = "tourfinished";
+
+ this.tourActive = false;
+
+ var self = this;
+
+ this.init = function() {
+ console.log("HelpTours >> f:init");
+ $(document).on(this.TOURFINISHED, this.tourEnded);
+
+ grandTour = new GrandTour(this.WELCOMETOUR);
+ infoReminderTour = new InfoReminderTour(this.INFOREMINDER);
+
+ if ($.cookie("Doodle3DFirstTime") != "ridden") {
+ console.log("HelpTours >> f:init >> intro tour has not been given yet > let's go! (this.WELCOMETOUR = " + this.WELCOMETOUR + ")");
+ setTimeout(this.startTour, 1000, this.WELCOMETOUR);
+ }
+ };
+
+
+ this.startTour = function(which) {
+ console.log("HelpTours >> f:startTour >> target to start: '" + which);
+ switch (which) {
+ case self.WELCOMETOUR:
+ // do welcometour
+ console.log("HelpTours >> f:startTour >> case this.WELCOMETOUR >> self.tourActive = " + self.tourActive);
+ if (this.tourActive) {
+ $(window).joyride('end');
+ this.tourActive = false;
+ }
+ $(window).joyride('destroy');
+ grandTour.init();
+ grandTour.start();
+ this.tourActive = true;
+// $(window).joyride('restart');
+
+ break;
+ case self.INFOREMINDER:
+ // do info reminder
+ console.log("HelpTours >> f:startTour >> case self.INFOREMINDER >> self.tourActive = " + self.tourActive);
+ if (this.tourActive) {
+ $(window).joyride('end');
+ this.tourActive = false;
+ }
+ $(window).joyride('destroy');
+ infoReminderTour.init();
+ infoReminderTour.start();
+ this.tourActive = true;
+
+ break;
+ }
+ }
+
+ this.tourEnded = function(e, n) {
+ console.log("HelpTours >> f:tourEnded >> name: " + n);
+
+ this.tourActive = false;
+ }
+}
\ No newline at end of file
diff --git a/js_src/libs/imagesloaded.pkgd.js b/js_src/libs/imagesloaded-pkgd.js
similarity index 100%
rename from js_src/libs/imagesloaded.pkgd.js
rename to js_src/libs/imagesloaded-pkgd.js
diff --git a/www/js/libs/jquery.cookie.js b/js_src/libs/jquery-cookie.js
similarity index 100%
rename from www/js/libs/jquery.cookie.js
rename to js_src/libs/jquery-cookie.js
diff --git a/js_src/libs/jquery-joyride-2-1.js b/js_src/libs/jquery-joyride-2-1.js
new file mode 100755
index 0000000..7352610
--- /dev/null
+++ b/js_src/libs/jquery-joyride-2-1.js
@@ -0,0 +1,924 @@
+ /*
+ * jQuery Foundation Joyride Plugin 2.1
+ * http://foundation.zurb.com
+ * Copyright 2013, ZURB
+ * Free to use under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+*/
+
+/*jslint unparam: true, browser: true, indent: 2 */
+
+;(function ($, window, undefined) {
+ 'use strict';
+
+ var defaults = {
+ 'version' : '2.1',
+ 'tipLocation' : 'bottom', // 'top' or 'bottom' in relation to parent
+ 'nubPosition' : 'auto', // override on a per tooltip bases
+ 'scroll' : true, // whether to scroll to tips
+ 'scrollSpeed' : 300, // Page scrolling speed in milliseconds
+ 'timer' : 0, // 0 = no timer , all other numbers = timer in milliseconds
+ 'autoStart' : false, // true or false - false tour starts when restart called
+ 'startTimerOnClick' : true, // true or false - true requires clicking the first button start the timer
+ 'startOffset' : 0, // the index of the tooltip you want to start on (index of the li)
+ 'nextButton' : true, // true or false to control whether a next button is used
+ 'tipAnimation' : 'fade', // 'pop' or 'fade' in each tip
+ 'pauseAfter' : [], // array of indexes where to pause the tour after
+ 'tipAnimationFadeSpeed': 300, // when tipAnimation = 'fade' this is speed in milliseconds for the transition
+ 'cookieMonster' : false, // true or false to control whether cookies are used
+ 'cookieName' : 'joyride', // Name the cookie you'll use
+ 'cookieDomain' : false, // Will this cookie be attached to a domain, ie. '.notableapp.com'
+ 'cookiePath' : false, // Set to '/' if you want the cookie for the whole website
+ 'localStorage' : false, // true or false to control whether localstorage is used
+ 'localStorageKey' : 'joyride', // Keyname in localstorage
+ 'tipContainer' : 'body', // Where will the tip be attached
+ 'modal' : false, // Whether to cover page with modal during the tour
+ 'expose' : false, // Whether to expose the elements at each step in the tour (requires modal:true)
+ 'postExposeCallback' : $.noop, // A method to call after an element has been exposed
+ 'preRideCallback' : $.noop, // A method to call before the tour starts (passed index, tip, and cloned exposed element)
+ 'postRideCallback' : $.noop, // A method to call once the tour closes (canceled or complete)
+ 'preStepCallback' : $.noop, // A method to call before each step
+ 'postStepCallback' : $.noop, // A method to call after each step
+ 'template' : { // HTML segments for tip layout
+ 'link' : 'X',
+ 'timer' : '
',
+ 'tip' : '
',
+ 'wrapper' : '',
+ 'button' : '',
+ 'modal' : '',
+ 'expose' : '',
+ 'exposeCover': ''
+ }
+ },
+
+ Modernizr = Modernizr || false,
+
+ settings = {},
+
+ methods = {
+
+ init : function (opts) {
+ return this.each(function () {
+
+ if ($.isEmptyObject(settings)) {
+ settings = $.extend(true, defaults, opts);
+
+ // non configurable settings
+ settings.document = window.document;
+ settings.$document = $(settings.document);
+ settings.$window = $(window);
+ settings.$content_el = $(this);
+ settings.$body = $(settings.tipContainer);
+ settings.body_offset = $(settings.tipContainer).position();
+ settings.$tip_content = $('> li', settings.$content_el);
+ settings.paused = false;
+ settings.attempts = 0;
+
+ settings.tipLocationPatterns = {
+ top: ['bottom'],
+ bottom: [], // bottom should not need to be repositioned
+ left: ['right', 'top', 'bottom'],
+ right: ['left', 'top', 'bottom']
+ };
+
+ // are we using jQuery 1.7+
+ methods.jquery_check();
+
+ // can we create cookies?
+ if (!$.isFunction($.cookie)) {
+ settings.cookieMonster = false;
+ }
+
+ // generate the tips and insert into dom.
+ if ( (!settings.cookieMonster || !$.cookie(settings.cookieName) ) &&
+ (!settings.localStorage || !methods.support_localstorage() || !localStorage.getItem(settings.localStorageKey) ) ) {
+
+ settings.$tip_content.each(function (index) {
+ methods.create({$li : $(this), index : index});
+ });
+
+ // show first tip
+ if(settings.autoStart)
+ {
+ if (!settings.startTimerOnClick && settings.timer > 0) {
+ methods.show('init');
+ methods.startTimer();
+ } else {
+ methods.show('init');
+ }
+ }
+
+ }
+
+ settings.$document.on('click.joyride', '.joyride-next-tip, .joyride-modal-bg', function (e) {
+ e.preventDefault();
+
+ if (settings.$li.next().length < 1) {
+ methods.end();
+ } else if (settings.timer > 0) {
+ clearTimeout(settings.automate);
+ methods.hide();
+ methods.show();
+ methods.startTimer();
+ } else {
+ methods.hide();
+ methods.show();
+ }
+
+ });
+
+ settings.$document.on('click.joyride', '.joyride-close-tip', function (e) {
+ e.preventDefault();
+ methods.end();
+ });
+
+ settings.$window.bind('resize.joyride', function (e) {
+ if(settings.$li){
+ if(settings.exposed && settings.exposed.length>0){
+ var $els = $(settings.exposed);
+ $els.each(function(){
+ var $this = $(this);
+ methods.un_expose($this);
+ methods.expose($this);
+ });
+ }
+ if (methods.is_phone()) {
+ methods.pos_phone();
+ } else {
+ methods.pos_default();
+ }
+ }
+ });
+ } else {
+ methods.restart();
+ }
+
+ });
+ },
+
+ // call this method when you want to resume the tour
+ resume : function () {
+ methods.set_li();
+ methods.show();
+ },
+
+ nextTip: function(){
+ if (settings.$li.next().length < 1) {
+ methods.end();
+ } else if (settings.timer > 0) {
+ clearTimeout(settings.automate);
+ methods.hide();
+ methods.show();
+ methods.startTimer();
+ } else {
+ methods.hide();
+ methods.show();
+ }
+ },
+
+ tip_template : function (opts) {
+ var $blank, content, $wrapper;
+
+ opts.tip_class = opts.tip_class || '';
+
+ $blank = $(settings.template.tip).addClass(opts.tip_class);
+ content = $.trim($(opts.li).html()) +
+ methods.button_text(opts.button_text) +
+ settings.template.link +
+ methods.timer_instance(opts.index);
+
+ $wrapper = $(settings.template.wrapper);
+ if (opts.li.attr('data-aria-labelledby')) {
+ $wrapper.attr('aria-labelledby', opts.li.attr('data-aria-labelledby'))
+ }
+ if (opts.li.attr('data-aria-describedby')) {
+ $wrapper.attr('aria-describedby', opts.li.attr('data-aria-describedby'))
+ }
+ $blank.append($wrapper);
+ $blank.first().attr('data-index', opts.index);
+ $('.joyride-content-wrapper', $blank).append(content);
+
+ return $blank[0];
+ },
+
+ timer_instance : function (index) {
+ var txt;
+
+ if ((index === 0 && settings.startTimerOnClick && settings.timer > 0) || settings.timer === 0) {
+ txt = '';
+ } else {
+ txt = methods.outerHTML($(settings.template.timer)[0]);
+ }
+ return txt;
+ },
+
+ button_text : function (txt) {
+ if (settings.nextButton) {
+ txt = $.trim(txt) || 'Next';
+ txt = methods.outerHTML($(settings.template.button).append(txt)[0]);
+ } else {
+ txt = '';
+ }
+ return txt;
+ },
+
+ create : function (opts) {
+ // backwards compatibility with data-text attribute
+ var buttonText = opts.$li.attr('data-button') || opts.$li.attr('data-text'),
+ tipClass = opts.$li.attr('class'),
+ $tip_content = $(methods.tip_template({
+ tip_class : tipClass,
+ index : opts.index,
+ button_text : buttonText,
+ li : opts.$li
+ }));
+
+ $(settings.tipContainer).append($tip_content);
+ },
+
+ show : function (init) {
+ var opts = {}, ii, opts_arr = [], opts_len = 0, p,
+ $timer = null;
+
+ // are we paused?
+ if (settings.$li === undefined || ($.inArray(settings.$li.index(), settings.pauseAfter) === -1)) {
+
+ // don't go to the next li if the tour was paused
+ if (settings.paused) {
+ settings.paused = false;
+ } else {
+ methods.set_li(init);
+ }
+
+ settings.attempts = 0;
+
+ if (settings.$li.length && settings.$target.length > 0) {
+ if(init){ //run when we first start
+ settings.preRideCallback(settings.$li.index(), settings.$next_tip );
+ if(settings.modal){
+ methods.show_modal();
+ }
+ }
+ settings.preStepCallback(settings.$li.index(), settings.$next_tip );
+
+ // parse options
+ opts_arr = (settings.$li.data('options') || ':').split(';');
+ opts_len = opts_arr.length;
+ for (ii = opts_len - 1; ii >= 0; ii--) {
+ p = opts_arr[ii].split(':');
+
+ if (p.length === 2) {
+ opts[$.trim(p[0])] = $.trim(p[1]);
+ }
+ }
+ settings.tipSettings = $.extend({}, settings, opts);
+ settings.tipSettings.tipLocationPattern = settings.tipLocationPatterns[settings.tipSettings.tipLocation];
+
+ if(settings.modal && settings.expose){
+ methods.expose();
+ }
+
+ // scroll if not modal
+ if (!/body/i.test(settings.$target.selector) && settings.scroll) {
+ methods.scroll_to();
+ }
+
+ if (methods.is_phone()) {
+ methods.pos_phone(true);
+ } else {
+ methods.pos_default(true);
+ }
+
+ $timer = $('.joyride-timer-indicator', settings.$next_tip);
+
+ if (/pop/i.test(settings.tipAnimation)) {
+
+ $timer.outerWidth(0);
+
+ if (settings.timer > 0) {
+
+ settings.$next_tip.show();
+ $timer.animate({
+ width: $('.joyride-timer-indicator-wrap', settings.$next_tip).outerWidth()
+ }, settings.timer);
+
+ } else {
+
+ settings.$next_tip.show();
+
+ }
+
+
+ } else if (/fade/i.test(settings.tipAnimation)) {
+
+ $timer.outerWidth(0);
+
+ if (settings.timer > 0) {
+
+ settings.$next_tip.fadeIn(settings.tipAnimationFadeSpeed);
+
+ settings.$next_tip.show();
+ $timer.animate({
+ width: $('.joyride-timer-indicator-wrap', settings.$next_tip).outerWidth()
+ }, settings.timer);
+
+ } else {
+
+ settings.$next_tip.fadeIn(settings.tipAnimationFadeSpeed);
+
+ }
+ }
+
+ settings.$current_tip = settings.$next_tip;
+ // Focus next button for keyboard users.
+ $('.joyride-next-tip', settings.$current_tip).focus();
+ methods.tabbable(settings.$current_tip);
+ // skip non-existent targets
+ } else if (settings.$li && settings.$target.length < 1) {
+
+ methods.show();
+
+ } else {
+
+ methods.end();
+
+ }
+ } else {
+
+ settings.paused = true;
+
+ }
+
+ },
+
+ // detect phones with media queries if supported.
+ is_phone : function () {
+ if (Modernizr) {
+ return Modernizr.mq('only screen and (max-width: 767px)');
+ }
+
+ return (settings.$window.width() < 767) ? true : false;
+ },
+
+ support_localstorage : function () {
+ if (Modernizr) {
+ return Modernizr.localstorage;
+ } else {
+ return !!window.localStorage;
+ }
+ },
+
+ hide : function () {
+ if(settings.modal && settings.expose){
+ methods.un_expose();
+ }
+ if(!settings.modal){
+ $('.joyride-modal-bg').hide();
+ }
+ settings.$current_tip.hide();
+ settings.postStepCallback(settings.$li.index(), settings.$current_tip);
+ },
+
+ set_li : function (init) {
+ if (init) {
+ settings.$li = settings.$tip_content.eq(settings.startOffset);
+ methods.set_next_tip();
+ settings.$current_tip = settings.$next_tip;
+ } else {
+ settings.$li = settings.$li.next();
+ methods.set_next_tip();
+ }
+
+ methods.set_target();
+ },
+
+ set_next_tip : function () {
+ settings.$next_tip = $('.joyride-tip-guide[data-index=' + settings.$li.index() + ']');
+ },
+
+ set_target : function () {
+ var cl = settings.$li.attr('data-class'),
+ id = settings.$li.attr('data-id'),
+ $sel = function () {
+ if (id) {
+ return $(settings.document.getElementById(id));
+ } else if (cl) {
+ return $('.' + cl).filter(":visible").first();
+ } else {
+ return $('body');
+ }
+ };
+
+ settings.$target = $sel();
+ },
+
+ scroll_to : function () {
+ var window_half, tipOffset;
+
+ window_half = settings.$window.height() / 2;
+ tipOffset = Math.ceil(settings.$target.offset().top - window_half + settings.$next_tip.outerHeight());
+
+ $("html, body").stop().animate({
+ scrollTop: tipOffset
+ }, settings.scrollSpeed);
+ },
+
+ paused : function () {
+ if (($.inArray((settings.$li.index() + 1), settings.pauseAfter) === -1)) {
+ return true;
+ }
+
+ return false;
+ },
+
+ destroy : function () {
+ if(!$.isEmptyObject(settings)){
+ settings.$document.off('.joyride');
+ }
+
+ $(window).off('.joyride');
+ $('.joyride-close-tip, .joyride-next-tip, .joyride-modal-bg').off('.joyride');
+ $('.joyride-tip-guide, .joyride-modal-bg').remove();
+ clearTimeout(settings.automate);
+ settings = {};
+ },
+
+ restart : function () {
+ if(!settings.autoStart)
+ {
+ if (!settings.startTimerOnClick && settings.timer > 0) {
+ methods.show('init');
+ methods.startTimer();
+ } else {
+ methods.show('init');
+ }
+ settings.autoStart = true;
+ }
+ else
+ {
+ methods.hide();
+ settings.$li = undefined;
+ methods.show('init');
+ }
+ },
+
+ pos_default : function (init) {
+ var half_fold = Math.ceil(settings.$window.height() / 2),
+ tip_position = settings.$next_tip.offset(),
+ $nub = $('.joyride-nub', settings.$next_tip),
+ nub_width = Math.ceil($nub.outerWidth() / 2),
+ nub_height = Math.ceil($nub.outerHeight() / 2),
+ toggle = init || false;
+
+ // tip must not be "display: none" to calculate position
+ if (toggle) {
+ settings.$next_tip.css('visibility', 'hidden');
+ settings.$next_tip.show();
+ }
+
+ if (!/body/i.test(settings.$target.selector)) {
+ var
+ topAdjustment = settings.tipSettings.tipAdjustmentY ? parseInt(settings.tipSettings.tipAdjustmentY) : 0,
+ leftAdjustment = settings.tipSettings.tipAdjustmentX ? parseInt(settings.tipSettings.tipAdjustmentX) : 0;
+
+ if (methods.bottom()) {
+ settings.$next_tip.css({
+ top: (settings.$target.offset().top + nub_height + settings.$target.outerHeight() + topAdjustment),
+ left: settings.$target.offset().left - settings.$next_tip.outerWidth() + leftAdjustment});
+
+ if (/right/i.test(settings.tipSettings.nubPosition)) {
+ settings.$next_tip.css('left', settings.$target.offset().left + settings.$target.outerWidth());
+ }
+
+ methods.nub_position($nub, settings.tipSettings.nubPosition, 'top');
+
+ } else if (methods.top()) {
+
+ settings.$next_tip.css({
+ top: (settings.$target.offset().top - settings.$next_tip.outerHeight() - nub_height - topAdjustment),
+ left: settings.$target.offset().left - (settings.$next_tip.outerWidth() * .8) + leftAdjustment});
+
+ methods.nub_position($nub, settings.tipSettings.nubPosition, 'bottom');
+
+ } else if (methods.right()) {
+
+ settings.$next_tip.css({
+ top: settings.$target.offset().top + topAdjustment,
+ left: (settings.$target.outerWidth() + settings.$target.offset().left + nub_width) + leftAdjustment});
+
+ methods.nub_position($nub, settings.tipSettings.nubPosition, 'left');
+
+ } else if (methods.left()) {
+
+ settings.$next_tip.css({
+ top: settings.$target.offset().top + topAdjustment,
+ left: (settings.$target.offset().left - settings.$next_tip.outerWidth() - nub_width) - leftAdjustment});
+
+ methods.nub_position($nub, settings.tipSettings.nubPosition, 'right');
+
+ }
+
+ if (!methods.visible(methods.corners(settings.$next_tip)) && settings.attempts < settings.tipSettings.tipLocationPattern.length) {
+
+ $nub.removeClass('bottom')
+ .removeClass('top')
+ .removeClass('right')
+ .removeClass('left');
+
+ settings.tipSettings.tipLocation = settings.tipSettings.tipLocationPattern[settings.attempts];
+
+ settings.attempts++;
+
+ methods.pos_default(true);
+
+ }
+
+ } else if (settings.$li.length) {
+
+ methods.pos_modal($nub);
+
+ }
+
+ if (toggle) {
+ settings.$next_tip.hide();
+ settings.$next_tip.css('visibility', 'visible');
+ }
+
+ },
+
+ pos_phone : function (init) {
+ var tip_height = settings.$next_tip.outerHeight(),
+ tip_offset = settings.$next_tip.offset(),
+ target_height = settings.$target.outerHeight(),
+ $nub = $('.joyride-nub', settings.$next_tip),
+ nub_height = Math.ceil($nub.outerHeight() / 2),
+ toggle = init || false;
+
+ $nub.removeClass('bottom')
+ .removeClass('top')
+ .removeClass('right')
+ .removeClass('left');
+
+ if (toggle) {
+ settings.$next_tip.css('visibility', 'hidden');
+ settings.$next_tip.show();
+ }
+
+ if (!/body/i.test(settings.$target.selector)) {
+
+ if (methods.top()) {
+
+ settings.$next_tip.offset({top: settings.$target.offset().top - tip_height - nub_height});
+ $nub.addClass('bottom');
+
+ } else {
+
+ settings.$next_tip.offset({top: settings.$target.offset().top + target_height + nub_height});
+ $nub.addClass('top');
+
+ }
+
+ } else if (settings.$li.length) {
+
+ methods.pos_modal($nub);
+
+ }
+
+ if (toggle) {
+ settings.$next_tip.hide();
+ settings.$next_tip.css('visibility', 'visible');
+ }
+ },
+
+ pos_modal : function ($nub) {
+ methods.center();
+ $nub.hide();
+
+ methods.show_modal();
+
+ },
+
+ show_modal : function() {
+ if ($('.joyride-modal-bg').length < 1) {
+ $('body').append(settings.template.modal).show();
+ }
+
+ if (/pop/i.test(settings.tipAnimation)) {
+ $('.joyride-modal-bg').show();
+ } else {
+ $('.joyride-modal-bg').fadeIn(settings.tipAnimationFadeSpeed);
+ }
+ },
+
+ expose: function(){
+ var expose,
+ exposeCover,
+ el,
+ origCSS,
+ randId = 'expose-'+Math.floor(Math.random()*10000);
+ if (arguments.length>0 && arguments[0] instanceof $){
+ el = arguments[0];
+ } else if(settings.$target && !/body/i.test(settings.$target.selector)){
+ el = settings.$target;
+ } else {
+ return false;
+ }
+ if(el.length < 1){
+ if(window.console){
+ console.error('element not valid', el);
+ }
+ return false;
+ }
+ expose = $(settings.template.expose);
+ settings.$body.append(expose);
+// console.log("JOYRIDE >> EXPOSE INFO >> el[0].clientWidth: " + el[0].clientWidth + ", el: " , el , ", el[0]: " , el[0] , ", el.offset: " , el.offset() , ", el.clientWidth: " + el.clientWidth + ", el.outerWidth: " + el.outerWidth(true))
+ expose.css({
+ top: el.offset().top,
+ left: el.offset().left,
+ width: el[0].clientWidth,
+ height: el[0].clientHeight
+// width: el.outerWidth(true),
+// height: el.outerHeight(true)
+ });
+ exposeCover = $(settings.template.exposeCover);
+ origCSS = {
+ zIndex: el.css('z-index'),
+ position: el.css('position')
+ };
+ el.css('z-index',expose.css('z-index')*1+1);
+ if(origCSS.position == 'static'){
+ el.css('position','relative');
+ }
+ el.data('expose-css',origCSS);
+ exposeCover.css({
+ top: el.offset().top,
+ left: el.offset().left,
+ width: el.outerWidth(true),
+ height: el.outerHeight(true)
+ });
+ settings.$body.append(exposeCover);
+ expose.addClass(randId);
+ exposeCover.addClass(randId);
+ if(settings.tipSettings['exposeClass']){
+ expose.addClass(settings.tipSettings['exposeClass']);
+ exposeCover.addClass(settings.tipSettings['exposeClass']);
+ }
+ el.data('expose', randId);
+ settings.postExposeCallback(settings.$li.index(), settings.$next_tip, el);
+ methods.add_exposed(el);
+ },
+
+ un_expose: function(){
+ var exposeId,
+ el,
+ expose ,
+ origCSS,
+ clearAll = false;
+ if (arguments.length>0 && arguments[0] instanceof $){
+ el = arguments[0];
+ } else if(settings.$target && !/body/i.test(settings.$target.selector)){
+ el = settings.$target;
+ } else {
+ return false;
+ }
+ if(el.length < 1){
+ if(window.console){
+ console.error('element not valid', el);
+ }
+ return false;
+ }
+ exposeId = el.data('expose');
+ expose = $('.'+exposeId);
+ if(arguments.length>1){
+ clearAll = arguments[1];
+ }
+ if(clearAll === true){
+ $('.joyride-expose-wrapper,.joyride-expose-cover').remove();
+ } else {
+ expose.remove();
+ }
+ origCSS = el.data('expose-css');
+ if(origCSS.zIndex == 'auto'){
+ el.css('z-index', '');
+ } else {
+ el.css('z-index',origCSS.zIndex);
+ }
+ if(origCSS.position != el.css('position')){
+ if(origCSS.position == 'static'){// this is default, no need to set it.
+ el.css('position', '');
+ } else {
+ el.css('position',origCSS.position);
+ }
+ }
+ el.removeData('expose');
+ el.removeData('expose-z-index');
+ methods.remove_exposed(el);
+ },
+
+ add_exposed: function(el){
+ settings.exposed = settings.exposed || [];
+ if(el instanceof $){
+ settings.exposed.push(el[0]);
+ } else if(typeof el == 'string'){
+ settings.exposed.push(el);
+ }
+ },
+
+ remove_exposed: function(el){
+ var search;
+ if(el instanceof $){
+ search = el[0]
+ } else if (typeof el == 'string'){
+ search = el;
+ }
+ settings.exposed = settings.exposed || [];
+ for(var i=0; i bottom){
+ bottom = offsetBottom;
+ }
+
+ return [
+ el.offset().top < top,
+ right < el.offset().left + el.outerWidth(),
+ bottom < el.offset().top + el.outerHeight(),
+ w.scrollLeft() > el.offset().left
+ ];
+ },
+
+ visible : function (hidden_corners) {
+ var i = hidden_corners.length;
+
+ while (i--) {
+ if (hidden_corners[i]) return false;
+ }
+
+ return true;
+ },
+
+ nub_position : function (nub, pos, def) {
+ if (pos === 'auto') {
+ nub.addClass(def);
+ } else {
+ nub.addClass(pos);
+ }
+ },
+
+ startTimer : function () {
+ if (settings.$li.length) {
+ settings.automate = setTimeout(function () {
+ methods.hide();
+ methods.show();
+ methods.startTimer();
+ }, settings.timer);
+ } else {
+ clearTimeout(settings.automate);
+ }
+ },
+
+ end : function () {
+ if (settings.cookieMonster) {
+ $.cookie(settings.cookieName, 'ridden', { expires: 365, domain: settings.cookieDomain, path: settings.cookiePath });
+ }
+
+ if (settings.localStorage) {
+ localStorage.setItem(settings.localStorageKey, true);
+ }
+
+ if (settings.timer > 0) {
+ clearTimeout(settings.automate);
+ }
+ if(settings.modal && settings.expose){
+ methods.un_expose();
+ }
+ if (settings.$current_tip) {
+ settings.$current_tip.hide();
+ }
+ if (settings.$li) {
+ settings.postStepCallback(settings.$li.index(), settings.$current_tip);
+ settings.postRideCallback(settings.$li.index(), settings.$current_tip);
+ }
+ $('.joyride-modal-bg').hide();
+ },
+
+ jquery_check : function () {
+ // define on() and off() for older jQuery
+ if (!$.isFunction($.fn.on)) {
+
+ $.fn.on = function (types, sel, fn) {
+
+ return this.delegate(sel, types, fn);
+
+ };
+
+ $.fn.off = function (types, sel, fn) {
+
+ return this.undelegate(sel, types, fn);
+
+ };
+
+ return false;
+ }
+
+ return true;
+ },
+
+ outerHTML : function (el) {
+ // support FireFox < 11
+ return el.outerHTML || new XMLSerializer().serializeToString(el);
+ },
+
+ version : function () {
+ return settings.version;
+ },
+
+ tabbable : function (el) {
+ $(el).on('keydown', function( event ) {
+ if (!event.isDefaultPrevented() && event.keyCode &&
+ // Escape key.
+ event.keyCode === 27 ) {
+ event.preventDefault();
+ methods.end();
+ return;
+ }
+
+ // Prevent tabbing out of tour items.
+ if ( event.keyCode !== 9 ) {
+ return;
+ }
+ var tabbables = $(el).find(":tabbable"),
+ first = tabbables.filter(":first"),
+ last = tabbables.filter(":last");
+ if ( event.target === last[0] && !event.shiftKey ) {
+ first.focus( 1 );
+ event.preventDefault();
+ } else if ( event.target === first[0] && event.shiftKey ) {
+ last.focus( 1 );
+ event.preventDefault();
+ }
+ });
+ }
+
+ };
+
+ $.fn.joyride = function (method) {
+ if (methods[method]) {
+ return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
+ } else if (typeof method === 'object' || !method) {
+ return methods.init.apply(this, arguments);
+ } else {
+ $.error('Method ' + method + ' does not exist on jQuery.joyride');
+ }
+ };
+
+}(jQuery, this));
diff --git a/less/base.less b/less/base.less
index 1d5c12f..e62f340 100644
--- a/less/base.less
+++ b/less/base.less
@@ -22,17 +22,17 @@ img {
}
#landscape {
position:absolute;
- background-color: #fff;
+// background-color: #fff;
width: 100%;
max-width: 1024px;
max-height: 768px;
- top: 0px;
- bottom: 0px;
- left: 0px;
- right: 0px;
- z-index: 5;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+// z-index: 5;
overflow: hidden;
- margin: 0px auto;
+ margin: 0 auto;
outline: 2px solid #5e8c71;
box-shadow: 0 0 8px rgba(8, 8, 8, 0.25);
}
diff --git a/less/base_leftpanel.less b/less/base_leftpanel.less
index 7b5e498..c491b09 100644
--- a/less/base_leftpanel.less
+++ b/less/base_leftpanel.less
@@ -2,7 +2,7 @@
.leftpanel {
position: absolute;
width: 17%;
-/* background-color: rgba(67, 204, 67, 0.4);*/
+// background-color: rgba(67, 204, 67, 0.4);
top: 0px;
left: 0px;
bottom: 0px;
diff --git a/less/base_rightpanel.less b/less/base_rightpanel.less
index efc58a4..debc503 100644
--- a/less/base_rightpanel.less
+++ b/less/base_rightpanel.less
@@ -2,7 +2,7 @@
.rightpanel {
position: absolute;
width: 17%;
-/* background-color: rgba(255, 0, 254, 0.4);*/
+// background-color: rgba(255, 0, 254, 0.4);
top: 0;
right: 0;
bottom: 0;
diff --git a/less/help.less b/less/help.less
new file mode 100644
index 0000000..b12656a
--- /dev/null
+++ b/less/help.less
@@ -0,0 +1,39 @@
+#helpContainer {
+ display: none;
+ margin: 0;
+ padding: 0;
+
+
+}
+
+// info -> on first visit
+.joyride-tip-guide {
+ &.d3dInfoWelcomePanel {
+ width: 460px;
+ padding: 25px;
+ }
+}
+
+/*
+.my-tour-overlay {
+ display: none;
+ background: #666;
+ opacity: 0.6;
+ z-index: 9997;
+ min-height: 100%;
+ height: 100%;
+ position: fixed;
+ top: 0; right: 0; bottom: 0; left: 0;
+// outline: 4px solid #f80;
+// box-shadow: 0 0 14px rgba( 255, 0, 255, 1.0 );
+}
+.my-tour-highlight {
+ background: #fff;
+// position: relative;
+ border-radius: 4px;
+// outline: 4px solid #08f;
+// box-shadow: 0 0 14px rgba( 255, 0, 255, 1.0 );
+ z-index: 9998;
+}
+*/
+
diff --git a/less/help_joyride-2.1.less b/less/help_joyride-2.1.less
new file mode 100644
index 0000000..2ec4430
--- /dev/null
+++ b/less/help_joyride-2.1.less
@@ -0,0 +1,273 @@
+/* Artfully masterminded by ZURB */
+body {
+ /*position: relative;*/
+}
+
+//#joyRideTipContent { display: none; }
+//
+//.joyRideTipContent { display: none; }
+
+/* Default styles for the container */
+.joyride-tip-guide {
+ position: absolute;
+// background: #000;
+ background: rgba(255, 255, 255, 0.92);
+ display: none;
+ color: #222;
+ width: 300px;
+ z-index: 101;
+ top: 0; /* keeps the page from scrolling when calculating position */
+ left: 0;
+// font-family: "HelveticaNeue", "Helvetica Neue", "Helvetica", Helvetica, Arial, Lucida, sans-serif;
+ font-weight: normal;
+ border-radius: 10px;
+ border: 3px solid #5FCE4F;
+ box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
+}
+
+.joyride-content-wrapper {
+ padding: 10px 10px 15px 15px;
+}
+
+/* Mobile */
+@media only screen and (max-width: 767px) {
+ .joyride-tip-guide {
+ width: 95% !important;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+ left: 2.5% !important;
+ }
+ .joyride-tip-guide-wrapper {
+ width: 100%;
+ }
+}
+
+
+/* Add a little css triangle pip, older browser just miss out on the fanciness of it */
+.joyride-tip-guide span.joyride-nub {
+ display: block;
+ position: absolute;
+ right: 22px;
+ width: 0;
+ height: 0;
+ border: solid 14px;
+// box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
+}
+
+.joyride-tip-guide span.joyride-nub.top {
+ /*
+ IE7/IE8 Don't support rgba so we set the fallback
+ border color here. However, IE7/IE8 are also buggy
+ in that the fallback color doesn't work for
+ border-bottom-color so here we set the border-color
+ and override the top,left,right colors below.
+ */
+// border-color: #000;
+ border-color: rgba(67, 216, 20, 1.0);
+// border-color: rgba(0,0,0,0.8);
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ border-top-width: 0;
+ top: -14px;
+ bottom: 0;
+}
+
+.joyride-tip-guide span.joyride-nub.bottom {
+ /*
+ IE7/IE8 Don't support rgba so we set the fallback
+ border color here. However, IE7/IE8 are also buggy
+ in that the fallback color doesn't work for
+ border-top-color so here we set the border-color
+ and override the bottom,left,right colors below.
+ */
+// border-color: #000;
+ border-color: rgba(67, 216, 20, 1.0) !important;
+// border-color: rgba(0,0,0,0.8) !important;
+ border-bottom-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ border-bottom-width: 0;
+ bottom: -14px !important;
+ bottom: 0;
+}
+
+.joyride-tip-guide span.joyride-nub.right {
+// border-color: #000;
+ border-color: rgba(67, 216, 20, 1.0) !important;
+// border-color: rgba(0,0,0,0.8) !important;
+ border-top-color: transparent !important;
+ border-right-color: transparent !important;
+ border-bottom-color: transparent !important;
+ border-right-width: 0;
+ top: 22px;
+ bottom: 0;
+ left: auto;
+ right: -14px;
+}
+
+.joyride-tip-guide span.joyride-nub.left {
+// border-color: #000;
+ border-color: rgba(67, 216, 20, 1.0) !important;
+// border-color: rgba(0,0,0,0.8) !important;
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-bottom-color: transparent !important;
+ border-left-width: 0;
+ top: 22px;
+ left: -14px;
+ right: auto;
+ bottom: 0;
+}
+
+.joyride-tip-guide span.joyride-nub.top-right {
+ border-color: #000;
+ border-color: rgba(0,0,0,0.8);
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ border-top-width: 0;
+ top: -14px;
+ bottom: 0;
+ left: auto;
+ right: 28px;
+}
+
+/* Typography */
+//.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6 {
+//}
+
+.joyride-tip-guide {
+ h1, h2, h3, h4, h5, h6 {
+ line-height: 1.25;
+ margin: 0;
+ font-weight: bold;
+ color: #2DDF34;
+ // color: #fff;
+ }
+}
+
+.joyride-tip-guide h1 { font-size: 30px; }
+.joyride-tip-guide h2 { font-size: 26px; }
+.joyride-tip-guide h3 { font-size: 22px; }
+.joyride-tip-guide h4 { font-size: 18px; }
+.joyride-tip-guide h5 { font-size: 16px; }
+.joyride-tip-guide h6 { font-size: 14px; }
+.joyride-tip-guide p {
+ margin: 0 0 18px 0;
+ font-size: 14px;
+ line-height: 18px;
+}
+.joyride-tip-guide a {
+ color: rgb(255,255,255);
+ text-decoration: none;
+ border-bottom: dotted 1px rgba(255,255,255,0.6);
+}
+.joyride-tip-guide a:hover {
+ color: rgba(255,255,255,0.8);
+ border-bottom: none;
+}
+
+/* Button Style */
+.joyride-tip-guide .joyride-next-tip {
+ width: auto;
+ padding: 6px 18px 4px;
+ font-size: 13px;
+ text-decoration: none;
+ color: rgb(255,255,255);
+ border: solid 1px rgb(0,60,180);
+ background: rgb(0,99,255);
+ background: -moz-linear-gradient(top, rgb(0,99,255) 0%, rgb(0,85,214) 100%);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(0,99,255)), color-stop(100%,rgb(0,85,214)));
+ background: -webkit-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
+ background: -o-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
+ background: -ms-linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0063ff', endColorstr='#0055d6',GradientType=0 );
+ background: linear-gradient(top, rgb(0,99,255) 0%,rgb(0,85,214) 100%);
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
+ border-radius: 2px;
+ box-shadow: 0px 1px 0px rgba(255,255,255,0.3) inset;
+}
+
+.joyride-next-tip:hover {
+ color: rgb(255,255,255) !important;
+ border: solid 1px rgb(0,60,180) !important;
+ background: rgb(43,128,255);
+ background: -moz-linear-gradient(top, rgb(43,128,255) 0%, rgb(29,102,211) 100%);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(43,128,255)), color-stop(100%,rgb(29,102,211)));
+ background: -webkit-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
+ background: -o-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
+ background: -ms-linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b80ff', endColorstr='#1d66d3',GradientType=0 );
+ background: linear-gradient(top, rgb(43,128,255) 0%,rgb(29,102,211) 100%);
+}
+
+.joyride-timer-indicator-wrap {
+ width: 50px;
+ height: 3px;
+ border: solid 1px rgba(255,255,255,0.1);
+ position: absolute;
+ right: 17px;
+ bottom: 16px;
+}
+.joyride-timer-indicator {
+ display: block;
+ width: 0;
+ height: inherit;
+ background: rgba(255,255,255,0.25);
+}
+
+.joyride-close-tip {
+ position: absolute;
+ right: 10px;
+ top: 10px;
+// color: rgba(255,255,255,0.4) !important;
+ color: rgba(0, 0, 0, 0.5) !important;
+ text-decoration: none;
+ font-family: Verdana, sans-serif;
+ font-size: 10px;
+ font-weight: bold;
+ border-bottom: none !important;
+}
+
+.joyride-close-tip:hover {
+ color: rgba(0, 0, 0, 0.9) !important;
+// color: rgba(255,255,255,0.9) !important;
+}
+
+.joyride-modal-bg {
+ position: fixed;
+ height: 100%;
+ width: 100%;
+// background: rgb(0,0,0);
+// background: transparent;
+ background: rgba(0,0,0, 0.30);
+// -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
+// filter: alpha(opacity=50);
+// opacity: 0.5;
+ z-index: 100;
+ display: none;
+ top: 0;
+ left: 0;
+ cursor: pointer;
+}
+
+.joyride-expose-wrapper {
+ background-color: #ffffff;
+ position: absolute;
+ z-index: 102;
+ -moz-box-shadow: 0px 0px 30px #ffffff;
+ -webkit-box-shadow: 0px 0px 30px #ffffff;
+ box-shadow: 0px 0px 30px #ffffff;
+ border-radius: 5px;
+}
+
+.joyride-expose-cover {
+ background: transparent;
+ position: absolute;
+ z-index: 10000;
+ top: 0;
+ left: 0;
+ border-radius: 5px;
+}
diff --git a/less/styles.less b/less/styles.less
index e403b0e..3ca7e9a 100644
--- a/less/styles.less
+++ b/less/styles.less
@@ -1,5 +1,8 @@
// IMPORTS
//@import "normalize.min.less";
+//@import "jquery-tourbus.less";
+@import "help_joyride-2.1.less";
+@import "help.less";
@import "base.less";
@import "settingsPopup.less";
@import "message.less";
@@ -23,5 +26,3 @@
@media only screen and (orientation:portrait) {
@import "portrait.less";
}
-
-@import "jquery-tourbus.less";
diff --git a/www/css/styles.css b/www/css/styles.css
index a9948b9..76133c4 100644
--- a/www/css/styles.css
+++ b/www/css/styles.css
@@ -1,3 +1,288 @@
+/* Artfully masterminded by ZURB */
+
+body {
+ /*position: relative;*/
+}
+
+/* Default styles for the container */
+
+.joyride-tip-guide {
+ position: absolute;
+ background: rgba(255, 255, 255, 0.92);
+ display: none;
+ color: #222;
+ width: 300px;
+ z-index: 101;
+ top: 0;
+ /* keeps the page from scrolling when calculating position */
+ left: 0;
+ font-weight: normal;
+ border-radius: 10px;
+ border: 3px solid #5FCE4F;
+ -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
+ box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
+}
+
+.joyride-content-wrapper {
+ padding: 10px 10px 15px 15px;
+}
+
+/* Mobile */
+
+@media only screen and (max-width: 767px) {
+ .joyride-tip-guide {
+ width: 95% !important;
+ border-radius: 0;
+ left: 2.5% !important;
+ }
+
+ .joyride-tip-guide-wrapper {
+ width: 100%;
+ }
+}
+
+/* Add a little css triangle pip, older browser just miss out on the fanciness of it */
+
+.joyride-tip-guide span.joyride-nub {
+ display: block;
+ position: absolute;
+ right: 22px;
+ width: 0;
+ height: 0;
+ border: solid 14px;
+}
+
+.joyride-tip-guide span.joyride-nub.top {
+ /*
+ IE7/IE8 Don't support rgba so we set the fallback
+ border color here. However, IE7/IE8 are also buggy
+ in that the fallback color doesn't work for
+ border-bottom-color so here we set the border-color
+ and override the top,left,right colors below.
+ */
+ border-color: #43d814;
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ border-top-width: 0;
+ top: -14px;
+ bottom: 0;
+}
+
+.joyride-tip-guide span.joyride-nub.bottom {
+ /*
+ IE7/IE8 Don't support rgba so we set the fallback
+ border color here. However, IE7/IE8 are also buggy
+ in that the fallback color doesn't work for
+ border-top-color so here we set the border-color
+ and override the bottom,left,right colors below.
+ */
+ border-color: #43d814 !important;
+ border-bottom-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ border-bottom-width: 0;
+ bottom: -14px !important;
+ bottom: 0;
+}
+
+.joyride-tip-guide span.joyride-nub.right {
+ border-color: #43d814 !important;
+ border-top-color: transparent !important;
+ border-right-color: transparent !important;
+ border-bottom-color: transparent !important;
+ border-right-width: 0;
+ top: 22px;
+ bottom: 0;
+ left: auto;
+ right: -14px;
+}
+
+.joyride-tip-guide span.joyride-nub.left {
+ border-color: #43d814 !important;
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-bottom-color: transparent !important;
+ border-left-width: 0;
+ top: 22px;
+ left: -14px;
+ right: auto;
+ bottom: 0;
+}
+
+.joyride-tip-guide span.joyride-nub.top-right {
+ border-color: #000;
+ border-color: rgba(0, 0, 0, 0.8);
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+ border-top-width: 0;
+ top: -14px;
+ bottom: 0;
+ left: auto;
+ right: 28px;
+}
+
+/* Typography */
+
+.joyride-tip-guide h1,
+.joyride-tip-guide h2,
+.joyride-tip-guide h3,
+.joyride-tip-guide h4,
+.joyride-tip-guide h5,
+.joyride-tip-guide h6 {
+ line-height: 1.25;
+ margin: 0;
+ font-weight: bold;
+ color: #2DDF34;
+}
+
+.joyride-tip-guide h1 {
+ font-size: 30px;
+}
+
+.joyride-tip-guide h2 {
+ font-size: 26px;
+}
+
+.joyride-tip-guide h3 {
+ font-size: 22px;
+}
+
+.joyride-tip-guide h4 {
+ font-size: 18px;
+}
+
+.joyride-tip-guide h5 {
+ font-size: 16px;
+}
+
+.joyride-tip-guide h6 {
+ font-size: 14px;
+}
+
+.joyride-tip-guide p {
+ margin: 0 0 18px 0;
+ font-size: 14px;
+ line-height: 18px;
+}
+
+.joyride-tip-guide a {
+ color: #ffffff;
+ text-decoration: none;
+ border-bottom: dotted 1px rgba(255, 255, 255, 0.6);
+}
+
+.joyride-tip-guide a:hover {
+ color: rgba(255, 255, 255, 0.8);
+ border-bottom: none;
+}
+
+/* Button Style */
+
+.joyride-tip-guide .joyride-next-tip {
+ width: auto;
+ padding: 6px 18px 4px;
+ font-size: 13px;
+ text-decoration: none;
+ color: #ffffff;
+ border: solid 1px #003cb4;
+ background: #0063ff;
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0063ff), color-stop(100%, #0055d6));
+ background: -webkit-linear-gradient(top, #0063ff 0%, #0055d6 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0063ff', endColorstr='#0055d6', GradientType=0);
+ background: -webkit-gradient(linear, top left, bottom left, from(#0063ff), to(#0055d6));
+ background: linear-gradient(top, #0063ff 0%, #0055d6 100%);
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
+ border-radius: 2px;
+ -webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3) inset;
+ box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3) inset;
+}
+
+.joyride-next-tip:hover {
+ color: #ffffff !important;
+ border: solid 1px #003cb4 !important;
+ background: #2b80ff;
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b80ff), color-stop(100%, #1d66d3));
+ background: -webkit-linear-gradient(top, #2b80ff 0%, #1d66d3 100%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b80ff', endColorstr='#1d66d3', GradientType=0);
+ background: -webkit-gradient(linear, top left, bottom left, from(#2b80ff), to(#1d66d3));
+ background: linear-gradient(top, #2b80ff 0%, #1d66d3 100%);
+}
+
+.joyride-timer-indicator-wrap {
+ width: 50px;
+ height: 3px;
+ border: solid 1px rgba(255, 255, 255, 0.1);
+ position: absolute;
+ right: 17px;
+ bottom: 16px;
+}
+
+.joyride-timer-indicator {
+ display: block;
+ width: 0;
+ height: inherit;
+ background: rgba(255, 255, 255, 0.25);
+}
+
+.joyride-close-tip {
+ position: absolute;
+ right: 10px;
+ top: 10px;
+ color: rgba(0, 0, 0, 0.5) !important;
+ text-decoration: none;
+ font-family: Verdana, sans-serif;
+ font-size: 10px;
+ font-weight: bold;
+ border-bottom: none !important;
+}
+
+.joyride-close-tip:hover {
+ color: rgba(0, 0, 0, 0.9) !important;
+}
+
+.joyride-modal-bg {
+ position: fixed;
+ height: 100%;
+ width: 100%;
+ background: rgba(0, 0, 0, 0.3);
+ z-index: 100;
+ display: none;
+ top: 0;
+ left: 0;
+ cursor: pointer;
+}
+
+.joyride-expose-wrapper {
+ background-color: #ffffff;
+ position: absolute;
+ z-index: 102;
+ -webkit-box-shadow: 0px 0px 30px #ffffff;
+ box-shadow: 0px 0px 30px #ffffff;
+ border-radius: 5px;
+}
+
+.joyride-expose-cover {
+ background: transparent;
+ position: absolute;
+ z-index: 10000;
+ top: 0;
+ left: 0;
+ border-radius: 5px;
+}
+
+#helpContainer {
+ display: none;
+ margin: 0;
+ padding: 0;
+}
+
+.joyride-tip-guide.d3dInfoWelcomePanel {
+ width: 460px;
+ padding: 25px;
+}
+
/*
GLOBAL CONTAINER
@@ -34,17 +319,15 @@ img {
#landscape {
position: absolute;
- background-color: #fff;
width: 100%;
max-width: 1024px;
max-height: 768px;
- top: 0px;
- bottom: 0px;
- left: 0px;
- right: 0px;
- z-index: 5;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
overflow: hidden;
- margin: 0px auto;
+ margin: 0 auto;
outline: 2px solid #5e8c71;
-webkit-box-shadow: 0 0 8px rgba(8, 8, 8, 0.25);
box-shadow: 0 0 8px rgba(8, 8, 8, 0.25);
@@ -324,7 +607,6 @@ img {
.leftpanel {
position: absolute;
width: 17%;
- /* background-color: rgba(67, 204, 67, 0.4);*/
top: 0px;
left: 0px;
bottom: 0px;
@@ -378,7 +660,6 @@ img {
.rightpanel {
position: absolute;
width: 17%;
- /* background-color: rgba(255, 0, 254, 0.4);*/
top: 0;
right: 0;
bottom: 0;
@@ -879,180 +1160,4 @@ img {
width: auto;
/* for ie9 */
}
-}
-
-/* Tourbus leg definitions element */
-
-.tourbus-legs {
- display: none;
-}
-
-/* Container for tourbus leg */
-
-.tourbus-leg {
- position: absolute;
- visibility: hidden;
- top: 0;
- border: 1px solid #E5E5E5;
- -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
- border-radius: 4px;
- background: white;
-}
-
-/* Interior of leg, clearfixed */
-
-.tourbus-leg-inner {
- padding: 20px;
- position: relative;
- zoom: 1;
-}
-
-.tourbus-leg-inner:before,
-.tourbus-leg-inner:after {
- content: "\0020";
- display: block;
- height: 0;
- overflow: hidden;
-}
-
-.tourbus-leg-inner:after {
- clear: both;
-}
-
-.prevnextBtn {
- border: 1px solid #8e8e8e;
- color: #252525;
- border-radius: 4px;
- padding: 4px 8px;
- background-color: #eaeaea;
- -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
- margin-right: 8px;
-}
-
-/*
- remove top padding/margin on headings
- because the interior of the leg has padding
-*/
-
-.tourbus-leg h1,
-.tourbus-leg h2,
-.tourbus-leg h3,
-.tourbus-leg h4,
-.tourbus-leg h5,
-.tourbus-leg h6 {
- margin-top: 0;
- padding-top: 0;
-}
-
-/* Tourbus leg arrow */
-
-.tourbus-arrow:before,
-.tourbus-arrow:after {
- border: solid rgba(0, 0, 0, 0);
- content: " ";
- height: 0;
- width: 0;
- position: absolute;
- pointer-events: none;
- border-color: transparent;
-}
-
-/* set the :after to be the _interior_ size of the arrow */
-
-/* set the :before to be the _interior + desired border width_ */
-
-.tourbus-arrow:after {
- border-width: 14px;
-}
-
-.tourbus-arrow:before {
- border-width: 16px;
-}
-
-/* Arrow background and border colors */
-
-/*
- change margin-top/left values here to
- match the border width for :after above
-
- border colors here are for the _interior_ of the arrow
-*/
-
-.tourbus-arrow-right:after {
- border-right-color: #ffffff;
- margin-top: -14px;
- top: 50%;
-}
-
-.tourbus-arrow-left:after {
- border-left-color: #ffffff;
- margin-top: -14px;
- top: 50%;
-}
-
-.tourbus-arrow-bottom:after {
- border-bottom-color: #ffffff;
- margin-left: -14px;
- left: 50%;
-}
-
-.tourbus-arrow-top:after {
- border-top-color: #ffffff;
- margin-left: -14px;
- left: 50%;
-}
-
-/*
- change margin-top/left values here to
- match the border width for :before above
-
- border colors here are for the _border_ of the arrow
-*/
-
-.tourbus-arrow-right:before {
- border-right-color: #e5e5e5;
- margin-top: -16px;
- top: 50%;
-}
-
-.tourbus-arrow-left:before {
- border-left-color: #e5e5e5;
- margin-top: -16px;
- top: 50%;
-}
-
-.tourbus-arrow-bottom:before {
- border-bottom-color: #e5e5e5;
- margin-left: -16px;
- left: 50%;
-}
-
-.tourbus-arrow-top:before {
- border-top-color: #e5e5e5;
- margin-left: -16px;
- left: 50%;
-}
-
-/* you shouldn't need to change these */
-
-.tourbus-arrow-right:after,
-.tourbus-arrow-right:before {
- right: 100%;
-}
-
-.tourbus-arrow-left:after,
-.tourbus-arrow-left:before {
- left: 100%;
-}
-
-.tourbus-arrow-bottom:after,
-.tourbus-arrow-bottom:before {
- bottom: 100%;
-}
-
-.tourbus-arrow-top:after,
-.tourbus-arrow-top:before {
- top: 100%;
}
\ No newline at end of file
diff --git a/www/css/styles.min.css b/www/css/styles.min.css
index 5a472a6..a7d57dd 100644
--- a/www/css/styles.min.css
+++ b/www/css/styles.min.css
@@ -1 +1 @@
-body{background-color:#fcfcfc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}img{z-index:5}.btn{background-repeat:no-repeat;cursor:pointer}#landscape{position:absolute;background-color:#fff;width:100%;max-width:1024px;max-height:768px;top:0;bottom:0;left:0;right:0;z-index:5;overflow:hidden;margin:0 auto;outline:2px solid #5e8c71;-webkit-box-shadow:0 0 8px rgba(8,8,8,.25);box-shadow:0 0 8px rgba(8,8,8,.25)}#portrait{display:none}.bgContainer{position:absolute;width:100%;height:100%;overflow:hidden}.bgTop,.bgMiddle,.bgBottom{opacity:1;-webkit-transition:opacity .35s linear;transition:opacity .35s linear;position:absolute;left:0;z-index:-5}.bgTop{top:0}.bgMiddle{top:30%}.bgBottom{bottom:0}.centerpanel{position:absolute;left:50%;margin-left:-33%;width:66%;height:100%;z-index:5}.logopanel{height:25%}.d3dlogo{position:relative;top:15%;width:100%;height:100%;margin:0 auto;max-width:399px;height:139px;background:url(../img/logo/logo_full.png) no-repeat center center;cursor:pointer}#verticalShapes{position:absolute;right:0;bottom:15px;margin-right:-8.5%;width:8%}#verticalShapes>div{border:2px solid #333;border-radius:0 5px 5px 0;margin-top:4px;background-color:#fff;cursor:pointer}#verticalShapes>div img.verticalshape{width:100%;max-width:50px;height:auto;vertical-align:bottom}.drawareacontainer{position:relative;width:100%;height:65%;background-color:#fff;border:4px solid #000;border-radius:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;z-index:15}#canvasContainers{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;padding:0;margin:0}#mycanvasContainer{position:absolute;top:0;left:0;width:78%;height:100%}#mycanvas{width:100%;height:100%;margin:0;padding:0;border-right:2px solid #333}#previewContainer{position:absolute;top:0;right:0;width:22%;height:100%}#preview{min-width:50px;width:100%;height:100%;margin:0;padding:0}#preview_tmp{position:absolute;top:0;left:0;z-index:500;border:1px solid #f80;display:none}.bottompanel{position:relative;bottom:0;width:100%;height:10%}.manipulationBtns{margin:2px 5px;position:absolute;right:0;top:0;max-width:340px;max-height:70px;width:45%}.manipulationBtn{width:45%;height:auto;cursor:pointer}#btnsUpDown{float:left;width:45%}#btnsUpDown>div{float:left;padding-right:8px;background-repeat:no-repeat}#btnsTurnLeftRight{float:right;width:45%}#btnsTurnLeftRight>div{float:left;padding-right:8px;background-repeat:no-repeat}#btnMoveUp{max-width:65px}#btnMoveDown{max-width:64px}#btnTwistLeft{max-width:59px}#btnTwistRight{max-width:64px}@media screen and (max-height:700px){.logopanel{height:22%}.doodlecontainer{height:68%}.d3dlogo{top:25%;max-width:399px;height:74px;background-image:url(../img/logo/logo_small.png)}}@media screen and (max-height:655px){.bgMiddle{opacity:0}}@media screen and (max-height:525px){.d3dlogo{top:20%;height:57px;max-width:307px;background-image:url(../img/logo/logo_smaller.png)}}@media screen and (max-height:375px){.d3dlogo{height:40px;max-width:216px;background-image:url(../img/logo/logo_smallest.png)}}.leftpanel{position:absolute;width:17%;top:0;left:0;bottom:0}.btnNew{margin:5% 0 1% 5%;width:100%;max-width:180px;height:auto}.btnsPrevNext{margin:1% 7%;max-width:160px}.btnPrevious{width:40%;max-width:56px;height:auto}.btnNext{width:40%;max-width:56px;height:auto;float:right}.btnSave{margin:5% 5% 1%;width:90%;max-width:144px;height:auto}.btnOops{margin:5% 5% 1%;width:90%;max-width:144px;height:auto}.rightpanel{position:absolute;width:17%;top:0;right:0;bottom:0}.btnPrint{margin:1% 5% 5% 0;width:100%;max-width:163px;height:auto;float:right}.btnStop{margin:5% 10% 1% 5%;float:right;width:90%;max-width:98px;height:auto}.btnsSettingsInfo{position:absolute;bottom:25px;right:5px;width:80%;margin:1% 5%;max-width:160px}.btnInfo{width:40%;max-width:53px;height:auto}.btnSettings{width:40%;max-width:53px;height:auto;float:right}.progressbarAppear{right:-.5%!important}.thermometerAppear{right:-6.5%!important}.progressbarCanvasContainerParent{position:relative;width:100%}#progressbarCanvasContainer{position:relative;width:50%;float:right;border:solid #000;border-width:2px 0 2px 2px;border-radius:15px 0 0 15px;padding:5px;background-color:#fff;-webkit-box-shadow:0 2px 5px rgba(37,37,37,.35);box-shadow:0 2px 5px rgba(37,37,37,.35);-webkit-transition:right .4s cubic-bezier(0.68,-.55,.265,1.55);transition:right .4s cubic-bezier(0.68,-.55,.265,1.55);right:-60%;margin:5% 0}#progressbarCanvas{top:0;right:0;bottom:0;left:0;width:100%;height:auto;background-color:#fff}.thermometerContainerParent{position:relative;width:100%;padding-top:10px}#thermometerContainer{position:relative;width:45%;float:right;background-color:#fff;border:solid #000;border-width:2px 0 2px 2px;border-radius:15px 0 0 15px;padding:5px;-webkit-box-shadow:0 2px 5px rgba(37,37,37,.35);box-shadow:0 2px 5px rgba(37,37,37,.35);-webkit-transition:right .5s cubic-bezier(0.68,-.55,.265,1.55);transition:right .5s cubic-bezier(0.68,-.55,.265,1.55);right:-55%}#thermometerCanvas{top:0;right:0;bottom:0;left:0;width:100%;height:auto;background-color:#fff}.disabled{opacity:.3;cursor:default}#btnStop.disabled{display:none}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}#contentOverlay{background-color:rgba(255,255,255,.65);z-index:20;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;display:none;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#contentOverlay #settings{background-color:#fff;position:absolute;top:0;left:0;right:0;bottom:0;z-index:15;max-width:775px;max-height:540px;width:80%;height:75%;margin:7% 8%;-webkit-box-shadow:0 2px 6px 0 rgba(16,16,16,.65);box-shadow:0 2px 6px 0 rgba(16,16,16,.65);border:2px solid #222;border-radius:15px;padding:2%}#contentOverlay #settings .toppanel{height:10%}#contentOverlay #settings .toppanel .settingsLabelContainer{width:100%;height:auto;margin-bottom:1%}#contentOverlay #settings .toppanel .settingsLabelContainer .settingsLabelImg{width:45%;max-width:373px;height:auto}#contentOverlay #settings .bottompanel{width:100%;height:90%}#contentOverlay #settings .bottompanel>.settingsContainer{float:left;width:83%;height:98%;margin:.5%;overflow-y:scroll;overflow-x:hidden;border:1px solid #bbb;border-radius:5px}#contentOverlay #settings .bottompanel>.btnContainer{width:15%;height:100%;float:right;position:relative;right:0}#contentOverlay #settings .bottompanel>.btnContainer>.btnOK{position:absolute;bottom:3%;right:7%;max-width:85px;min-width:42px;width:88%;height:auto;margin:0 2% 2% 0;cursor:pointer}#message{position:absolute;top:0;right:0;padding:.4em .5em;border-radius:0 0 0 10px;border:2px solid #333;border-width:0 0 2px 2px;font-weight:700;-webkit-box-shadow:0 2px 6px 0 rgba(16,16,16,.65);box-shadow:0 2px 6px 0 rgba(16,16,16,.65);color:#333;white-space:nowrap;display:none}#message.error{background:#EB313C;color:#fff}#message.warning{background:#E9A86E}#message.notice{background:#93CAF4}#message.info{background:#97DD8A}@media only screen and (max-width:480px),only screen and (max-width:720px) and (min-device-pixel-ratio:1.5),only screen and (max-width:720px) and (-webkit-min-device-pixel-ratio:1.5){.centerpanel{left:0;margin-left:0;width:100%}.logopanel{height:40px}.d3dlogo{top:0;height:40px;max-width:216px;background-image:url(../img/logo/logo_smallest.png)}.drawareacontainer{height:70%}.bottompanel{height:10%}.bottompanel .manipulationBtns{margin:2px -27;right:22%;width:38%}.leftpanel{width:100px;background-color:#fff;z-index:50;-webkit-transition:left .3s ease-out;transition:left .3s ease-out}.hideleft{left:-101px}.shadowright{-webkit-box-shadow:2px 0 4px rgba(42,42,41,.6);box-shadow:2px 0 4px rgba(42,42,41,.6)}.btnNew{margin:5% 5% 1%;width:90%}.btnSave{margin-left:9%;width:75%}.btnOops{margin-left:6%;width:71%}.rightpanel{width:100px;background-color:#fff;z-index:50;-webkit-transition:right .3s ease-out;transition:right .3s ease-out}.hideright{right:-101px}.shadowleft{-webkit-box-shadow:-2px 0 4px rgba(42,42,41,.6);box-shadow:-2px 0 4px rgba(42,42,41,.6)}.btnPrint{margin:1% 5% 5%;width:90%}.btnStop{margin:5% 6% 1% 5%;width:70%}.sidebutton{display:block;position:absolute;top:40px;width:25px;height:38px;border:1px solid #808;background:url(../img/arrows.png) no-repeat;background-color:#eee;cursor:pointer}.sidebutton:active{background-color:#aaa}.leftpanel .sidebutton{right:-27px;background-position:0 0}.rightpanel .sidebutton{left:-27px;background-position:-25px 0}.sidebuttonin:active{background-color:#888}.leftpanel .sidebuttonin{background-color:#ccc;background-position:-25px 0}.rightpanel .sidebuttonin{background-color:#ccc;background-position:0 0}#contentOverlay{z-index:200}#contentOverlay #settings{width:87%;height:82%;margin:6% 4%}#contentOverlay #settings>.right{width:14%}}@media only screen and (min-width:1000px) and (max-device-pixel-ratio:1.5),only screen and (min-width:1000px) and (-webkit-max-device-pixel-ratio:1.5){}@media only screen and (orientation:portrait){#landscape{display:none}#portrait{display:block}.vertImage{margin:0;padding:0;max-width:100%;height:auto;width:auto}}.tourbus-legs{display:none}.tourbus-leg{position:absolute;visibility:hidden;top:0;border:1px solid #E5E5E5;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.45);box-shadow:0 2px 5px rgba(0,0,0,.45);border-radius:4px;background:#fff}.tourbus-leg-inner{padding:20px;position:relative;zoom:1}.tourbus-leg-inner:before,.tourbus-leg-inner:after{content:"\0020";display:block;height:0;overflow:hidden}.tourbus-leg-inner:after{clear:both}.prevnextBtn{border:1px solid #8e8e8e;color:#252525;border-radius:4px;padding:4px 8px;background-color:#eaeaea;-webkit-box-shadow:0 0 3px rgba(0,0,0,.7);box-shadow:0 0 3px rgba(0,0,0,.7);margin-right:8px}.tourbus-leg h1,.tourbus-leg h2,.tourbus-leg h3,.tourbus-leg h4,.tourbus-leg h5,.tourbus-leg h6{margin-top:0;padding-top:0}.tourbus-arrow:before,.tourbus-arrow:after{border:solid rgba(0,0,0,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:transparent}.tourbus-arrow:after{border-width:14px}.tourbus-arrow:before{border-width:16px}.tourbus-arrow-right:after{border-right-color:#fff;margin-top:-14px;top:50%}.tourbus-arrow-left:after{border-left-color:#fff;margin-top:-14px;top:50%}.tourbus-arrow-bottom:after{border-bottom-color:#fff;margin-left:-14px;left:50%}.tourbus-arrow-top:after{border-top-color:#fff;margin-left:-14px;left:50%}.tourbus-arrow-right:before{border-right-color:#e5e5e5;margin-top:-16px;top:50%}.tourbus-arrow-left:before{border-left-color:#e5e5e5;margin-top:-16px;top:50%}.tourbus-arrow-bottom:before{border-bottom-color:#e5e5e5;margin-left:-16px;left:50%}.tourbus-arrow-top:before{border-top-color:#e5e5e5;margin-left:-16px;left:50%}.tourbus-arrow-right:after,.tourbus-arrow-right:before{right:100%}.tourbus-arrow-left:after,.tourbus-arrow-left:before{left:100%}.tourbus-arrow-bottom:after,.tourbus-arrow-bottom:before{bottom:100%}.tourbus-arrow-top:after,.tourbus-arrow-top:before{top:100%}
\ No newline at end of file
+body{}.joyride-tip-guide{position:absolute;background:rgba(255,255,255,.92);display:none;color:#222;width:300px;z-index:101;top:0;left:0;font-weight:400;border-radius:10px;border:3px solid #5FCE4F;-webkit-box-shadow:0 0 15px rgba(0,0,0,.4);box-shadow:0 0 15px rgba(0,0,0,.4)}.joyride-content-wrapper{padding:10px 10px 15px 15px}@media only screen and (max-width:767px){.joyride-tip-guide{width:95%!important;border-radius:0;left:2.5%!important}.joyride-tip-guide-wrapper{width:100%}}.joyride-tip-guide span.joyride-nub{display:block;position:absolute;right:22px;width:0;height:0;border:solid 14px}.joyride-tip-guide span.joyride-nub.top{border-color:#43d814;border-top-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border-top-width:0;top:-14px;bottom:0}.joyride-tip-guide span.joyride-nub.bottom{border-color:#43d814!important;border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-width:0;bottom:-14px!important;bottom:0}.joyride-tip-guide span.joyride-nub.right{border-color:#43d814!important;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;border-right-width:0;top:22px;bottom:0;left:auto;right:-14px}.joyride-tip-guide span.joyride-nub.left{border-color:#43d814!important;border-top-color:transparent!important;border-left-color:transparent!important;border-bottom-color:transparent!important;border-left-width:0;top:22px;left:-14px;right:auto;bottom:0}.joyride-tip-guide span.joyride-nub.top-right{border-color:#000;border-color:rgba(0,0,0,.8);border-top-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border-top-width:0;top:-14px;bottom:0;left:auto;right:28px}.joyride-tip-guide h1,.joyride-tip-guide h2,.joyride-tip-guide h3,.joyride-tip-guide h4,.joyride-tip-guide h5,.joyride-tip-guide h6{line-height:1.25;margin:0;font-weight:700;color:#2DDF34}.joyride-tip-guide h1{font-size:30px}.joyride-tip-guide h2{font-size:26px}.joyride-tip-guide h3{font-size:22px}.joyride-tip-guide h4{font-size:18px}.joyride-tip-guide h5{font-size:16px}.joyride-tip-guide h6{font-size:14px}.joyride-tip-guide p{margin:0 0 18px;font-size:14px;line-height:18px}.joyride-tip-guide a{color:#fff;text-decoration:none;border-bottom:dotted 1px rgba(255,255,255,.6)}.joyride-tip-guide a:hover{color:rgba(255,255,255,.8);border-bottom:0}.joyride-tip-guide .joyride-next-tip{width:auto;padding:6px 18px 4px;font-size:13px;text-decoration:none;color:#fff;border:solid 1px #003cb4;background:#0063ff;background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#0063ff),color-stop(100%,#0055d6));background:-webkit-linear-gradient(top,#0063ff 0,#0055d6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0063ff', endColorstr='#0055d6', GradientType=0);background:-webkit-gradient(linear,top left,bottom left,from(#0063ff),to(#0055d6));background:linear-gradient(top,#0063ff 0,#0055d6 100%);text-shadow:0 -1px 0 rgba(0,0,0,.5);border-radius:2px;-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3) inset;box-shadow:0 1px 0 rgba(255,255,255,.3) inset}.joyride-next-tip:hover{color:#fff!important;border:solid 1px #003cb4!important;background:#2b80ff;background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#2b80ff),color-stop(100%,#1d66d3));background:-webkit-linear-gradient(top,#2b80ff 0,#1d66d3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b80ff', endColorstr='#1d66d3', GradientType=0);background:-webkit-gradient(linear,top left,bottom left,from(#2b80ff),to(#1d66d3));background:linear-gradient(top,#2b80ff 0,#1d66d3 100%)}.joyride-timer-indicator-wrap{width:50px;height:3px;border:solid 1px rgba(255,255,255,.1);position:absolute;right:17px;bottom:16px}.joyride-timer-indicator{display:block;width:0;height:inherit;background:rgba(255,255,255,.25)}.joyride-close-tip{position:absolute;right:10px;top:10px;color:rgba(0,0,0,.5)!important;text-decoration:none;font-family:Verdana,sans-serif;font-size:10px;font-weight:700;border-bottom:0!important}.joyride-close-tip:hover{color:rgba(0,0,0,.9)!important}.joyride-modal-bg{position:fixed;height:100%;width:100%;background:rgba(0,0,0,.3);z-index:100;display:none;top:0;left:0;cursor:pointer}.joyride-expose-wrapper{background-color:#fff;position:absolute;z-index:102;-webkit-box-shadow:0 0 30px #fff;box-shadow:0 0 30px #fff;border-radius:5px}.joyride-expose-cover{background:transparent;position:absolute;z-index:10000;top:0;left:0;border-radius:5px}#helpContainer{display:none;margin:0;padding:0}.joyride-tip-guide.d3dInfoWelcomePanel{width:460px;padding:25px}body{background-color:#fcfcfc;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}img{z-index:5}.btn{background-repeat:no-repeat;cursor:pointer}#landscape{position:absolute;width:100%;max-width:1024px;max-height:768px;top:0;bottom:0;left:0;right:0;overflow:hidden;margin:0 auto;outline:2px solid #5e8c71;-webkit-box-shadow:0 0 8px rgba(8,8,8,.25);box-shadow:0 0 8px rgba(8,8,8,.25)}#portrait{display:none}.bgContainer{position:absolute;width:100%;height:100%;overflow:hidden}.bgTop,.bgMiddle,.bgBottom{opacity:1;-webkit-transition:opacity .35s linear;transition:opacity .35s linear;position:absolute;left:0;z-index:-5}.bgTop{top:0}.bgMiddle{top:30%}.bgBottom{bottom:0}.centerpanel{position:absolute;left:50%;margin-left:-33%;width:66%;height:100%;z-index:5}.logopanel{height:25%}.d3dlogo{position:relative;top:15%;width:100%;height:100%;margin:0 auto;max-width:399px;height:139px;background:url(../img/logo/logo_full.png) no-repeat center center;cursor:pointer}#verticalShapes{position:absolute;right:0;bottom:15px;margin-right:-8.5%;width:8%}#verticalShapes>div{border:2px solid #333;border-radius:0 5px 5px 0;margin-top:4px;background-color:#fff;cursor:pointer}#verticalShapes>div img.verticalshape{width:100%;max-width:50px;height:auto;vertical-align:bottom}.drawareacontainer{position:relative;width:100%;height:65%;background-color:#fff;border:4px solid #000;border-radius:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;z-index:15}#canvasContainers{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;padding:0;margin:0}#mycanvasContainer{position:absolute;top:0;left:0;width:78%;height:100%}#mycanvas{width:100%;height:100%;margin:0;padding:0;border-right:2px solid #333}#previewContainer{position:absolute;top:0;right:0;width:22%;height:100%}#preview{min-width:50px;width:100%;height:100%;margin:0;padding:0}#preview_tmp{position:absolute;top:0;left:0;z-index:500;border:1px solid #f80;display:none}.bottompanel{position:relative;bottom:0;width:100%;height:10%}.manipulationBtns{margin:2px 5px;position:absolute;right:0;top:0;max-width:340px;max-height:70px;width:45%}.manipulationBtn{width:45%;height:auto;cursor:pointer}#btnsUpDown{float:left;width:45%}#btnsUpDown>div{float:left;padding-right:8px;background-repeat:no-repeat}#btnsTurnLeftRight{float:right;width:45%}#btnsTurnLeftRight>div{float:left;padding-right:8px;background-repeat:no-repeat}#btnMoveUp{max-width:65px}#btnMoveDown{max-width:64px}#btnTwistLeft{max-width:59px}#btnTwistRight{max-width:64px}@media screen and (max-height:700px){.logopanel{height:22%}.doodlecontainer{height:68%}.d3dlogo{top:25%;max-width:399px;height:74px;background-image:url(../img/logo/logo_small.png)}}@media screen and (max-height:655px){.bgMiddle{opacity:0}}@media screen and (max-height:525px){.d3dlogo{top:20%;height:57px;max-width:307px;background-image:url(../img/logo/logo_smaller.png)}}@media screen and (max-height:375px){.d3dlogo{height:40px;max-width:216px;background-image:url(../img/logo/logo_smallest.png)}}.leftpanel{position:absolute;width:17%;top:0;left:0;bottom:0}.btnNew{margin:5% 0 1% 5%;width:100%;max-width:180px;height:auto}.btnsPrevNext{margin:1% 7%;max-width:160px}.btnPrevious{width:40%;max-width:56px;height:auto}.btnNext{width:40%;max-width:56px;height:auto;float:right}.btnSave{margin:5% 5% 1%;width:90%;max-width:144px;height:auto}.btnOops{margin:5% 5% 1%;width:90%;max-width:144px;height:auto}.rightpanel{position:absolute;width:17%;top:0;right:0;bottom:0}.btnPrint{margin:1% 5% 5% 0;width:100%;max-width:163px;height:auto;float:right}.btnStop{margin:5% 10% 1% 5%;float:right;width:90%;max-width:98px;height:auto}.btnsSettingsInfo{position:absolute;bottom:25px;right:5px;width:80%;margin:1% 5%;max-width:160px}.btnInfo{width:40%;max-width:53px;height:auto}.btnSettings{width:40%;max-width:53px;height:auto;float:right}.progressbarAppear{right:-.5%!important}.thermometerAppear{right:-6.5%!important}.progressbarCanvasContainerParent{position:relative;width:100%}#progressbarCanvasContainer{position:relative;width:50%;float:right;border:solid #000;border-width:2px 0 2px 2px;border-radius:15px 0 0 15px;padding:5px;background-color:#fff;-webkit-box-shadow:0 2px 5px rgba(37,37,37,.35);box-shadow:0 2px 5px rgba(37,37,37,.35);-webkit-transition:right .4s cubic-bezier(0.68,-.55,.265,1.55);transition:right .4s cubic-bezier(0.68,-.55,.265,1.55);right:-60%;margin:5% 0}#progressbarCanvas{top:0;right:0;bottom:0;left:0;width:100%;height:auto;background-color:#fff}.thermometerContainerParent{position:relative;width:100%;padding-top:10px}#thermometerContainer{position:relative;width:45%;float:right;background-color:#fff;border:solid #000;border-width:2px 0 2px 2px;border-radius:15px 0 0 15px;padding:5px;-webkit-box-shadow:0 2px 5px rgba(37,37,37,.35);box-shadow:0 2px 5px rgba(37,37,37,.35);-webkit-transition:right .5s cubic-bezier(0.68,-.55,.265,1.55);transition:right .5s cubic-bezier(0.68,-.55,.265,1.55);right:-55%}#thermometerCanvas{top:0;right:0;bottom:0;left:0;width:100%;height:auto;background-color:#fff}.disabled{opacity:.3;cursor:default}#btnStop.disabled{display:none}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}#contentOverlay{background-color:rgba(255,255,255,.65);z-index:20;position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;display:none;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#contentOverlay #settings{background-color:#fff;position:absolute;top:0;left:0;right:0;bottom:0;z-index:15;max-width:775px;max-height:540px;width:80%;height:75%;margin:7% 8%;-webkit-box-shadow:0 2px 6px 0 rgba(16,16,16,.65);box-shadow:0 2px 6px 0 rgba(16,16,16,.65);border:2px solid #222;border-radius:15px;padding:2%}#contentOverlay #settings .toppanel{height:10%}#contentOverlay #settings .toppanel .settingsLabelContainer{width:100%;height:auto;margin-bottom:1%}#contentOverlay #settings .toppanel .settingsLabelContainer .settingsLabelImg{width:45%;max-width:373px;height:auto}#contentOverlay #settings .bottompanel{width:100%;height:90%}#contentOverlay #settings .bottompanel>.settingsContainer{float:left;width:83%;height:98%;margin:.5%;overflow-y:scroll;overflow-x:hidden;border:1px solid #bbb;border-radius:5px}#contentOverlay #settings .bottompanel>.btnContainer{width:15%;height:100%;float:right;position:relative;right:0}#contentOverlay #settings .bottompanel>.btnContainer>.btnOK{position:absolute;bottom:3%;right:7%;max-width:85px;min-width:42px;width:88%;height:auto;margin:0 2% 2% 0;cursor:pointer}#message{position:absolute;top:0;right:0;padding:.4em .5em;border-radius:0 0 0 10px;border:2px solid #333;border-width:0 0 2px 2px;font-weight:700;-webkit-box-shadow:0 2px 6px 0 rgba(16,16,16,.65);box-shadow:0 2px 6px 0 rgba(16,16,16,.65);color:#333;white-space:nowrap;display:none}#message.error{background:#EB313C;color:#fff}#message.warning{background:#E9A86E}#message.notice{background:#93CAF4}#message.info{background:#97DD8A}@media only screen and (max-width:480px),only screen and (max-width:720px) and (min-device-pixel-ratio:1.5),only screen and (max-width:720px) and (-webkit-min-device-pixel-ratio:1.5){.centerpanel{left:0;margin-left:0;width:100%}.logopanel{height:40px}.d3dlogo{top:0;height:40px;max-width:216px;background-image:url(../img/logo/logo_smallest.png)}.drawareacontainer{height:70%}.bottompanel{height:10%}.bottompanel .manipulationBtns{margin:2px -27;right:22%;width:38%}.leftpanel{width:100px;background-color:#fff;z-index:50;-webkit-transition:left .3s ease-out;transition:left .3s ease-out}.hideleft{left:-101px}.shadowright{-webkit-box-shadow:2px 0 4px rgba(42,42,41,.6);box-shadow:2px 0 4px rgba(42,42,41,.6)}.btnNew{margin:5% 5% 1%;width:90%}.btnSave{margin-left:9%;width:75%}.btnOops{margin-left:6%;width:71%}.rightpanel{width:100px;background-color:#fff;z-index:50;-webkit-transition:right .3s ease-out;transition:right .3s ease-out}.hideright{right:-101px}.shadowleft{-webkit-box-shadow:-2px 0 4px rgba(42,42,41,.6);box-shadow:-2px 0 4px rgba(42,42,41,.6)}.btnPrint{margin:1% 5% 5%;width:90%}.btnStop{margin:5% 6% 1% 5%;width:70%}.sidebutton{display:block;position:absolute;top:40px;width:25px;height:38px;border:1px solid #808;background:url(../img/arrows.png) no-repeat;background-color:#eee;cursor:pointer}.sidebutton:active{background-color:#aaa}.leftpanel .sidebutton{right:-27px;background-position:0 0}.rightpanel .sidebutton{left:-27px;background-position:-25px 0}.sidebuttonin:active{background-color:#888}.leftpanel .sidebuttonin{background-color:#ccc;background-position:-25px 0}.rightpanel .sidebuttonin{background-color:#ccc;background-position:0 0}#contentOverlay{z-index:200}#contentOverlay #settings{width:87%;height:82%;margin:6% 4%}#contentOverlay #settings>.right{width:14%}}@media only screen and (min-width:1000px) and (max-device-pixel-ratio:1.5),only screen and (min-width:1000px) and (-webkit-max-device-pixel-ratio:1.5){}@media only screen and (orientation:portrait){#landscape{display:none}#portrait{display:block}.vertImage{margin:0;padding:0;max-width:100%;height:auto;width:auto}}
\ No newline at end of file
diff --git a/www/helpcontent.html b/www/helpcontent.html
index 4363738..950cec9 100644
--- a/www/helpcontent.html
+++ b/www/helpcontent.html
@@ -1,94 +1,64 @@
-
-
-
-
-
- -
-
Welcome to Doodle3D
- This is your first time starting the app. How about we show you around a bit?
- Yes
- No
+
+
+ -
+
Welcome to Doodle3D
+
+ It looks like it's your first time here. How about we give you a quick tour?
+
-
-
- -
-
Leftpanel
- Random text which makes it all seem like there's something to say...
-
- Next...
+ -
+
leftpanel
+ You can control all the details for you tour stop. Any valid HTML will work inside of Joyride.
+ linkme beautiful.
- -
+
-
New
- Random text which makes it all seem like there's something to say...
-
- Next...
+ You can control all the details for you tour stop. Any valid HTML will work inside of Joyride.
+ linkme beautiful.
- -
-
PrevNext
- Random text which makes it all seem like there's something to say...
-
- Next...
-
- -
+
-
Save
- Random text which makes it all seem like there's something to say...
-
- Next...
+ Get the details right by styling Joyride with a custom stylesheet!
- -
+
-
+
Modal
+ It works as a modal too!
+
+ -
Oops
- Random text which makes it all seem like there's something to say...
-
- Next...
+ It works right aligned.
-
-
- -
-
Leftpanel
- Random text which makes it all seem like there's something to say...
-
- Next...
+ -
+
Print
+ It works with classes, and only on the first visible element with that class.
- -
-
print
- Random text which makes it all seem like there's something to say...
-
- Next...
+ -
+
Print
+ It works with classes, and only on the first visible element with that class.
- -
-
stop
- Random text which makes it all seem like there's something to say...
-
- Next...
+ -
+
Stop
+ It works with classes, and only on the first visible element with that class.
- -
-
progress
- Random text which makes it all seem like there's something to say...
-
- Next...
-
- -
-
thermo
- Random text which makes it all seem like there's something to say...
-
- Next...
-
- -
-
info
- Random text which makes it all seem like there's something to say...
-
- Got it...
-
-
-
-
- -
-
INFO
- check out the info here anytime..
- Got it
+
+ -
+
Reminder
+ You can always find this tour in the info window.
+
+
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/index.html b/www/index.html
index 75e70a5..fee9366 100755
--- a/www/index.html
+++ b/www/index.html
@@ -11,8 +11,9 @@
-
-
+
+
+
@@ -53,15 +54,6 @@
-
-
-
-
-
@@ -129,9 +121,15 @@
-
-
-
+
+
+
+
+
+
+
+
+