Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: chrome/browser/resources/pdf/elements/viewer-page-selector/viewer-page-selector.css

Issue 2366113002: [PDF viewer] Align page N of M input field (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 :host { 5 :host {
6 color: #fff; 6 color: #fff;
7 font-size: 94.4%; 7 font-size: 94.4%;
8 } 8 }
9 9
10 :host ::selection { 10 :host ::selection {
11 background: rgba(255, 255, 255, 0.3); 11 background: rgba(255, 255, 255, 0.3);
12 } 12 }
13 13
14 #pageselector { 14 #pageselector {
15 --paper-input-container-underline: { 15 --paper-input-container-underline: {
16 visibility: hidden; 16 visibility: hidden;
17 }; 17 };
18 --paper-input-container-underline-focus: { 18 --paper-input-container-underline-focus: {
19 visibility: hidden; 19 visibility: hidden;
20 }; 20 };
21 display: inline-block; 21 display: inline-block;
22 padding: 0; 22 padding: 0;
23 width: 1ch; 23 width: 1ch;
24 } 24 }
25 25
26 #input { 26 #input {
27 --paper-input-container-input: {
tsergeant 2016/09/26 00:06:19 #input is the <input>, #pageselector is the <paper
dschuyler 2016/09/27 20:45:22 Done.
28 vertical-align: baseline;
29 };
27 -webkit-margin-start: -3px; 30 -webkit-margin-start: -3px;
28 color: #fff; 31 color: #fff;
29 line-height: 18px; 32 line-height: 18px;
30 padding: 3px; 33 padding: 3px;
31 text-align: end; 34 text-align: end;
32 } 35 }
33 36
34 #input:focus, 37 #input:focus,
35 #input:hover { 38 #input:hover {
36 background-color: rgba(0, 0, 0, 0.5); 39 background-color: rgba(0, 0, 0, 0.5);
37 border-radius: 2px; 40 border-radius: 2px;
38 } 41 }
39 42
40 #slash { 43 #slash {
41 padding: 0 3px; 44 padding: 0 3px;
42 } 45 }
43 46
44 #pagelength-spacer { 47 #pagelength-spacer {
45 display: inline-block; 48 display: inline-block;
46 text-align: start; 49 text-align: start;
47 } 50 }
48 51
49 #slash, 52 #slash,
50 #pagelength { 53 #pagelength {
51 font-size: 76.5%; 54 font-size: 76.5%;
52 } 55 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698