diff --git a/rpg-docs/Model/Character/Characters.js b/rpg-docs/Model/Character/Characters.js
index 740d7cea..7ba2ac97 100644
--- a/rpg-docs/Model/Character/Characters.js
+++ b/rpg-docs/Model/Character/Characters.js
@@ -191,6 +191,7 @@ Schemas.Character = new SimpleSchema({
"settings.exportFeatures": {type: Boolean, defaultValue: true},
"settings.exportAttacks": {type: Boolean, defaultValue: true},
"settings.exportDescription": {type: Boolean, defaultValue: true},
+ "settings.newUserExperience": {type: Boolean, optional: true},
});
Characters.attachSchema(Schemas.Character);
@@ -298,6 +299,7 @@ Characters.calculate = {
var fieldSelector = {};
fieldSelector[fieldName] = 1;
var char = Characters.findOne(charId, {fields: fieldSelector});
+ if (!char) return;
var field = char[fieldName];
if (field === undefined){
throw new Meteor.Error(
@@ -331,6 +333,7 @@ Characters.calculate = {
},
attributeValue: memoize(function(charId, attributeName){
var attribute = Characters.calculate.getField(charId, attributeName);
+ if (!attribute) return;
//base value
var value = Characters.calculate.attributeBase(charId, attributeName);
//plus adjustment
@@ -342,6 +345,7 @@ Characters.calculate = {
}),
skillMod: memoize(preventLoop(function(charId, skillName){
var skill = Characters.calculate.getField(charId, skillName);
+ if (!skill) return;
//get the final value of the ability score
var ability = Characters.calculate.attributeValue(charId, skill.ability);
@@ -393,7 +397,6 @@ Characters.calculate = {
return prof && prof.value || 0;
}),
passiveSkill: memoize(function(charId, skillName){
- var skill = Characters.calculate.getField(charId, skillName);
var mod = +Characters.calculate.skillMod(charId, skillName);
var value = 10 + mod;
Effects.find(
@@ -554,6 +557,10 @@ if (Meteor.isServer){
});
Characters.before.insert(function(userId, doc) {
doc.urlName = getSlug(doc.name, {maintainCase: true}) || "-";
+ // The first character a user creates should have the new user experience
+ if (!Characters.find({owner: userId}).count()){
+ doc.settings.newUserExperience = true;
+ }
});
}
diff --git a/rpg-docs/client/globalHelpers/canEditCharacter.js b/rpg-docs/client/globalHelpers/canEditCharacter.js
index 2de1b6d6..57d0ce6f 100644
--- a/rpg-docs/client/globalHelpers/canEditCharacter.js
+++ b/rpg-docs/client/globalHelpers/canEditCharacter.js
@@ -3,7 +3,8 @@ Template.registerHelper("canEditCharacter", function(charId) {
});
canEditCharacter = function(charId) {
- var char = Characters.findOne(charId)
+ var char = Characters.findOne(charId);
+ if (!char) return false;
var userId = Meteor.userId();
return char.owner === userId ||
_.contains(char.writers, userId);
diff --git a/rpg-docs/client/style/bounce.css b/rpg-docs/client/style/bounce.css
new file mode 100644
index 00000000..481754d5
--- /dev/null
+++ b/rpg-docs/client/style/bounce.css
@@ -0,0 +1,17 @@
+@keyframes bounce {
+ from {
+ transform: translate(0px,0px);
+ }
+ to {
+ transform: translate(0px,-16px);
+ }
+}
+
+.bounce{
+ animation-name: bounce;
+ animation-duration: 0.3s;
+ animation-direction: alternate;
+ animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
+ animation-delay: 0s;
+ animation-iteration-count: infinite;
+}
diff --git a/rpg-docs/client/views/character/characterSettings/deleteCharacterConfirmation.js b/rpg-docs/client/views/character/characterSettings/deleteCharacterConfirmation.js
index af8a64c2..fda5ba5c 100644
--- a/rpg-docs/client/views/character/characterSettings/deleteCharacterConfirmation.js
+++ b/rpg-docs/client/views/character/characterSettings/deleteCharacterConfirmation.js
@@ -10,7 +10,7 @@ Template.deleteCharacterConfirmation.helpers({
if (Template.instance().canDelete.get()) {
return "background: #d23f31; color: white;";
}
- }
+ },
});
Template.deleteCharacterConfirmation.events({
@@ -20,9 +20,7 @@ Template.deleteCharacterConfirmation.events({
},
"click #deleteButton": function(event, instance) {
if (instance.find("#nameInput").value === this.name) {
- popDialogStack();
- Router.go("/characterList");
- Characters.remove(this._id);
+ popDialogStack(true);
}
},
"click .cancelButton": function(event, instance){
diff --git a/rpg-docs/client/views/character/characterSheet.html b/rpg-docs/client/views/character/characterSheet.html
index 9fd7a65f..cc4c4d6d 100644
--- a/rpg-docs/client/views/character/characterSheet.html
+++ b/rpg-docs/client/views/character/characterSheet.html
@@ -1,7 +1,7 @@
-
+
@@ -44,17 +44,18 @@
- Stats
- Features
+ Stats
+ Features
Inventory
{{#unless hideSpellcasting}}
Spells
{{/unless}}
Persona
- Journal
+ Journal
+ {{#if newUserExperience}}{{> newUserStepper}}{{/if}}
diff --git a/rpg-docs/client/views/character/characterSheet.js b/rpg-docs/client/views/character/characterSheet.js
index 528cf42d..eaf01c6b 100644
--- a/rpg-docs/client/views/character/characterSheet.js
+++ b/rpg-docs/client/views/character/characterSheet.js
@@ -29,7 +29,7 @@ Template.characterSheet.onRendered(function() {
tabFabMenus = _.times(6, (n) =>
tabPages[n].find(".mini-holder")
);
- })
+ });
//watch this character and make sure their encumbrance is updated
//trackEncumbranceConditions(this.data._id, this);
@@ -172,6 +172,18 @@ Template.characterSheet.helpers({
var char = Characters.findOne(this._id);
return char && char.settings.hideSpellcasting;
},
+ newUserExperience: function(){
+ var char = Characters.findOne(this._id);
+ return char && char.settings.newUserExperience;
+ },
+ shouldBounce: function(tab){
+ const selected = Session.get(this._id + ".selectedTab")
+ const step = Session.get("newUserExperienceStep");
+ if (selected == tab) return false;
+ return (tab === 1 && step === 0) ||
+ (tab === 5 && step === 1) ||
+ (tab === 0 && step === 2);
+ },
});
Template.characterSheet.events({
@@ -187,6 +199,12 @@ Template.characterSheet.events({
data: this,
template: "deleteCharacterConfirmation",
element: event.currentTarget.parentElement.parentElement,
+ callback: (result) => {
+ if (result === true){
+ Router.go("/characterList");
+ Tracker.afterFlush(() => Characters.remove(this._id));
+ }
+ },
});
},
"click #shareCharacter": function(event, instance){
diff --git a/rpg-docs/client/views/character/features/featureDialog/featureDialog.html b/rpg-docs/client/views/character/features/featureDialog/featureDialog.html
index c73a988c..187e2216 100644
--- a/rpg-docs/client/views/character/features/featureDialog/featureDialog.html
+++ b/rpg-docs/client/views/character/features/featureDialog/featureDialog.html
@@ -42,9 +42,20 @@
+ {{#if showNewUserExperience}}
+ {{# infoBox}}
+
+ Features represent all the permanent things your character can do.
+
+ A feature can change a character's stats with effects,
+ or give the character proficiencies, attacks, and buffs.
+
+ Give the feature a name, and close it to continue.
+
+ {{/infoBox}}
+ {{/if}}
-
diff --git a/rpg-docs/client/views/character/features/featureDialog/featureDialog.js b/rpg-docs/client/views/character/features/featureDialog/featureDialog.js
index 5e5ce31e..ed94038b 100644
--- a/rpg-docs/client/views/character/features/featureDialog/featureDialog.js
+++ b/rpg-docs/client/views/character/features/featureDialog/featureDialog.js
@@ -47,6 +47,10 @@ Template.featureDetails.events({
});
Template.featureEdit.helpers({
+ showNewUserExperience: function(){
+ return Session.get("newUserExperienceStep") === 0 ||
+ Session.get("newUserExperienceStep") === 1;
+ },
usesSet: function(){
return _.isString(this.uses);
},
diff --git a/rpg-docs/client/views/character/features/features.html b/rpg-docs/client/views/character/features/features.html
index b7157b11..a3c6f1df 100644
--- a/rpg-docs/client/views/character/features/features.html
+++ b/rpg-docs/client/views/character/features/features.html
@@ -74,7 +74,7 @@
checked={{enabled}}
disabled={{#unless canEditCharacter charId}}true{{/unless}}>
- Feature enabled
+ {{#simpleTooltip}}Feature enabled{{/simpleTooltip}}
{{/if}}
@@ -101,11 +101,13 @@
{{/each}}
{{#if canEditCharacter _id}}
-
- Add Feature
-
+
{{/if}}
diff --git a/rpg-docs/client/views/character/features/features.js b/rpg-docs/client/views/character/features/features.js
index ad08dec6..17873a2f 100644
--- a/rpg-docs/client/views/character/features/features.js
+++ b/rpg-docs/client/views/character/features/features.js
@@ -59,6 +59,10 @@ Template.features.helpers({
hasCharacters: function(string){
return string && string.match(/\S/);
},
+ shouldFloatyButtonBounce: function(){
+ const step = Session.get("newUserExperienceStep");
+ return step === 0 && Features.find({charId: this._id}).count() <= 1;
+ },
});
Template.features.events({
diff --git a/rpg-docs/client/views/character/inventory/inventory.html b/rpg-docs/client/views/character/inventory/inventory.html
index cf823d5f..c135c6ec 100644
--- a/rpg-docs/client/views/character/inventory/inventory.html
+++ b/rpg-docs/client/views/character/inventory/inventory.html
@@ -110,12 +110,12 @@
{{round totalWeight}} lbs
-
+
-
Container carried
+ {{#simpleTooltip}} Container carried{{/simpleTooltip}}
@@ -136,21 +136,21 @@
class="addContainer"
mini>
-
New container
+ {{#simpleTooltip class="always"}} Container {{/simpleTooltip}}
-
Library item
+ {{#simpleTooltip class="always"}} Item from library {{/simpleTooltip}}
-
New item
+ {{#simpleTooltip class="always"}} Item {{/simpleTooltip}}
{{/fabMenu}}
{{/if}}
diff --git a/rpg-docs/client/views/character/journal/journal.html b/rpg-docs/client/views/character/journal/journal.html
index ca5c1c14..8632954c 100644
--- a/rpg-docs/client/views/character/journal/journal.html
+++ b/rpg-docs/client/views/character/journal/journal.html
@@ -53,7 +53,7 @@
{{#if canEditCharacter _id}}
-
+
{{/if}}
diff --git a/rpg-docs/client/views/character/journal/journal.js b/rpg-docs/client/views/character/journal/journal.js
index 959b0d15..a1cbef98 100644
--- a/rpg-docs/client/views/character/journal/journal.js
+++ b/rpg-docs/client/views/character/journal/journal.js
@@ -50,6 +50,9 @@ Template.journal.helpers({
var char = Characters.findOne(this._id, {fields: {race: 1}});
return char && char.race;
},
+ shouldRaceBounce: function(){
+ return Session.get("newUserExperienceStep") === 1;
+ },
});
Template.journal.events({
diff --git a/rpg-docs/client/views/character/journal/raceDialog/raceDialog.html b/rpg-docs/client/views/character/journal/raceDialog/raceDialog.html
index ab4c73c5..190e539c 100644
--- a/rpg-docs/client/views/character/journal/raceDialog/raceDialog.html
+++ b/rpg-docs/client/views/character/journal/raceDialog/raceDialog.html
@@ -1,11 +1,34 @@
{{#baseDialog title="Race" class=color hideColor="true" hideDelete="true" startEditing=startEditing}}
+ {{#if showNewUserExperience}}
+ {{#infoBox}}
+ {{#if stepComplete}}
+ You can add all the effects you need to represent how your race affects your character's attributes.
+ {{else}}
+ Click the edit button to edit your race and add a racial effect
+ {{/if}}
+ {{/infoBox}}
+ {{/if}}
{{race}}
{{> effectsViewList charId=charId parentId=charId parentGroup="racial"}}
{{> proficiencyViewList charId=charId parentId=charId parentGroup="racial"}}
{{else}}
+ {{#if showNewUserExperience}}
+ {{#infoBox}}
+ {{#if stepComplete}}
+ You can add all the effects you need to represent how your race affects your character's attributes.
+ {{else}}
+
+ Add an effect with the following options:
+ Attribute: stats > speed
+ Operation: Base Value
+ Value: 30 (might be different for some races)
+
+ {{/if}}
+ {{/infoBox}}
+ {{/if}}
{{> effectsEditList parentId=charId parentCollection="Characters" charId=charId parentGroup="racial"}}
{{> proficiencyEditList parentId=charId parentCollection="Characters" charId=charId parentGroup="racial"}}
diff --git a/rpg-docs/client/views/character/journal/raceDialog/raceDialog.js b/rpg-docs/client/views/character/journal/raceDialog/raceDialog.js
index 25032676..63553e8a 100644
--- a/rpg-docs/client/views/character/journal/raceDialog/raceDialog.js
+++ b/rpg-docs/client/views/character/journal/raceDialog/raceDialog.js
@@ -19,4 +19,10 @@ Template.raceDialog.helpers({
var char = Characters.findOne(this.charId, {fields: {color: 1}});
if (char) return getColorClass(char.color);
},
+ stepComplete: function(){
+ return Session.get("newUserExperienceStep") > 1;
+ },
+ showNewUserExperience: function(){
+ return Session.get("newUserExperienceStep") >= 1;
+ },
});
diff --git a/rpg-docs/client/views/character/newUserStepper/newUserStepper.css b/rpg-docs/client/views/character/newUserStepper/newUserStepper.css
new file mode 100644
index 00000000..b6e01f44
--- /dev/null
+++ b/rpg-docs/client/views/character/newUserStepper/newUserStepper.css
@@ -0,0 +1,12 @@
+.newUserStepper {
+ height: 180px !important;
+}
+
+.newUserStepper paper-step .invalid-step-message {
+ color: #d13b2e;
+ visibility: hidden;
+}
+
+.newUserStepper paper-step[invalid] .invalid-step-message {
+ visibility: visible;
+}
diff --git a/rpg-docs/client/views/character/newUserStepper/newUserStepper.html b/rpg-docs/client/views/character/newUserStepper/newUserStepper.html
new file mode 100644
index 00000000..e4cce0e4
--- /dev/null
+++ b/rpg-docs/client/views/character/newUserStepper/newUserStepper.html
@@ -0,0 +1,29 @@
+
+
+
+
+ To get started, add a feature
+
+
+
+
+ Add a racial effect to set your speed
+
+
+
+
+ View your speed stat
+
+
+
+ Done! If you get stuck, be sure to check out the guide , or ask for help using the feedback form
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/client/views/character/newUserStepper/newUserStepper.js b/rpg-docs/client/views/character/newUserStepper/newUserStepper.js
new file mode 100644
index 00000000..c45acd9a
--- /dev/null
+++ b/rpg-docs/client/views/character/newUserStepper/newUserStepper.js
@@ -0,0 +1,58 @@
+Template.newUserStepper.onRendered(function(){
+ Session.set("newUserExperienceStep", 0);
+ let stepper = this.find("paper-stepper");
+ _.defer(() => {
+ this.autorun((c) => {
+ var step = Session.get("newUserExperienceStep");
+ var hasFeatures = Features.find({charId: this.data._id}).count() > 1;
+ if (step === 0 && hasFeatures){
+ stepper.continue();
+ }
+ });
+ this.autorun((c) => {
+ var step = Session.get("newUserExperienceStep");
+ var hasEffect = !!Effects.find({
+ charId: this.data._id,
+ stat: "speed",
+ "parent.group": "racial",
+ operation: "base",
+ value: {$gt: 0},
+ }).count();
+ if (step === 1 && hasEffect){
+ stepper.continue();
+ }
+ });
+ this.autorun((c) => {
+ var step = Session.get("newUserExperienceStep");
+ if (step === 2 && Session.get("viewedSpeed")){
+ Session.set("viewedSpeed", undefined);
+ stepper.continue();
+ }
+ });
+ });
+});
+
+Template.newUserStepper.events({
+ "paper-stepper-progressed paper-stepper": function(event, template){
+ const step = template.find("paper-stepper").selected;
+ Session.set("newUserExperienceStep", step);
+ },
+ "paper-stepper-completed paper-stepper": function(event, template){
+ Session.set("newUserExperienceStep", undefined);
+ Session.set("showNewUserExperience", undefined);
+ Characters.update(this._id, {$unset: {"settings.newUserExperience": 1}});
+ },
+ "click .done-button": function(event, instance){
+ const stepper = instance.find("paper-stepper");
+ stepper.continue();
+ },
+});
+
+Template.stats.events({
+ "click .stat-card": function(event, instance){
+ var step = Session.get("newUserExperienceStep");
+ if (this.stat === "speed" && step === 2){
+ Session.set("viewedSpeed", true);
+ }
+ }
+});
diff --git a/rpg-docs/client/views/character/spells/spells.html b/rpg-docs/client/views/character/spells/spells.html
index b5011f82..c992daa4 100644
--- a/rpg-docs/client/views/character/spells/spells.html
+++ b/rpg-docs/client/views/character/spells/spells.html
@@ -53,22 +53,22 @@
{{numPrepared}} / {{evaluate charId maxPrepared}}
{{/if}}
-
-
- Done
-
+
+ {{#simpleTooltip}}
+ Done
+ {{/simpleTooltip}}
{{else}}
-
-
- Change prepared spells
-
+
+ {{#simpleTooltip}}
+ Change prepared spells
+ {{/simpleTooltip}}
{{/if}}
@@ -124,32 +124,31 @@
{{#if canEditCharacter _id}}
{{#fabMenu}}
-
- New spell list
-
-
+ {{#simpleTooltip class="always"}}
+ Spell list
+ {{/simpleTooltip}}
-
- Spell library
-
+ {{#simpleTooltip class="always"}}
+ Spell from library
+ {{/simpleTooltip}}
-
- New spell
-
+ {{#simpleTooltip class="always"}}
+ Spell
+ {{/simpleTooltip}}
{{/fabMenu}}
{{/if}}
diff --git a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.html b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.html
index ec9f313f..7d33a489 100644
--- a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.html
+++ b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.html
@@ -6,6 +6,16 @@
+ {{#if showNewUserExperience}}
+ {{#infoBox}}
+
+ This dialog shows how your speed is set by the effect you added to your character's race.
+
+
+ In DiceCloud you don't change stats directly, rather you add effects which impact your stats in different ways. This way, you can always tell where your stats came from, and how they got to their current value.
+
+ {{/infoBox}}
+ {{/if}}
{{attributeValue}}
diff --git a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js
index 1e2bf9a3..5c145202 100644
--- a/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js
+++ b/rpg-docs/client/views/character/stats/attributeDialog/attributeDialog.js
@@ -157,4 +157,9 @@ Template.attributeDialogView.helpers({
statValue: function(){
return evaluateEffect(this.charId, this);
},
+ showNewUserExperience: function(){
+ if (this.statName === "speed"){
+ return Session.get("newUserExperienceStep") >= 2;
+ }
+ },
});
diff --git a/rpg-docs/client/views/character/stats/statCard/statCard.html b/rpg-docs/client/views/character/stats/statCard/statCard.html
index bf3ef3f7..5ff0a1cf 100644
--- a/rpg-docs/client/views/character/stats/statCard/statCard.html
+++ b/rpg-docs/client/views/character/stats/statCard/statCard.html
@@ -1,6 +1,6 @@
-
+
{{#if isSkill}}
{{prefix}}{{skillMod}}
diff --git a/rpg-docs/client/views/character/stats/stats.html b/rpg-docs/client/views/character/stats/stats.html
index e9c8736e..6994f18c 100644
--- a/rpg-docs/client/views/character/stats/stats.html
+++ b/rpg-docs/client/views/character/stats/stats.html
@@ -15,7 +15,7 @@
{{> statCard stat="armor" name="Armor Class" color="teal"}}
- {{> statCard stat="speed" name="Speed" color="teal"}}
+ {{> statCard stat="speed" name="Speed" color="teal" bounce=shouldSpeedBounce}}
{{> statCard stat="initiative" name="Initiative" color="indigo" isSkill="true"}}
diff --git a/rpg-docs/client/views/character/stats/stats.js b/rpg-docs/client/views/character/stats/stats.js
index 365136b8..528575be 100644
--- a/rpg-docs/client/views/character/stats/stats.js
+++ b/rpg-docs/client/views/character/stats/stats.js
@@ -8,6 +8,10 @@ Template.stats.helpers({
};
return Buffs.find(selector);
},
+ // New user experience
+ shouldSpeedBounce: function(){
+ return Session.get("newUserExperienceStep") === 2;
+ },
})
Template.stats.events({
@@ -84,8 +88,7 @@ Template.stats.events({
callback: (result) => {
if (!result) {
return;
- }
- else Meteor.call("giveCondition", this._id, result)
+ } else Meteor.call("giveCondition", this._id, result)
},
//returnElement: () => $(`[data-id='${itemId}']`).get(0),
})
diff --git a/rpg-docs/client/views/characterList/characterList.html b/rpg-docs/client/views/characterList/characterList.html
index a5b00dd2..94962a5b 100644
--- a/rpg-docs/client/views/characterList/characterList.html
+++ b/rpg-docs/client/views/characterList/characterList.html
@@ -49,14 +49,14 @@
class="addParty"
mini>
-
New Party
+ {{#simpleTooltip class="always"}} New Party {{/simpleTooltip}}
-
New Character
+ {{#simpleTooltip class="always"}} New Character {{/simpleTooltip}}
{{/fabMenu}}
diff --git a/rpg-docs/client/views/paperTemplates/infoBox/infoBox.css b/rpg-docs/client/views/paperTemplates/infoBox/infoBox.css
new file mode 100644
index 00000000..933dc37c
--- /dev/null
+++ b/rpg-docs/client/views/paperTemplates/infoBox/infoBox.css
@@ -0,0 +1,15 @@
+.infoBox iron-icon {
+ color: #747474;
+ color: rgba(0,0,0,0.54);
+ height: 32px;
+ width: 32px;
+ margin-right: 12px;
+}
+
+.infoBox > div > p {
+ margin: 0;
+}
+
+.infoBox > div > p + p {
+ margin-top: 10px;
+}
diff --git a/rpg-docs/client/views/paperTemplates/infoBox/infoBox.html b/rpg-docs/client/views/paperTemplates/infoBox/infoBox.html
new file mode 100644
index 00000000..bc86be2d
--- /dev/null
+++ b/rpg-docs/client/views/paperTemplates/infoBox/infoBox.html
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+ {{> Template.contentBlock}}
+
+
+
diff --git a/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html b/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html
index 9cd48f6b..08c15e04 100644
--- a/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html
+++ b/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html
@@ -25,7 +25,6 @@
{{/ simpleTooltip}}
-
{{# simpleTooltip}}
This field accepts formulae in {curly brackets}
diff --git a/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.css b/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.css
index 39bb2cc3..67822bb6 100644
--- a/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.css
+++ b/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.css
@@ -1,4 +1,18 @@
-.simple-tooltip:hover .tooltip {
+.simple-tooltip {
+ pointer-events: none;
+}
+
+.simple-tooltip:active {
+ pointer-events: none;
+}
+
+/* Show the tooltip if a older sibling is hovered */
+*:hover ~ .simple-tooltip > .tooltip {
+ opacity: 0.9;
+}
+
+/* Show the tooltip if parent is hovered */
+*:hover > .simple-tooltip > .tooltip {
opacity: 0.9;
}
@@ -16,3 +30,7 @@
pointer-events: none;
white-space: nowrap;
}
+
+.tooltip.always {
+ opacity: 0.9;
+}
diff --git a/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.html b/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.html
index 961f80f4..f364ba71 100644
--- a/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.html
+++ b/rpg-docs/client/views/paperTemplates/simpleTooltip/simpleTooltip.html
@@ -1,6 +1,6 @@
-
-
diff --git a/rpg-docs/config.vulcanize b/rpg-docs/config.vulcanize
index 0e27de89..fbdd8a9c 100644
--- a/rpg-docs/config.vulcanize
+++ b/rpg-docs/config.vulcanize
@@ -49,6 +49,7 @@
"/custom_components/dicecloud-wrapper/dicecloud-wrapper.html",
"/custom_components/paper-checkbox/paper-checkbox.html",
"/custom_components/paper-diff-slider/paper-diff-slider.html",
+ "/custom_components/paper-stepper/paper-stepper.html",
"/custom_components/app-theme.html"
]
}
diff --git a/rpg-docs/lib/constants/useraccountsConfig.js b/rpg-docs/lib/constants/useraccountsConfig.js
index 297ede35..6d4879bc 100644
--- a/rpg-docs/lib/constants/useraccountsConfig.js
+++ b/rpg-docs/lib/constants/useraccountsConfig.js
@@ -2,7 +2,7 @@ AccountsTemplates.configure({
//behaviour
confirmPassword: true,
enablePasswordChange: true,
- enforceEmailVerification: true,
+ enforceEmailVerification: false,
overrideLoginErrors: false,
sendVerificationEmail: true,
lowercaseUsername: true,
@@ -21,35 +21,35 @@ AccountsTemplates.configure({
AccountsTemplates.configureRoute("changePwd", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
AccountsTemplates.configureRoute("enrollAccount", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
AccountsTemplates.configureRoute("forgotPwd", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
AccountsTemplates.configureRoute("resetPwd", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
AccountsTemplates.configureRoute("signIn", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
AccountsTemplates.configureRoute("signUp", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
AccountsTemplates.configureRoute("verifyEmail", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
AccountsTemplates.configureRoute("resendVerificationEmail", {
template: "titledAtForm",
- layoutTemplate: 'layout',
+ layoutTemplate: "layout",
});
if (Meteor.isServer){
diff --git a/rpg-docs/public/custom_components/paper-stepper/animations/fade-in-slide-from-left-animation.html b/rpg-docs/public/custom_components/paper-stepper/animations/fade-in-slide-from-left-animation.html
new file mode 100644
index 00000000..860a4381
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/animations/fade-in-slide-from-left-animation.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/animations/fade-in-slide-from-right-animation.html b/rpg-docs/public/custom_components/paper-stepper/animations/fade-in-slide-from-right-animation.html
new file mode 100644
index 00000000..03998381
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/animations/fade-in-slide-from-right-animation.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/animations/fade-out-slide-left-animation.html b/rpg-docs/public/custom_components/paper-stepper/animations/fade-out-slide-left-animation.html
new file mode 100644
index 00000000..48f48ea5
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/animations/fade-out-slide-left-animation.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/animations/fade-out-slide-right-animation.html b/rpg-docs/public/custom_components/paper-stepper/animations/fade-out-slide-right-animation.html
new file mode 100644
index 00000000..90ffd990
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/animations/fade-out-slide-right-animation.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/bower.json b/rpg-docs/public/custom_components/paper-stepper/bower.json
new file mode 100644
index 00000000..1b410d4e
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/bower.json
@@ -0,0 +1,48 @@
+{
+ "name": "paper-stepper",
+ "version": "2.0-beta.5",
+ "authors": [
+ "Zecat
"
+ ],
+ "description": "Material paper-stepper element.",
+ "keywords": [
+ "web-component",
+ "polymer",
+ "seed"
+ ],
+ "main": "paper-stepper.html",
+ "license": "http://polymer.github.io/LICENSE.txt",
+ "homepage": "https://github.com/zecat/paper-stepper/",
+ "ignore": [
+ "/.*",
+ "/test/"
+ ],
+ "dependencies": {
+ "polymer": "Polymer/polymer#^1.2.0",
+ "paper-button": "PolymerElements/paper-button#^1.0.11",
+ "iron-icons": "PolymerElements/iron-icons#^1.1.3",
+ "paper-styles": "PolymerElements/paper-styles#^1.1.4",
+ "paper-ripple": "PolymerElements/paper-ripple#^1.0.5",
+ "iron-selector": "PolymerElements/iron-selector#^1.3.0",
+ "iron-icon": "PolymerElements/iron-icon#^1.0.8",
+ "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.3.1",
+ "neon-animation": "PolymerElements/neon-animation#^1.1.1",
+ "iron-validatable-behavior": "PolymerElements/iron-validatable-behavior#^1.0.5",
+ "iron-collapse": "PolymerElements/iron-collapse#^1.2.0"
+ },
+ "devDependencies": {
+ "paper-input": "PolymerElements/paper-input#^1.1.10",
+ "paper-material": "PolymerElements/paper-material#^1.0.6",
+ "iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
+ "web-component-tester": "*",
+ "iron-form": "PolymerElements/iron-form#^1.0.16",
+ "iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.2.2",
+ "paper-toggle-button": "PolymerElements/paper-toggle-button#^1.2.0",
+ "app-layout": "PolymerElements/app-layout#^0.10.2",
+ "paper-menu": "PolymerElements/paper-menu#^1.2.2",
+ "iron-scroll-spy": "Zecat/iron-scroll-spy#^2.1.0",
+ "paper-item": "PolymerElements/paper-item#^1.2.1",
+ "paper-toast": "PolymerElements/paper-toast#^1.3.0",
+ "paper-checkbox": "PolymerElements/paper-checkbox#^1.4.0"
+ }
+}
diff --git a/rpg-docs/public/custom_components/paper-stepper/hero.svg b/rpg-docs/public/custom_components/paper-stepper/hero.svg
new file mode 100644
index 00000000..3e1081d1
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/hero.svg
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/paper-step.html b/rpg-docs/public/custom_components/paper-stepper/paper-step.html
new file mode 100644
index 00000000..fba7e5e7
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/paper-step.html
@@ -0,0 +1,424 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/paper-stepper.html b/rpg-docs/public/custom_components/paper-stepper/paper-stepper.html
new file mode 100644
index 00000000..c00c4fd7
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/paper-stepper.html
@@ -0,0 +1,735 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/step-horizontal-label.html b/rpg-docs/public/custom_components/paper-stepper/step-horizontal-label.html
new file mode 100644
index 00000000..04907f41
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/step-horizontal-label.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[label]]
+
+ [[stepperData.optionalText]]
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/step-label-behavior.html b/rpg-docs/public/custom_components/paper-stepper/step-label-behavior.html
new file mode 100644
index 00000000..ed995ee7
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/step-label-behavior.html
@@ -0,0 +1,58 @@
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/step-label-shared-styles.html b/rpg-docs/public/custom_components/paper-stepper/step-label-shared-styles.html
new file mode 100644
index 00000000..4a1e1d60
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/step-label-shared-styles.html
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rpg-docs/public/custom_components/paper-stepper/step-vertical.html b/rpg-docs/public/custom_components/paper-stepper/step-vertical.html
new file mode 100644
index 00000000..9eb8530b
--- /dev/null
+++ b/rpg-docs/public/custom_components/paper-stepper/step-vertical.html
@@ -0,0 +1,177 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[label]]
+
+ [[stepperData.optionalText]]
+
+
+
+
+
+
+
+
+
+