Chromium Code Reviews| 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 :host { | 5 :host { |
| 6 @apply(--downloads-shared-style); | 6 @apply(--downloads-shared-style); |
| 7 align-items: center; | 7 align-items: center; |
| 8 background: rgb(63, 85, 102); | 8 background: rgb(63, 85, 102); |
| 9 color: white; | 9 color: white; |
| 10 content-sizing: padding-box; | 10 content-sizing: padding-box; |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 | 34 |
| 35 #search { | 35 #search { |
| 36 display: flex; | 36 display: flex; |
| 37 justify-content: flex-end; | 37 justify-content: flex-end; |
| 38 } | 38 } |
| 39 | 39 |
| 40 #search-term { | 40 #search-term { |
| 41 --paper-input-container-color: rgba(255, 255, 255, .5); | 41 --paper-input-container-color: rgba(255, 255, 255, .5); |
| 42 --paper-input-container-focus-color: white; | 42 --paper-input-container-focus-color: white; |
| 43 --paper-input-container-input: { | 43 --paper-input-container-input: { |
| 44 font-family: inherit; | |
|
tommycli
2015/08/03 18:41:03
Does it not work without this? I thought font-fami
Dan Beam
2015/08/03 18:48:26
it's not for all things (e.g. <button> doesn't) as
| |
| 44 font-size: 14px; | 45 font-size: 14px; |
| 45 }; | 46 }; |
| 46 --paper-input-container-input-color: white; | 47 --paper-input-container-input-color: white; |
| 47 --paper-input-container-label: { | 48 --paper-input-container-label: { |
| 49 font-family: inherit; | |
| 48 font-size: 14px; | 50 font-size: 14px; |
| 49 }; | 51 }; |
| 50 -webkit-margin-end: 8px; | 52 -webkit-margin-end: 8px; |
| 53 z-index: 0; | |
| 54 } | |
| 55 | |
| 56 #search-term input[type='search']::-webkit-search-cancel-button, | |
| 57 #search-term input[type='search']::-webkit-search-results-button { | |
| 58 -webkit-appearance: none; | |
| 59 } | |
| 60 | |
| 61 #search-term paper-icon-button { | |
| 62 --iron-icon-height: 16px; | |
| 63 --iron-icon-width: 16px; | |
| 64 --paper-icon-button: { | |
| 65 height: 16px; | |
| 66 padding: 6px; | |
| 67 width: 16px; | |
| 68 }; | |
| 69 position: absolute; | |
| 70 right: 0; | |
| 71 top: -4px; | |
| 72 z-index: 1; | |
| 73 } | |
| 74 | |
| 75 :host-context([dir='rtl']) #search-term paper-icon-button { | |
| 76 left: 0; | |
| 77 right: auto; | |
| 51 } | 78 } |
| 52 | 79 |
| 53 paper-menu-button { | 80 paper-menu-button { |
| 54 --paper-menu-button: { | 81 --paper-menu-button: { |
| 55 padding: 0; | 82 padding: 0; |
| 56 }; | 83 }; |
| 57 } | 84 } |
| 58 | 85 |
| 59 paper-item { | 86 paper-item { |
| 60 -webkit-user-select: none; | 87 -webkit-user-select: none; |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 72 display: none; | 99 display: none; |
| 73 } | 100 } |
| 74 } | 101 } |
| 75 | 102 |
| 76 @media all and (max-width: 1024px) { | 103 @media all and (max-width: 1024px) { |
| 77 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */ | 104 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */ |
| 78 #actions { | 105 #actions { |
| 79 display: none; | 106 display: none; |
| 80 } | 107 } |
| 81 } | 108 } |
| OLD | NEW |