comparison core/themes/classy/css/components/progress.css @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 1fec387a4317
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 /**
2 * @file
3 * Visual styles for progress bar.
4 *
5 * @see progress.js
6 */
7
8 .progress__track {
9 border-color: #b3b3b3;
10 border-radius: 10em;
11 background-color: #f2f1eb;
12 background-image: -webkit-linear-gradient(#e7e7df, #f0f0f0);
13 background-image: linear-gradient(#e7e7df, #f0f0f0);
14 box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.16);
15 }
16 .progress__bar {
17 border: 1px #07629a solid;
18 background: #057ec9;
19 background-image:
20 -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%);
22 background-image:
23 -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
24 -webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
25 background-image:
26 linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
27 linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
28 background-size: 40px 40px;
29 margin-top: -1px;
30 margin-left: -1px; /* LTR */
31 padding: 0 1px;
32 height: 16px;
33 border-radius: 10em;
34 -webkit-animation: animate-stripes 3s linear infinite;
35 -moz-animation: animate-stripes 3s linear infinite;
36 -webkit-transition: width 0.5s ease-out;
37 transition: width 0.5s ease-out;
38 }
39 [dir="rtl"] .progress__bar {
40 margin-left: 0;
41 margin-right: -1px;
42 animation-direction: reverse;
43 -webkit-animation-direction: reverse;
44 -moz-animation-direction: reverse;
45 }
46
47 /**
48 * Progress bar animations.
49 */
50 @-webkit-keyframes animate-stripes {
51 0% { background-position: 0 0, 0 0; }
52 100% { background-position: 0 0, -80px 0; }
53 }
54 @-ms-keyframes animate-stripes {
55 0% { background-position: 0 0, 0 0; }
56 100% { background-position: 0 0, -80px 0; }
57 }
58 @keyframes animate-stripes {
59 0% { background-position: 0 0, 0 0; }
60 100% { background-position: 0 0, -80px 0; }
61 }