progress.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/progress.css
- 10 core/themes/olivero/css/components/progress.css
- 10 core/themes/claro/css/components/progress.css
- 10 core/themes/starterkit_theme/css/components/progress.css
- 9 core/profiles/demo_umami/themes/umami/css/classy/components/progress.css
- 9 core/themes/olivero/css/components/progress.css
- 9 core/themes/seven/css/classy/components/progress.css
- 9 core/themes/claro/css/components/progress.css
- 9 core/themes/bartik/css/classy/components/progress.css
- 9 core/themes/starterkit_theme/css/components/progress.css
- 9 core/themes/classy/css/components/progress.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/progress.css
- 8.9.x core/themes/seven/css/classy/components/progress.css
- 8.9.x core/themes/claro/css/components/progress.css
- 8.9.x core/themes/bartik/css/classy/components/progress.css
- 8.9.x core/themes/classy/css/components/progress.css
Visual styles for progress bar.
See also
progress.js
File
-
core/
profiles/ demo_umami/ themes/ umami/ css/ classy/ components/ progress.css
View source
- /**
- * @file
- * Visual styles for progress bar.
- *
- * @see progress.js
- */
-
- .progress__track {
- border-color: #b3b3b3;
- border-radius: 10em;
- background-color: #f2f1eb;
- background-image: linear-gradient(#e7e7df, #f0f0f0);
- box-shadow: inset 0 1px 3px hsl(0, 0%, 0%, 0.16);
- }
- .progress__bar {
- height: 16px;
- margin-top: -1px;
- margin-left: -1px; /* LTR */
- padding: 0 1px;
- -webkit-transition: width 0.5s ease-out;
- transition: width 0.5s ease-out;
- -webkit-animation: animate-stripes 3s linear infinite;
- border: 1px #07629a solid;
- border-radius: 10em;
- background: #057ec9;
- background-image: linear-gradient(to bottom, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0.15)), linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
- background-size: 40px 40px;
- }
- [dir="rtl"] .progress__bar {
- margin-right: -1px;
- margin-left: 0;
- -webkit-animation-direction: reverse;
- animation-direction: reverse;
- }
-
- @media screen and (prefers-reduced-motion: reduce) {
- .progress__bar {
- -webkit-transition: none;
- transition: none;
- -webkit-animation: none;
- }
- }
-
- /**
- * Progress bar animations.
- */
- @keyframes animate-stripes {
- 0% {
- background-position:
- 0 0,
- 0 0;
- }
- 100% {
- background-position:
- 0 0,
- -80px 0;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.