_progress.scss 864 B

12345678910111213141516171819202122232425262728293031323334
  1. @keyframes progress-bar-stripes {
  2. from { background-position: $progress-height 0; }
  3. to { background-position: 0 0; }
  4. }
  5. .progress {
  6. display: flex;
  7. height: $progress-height;
  8. overflow: hidden; // force rounded corners by cropping it
  9. font-size: $progress-font-size;
  10. background-color: $progress-bg;
  11. @include border-radius($progress-border-radius);
  12. @include box-shadow($progress-box-shadow);
  13. }
  14. .progress-bar {
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: center;
  18. color: $progress-bar-color;
  19. text-align: center;
  20. white-space: nowrap;
  21. background-color: $progress-bar-bg;
  22. @include transition($progress-bar-transition);
  23. }
  24. .progress-bar-striped {
  25. @include gradient-striped();
  26. background-size: $progress-height $progress-height;
  27. }
  28. .progress-bar-animated {
  29. animation: progress-bar-stripes $progress-bar-animation-timing;
  30. }