| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .search-drawer-header { | 7 .search-drawer-header { |
| 8 flex: none; | 8 flex: none; |
| 9 padding: 4px; | |
| 10 display: flex; | 9 display: flex; |
| 10 border-bottom: 2px solid #e8e8e8; |
| 11 } | 11 } |
| 12 | 12 |
| 13 .search-drawer-header input[type="text"].search-config-search { | 13 .search-drawer-header input.search-config-search { |
| 14 -webkit-appearance: none; | 14 padding: 0 28px; |
| 15 padding: 0 3px; | 15 margin: 1px 0px 0px 1px; |
| 16 margin: 0; | 16 height: 28px; |
| 17 border: 1px solid rgb(163, 163, 163); | |
| 18 height: 20px; | |
| 19 border-radius: 2px; | 17 border-radius: 2px; |
| 20 color: #303030; | 18 color: #303030; |
| 19 border: none; |
| 21 } | 20 } |
| 22 | 21 |
| 23 .search-drawer-header input[type="search"].search-config-search:focus { | 22 .search-drawer-header .search-icon { |
| 24 border: 1px solid rgb(190, 190, 190); | 23 background-image: url(Images/toolbarButtonGlyphs.png); |
| 25 outline: none; | 24 background-size: 352px 168px; |
| 25 background-position: -234px 138px; |
| 26 left: 10px; |
| 27 top: 10px; |
| 28 width: 12px; |
| 29 height: 12px; |
| 30 position: absolute; |
| 26 } | 31 } |
| 27 | 32 |
| 28 :host-context(.platform-mac) .search-drawer-header input[type="search"].search-c
onfig-search { | 33 .search-config-search::-webkit-search-cancel-button { |
| 34 -webkit-appearance: none; |
| 35 } |
| 36 |
| 37 .search-drawer-header .search-cancel-button { |
| 38 position: relative; |
| 39 left: -22px; |
| 40 top: 9px; |
| 41 } |
| 42 |
| 43 .search-drawer-header .search-cancel-button::before { |
| 44 content: ''; |
| 45 background-image: url(Images/toolbarButtonGlyphs.png); |
| 46 background-size: 352px 168px; |
| 47 left: 0; |
| 48 top: 0; |
| 49 width: 13px; |
| 50 height: 13px; |
| 51 background-position: -143px -96px; |
| 52 position: absolute; |
| 53 } |
| 54 |
| 55 :host-context(.platform-mac) .search-drawer-header input.search-config-search { |
| 29 top: 1px; | 56 top: 1px; |
| 30 } | 57 } |
| 31 | 58 |
| 59 .search-drawer-header label.search-config-label:first-of-type { |
| 60 border-left: 1px solid #dadada; |
| 61 margin: 0px 0px 0px 1px; |
| 62 padding-left: 10px; |
| 63 } |
| 64 |
| 32 .search-drawer-header label.search-config-label { | 65 .search-drawer-header label.search-config-label { |
| 33 margin: auto 0; | 66 margin: 2px 0px; |
| 34 margin-left: 8px; | 67 margin-left: 8px; |
| 35 color: #303030; | 68 color: #303030; |
| 36 display: flex; | 69 display: flex; |
| 37 } | 70 } |
| 38 | 71 |
| 39 .search-toolbar-summary { | 72 .search-toolbar-summary { |
| 40 background-color: #eee; | 73 background-color: #eee; |
| 41 border-top: 1px solid #ccc; | 74 border-top: 1px solid #ccc; |
| 42 padding-left: 5px; | 75 padding-left: 5px; |
| 43 flex: 0 0 19px; | 76 flex: 0 0 19px; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 width: 12px; | 108 width: 12px; |
| 76 content: "a"; | 109 content: "a"; |
| 77 color: transparent; | 110 color: transparent; |
| 78 margin-left: -5px; | 111 margin-left: -5px; |
| 79 padding-right: 4px; | 112 padding-right: 4px; |
| 80 display: inline-block; | 113 display: inline-block; |
| 81 box-sizing: border-box; | 114 box-sizing: border-box; |
| 82 } | 115 } |
| 83 | 116 |
| 84 @media (-webkit-min-device-pixel-ratio: 1.5) { | 117 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 118 .search-drawer-header .search-icon { |
| 119 background-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 120 } |
| 121 |
| 122 .search-drawer-header .search-cancel-button::before { |
| 123 background-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 124 } |
| 125 |
| 85 #search-results-pane-file-based li.parent::before { | 126 #search-results-pane-file-based li.parent::before { |
| 86 background-image: url(Images/toolbarButtonGlyphs_2x.png); | 127 background-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 87 } | 128 } |
| 88 } /* media */ | 129 } /* media */ |
| 89 | 130 |
| 90 #search-results-pane-file-based li.parent::before { | 131 #search-results-pane-file-based li.parent::before { |
| 91 background-position: -4px -96px; | 132 background-position: -4px -96px; |
| 92 } | 133 } |
| 93 | 134 |
| 94 #search-results-pane-file-based li.parent.expanded::before { | 135 #search-results-pane-file-based li.parent.expanded::before { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 223 |
| 183 .empty-view { | 224 .empty-view { |
| 184 font-size: 24px; | 225 font-size: 24px; |
| 185 color: rgb(75%, 75%, 75%); | 226 color: rgb(75%, 75%, 75%); |
| 186 font-weight: bold; | 227 font-weight: bold; |
| 187 padding: 10px; | 228 padding: 10px; |
| 188 display: flex; | 229 display: flex; |
| 189 align-items: center; | 230 align-items: center; |
| 190 justify-content: center; | 231 justify-content: center; |
| 191 } | 232 } |
| OLD | NEW |