_ui.progress.scss 720 B

123456789101112131415161718192021222324252627282930313233
  1. @charset "utf-8";
  2. /*
  3. * @file: 进度条基础UI组件
  4. * @update: 2015-06-03 16:21:04
  5. */
  6. /*
  7. * 默认面板
  8. * @base
  9. */
  10. $progress-height: 24px;
  11. .ui-progress {
  12. overflow: hidden;
  13. height: $progress-height;
  14. background-color: #f5f5f5;
  15. -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  16. box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  17. }
  18. .ui-progress__bar {
  19. float: left;
  20. width: 0;
  21. height: 100%;
  22. line-height: $progress-height;
  23. text-align: center;
  24. color: #fff;
  25. background-color: #0097d6;
  26. -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  27. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  28. -webkit-transition: width .6s ease;
  29. transition: width .6s ease;
  30. }