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 /* Elements */ | 6 /* Elements */ |
| 7 a { | 7 a { |
| 8 color: rgb(0, 102, 204); | 8 color: rgb(0, 102, 204); |
| 9 text-decoration: none; | 9 text-decoration: none; |
| 10 } | 10 } |
| 11 | 11 |
| 12 body { | 12 body { |
| 13 background: -webkit-gradient(radial, center center, 0, center center, 400, | 13 background: -webkit-gradient(radial, center center, 0, center center, 400, |
| 14 from(rgb(254, 254, 254)), | 14 from(rgb(254, 254, 254)), |
| 15 to(rgb(239, 239, 239))); | 15 to(rgb(239, 239, 239))); |
| 16 font-family: 'Droid sans', Arial, sans-serif; | 16 font-family: 'Droid sans', Arial, sans-serif; |
| 17 margin:0; | 17 margin:0; |
| 18 padding:0; | 18 padding:0; |
| 19 direction: __MSG_@@bidi_dir__; | |
|
Jamie
2011/08/10 18:24:31
I don't think we're supposed to use CSS to set tex
garykac
2011/08/10 19:34:38
This seems OK to me.
| |
| 19 } | 20 } |
| 20 | 21 |
| 21 button, input { | 22 button, input { |
| 22 font-family: inherit; | 23 font-family: inherit; |
| 23 font-size: inherit; | 24 font-size: inherit; |
| 24 } | 25 } |
| 25 | 26 |
| 26 button { | 27 button { |
| 27 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 28 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
| 28 border: 1px solid #aaa; | 29 border: 1px solid #aaa; |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 47 button[disabled], .button[disabled]:hover { | 48 button[disabled], .button[disabled]:hover { |
| 48 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 49 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
| 49 border-color: #aaa; | 50 border-color: #aaa; |
| 50 color: #888; | 51 color: #888; |
| 51 -webkit-box-shadow: none; | 52 -webkit-box-shadow: none; |
| 52 } | 53 } |
| 53 | 54 |
| 54 h1 { | 55 h1 { |
| 55 font-size: 24px; | 56 font-size: 24px; |
| 56 font-weight: normal; | 57 font-weight: normal; |
| 57 margin-left: 10px; | 58 margin-__MSG_@@bidi_start_edge__: 10px; |
| 58 } | 59 } |
| 59 | 60 |
| 60 label { | 61 label { |
| 61 color: black; | 62 color: black; |
| 62 font-weight: bold; | 63 font-weight: bold; |
| 63 } | 64 } |
| 64 | 65 |
| 65 /* Classes */ | 66 /* Classes */ |
| 66 | 67 |
| 67 .access-code-digit-group { | 68 .access-code-digit-group { |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 85 | 86 |
| 86 TODO(ajwong): Either fix Chrome layout behavior, or if Chrome is actually | 87 TODO(ajwong): Either fix Chrome layout behavior, or if Chrome is actually |
| 87 conforming correctly to the standard, remove this comment. | 88 conforming correctly to the standard, remove this comment. |
| 88 */ | 89 */ |
| 89 text-align: center; | 90 text-align: center; |
| 90 } | 91 } |
| 91 | 92 |
| 92 .choice-header { | 93 .choice-header { |
| 93 font-size: 24px; | 94 font-size: 24px; |
| 94 font-weight: normal; | 95 font-weight: normal; |
| 95 margin-left: 10px; | 96 margin-__MSG_@@bidi_start_edge__: 10px; |
| 96 } | 97 } |
| 97 | 98 |
| 98 .choice-footer { | 99 .choice-footer { |
| 99 font-size: 14px; | 100 font-size: 14px; |
| 100 } | 101 } |
| 101 | 102 |
| 102 .choice-panel { | 103 .choice-panel { |
| 103 margin-top: 17px; | 104 margin-top: 17px; |
| 104 padding-bottom: 20px; | 105 padding-bottom: 20px; |
| 105 } | 106 } |
| 106 | 107 |
| 107 .description { | 108 .description { |
| 108 margin-bottom: 25px; | 109 margin-bottom: 25px; |
| 109 } | 110 } |
| 110 | 111 |
| 111 .error-state { | 112 .error-state { |
| 112 background-image: url('icon_warning.png'); | 113 background-image: url('icon_warning.png'); |
| 113 background-repeat: no-repeat; | 114 background-repeat: no-repeat; |
| 114 background-position: top left; | 115 background-position: top __MSG_@@bidi_start_edge__; |
| 115 padding-left: 30px; | 116 padding-__MSG_@@bidi_start_edge__: 30px; |
| 116 padding-top: 3px; | 117 padding-top: 3px; |
| 117 margin-bottom: 10px; | 118 margin-bottom: 10px; |
| 118 color: #900; | 119 color: #900; |
| 119 display: inline-block; | 120 display: inline-block; |
| 120 } | 121 } |
| 121 | 122 |
| 122 .expiring { | 123 .expiring { |
| 123 color: #900 !important; | 124 color: #900 !important; |
| 124 } | 125 } |
| 125 | 126 |
| 126 [hidden] { | 127 [hidden] { |
| 127 display: none !important; | 128 display: none !important; |
| 128 } | 129 } |
| 129 | 130 |
| 130 | 131 |
| 131 .icon-label { | 132 .icon-label { |
| 132 display: inline-block; | 133 display: inline-block; |
| 133 vertical-align: top; | 134 vertical-align: top; |
| 134 } | 135 } |
| 135 | 136 |
| 136 .message { | 137 .message { |
| 137 text-align:center; | 138 text-align:center; |
| 138 margin-bottom: 10px; | 139 margin-bottom: 10px; |
| 139 } | 140 } |
| 140 | 141 |
| 141 .top-left { | 142 .top-primary { |
| 142 font-size: 14px; | 143 font-size: 14px; |
| 143 position: absolute; | 144 position: absolute; |
| 144 top: 0.5em; | 145 top: 0.5em; |
| 145 left: 0.5em; | 146 __MSG_@@bidi_start_edge__: 0.5em; |
| 146 } | 147 } |
| 147 | 148 |
| 148 .top-right { | 149 .top-secondary { |
| 149 font-size: 14px; | 150 font-size: 14px; |
| 150 position: absolute; | 151 position: absolute; |
| 151 top: 0.5em; | 152 top: 0.5em; |
| 152 right: 0.5em; | 153 __MSG_@@bidi_end_edge__: 0.5em; |
| 153 } | 154 } |
| 154 | 155 |
| 155 .waiting { | 156 .waiting { |
| 156 color: rgb(180, 180, 180); | 157 color: rgb(180, 180, 180); |
| 157 } | 158 } |
| 158 | 159 |
| 159 /* Ids */ | 160 /* Ids */ |
| 160 #access-code-countdown-container { | 161 #access-code-countdown-container { |
| 161 height: 50px; | 162 height: 50px; |
| 162 text-align: center; | 163 text-align: center; |
| 163 } | 164 } |
| 164 | 165 |
| 165 #access-code-display { | 166 #access-code-display { |
| 166 margin-top: 50px; | 167 margin-top: 50px; |
| 167 color: rgb(0, 0, 0); | 168 color: rgb(0, 0, 0); |
| 168 font-weight: bold; | 169 font-weight: bold; |
| 169 font-size: 26px; | 170 font-size: 26px; |
| 170 text-align: center; | 171 text-align: center; |
| 171 } | 172 } |
| 172 | 173 |
| 173 #access-code-entry { | 174 #access-code-entry { |
| 174 font-weight: bold; | 175 font-weight: bold; |
| 175 font-size: 18px; | 176 font-size: 18px; |
| 176 height: 25px; | 177 height: 25px; |
| 177 margin: 0 10px; | 178 margin: 0 10px; |
| 178 padding-left: 5px; | 179 padding-__MSG_@@bidi_start_edge__: 5px; |
| 179 width: 12em; | 180 width: 12em; |
| 180 } | 181 } |
| 181 | 182 |
| 182 #access-code-entry-row { | 183 #access-code-entry-row { |
| 183 text-align: center; | 184 text-align: center; |
| 184 } | 185 } |
| 185 | 186 |
| 186 #cancel-button { | 187 #cancel-button { |
| 187 float: right; | 188 float: __MSG_@@bidi_end_edge__; |
| 188 } | 189 } |
| 189 | 190 |
| 190 #client-footer-text, #host-footer-text { | 191 #client-footer-text, #host-footer-text { |
| 191 text-align: center; | 192 text-align: center; |
| 192 } | 193 } |
| 193 | 194 |
| 194 #current-email { | 195 #current-email { |
| 195 color: rgba(0, 0, 0, 0.5); | 196 color: rgba(0, 0, 0, 0.5); |
| 196 } | 197 } |
| 197 | 198 |
| 198 #divider-top { | 199 #divider-top { |
| 199 margin: 10px 0 15px 0; | 200 margin: 10px 0 15px 0; |
| 200 } | 201 } |
| 201 | 202 |
| 202 #divider-bottom { | 203 #divider-bottom { |
| 203 margin: 25px 0 10px 0; | 204 margin: 25px 0 10px 0; |
| 204 } | 205 } |
| 205 | 206 |
| 206 #email-status { | 207 #email-status { |
| 207 margin-right: 0.5ex; | 208 margin-__MSG_@@bidi_end_edge__: 0.5ex; |
| 208 } | 209 } |
| 209 | 210 |
| 210 #icon { | 211 #icon { |
| 211 height: 64px; | 212 height: 64px; |
| 212 width: 64px; | 213 width: 64px; |
| 213 } | 214 } |
| 214 | 215 |
| 215 #main { | 216 #main { |
| 216 color: rgb(115, 115, 115); | 217 color: rgb(115, 115, 115); |
| 217 font-size: 16px; | 218 font-size: 16px; |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 233 */ | 234 */ |
| 234 clear: both; | 235 clear: both; |
| 235 font-family: monospace; | 236 font-family: monospace; |
| 236 font-size: small; | 237 font-size: small; |
| 237 margin: 5px; | 238 margin: 5px; |
| 238 } | 239 } |
| 239 | 240 |
| 240 #server-response { | 241 #server-response { |
| 241 font-weight: bolder; | 242 font-weight: bolder; |
| 242 } | 243 } |
| OLD | NEW |