-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6fc61f1
commit 0890539
Showing
2 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,4 @@ coverage | |
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
src/assets/style.scss | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@mixin gradient-striped($color: rgba(255, 255, 255, 0.15), $angle: 45deg) { | ||
background-image: -webkit-linear-gradient( | ||
$angle, | ||
$color 25%, | ||
transparent 25%, | ||
transparent 50%, | ||
$color 50%, | ||
$color 75%, | ||
transparent 75%, | ||
transparent | ||
); | ||
background-image: -o-linear-gradient( | ||
$angle, | ||
$color 25%, | ||
transparent 25%, | ||
transparent 50%, | ||
$color 50%, | ||
$color 75%, | ||
transparent 75%, | ||
transparent | ||
); | ||
background-image: linear-gradient( | ||
$angle, | ||
$color 25%, | ||
transparent 25%, | ||
transparent 50%, | ||
$color 50%, | ||
$color 75%, | ||
transparent 75%, | ||
transparent | ||
); | ||
} | ||
|
||
@-webkit-keyframes progress-bar-stripes { | ||
from { | ||
background-position: 40px 0; | ||
} | ||
to { | ||
background-position: 0 0; | ||
} | ||
} | ||
|
||
@keyframes progress-bar-stripes { | ||
from { | ||
background-position: 40px 0; | ||
} | ||
to { | ||
background-position: 0 0; | ||
} | ||
} | ||
|
||
@mixin animation($animation) { | ||
-webkit-animation: $animation; | ||
-o-animation: $animation; | ||
animation: $animation; | ||
} | ||
.progress.active .progress-bar { | ||
@include animation(progress-bar-stripes 2s linear infinite); | ||
} | ||
.progress-striped .progress-bar { | ||
@include gradient-striped; | ||
background-size: 40px 40px; | ||
} |