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 /* We introduce a wrapper aligner element as setting the relevant attributes | 5 /* We introduce a wrapper aligner element as setting the relevant attributes |
6 * (horizontal justified layout center) have no effect on the core-toolbar. */ | 6 * (horizontal justified layout center) have no effect on the core-toolbar. */ |
7 #aligner { | 7 #aligner { |
8 width: 100%; | 8 width: 100%; |
9 } | 9 } |
10 | 10 |
11 #title { | 11 #title { |
12 font-size: 77.8%; | 12 font-size: 77.8%; |
13 font-weight: 500; | 13 font-weight: 500; |
14 overflow: hidden; | 14 overflow: hidden; |
15 text-overflow: ellipsis; | 15 text-overflow: ellipsis; |
16 white-space: nowrap; | 16 white-space: nowrap; |
17 } | 17 } |
18 | 18 |
19 #pageselector-container { | 19 #pageselector-container { |
20 text-align: center; | 20 text-align: center; |
21 /* The container resizes according to the width of the toolbar. On small | 21 /* The container resizes according to the width of the toolbar. On small |
22 * screens with large numbers of pages, overflow page numbers without | 22 * screens with large numbers of pages, overflow page numbers without |
23 * wrapping. */ | 23 * wrapping. */ |
24 white-space: nowrap; | 24 white-space: nowrap; |
25 } | 25 } |
26 | 26 |
27 #buttons { | 27 #buttons { |
28 -webkit-user-select: none; | 28 -webkit-user-select: none; |
29 text-align: right; | 29 text-align: end; |
30 } | 30 } |
31 | 31 |
32 paper-icon-button { | 32 paper-icon-button { |
33 margin-right: 12px; | 33 -webkit-margin-end: 12px; |
34 } | 34 } |
35 | 35 |
36 viewer-toolbar-dropdown { | 36 viewer-toolbar-dropdown { |
37 margin-right: 4px; | 37 -webkit-margin-end: 4px; |
38 } | 38 } |
39 | 39 |
40 paper-progress { | 40 paper-progress { |
41 --paper-progress-active-color: rgb(50, 54, 57); | 41 --paper-progress-active-color: rgb(50, 54, 57); |
42 --paper-progress-container-color: rgb(34, 36, 38); | 42 --paper-progress-container-color: rgb(34, 36, 38); |
43 --paper-progress-height: 48px; | 43 --paper-progress-height: 48px; |
44 position: absolute; | 44 position: absolute; |
45 width: 100%; | 45 width: 100%; |
46 } | 46 } |
47 | 47 |
(...skipping 10 matching lines...) Expand all Loading... |
58 background: rgba(255, 255, 255, 0.3); | 58 background: rgba(255, 255, 255, 0.3); |
59 } | 59 } |
60 | 60 |
61 paper-toolbar /deep/ .toolbar-tools { | 61 paper-toolbar /deep/ .toolbar-tools { |
62 height: 48px; | 62 height: 48px; |
63 } | 63 } |
64 | 64 |
65 .invisible { | 65 .invisible { |
66 visibility: hidden; | 66 visibility: hidden; |
67 } | 67 } |
OLD | NEW |