summaryrefslogtreecommitdiff
path: root/templates/assets/bootstrap/scss/_progress.scss
diff options
context:
space:
mode:
Diffstat (limited to 'templates/assets/bootstrap/scss/_progress.scss')
-rw-r--r--templates/assets/bootstrap/scss/_progress.scss30
1 files changed, 30 insertions, 0 deletions
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;
+}