| 1 |
/* Progress Bars */ |
| 2 |
.markdown-body .progress { |
| 3 |
display: block; |
| 4 |
width: 300px; |
| 5 |
margin: 10px 0; |
| 6 |
height: 24px; |
| 7 |
-webkit-border-radius: 3px; |
| 8 |
-moz-border-radius: 3px; |
| 9 |
border-radius: 3px; |
| 10 |
background-color: #ededed; |
| 11 |
position: relative; |
| 12 |
box-shadow: inset -1px 1px 3px rgba(0, 0, 0, .1); |
| 13 |
} |
| 14 |
|
| 15 |
.markdown-body .progress-label { |
| 16 |
position: absolute; |
| 17 |
text-align: center; |
| 18 |
font-weight: bold; |
| 19 |
width: 100%; margin: 0; |
| 20 |
line-height: 24px !important; |
| 21 |
color: #333; |
| 22 |
text-shadow: 1px 1px 0 #fefefe, -1px -1px 0 #fefefe, -1px 1px 0 #fefefe, 1px -1px 0 #fefefe, 0 1px 0 #fefefe, 0 -1px 0 #fefefe, 1px 0 0 #fefefe, -1px 0 0 #fefefe, 1px 1px 2px #000; |
| 23 |
-webkit-font-smoothing: antialiased !important; |
| 24 |
white-space: nowrap; |
| 25 |
overflow: hidden; |
| 26 |
} |
| 27 |
|
| 28 |
.markdown-body .progress-bar { |
| 29 |
height: 24px; |
| 30 |
float: left; |
| 31 |
-webkit-border-radius: 3px; |
| 32 |
-moz-border-radius: 3px; |
| 33 |
border-radius: 3px; |
| 34 |
background-color: #96c6d7; |
| 35 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .1); |
| 36 |
background-size: 30px 30px; |
| 37 |
background-image: -webkit-linear-gradient( |
| 38 |
135deg, rgba(255, 255, 255, .4) 27%, |
| 39 |
transparent 27%, |
| 40 |
transparent 52%, rgba(255, 255, 255, .4) 52%, |
| 41 |
rgba(255, 255, 255, .4) 77%, |
| 42 |
transparent 77%, transparent |
| 43 |
); |
| 44 |
background-image: -moz-linear-gradient( |
| 45 |
135deg, |
| 46 |
rgba(255, 255, 255, .4) 27%, transparent 27%, |
| 47 |
transparent 52%, rgba(255, 255, 255, .4) 52%, |
| 48 |
rgba(255, 255, 255, .4) 77%, transparent 77%, |
| 49 |
transparent |
| 50 |
); |
| 51 |
background-image: -ms-linear-gradient( |
| 52 |
135deg, |
| 53 |
rgba(255, 255, 255, .4) 27%, transparent 27%, |
| 54 |
transparent 52%, rgba(255, 255, 255, .4) 52%, |
| 55 |
rgba(255, 255, 255, .4) 77%, transparent 77%, |
| 56 |
transparent |
| 57 |
); |
| 58 |
background-image: -o-linear-gradient( |
| 59 |
135deg, |
| 60 |
rgba(255, 255, 255, .4) 27%, transparent 27%, |
| 61 |
transparent 52%, rgba(255, 255, 255, .4) 52%, |
| 62 |
rgba(255, 255, 255, .4) 77%, transparent 77%, |
| 63 |
transparent |
| 64 |
); |
| 65 |
background-image: linear-gradient( |
| 66 |
135deg, |
| 67 |
rgba(255, 255, 255, .4) 27%, transparent 27%, |
| 68 |
transparent 52%, rgba(255, 255, 255, .4) 52%, |
| 69 |
rgba(255, 255, 255, .4) 77%, transparent 77%, |
| 70 |
transparent |
| 71 |
); |
| 72 |
} |
| 73 |
|
| 74 |
.markdown-body .progress-100plus .progress-bar { |
| 75 |
background-color: #a6d796; |
| 76 |
} |
| 77 |
|
| 78 |
.markdown-body .progress-80plus .progress-bar { |
| 79 |
background-color: #c6d796; |
| 80 |
} |
| 81 |
|
| 82 |
.markdown-body .progress-60plus .progress-bar { |
| 83 |
background-color: #d7c896; |
| 84 |
} |
| 85 |
|
| 86 |
.markdown-body .progress-40plus .progress-bar { |
| 87 |
background-color: #d7a796; |
| 88 |
} |
| 89 |
|
| 90 |
.markdown-body .progress-20plus .progress-bar { |
| 91 |
background-color: #d796a6; |
| 92 |
} |
| 93 |
|
| 94 |
.markdown-body .progress-0plus .progress-bar { |
| 95 |
background-color: #c25f77; |
| 96 |
} |
| 97 |
|
| 98 |
.markdown-body .candystripe-animate .progress-bar{ |
| 99 |
-webkit-animation: animate-stripes 3s linear infinite; |
| 100 |
-moz-animation: animate-stripes 3s linear infinite; |
| 101 |
animation: animate-stripes 3s linear infinite; |
| 102 |
} |
| 103 |
|
| 104 |
@-webkit-keyframes animate-stripes { |
| 105 |
0% { |
| 106 |
background-position: 0 0; |
| 107 |
} |
| 108 |
|
| 109 |
100% { |
| 110 |
background-position: 60px 0; |
| 111 |
} |
| 112 |
} |
| 113 |
|
| 114 |
@-moz-keyframes animate-stripes { |
| 115 |
0% { |
| 116 |
background-position: 0 0; |
| 117 |
} |
| 118 |
|
| 119 |
100% { |
| 120 |
background-position: 60px 0; |
| 121 |
} |
| 122 |
} |
| 123 |
|
| 124 |
@keyframes animate-stripes { |
| 125 |
0% { |
| 126 |
background-position: 0 0; |
| 127 |
} |
| 128 |
|
| 129 |
100% { |
| 130 |
background-position: 60px 0; |
| 131 |
} |
| 132 |
} |
| 133 |
|
| 134 |
.markdown-body .gloss .progress-bar { |
| 135 |
box-shadow: |
| 136 |
inset 0 4px 12px rgba(255, 255, 255, .7), |
| 137 |
inset 0 -12px 0 rgba(0, 0, 0, .05); |
| 138 |
} |