Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css

Issue 2657743003: DevTools: migrate icons in "search across files" to UI.Icon (Closed)
Patch Set: address comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css b/third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css
index 35eaca7bce8042739cd4c3f21b7bc12c99bbba8e..17aad8e09b8ceb9a42a5bb30c3c13ccb6b803d09 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css
+++ b/third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css
@@ -23,13 +23,8 @@
}
.search-drawer-header .search-icon {
- background-image: url(Images/toolbarButtonGlyphs.png);
- background-size: 352px 168px;
- background-position: -234px 138px;
left: 10px;
top: 10px;
- width: 12px;
- height: 12px;
position: absolute;
}
@@ -37,22 +32,14 @@
-webkit-appearance: none;
}
-.search-drawer-header .search-cancel-button {
+.search-drawer-header .search-cancel-button-container {
position: relative;
- left: -22px;
- top: 9px;
}
-.search-drawer-header .search-cancel-button::before {
- content: '';
- background-image: url(Images/toolbarButtonGlyphs.png);
- background-size: 352px 168px;
- left: 0;
- top: 0;
- width: 13px;
- height: 13px;
- background-position: -143px -96px;
+.search-drawer-header .search-cancel-button {
position: absolute;
+ right: 9px;
+ top: 9px;
}
:host-context(.platform-mac) .search-drawer-header input.search-config-search {
@@ -89,16 +76,6 @@
overflow: hidden;
}
-@media (-webkit-min-device-pixel-ratio: 1.1) {
-.search-drawer-header .search-icon {
- background-image: url(Images/toolbarButtonGlyphs_2x.png);
-}
-
-.search-drawer-header .search-cancel-button::before {
- background-image: url(Images/toolbarButtonGlyphs_2x.png);
-}
-} /* media */
-
.search-view .search-results {
overflow-y: auto;
display: flex;

Powered by Google App Engine
This is Rietveld 408576698