OLD | NEW |
1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 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 #pageselector { | 5 :host { |
6 display: inline-block; | 6 color: #fff; |
7 width: 0.6em; | 7 font-size: 88.8%; |
8 } | 8 } |
9 | 9 |
10 paper-input-container /deep/ .focused-line { | 10 #pageselector { |
11 visibility: hidden; | 11 --paper-input-container-underline: { |
12 } | 12 visibility: hidden; |
13 | 13 }; |
14 paper-input-container /deep/ .unfocused-line { | 14 --paper-input-container-underline-focus: { |
15 visibility: hidden; | 15 visibility: hidden; |
16 } | 16 }; |
17 | 17 display: inline-block; |
18 paper-input-container { | |
19 padding: 0; | 18 padding: 0; |
| 19 width: 1ch; |
20 } | 20 } |
21 | 21 |
22 input#input { | 22 input#input { |
23 color: #fff; | 23 color: #fff; |
24 font-size: 1em; | 24 line-height: 18px; |
25 line-height: 20px; | 25 margin-left: -3px; |
26 padding: 3px; | 26 padding: 3px; |
27 text-align: right; | 27 text-align: right; |
28 } | 28 } |
29 | 29 |
30 input#input:focus, | 30 input#input:focus, |
31 input#input:hover { | 31 input#input:hover { |
32 background-color: rgba(0, 0, 0, 0.5); | 32 background-color: rgba(0, 0, 0, 0.5); |
33 border-radius: 2px; | 33 border-radius: 2px; |
34 } | 34 } |
35 | 35 |
| 36 #slash { |
| 37 padding: 0 3px; |
| 38 } |
| 39 |
| 40 #pagelength-spacer { |
| 41 display: inline-block; |
| 42 text-align: left; |
| 43 } |
| 44 |
| 45 #slash, |
36 #pagelength { | 46 #pagelength { |
37 color: #fff; | 47 font-size: 81.25%; |
38 font-size: 0.7em; | |
39 font-weight: 400; | |
40 padding-left: 3px; | |
41 } | 48 } |
OLD | NEW |