help button common for all pages if necessary

stable
Xavier Julián 2014-08-27 10:46:20 +02:00
parent 142a592042
commit 55260c917a
5 changed files with 16 additions and 12 deletions

View File

@ -16,7 +16,8 @@ block content
section.main.admin-roles
header
include views/components/mainTitle
a.icon.icon-idea(href="", title="About User Story (US) Points: Most people start off with 1 point = 1 man day of effort. If you're new to scrum & agile start there. After the first week if you and your team expected to accomplish 25 points (i.e. 5 people 5 full days) and only got half done, learn from your findings, and adjust expectations for the following week. By doing so you'll learn your teams true 'velocity.'")
- var helpText = "About User Story (US) Points: Most people start off with 1 point = 1 man day of effort. If you're new to scrum & agile start there. After the first week if you and your team expected to accomplish 25 points (i.e. 5 people 5 full days) and only got half done, learn from your findings, and adjust expectations for the following week. By doing so you'll learn your teams true 'velocity.'"
include views/components/help
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")

View File

@ -0,0 +1,2 @@
//Defined variable 'helpText' in parent template
a.icon.icon-idea.help(href="", title=helpText)

View File

@ -0,0 +1,11 @@
a.help {
@include transition(color .2s linear);
color: $gray-light;
position: absolute;
right: 0;
top: 0;
&:hover {
@include transition(color .2s linear);
color: $green-taiga;
}
}

View File

@ -2,17 +2,6 @@
header {
position: relative;
}
.icon-idea {
@include transition(color .2s linear);
position: absolute;
top: 0;
right: 0;
color: $gray-light;
&:hover {
@include transition(color .2s linear);
color: $green-taiga;
}
}
}
.project-values-options {

View File

@ -44,6 +44,7 @@ $prefix-for-spec: true;
@import 'components/select-color';
@import 'components/loader';
@import 'components/spinner';
@import 'components/help';
//#################################################
// Modules