|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html> |
3 | 3 | <head> |
| 4 | + <title>2014 Ushahidi Project Tracker</title> |
| 5 | + <script src="libs/d3.v3.min.js"></script> |
| 6 | + <link rel="stylesheet" href="assets/normalize.css"> |
| 7 | + <link rel="stylesheet" href="assets/foundation.min.css"> |
| 8 | + <meta charset="utf-8"> |
| 9 | + <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> |
| 10 | + <style> |
| 11 | + html,body { |
| 12 | + padding-top: 50px; |
| 13 | + } |
| 14 | + html,body,h1,h2,h4,h6,li,a { |
| 15 | + font-family: "Proxima Nova",Helvetica,Arial,sans-serif !important; |
| 16 | + } |
| 17 | + h4 { |
| 18 | + float: left; |
| 19 | + width: 200px; |
| 20 | + text-align: right; |
| 21 | + padding-right: 10px; |
| 22 | + } |
| 23 | + |
| 24 | + .header{ |
| 25 | + margin-bottom: 20px; |
| 26 | + } |
| 27 | + |
| 28 | + .button-block.last{ |
| 29 | + margin-bottom: 20px; |
| 30 | + } |
| 31 | + |
| 32 | + .axis path, |
| 33 | + .axis line { |
| 34 | + fill: none; |
| 35 | + stroke: none; |
| 36 | + shape-rendering: crispEdges; |
| 37 | + } |
| 38 | + .axis text { |
| 39 | + font-family: sans-serif; |
| 40 | + font-size: 11px; |
| 41 | + } |
| 42 | + .bar{ |
| 43 | + background-color:#fc0; |
| 44 | + height: 20px; |
| 45 | + margin-bottom: 10px; |
| 46 | + -webkit-transition: background-color .2s; |
| 47 | + } |
| 48 | + .bar-wrapper { |
| 49 | + width: 100%; |
| 50 | + position: absolute; |
| 51 | + } |
| 52 | + .bar-wrapper:hover .bar { |
| 53 | + opacity: .75; |
| 54 | + -moz-opacity: .75; |
| 55 | + -webkit-opacity: .75; |
| 56 | + } |
| 57 | + .bar-wrapper:hover .bar-name { |
| 58 | + text-decoration: underline; |
| 59 | + |
| 60 | + } |
| 61 | + .bar-name { |
| 62 | + font-size: 11px; |
| 63 | + font-weight: 300; |
| 64 | + position: absolute; |
| 65 | + left: 0; |
| 66 | + padding-top: 4px; |
| 67 | + width: 120px; |
| 68 | + } |
| 69 | + .bar-name:hover { |
| 70 | + cursor: default; |
| 71 | + } |
| 72 | + |
| 73 | + #svg-canvas { |
| 74 | + position:absolute; |
| 75 | + top:0; |
| 76 | + bottom:0; |
| 77 | + left:0; |
| 78 | + right:0; |
| 79 | + } |
| 80 | + #gantt-bar-container { |
| 81 | + position:absolute; |
| 82 | + top:30px; |
| 83 | + bottom:0; |
| 84 | + left:0; |
| 85 | + right:0; |
| 86 | + padding-top:30px |
| 87 | + } |
| 88 | + #legend { |
| 89 | + width: 320px; |
| 90 | + position: fixed; |
| 91 | + top: 10px; |
| 92 | + right: 30px; |
| 93 | + padding: 5px; |
| 94 | + padding-bottom: 0px; |
| 95 | + z-index:9999999; |
| 96 | + background: rgba(250, 250, 250, .5); |
| 97 | + } |
| 98 | + #legend-2{ |
| 99 | + width: 420px; |
| 100 | + position: fixed; |
| 101 | + top: 77px; |
| 102 | + right: 30px; |
| 103 | + padding: 5px; |
| 104 | + padding-bottom: 0px; |
| 105 | + z-index:9999999; |
| 106 | + background: rgba(250, 250, 250, .5); |
| 107 | + } |
| 108 | + .legend-style .legend-title { |
| 109 | + text-align:left; |
| 110 | + margin-bottom: 3px; |
| 111 | + font-family: "Proxima Nova",Helvetica,Arial,sans-serif !important; |
| 112 | + font-weight: bold; |
| 113 | + font-size: 90%; |
| 114 | + } |
| 115 | + .legend-style .legend-scale ul { |
| 116 | + margin: 0; |
| 117 | + padding: 0; |
| 118 | + float: left; |
| 119 | + list-style: none; |
| 120 | + } |
| 121 | + .legend-style .legend-scale ul li { |
| 122 | + display: block; |
| 123 | + float: left; |
| 124 | + width: 50px; |
| 125 | + margin-bottom: 6px; |
| 126 | + text-align: center; |
| 127 | + font-size: 75%; |
| 128 | + list-style: none; |
| 129 | + } |
| 130 | + .legend-style ul.legend-labels li span { |
| 131 | + display: block; |
| 132 | + float: left; |
| 133 | + height: 15px; |
| 134 | + width: 50px; |
| 135 | + } |
| 136 | + .legend-style a { |
| 137 | + color: #777; |
| 138 | + } |
| 139 | + #tooltip { |
| 140 | + display: none; |
| 141 | + position: absolute; |
| 142 | + margin: 25px 16px; |
| 143 | + width: 200px; |
| 144 | + padding: 10px; |
| 145 | + background-color: white; |
| 146 | + -webkit-border-radius: 10px; |
| 147 | + -moz-border-radius: 10px; |
| 148 | + border-radius: 10px; |
| 149 | + -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4); |
| 150 | + -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4); |
| 151 | + box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4); |
| 152 | + pointer-events: none; |
| 153 | + z-index: 10; |
| 154 | + } |
| 155 | + #tooltip p { |
| 156 | + margin: 0; |
| 157 | + font-family: sans-serif; |
| 158 | + font-size: 12px; |
| 159 | + line-height: 16px; |
| 160 | + } |
| 161 | + .todaymarker { |
| 162 | + background-color: #c00; |
| 163 | + padding: 2px 6px; |
| 164 | + font-family: "Proxima Nova",Helvetica,Arial,sans-serif !important; |
| 165 | + font-size: 12px; |
| 166 | + color: #fff; |
| 167 | + } |
| 168 | + .milestone { |
| 169 | + background-color: #636363; |
| 170 | + padding: 2px 6px; |
| 171 | + font-family:"Proxima Nova",Helvetica,Arial,sans-serif !important; |
| 172 | + font-size: 12px; |
| 173 | + color: #fff; |
| 174 | + } |
| 175 | + |
| 176 | + </style> |
4 | 177 | </head> |
| 178 | +<!--THIS IS WHERE TO ADD CUT BODY--> |
5 | 179 | </html> |
6 | 180 | <!--special thx to mhkeller (homg dates in d3), and to aubergene (D3.edu)--> |
7 | 181 | <!--auremoser--> |
0 commit comments