Mercurial > hg > cmmr2012-drupal-site
comparison core/themes/classy/css/components/progress.css @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
12 background-image: -webkit-linear-gradient(#e7e7df, #f0f0f0); | 12 background-image: -webkit-linear-gradient(#e7e7df, #f0f0f0); |
13 background-image: linear-gradient(#e7e7df, #f0f0f0); | 13 background-image: linear-gradient(#e7e7df, #f0f0f0); |
14 box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.16); | 14 box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.16); |
15 } | 15 } |
16 .progress__bar { | 16 .progress__bar { |
17 height: 16px; | |
18 margin-top: -1px; | |
19 margin-left: -1px; /* LTR */ | |
20 padding: 0 1px; | |
21 -webkit-transition: width 0.5s ease-out; | |
22 transition: width 0.5s ease-out; | |
23 -webkit-animation: animate-stripes 3s linear infinite; | |
24 -moz-animation: animate-stripes 3s linear infinite; | |
17 border: 1px #07629a solid; | 25 border: 1px #07629a solid; |
26 border-radius: 10em; | |
18 background: #057ec9; | 27 background: #057ec9; |
19 background-image: | 28 background-image: |
20 -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), | 29 -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), |
21 -webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%); | 30 -webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%); |
22 background-image: | 31 background-image: |
23 linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), | 32 linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), |
24 linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%); | 33 linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%); |
25 background-size: 40px 40px; | 34 background-size: 40px 40px; |
26 margin-top: -1px; | |
27 margin-left: -1px; /* LTR */ | |
28 padding: 0 1px; | |
29 height: 16px; | |
30 border-radius: 10em; | |
31 -webkit-animation: animate-stripes 3s linear infinite; | |
32 -moz-animation: animate-stripes 3s linear infinite; | |
33 -webkit-transition: width 0.5s ease-out; | |
34 transition: width 0.5s ease-out; | |
35 } | 35 } |
36 [dir="rtl"] .progress__bar { | 36 [dir="rtl"] .progress__bar { |
37 margin-right: -1px; | |
37 margin-left: 0; | 38 margin-left: 0; |
38 margin-right: -1px; | |
39 animation-direction: reverse; | |
40 -webkit-animation-direction: reverse; | 39 -webkit-animation-direction: reverse; |
41 -moz-animation-direction: reverse; | 40 -moz-animation-direction: reverse; |
41 animation-direction: reverse; | |
42 } | 42 } |
43 | 43 |
44 @media screen and (prefers-reduced-motion: reduce) { | 44 @media screen and (prefers-reduced-motion: reduce) { |
45 .progress__bar { | 45 .progress__bar { |
46 -webkit-transition: none; | |
47 transition: none; | |
46 -webkit-animation: none; | 48 -webkit-animation: none; |
47 -moz-animation: none; | 49 -moz-animation: none; |
48 -webkit-transition: none; | |
49 transition: none; | |
50 } | 50 } |
51 } | 51 } |
52 | 52 |
53 /** | 53 /** |
54 * Progress bar animations. | 54 * Progress bar animations. |