Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

progress.module.css

Same filename in this branch
  1. 11.1.x core/themes/stable9/css/core/components/progress.module.css

Progress behavior.

See also

progress.js

File

core/misc/components/progress.module.css

View source
  1. /**
  2. * @file
  3. * Progress behavior.
  4. *
  5. * @see progress.js
  6. */
  7. .progress {
  8. position: relative;
  9. }
  10. .progress__track {
  11. min-width: 100px;
  12. max-width: 100%;
  13. height: 16px;
  14. margin-top: 5px;
  15. border: 1px solid;
  16. background-color: #fff;
  17. }
  18. .progress__bar {
  19. width: 3%;
  20. min-width: 3%;
  21. max-width: 100%;
  22. height: 16px;
  23. background-color: #000;
  24. }
  25. .progress__description,
  26. .progress__percentage {
  27. overflow: hidden;
  28. margin-top: 0.2em;
  29. color: #555;
  30. font-size: 0.875em;
  31. }
  32. .progress__description {
  33. float: left; /* LTR */
  34. }
  35. [dir="rtl"] .progress__description {
  36. float: right;
  37. }
  38. .progress__percentage {
  39. float: right; /* LTR */
  40. }
  41. [dir="rtl"] .progress__percentage {
  42. float: left;
  43. }
  44. .progress--small .progress__track {
  45. height: 7px;
  46. }
  47. .progress--small .progress__bar {
  48. height: 7px;
  49. background-size: 20px 20px;
  50. }
RSS feed
Powered by Drupal