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

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

Issue 1312373002: Material PDF: Style audit and cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests for page selector Created 5 years, 3 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
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 #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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698