Adding progress indicator

This commit is contained in:
Jeff Avallone
2014-12-15 14:20:04 -05:00
parent f4ea4d6da6
commit dea4011530
5 changed files with 67 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
$green: #bada55;
$dark-green: #89a20c;
$dark-green: shade($green, 25%);
$light-green: tint($green, 25%);
$gray: #6b6659;
$tan: #cbcbba;
$red: #b3151a;
+28 -1
View File
@@ -4,6 +4,7 @@
@import 'compass/typography/lists/inline-block-list';
@import 'compass/typography/vertical_rhythm';
@import 'compass/css3/box-shadow';
@import 'compass/css3/border-radius';
@import 'compass/css3/user-interface';
@import 'compass/css3/animation';
@import 'compass/css3/transform';
@@ -163,7 +164,7 @@ header {
display: inline-block;
position: absolute;
border: 3px solid $green;
border-radius: 50%;
@include border-radius(50%);
@include animation(bounce 2.0s infinite ease-in-out);
}
@@ -192,6 +193,32 @@ header {
}
}
#progress {
width: rhythm(20);
height: rhythm(1/2);
border: 1px solid $dark-green;
overflow: hidden;
margin: 0 auto;
margin-top: rhythm(1);
div {
background: $green;
@include background-image(linear-gradient(
-45deg,
$green 25%,
$light-green 25%,
$light-green 50%,
$green 50%,
$green 75%,
$light-green 75%,
$light-green 100%
));
background-size: rhythm(2) rhythm(2);
background-repeat: repeat-x;
height: 100%;
}
}
#error {
background: $red;
color: $white;