Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 html { | 1 html { |
| 2 height: 380px; | 2 height: 380px; |
| 3 margin: 0; | 3 margin: 0; |
| 4 padding: 0; | 4 padding: 0; |
| 5 width: 244px; | 5 width: 244px; |
| 6 font-family: "Open Sans", "Hevatica Neue", "Helvetica", "Arial", sans-serif; | 6 font-family: "Open Sans", "Hevatica Neue", "Helvetica", "Arial", sans-serif; |
| 7 font-weight: 700; | 7 font-weight: 700; |
| 8 font-size: 16px; | 8 font-size: 16px; |
| 9 overflow: hidden; | 9 overflow: hidden; |
| 10 } | 10 } |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 65 z-index: 99; | 65 z-index: 99; |
| 66 } | 66 } |
| 67 | 67 |
| 68 .equation { | 68 .equation { |
| 69 width: 100%; | 69 width: 100%; |
| 70 position: relative; | 70 position: relative; |
| 71 clear: both; | 71 clear: both; |
| 72 height: 22px; | 72 height: 22px; |
| 73 } | 73 } |
| 74 | 74 |
| 75 .equation .operand_wrapper { | |
| 76 float: right; | |
| 77 } | |
| 78 | |
|
dharcourt
2012/10/17 04:22:44
Nice! The switched order of the operator and opera
dmazzoni
2012/10/17 16:12:33
"operation" it is.
| |
| 75 .equation .operator { | 79 .equation .operator { |
| 76 color: #2c2c2c; | 80 color: #2c2c2c; |
| 77 width: 15px; | 81 width: 15px; |
| 78 float: right; | |
| 79 padding-right: 5px; | 82 padding-right: 5px; |
| 80 height: 22px; | 83 height: 22px; |
| 81 line-height: 16px; | 84 line-height: 16px; |
| 82 padding-top: 3px; | 85 padding-top: 3px; |
| 83 padding-bottom: 3px; | 86 padding-bottom: 3px; |
| 84 } | 87 } |
| 85 | 88 |
| 86 .equation .operand { | 89 .equation .operand { |
| 87 color: #2c2c2c; | 90 color: #2c2c2c; |
| 88 float: right; | |
| 89 max-width: 80px; | 91 max-width: 80px; |
| 90 text-align: right; | 92 text-align: right; |
| 91 overflow: hidden; | 93 overflow: hidden; |
| 92 height: 16px; | 94 height: 16px; |
| 93 line-height: 16px; | 95 line-height: 16px; |
| 94 padding-top: 3px; | 96 padding-top: 3px; |
| 95 padding-bottom: 3px; | 97 padding-bottom: 3px; |
| 96 } | 98 } |
| 97 | 99 |
| 98 .equation .accumulator { | 100 .equation .accumulator { |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 121 max-width: 244px; | 123 max-width: 244px; |
| 122 min-width: 244px; | 124 min-width: 244px; |
| 123 position: absolute; | 125 position: absolute; |
| 124 bottom: 0px; | 126 bottom: 0px; |
| 125 } | 127 } |
| 126 | 128 |
| 127 .calc-button { | 129 .calc-button { |
| 128 height: 45px; | 130 height: 45px; |
| 129 width: 61px; | 131 width: 61px; |
| 130 float: left; | 132 float: left; |
| 133 border: none; | |
|
dharcourt
2012/10/17 04:22:44
I thought border: none; was the default... I have
dmazzoni
2012/10/17 16:12:33
I changed the element type from "div" to "button"
| |
| 131 } | 134 } |
| 132 | 135 |
| 133 .calc-button.AC { | 136 .calc-button.AC { |
| 134 background: url('img/1x/normal/52112_calculator_ac_btn.png'); | 137 background: url('img/1x/normal/52112_calculator_ac_btn.png'); |
| 135 background-size: 61px 45px; | 138 background-size: 61px 45px; |
| 136 } | 139 } |
| 137 | 140 |
| 138 .calc-button.AC:active { | 141 .calc-button.AC:active { |
| 139 background: url('img/1x/pressed/52112_calculator_ac_btn.png'); | 142 background: url('img/1x/pressed/52112_calculator_ac_btn.png'); |
| 140 background-size: 61px 45px; | 143 background-size: 61px 45px; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 310 margin-top: -45px; | 313 margin-top: -45px; |
| 311 margin-left: 122px; | 314 margin-left: 122px; |
| 312 } | 315 } |
| 313 | 316 |
| 314 .calc-button.point:active { | 317 .calc-button.point:active { |
| 315 background: url('img/1x/pressed/52112_calculator_point_btn.png') center no-rep eat; | 318 background: url('img/1x/pressed/52112_calculator_point_btn.png') center no-rep eat; |
| 316 background-size: 61px 45px; | 319 background-size: 61px 45px; |
| 317 } | 320 } |
| 318 | 321 |
| 319 | 322 |
| OLD | NEW |