mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
[#1396] Add justin to tour bubbles
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
@import "./game-pane.styl"
|
@import "./game-pane.styl"
|
||||||
@import "./npcs.styl"
|
@import "./npcs.styl"
|
||||||
@import "./challenges.styl"
|
@import "./challenges.styl"
|
||||||
|
@import "./tour.styl"
|
||||||
|
|
||||||
// fix exploding to very wide for some reason
|
// fix exploding to very wide for some reason
|
||||||
.datepicker
|
.datepicker
|
||||||
|
|||||||
5
public/css/tour.styl
Normal file
5
public/css/tour.styl
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
@import "../bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css"
|
||||||
|
.tour-tour .NPC-Justin
|
||||||
|
float: left
|
||||||
|
padding-right: 5px
|
||||||
|
.popover-navigation {clear:both;}
|
||||||
@@ -13,7 +13,7 @@ angular.module('guideServices', []).
|
|||||||
{
|
{
|
||||||
element: ".main-herobox",
|
element: ".main-herobox",
|
||||||
title: "Welcome to HabitRPG",
|
title: "Welcome to HabitRPG",
|
||||||
content: "Welcome to HabitRPG, a habit-tracker which treats your goals like a Role Playing Game."
|
content: "Welcome to HabitRPG, a habit-tracker which treats your goals like a Role Playing Game. I'm <a href='http://www.kickstarter.com/profile/1823740484' target='_blank'>Justin</a>, your guide! "
|
||||||
}, {
|
}, {
|
||||||
element: "#bars",
|
element: "#bars",
|
||||||
title: "Achieve goals and level up",
|
title: "Achieve goals and level up",
|
||||||
@@ -45,6 +45,9 @@ angular.module('guideServices', []).
|
|||||||
placement: "right"
|
placement: "right"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
_.each(tourSteps, function(step){
|
||||||
|
step.content = "<div><div class='NPC-Justin'></div>" + step.content + "</div>"; // add Justin NPC img
|
||||||
|
});
|
||||||
$('.main-herobox').popover('destroy');
|
$('.main-herobox').popover('destroy');
|
||||||
var tour = new Tour({
|
var tour = new Tour({
|
||||||
onEnd: function(){
|
onEnd: function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user