| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html i18n-values="dir:textdirection;"><head> | 2 <html i18n-values="dir:textdirection;"><head> |
| 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 4 <title i18n-content="title"></title> | 4 <title i18n-content="title"></title> |
| 5 | 5 |
| 6 <style> | 6 <style> |
| 7 body { | 7 body { |
| 8 font-size: 84%; | 8 font-size: 84%; |
| 9 font-family: Arial, Helvetica, sans-serif; | 9 font-family: Arial, Helvetica, sans-serif; |
| 10 padding: 0.75em; | 10 padding: 0.75em; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 } | 55 } |
| 56 | 56 |
| 57 html[dir='rtl'] #header { | 57 html[dir='rtl'] #header { |
| 58 padding: 0.6em 0 0.75em 1em; | 58 padding: 0.6em 0 0.75em 1em; |
| 59 } | 59 } |
| 60 | 60 |
| 61 #header h1 { | 61 #header h1 { |
| 62 -webkit-padding-start: 3em; | 62 -webkit-padding-start: 3em; |
| 63 margin: 0; | 63 margin: 0; |
| 64 display: inline; | 64 display: inline; |
| 65 background: url('shared/images/gear.png') no-repeat; | 65 background: url('../shared/images/gear.png') no-repeat; |
| 66 background-position: 12px 60%; | 66 background-position: 12px 60%; |
| 67 color: white; | 67 color: white; |
| 68 } | 68 } |
| 69 | 69 |
| 70 html[dir='rtl'] #header h1 { | 70 html[dir='rtl'] #header h1 { |
| 71 background-position-left: auto; | 71 background-position-left: auto; |
| 72 backgroun-position-right: 12px; | 72 backgroun-position-right: 12px; |
| 73 } | 73 } |
| 74 | 74 |
| 75 #header p { | 75 #header p { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 .globalButton { | 170 .globalButton { |
| 171 float: left; | 171 float: left; |
| 172 margin: 1px 5px; | 172 margin: 1px 5px; |
| 173 } | 173 } |
| 174 | 174 |
| 175 html[dir='rtl'] .globalButton { | 175 html[dir='rtl'] .globalButton { |
| 176 float: right; | 176 float: right; |
| 177 } | 177 } |
| 178 </style> | 178 </style> |
| 179 <script src="shared/js/local_strings.js"></script> | 179 <script src="chrome://resources/js/local_strings.js"></script> |
| 180 <script> | 180 <script> |
| 181 var localStrings; | 181 var localStrings; |
| 182 | 182 |
| 183 function getValueDivForButton(button) { | 183 function getValueDivForButton(button) { |
| 184 return document.getElementById(button.id.substr(0, button.id.length - 4)); | 184 return document.getElementById(button.id.substr(0, button.id.length - 4)); |
| 185 } | 185 } |
| 186 | 186 |
| 187 function getButtonForValueDiv(valueDiv) { | 187 function getButtonForValueDiv(valueDiv) { |
| 188 return document.getElementById(valueDiv.id + '-btn'); | 188 return document.getElementById(valueDiv.id + '-btn'); |
| 189 } | 189 } |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 jscontent="stat_name"></div></a></td> | 264 jscontent="stat_name"></div></a></td> |
| 265 <td class="button_cell"><button jsvalues="id:stat_name + '-value-btn'" | 265 <td class="button_cell"><button jsvalues="id:stat_name + '-value-btn'" |
| 266 class="expand_status"></button></td> | 266 class="expand_status"></button></td> |
| 267 <td class="number"><div class="stat_value" jscontent="stat_value" | 267 <td class="number"><div class="stat_value" jscontent="stat_value" |
| 268 jsvalues="id:stat_name + '-value'"></div></td> | 268 jsvalues="id:stat_name + '-value'"></div></td> |
| 269 </tr> | 269 </tr> |
| 270 </table> | 270 </table> |
| 271 </div> | 271 </div> |
| 272 </body> | 272 </body> |
| 273 </html> | 273 </html> |
| OLD | NEW |