ProgressBar.less 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* ProgressBar
  2. *
  3. * Styling of the ProgressBar consists of the following:
  4. *
  5. * 1. the base progress bar
  6. * .dijitProgressBar - sets margins for the progress bar
  7. *
  8. * 2. the empty bar
  9. * .dijitProgressBarEmpty - sets background img and color for bar or parts of bar that are not finished yet
  10. * Also sets border color for whole bar
  11. *
  12. * 3. tile mode
  13. * .dijitProgressBarTile
  14. * inner container for finished portion when in 'tile' (image) mode
  15. *
  16. * 4. full bar mode
  17. * .dijitProgressBarFull
  18. * adds border to right side of the filled portion of bar
  19. *
  20. * 5. text for label of bar
  21. * .dijitProgressBarLabel - sets text color, which must contrast with both the "Empty" and "Full" parts.
  22. *
  23. * 6. indeterminate mode
  24. * .dijitProgressBarIndeterminate .dijitProgressBarTile
  25. * sets animated gif for the progress bar in 'indeterminate' mode
  26. */
  27. @import "variables";
  28. .claro .dijitProgressBar {
  29. margin:2px 0 2px 0;
  30. }
  31. .claro .dijitProgressBarEmpty {
  32. /* outer container and background of the bar that's not finished yet*/
  33. background: @progressbar-empty-background-color url("images/progressBarEmpty.png") repeat-none left;
  34. border-color: @progressbar-border-color;
  35. }
  36. .claro .dijitProgressBarTile {
  37. /* inner container for finished portion when in 'tile' (image) mode */
  38. background: @progressbar-full-background-color url("images/progressBarFull.png") repeat-x top;
  39. }
  40. .dj_ie6 .claro .dijitProgressBarTile {
  41. background-image: none;
  42. }
  43. .claro .dijitProgressBarFull {
  44. border-right:1px solid @progressbar-border-color;
  45. }
  46. .claro .dijitProgressBarLabel {
  47. /* Set to a color that contrasts with both the "Empty" and "Full" parts. */
  48. color: @progressbar-text-color;
  49. }
  50. .claro .dijitProgressBarIndeterminate .dijitProgressBarTile {
  51. /* use an animated gif for the progress bar in 'indeterminate' mode;
  52. background-color won't appear unless user has turned off background images */
  53. background: @bar-background-color url("images/progressBarAnim.gif") repeat-x top;
  54. }