From d42c8b528eb595101954f478e0024e3f079f6fbf Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 22 Mar 2017 19:19:26 +0100 Subject: first implementation of fun stats site --- templates/assets/bootstrap/scss/_progress.scss | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/assets/bootstrap/scss/_progress.scss (limited to 'templates/assets/bootstrap/scss/_progress.scss') diff --git a/templates/assets/bootstrap/scss/_progress.scss b/templates/assets/bootstrap/scss/_progress.scss new file mode 100644 index 0000000..ccca51e --- /dev/null +++ b/templates/assets/bootstrap/scss/_progress.scss @@ -0,0 +1,30 @@ +@keyframes progress-bar-stripes { + from { background-position: $progress-height 0; } + to { background-position: 0 0; } +} + +.progress { + display: flex; + overflow: hidden; // force rounded corners by cropping it + font-size: $progress-font-size; + line-height: $progress-height; + text-align: center; + background-color: $progress-bg; + @include border-radius($progress-border-radius); +} + +.progress-bar { + height: $progress-height; + line-height: $progress-height; + color: $progress-bar-color; + background-color: $progress-bar-bg; +} + +.progress-bar-striped { + @include gradient-striped(); + background-size: $progress-height $progress-height; +} + +.progress-bar-animated { + animation: progress-bar-stripes $progress-bar-animation-timing; +} -- cgit v1.3.1