2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

rewrite striped and active to deprecate the parent selectors, change the docs

This commit is contained in:
Mark Otto
2014-06-18 22:35:05 -07:00
parent d4eb5552b3
commit 99f176e7ec
11 changed files with 45 additions and 33 deletions
+9 -1
View File
@@ -41,6 +41,10 @@
}
// Striped bars
//
// `.progress-striped .progress-bar` is deprecated as of v3.2 in favor of the
// `.progress-bar-striped` class, which you just add to an existing
// `.progress-bar`.
.progress-striped .progress-bar,
.progress-bar-striped {
#gradient > .striped();
@@ -48,7 +52,11 @@
}
// Call animation for the active one
.progress.active .progress-bar {
//
// `.progress.active .progress-bar` is deprecated as of v3.2 in favor of the
// `.progress-bar.active` approach.
.progress.active .progress-bar,
.progress-bar.active {
.animation(progress-bar-stripes 2s linear infinite);
}