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

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

Issue 1162863002: Material PDF: Fix inconsistent behaviour in page selector, update styling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 #pageselector {
6 display: inline-block; 6 display: inline-block;
7 width: 0.6em; 7 width: 0.6em;
8 } 8 }
9 9
10 paper-input /deep/ ::-webkit-input-placeholder { 10 paper-input-container /deep/ .focused-line {
11 color: rgb(241, 241, 241); 11 visibility: hidden;
12 } 12 }
13 13
14 paper-input /deep/ .focused-line { 14 paper-input-container /deep/ .unfocused-line {
15 background-color: rgb(241, 241, 241); 15 visibility: hidden;
16 } 16 }
17 17
18 paper-input /deep/ .unfocused-line { 18 paper-input-container {
19 background-color: transparent;
20 }
21
22 paper-input:hover /deep/ .unfocused-line {
23 background-color: rgb(241, 241, 241);
24 }
25
26 paper-input /deep/ paper-input-container {
27 padding: 0; 19 padding: 0;
28 } 20 }
29 21
30 paper-input /deep/ paper-input-container /deep/ input#input { 22 input#input {
31 color: rgb(241, 241, 241); 23 color: #fff;
raymes 2015/06/02 01:12:03 nit: I have a feeling style-wise it's preferred to
tsergeant 2015/06/02 05:00:39 I got a lint message about this: rgb for everythin
32 font-size: 1em; 24 font-size: 1em;
25 line-height: 20px;
26 padding: 3px;
33 text-align: right; 27 text-align: right;
34 } 28 }
35 29
30 input#input:focus {
31 background-color: rgba(0, 0, 0, 0.5);
32 border-radius: 2px;
33 }
34
36 #pagelength { 35 #pagelength {
37 color: rgb(144, 202, 251); 36 color: #fff;
38 font-size: 0.7em; 37 font-size: 0.7em;
38 font-weight: 400;
39 padding-left: 3px;
39 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698