OLD | NEW |
| (Empty) |
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 | |
3 * found in the LICENSE file. */ | |
4 | |
5 :host { | |
6 align-items: center; | |
7 background: var(--md-toolbar-color); | |
8 color: white; | |
9 display: flex; | |
10 min-height: 56px; | |
11 } | |
12 | |
13 #toolbar { | |
14 --cr-toolbar-field-end-padding: 0; | |
15 --cr-toolbar-field-width: var(--downloads-item-width); | |
16 --cr-toolbar-header-wide: { | |
17 -webkit-margin-start: 24px; | |
18 -webkit-margin-end: 16px; /* Only matters around 900px in Russian. */ | |
19 }; | |
20 --cr-toolbar-left-content-wide: { | |
21 -webkit-margin-start: 0; | |
22 flex: 1 0 1px; | |
23 max-width: none; | |
24 position: static; | |
25 }; | |
26 --cr-toolbar-right-content-wide: { | |
27 flex: 1 0 1px; | |
28 position: static; | |
29 }; | |
30 align-items: center; | |
31 flex: 1; | |
32 } | |
33 | |
34 paper-icon-button { | |
35 --iron-icon-height: 20px; | |
36 --iron-icon-width: 20px; | |
37 --paper-icon-button: { | |
38 height: 32px; | |
39 padding: 6px; | |
40 width: 32px; | |
41 }; | |
42 } | |
43 | |
44 .more-actions { | |
45 -webkit-margin-end: 16px; | |
46 -webkit-margin-start: 8px; | |
47 text-align: end; | |
48 } | |
49 | |
50 #more { | |
51 --paper-menu-button: { | |
52 padding: 0; | |
53 }; | |
54 } | |
55 | |
56 paper-menu { | |
57 --paper-menu-selected-item: { | |
58 font-weight: normal; | |
59 }; | |
60 } | |
61 | |
62 paper-item { | |
63 -webkit-user-select: none; | |
64 cursor: pointer; | |
65 font: inherit; | |
66 min-height: 40px; | |
67 /* TODO(michaelpg): fix this for everybody ever. | |
68 * https://github.com/PolymerElements/paper-menu-button/issues/56 */ | |
69 white-space: nowrap; | |
70 } | |
OLD | NEW |