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 { | 6 html { |
7 height: 100%; | 7 height: 100%; |
8 } | 8 } |
9 | 9 |
10 body { | 10 body { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 } | 125 } |
126 | 126 |
127 button.default { | 127 button.default { |
128 font-weight: bold; | 128 font-weight: bold; |
129 } | 129 } |
130 | 130 |
131 button.default:not(:focus):not(:disabled) { | 131 button.default:not(:focus):not(:disabled) { |
132 border-color: #808080; | 132 border-color: #808080; |
133 } | 133 } |
134 | 134 |
135 #increment, | |
136 #decrement { | |
137 -webkit-padding-end: 8px; | |
138 -webkit-padding-start: 8px; | |
139 font-weight: 600; | |
140 min-width: 0; | |
141 position: relative; | |
142 width: 25px; | |
143 } | |
144 | |
145 #increment { | |
146 -webkit-margin-start: -11px !important; | |
147 border-radius: 0; | |
148 } | |
149 | |
150 #decrement { | |
151 -webkit-margin-start: -5px; | |
152 border-bottom-left-radius: 0; | |
153 border-bottom-right-radius: 3px; | |
154 border-top-left-radius: 0; | |
155 border-top-right-radius: 3px; | |
156 } | |
157 | |
158 html[dir='rtl'] #decrement { | |
159 border-bottom-left-radius: 3px; | |
160 border-bottom-right-radius: 0; | |
161 border-top-left-radius: 3px; | |
162 border-top-right-radius: 0; | |
163 } | |
164 | |
165 span.hint { | 135 span.hint { |
166 -webkit-transition: color 200ms; | 136 -webkit-transition: color 200ms; |
167 background: white; | 137 background: white; |
168 display: block; | 138 display: block; |
169 font-size: 11px; | 139 font-size: 11px; |
170 font-weight: bold; | 140 font-weight: bold; |
171 height: 0; | 141 height: 0; |
172 line-height: 10px; | 142 line-height: 10px; |
173 margin-bottom: 0; | 143 margin-bottom: 0; |
174 margin: 0; | 144 margin: 0; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 opacity: 1; | 256 opacity: 1; |
287 } | 257 } |
288 | 258 |
289 #collate-option[hidden] { | 259 #collate-option[hidden] { |
290 -webkit-transition: opacity 100ms, -webkit-transform 100ms; | 260 -webkit-transition: opacity 100ms, -webkit-transform 100ms; |
291 opacity: 0; | 261 opacity: 0; |
292 pointer-events: none; | 262 pointer-events: none; |
293 } | 263 } |
294 | 264 |
295 #copies { | 265 #copies { |
296 width: 2em; | 266 position: relative; |
| 267 width: 1.5em; |
297 } | 268 } |
298 | 269 |
299 #copies.invalid { | 270 #copies.invalid { |
300 background: #fff0f0; | 271 background: #fff0f0; |
301 color: #8c1414; | 272 color: #8c1414; |
302 } | 273 } |
303 | 274 |
| 275 #increment, |
| 276 #decrement { |
| 277 -webkit-padding-end: 8px; |
| 278 -webkit-padding-start: 8px; |
| 279 font-weight: 600; |
| 280 min-width: 0; |
| 281 position: relative; |
| 282 width: 25px; |
| 283 } |
| 284 |
| 285 #increment:focus, |
| 286 #decrement:focus, |
| 287 #copies:focus { |
| 288 z-index: 1; |
| 289 } |
| 290 |
| 291 #increment { |
| 292 -webkit-margin-start: -5px; |
| 293 border-radius: 0; |
| 294 } |
| 295 |
| 296 #decrement { |
| 297 -webkit-margin-start: -5px; |
| 298 border-bottom-left-radius: 0; |
| 299 border-bottom-right-radius: 3px; |
| 300 border-top-left-radius: 0; |
| 301 border-top-right-radius: 3px; |
| 302 } |
| 303 |
| 304 html[dir='rtl'] #decrement { |
| 305 border-bottom-left-radius: 3px; |
| 306 border-bottom-right-radius: 0; |
| 307 border-top-left-radius: 3px; |
| 308 border-top-right-radius: 0; |
| 309 } |
| 310 |
304 /* PDF view */ | 311 /* PDF view */ |
305 | 312 |
306 #print-preview #mainview { | 313 #print-preview #mainview { |
307 -webkit-margin-start: 310px; | 314 -webkit-margin-start: 310px; |
308 -webkit-padding-start: 0; | 315 -webkit-padding-start: 0; |
309 -webkit-user-select: none; | 316 -webkit-user-select: none; |
310 background-color: #ccc; | 317 background-color: #ccc; |
311 overflow: hidden; | 318 overflow: hidden; |
312 } | 319 } |
313 | 320 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 /* TODO(estade): unfork this code. */ | 417 /* TODO(estade): unfork this code. */ |
411 .button-strip { | 418 .button-strip { |
412 -webkit-box-orient: horizontal; | 419 -webkit-box-orient: horizontal; |
413 -webkit-box-pack: end; | 420 -webkit-box-pack: end; |
414 display: -webkit-box; | 421 display: -webkit-box; |
415 } | 422 } |
416 | 423 |
417 html[toolkit=views] .button-strip { | 424 html[toolkit=views] .button-strip { |
418 -webkit-box-direction: reverse; | 425 -webkit-box-direction: reverse; |
419 } | 426 } |
OLD | NEW |