| 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 animatable element and set the overflow since | 5 /* We introduce a wrapper animatable element and set the overflow since |
| 6 * core-transition interferes with the box-shadow from paper-shadow. */ | 6 * core-transition interferes with the box-shadow from paper-shadow. */ |
| 7 #animatable { | 7 #animatable { |
| 8 overflow: visible; | 8 overflow: visible; |
| 9 } | 9 } |
| 10 | 10 |
| 11 /* We introduce a wrapper aligner element as setting the relevant attributes | 11 /* We introduce a wrapper aligner element as setting the relevant attributes |
| 12 * (horizontal justified layout center) have no effect on the core-toolbar. */ | 12 * (horizontal justified layout center) have no effect on the core-toolbar. */ |
| 13 #aligner { | 13 #aligner { |
| 14 width: 100%; | 14 width: 100%; |
| 15 } | 15 } |
| 16 | 16 |
| 17 #title { | 17 #title { |
| 18 /* paper-toolbar enforces a layout on anything with a title attribute which |
| 19 * sets `flex: 1`. We must overwrite it here rather than with the 'flex-5' |
| 20 * class. |
| 21 * TODO(tsergeant): Remove this once it is fixed from the Polymer side. |
| 22 */ |
| 23 flex: 5; |
| 18 overflow: hidden; | 24 overflow: hidden; |
| 19 text-overflow: ellipsis; | 25 text-overflow: ellipsis; |
| 20 white-space: nowrap; | 26 white-space: nowrap; |
| 21 } | 27 } |
| 22 | 28 |
| 23 #pageselector-container { | 29 #pageselector-container { |
| 24 text-align: center; | 30 text-align: center; |
| 25 /* The container resizes according to the width of the toolbar. On small | 31 /* The container resizes according to the width of the toolbar. On small |
| 26 * screens with large numbers of pages, overflow page numbers without | 32 * screens with large numbers of pages, overflow page numbers without |
| 27 * wrapping. */ | 33 * wrapping. */ |
| 28 white-space: nowrap; | 34 white-space: nowrap; |
| 29 } | 35 } |
| 30 | 36 |
| 31 #buttons { | 37 #buttons { |
| 32 text-align: right; | 38 text-align: right; |
| 33 } | 39 } |
| 34 | 40 |
| 41 #buttons > paper-icon-button { |
| 42 margin-right: 0; |
| 43 } |
| 44 |
| 35 paper-progress { | 45 paper-progress { |
| 36 height: 56px; | 46 height: 56px; |
| 37 position: absolute; | 47 position: absolute; |
| 38 width: 100%; | 48 width: 100%; |
| 39 z-index: 3; | 49 z-index: 3; |
| 40 } | 50 } |
| 41 | 51 |
| 42 paper-progress::shadow #activeProgress { | 52 paper-progress::shadow #activeProgress { |
| 43 background-color: rgb(27, 168, 243); | 53 background-color: rgb(50, 54, 57); |
| 44 } | 54 } |
| 45 | 55 |
| 46 paper-progress::shadow #progressContainer { | 56 paper-progress::shadow #progressContainer { |
| 47 background-color: rgb(100, 181, 246); | 57 background-color: rgba(0, 0, 0, 0.3); |
| 48 } | 58 } |
| 49 | 59 |
| 50 paper-toolbar { | 60 paper-toolbar { |
| 51 background-color: rgb(27, 168, 243); | 61 background-color: rgb(50, 54, 57); |
| 52 color: rgb(241, 241, 241); | 62 color: rgb(241, 241, 241); |
| 53 font-size: 1.5em; | 63 font-size: 1.5em; |
| 54 height: 56px; | 64 height: 56px; |
| 55 padding-left: 1em; | 65 padding-left: 1em; |
| 56 padding-right: 1em; | 66 padding-right: 1em; |
| 57 z-index: 3; | 67 z-index: 3; |
| 58 } | 68 } |
| 59 | 69 |
| 60 paper-toolbar /deep/ ::selection { | 70 paper-toolbar /deep/ ::selection { |
| 61 background: rgb(187, 222, 251); | 71 background: rgba(255, 255, 255, 0.3); |
| 62 } | 72 } |
| 63 | 73 |
| 64 paper-toolbar /deep/ .toolbar-tools { | 74 paper-toolbar /deep/ .toolbar-tools { |
| 65 height: 56px; | 75 height: 56px; |
| 66 } | 76 } |
| 67 | 77 |
| 68 .invisible { | 78 .invisible { |
| 69 visibility: hidden; | 79 visibility: hidden; |
| 70 } | 80 } |
| OLD | NEW |