Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 html, body { | 6 html, body { |
| 7 height: 100%; | 7 height: 100%; |
| 8 margin: 0; | 8 margin: 0; |
| 9 overflow: hidden; | 9 overflow: hidden; |
| 10 } | 10 } |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 | 27 |
| 28 #top-box { | 28 #top-box { |
| 29 padding: 9px 9px 0 9px; | 29 padding: 9px 9px 0 9px; |
| 30 } | 30 } |
| 31 | 31 |
| 32 #middle-box { | 32 #middle-box { |
| 33 padding: 4px 9px 0 9px; | 33 padding: 4px 9px 0 9px; |
| 34 } | 34 } |
| 35 | 35 |
| 36 .action-area { | 36 .action-area { |
| 37 -webkit-box-align: center; | 37 bottom: 0; |
| 38 -webkit-box-orient: horizontal; | |
| 39 -webkit-box-pack: end; | |
| 40 display: -webkit-box; | |
| 41 padding: 12px; | 38 padding: 12px; |
| 42 text-align: end; | 39 position: absolute; |
|
Rick Byers
2011/11/29 22:06:47
I believe the use of webkit-box here was to get th
| |
| 40 right: 0; | |
| 41 } | |
| 42 | |
| 43 html[dir=rtl] .action-area { | |
| 44 bottom: 0; | |
|
arv (Not doing code reviews)
2011/11/29 21:55:30
no need to duplicate bottom, padding nor position.
| |
| 45 left: 0; | |
| 46 padding: 12px; | |
| 47 position: absolute; | |
| 48 right: auto; | |
| 43 } | 49 } |
| 44 | 50 |
| 45 .button-strip { | 51 .button-strip { |
| 46 -webkit-box-orient: horizontal; | 52 -webkit-box-orient: horizontal; |
| 47 display: -webkit-box; | 53 display: -webkit-box; |
| 48 } | 54 } |
| 49 | 55 |
| 50 .button-strip > button { | 56 .button-strip > button { |
| 51 -webkit-margin-start: 10px; | 57 -webkit-margin-start: 10px; |
| 52 display: block; | 58 display: block; |
| 53 white-space: nowrap; | 59 white-space: nowrap; |
| 54 } | 60 } |
| 55 | 61 |
| 56 .valid { | 62 .valid { |
| 57 background-image: url("chrome://theme/IDR_INPUT_GOOD"); | 63 background-image: url("chrome://theme/IDR_INPUT_GOOD"); |
| 58 height: 21px; | 64 height: 21px; |
| 59 width: 22px; | 65 width: 22px; |
| 60 } | 66 } |
| 61 | 67 |
| 62 .invalid { | 68 .invalid { |
| 63 background-image: url("chrome://theme/IDR_INPUT_ALERT"); | 69 background-image: url("chrome://theme/IDR_INPUT_ALERT"); |
| 64 height: 21px; | 70 height: 21px; |
| 65 width: 22px; | 71 width: 22px; |
| 66 } | 72 } |
| OLD | NEW |