_progress.scss 908 B

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