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

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

Issue 1902283002: DevTools: Update styles for full text search drawer panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19a22a573ca08b1b6771bb96d620e54c785db089..0f1fd639e2fa188f5b21e35ee85bb3b3d1bbedef 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css
+++ b/third_party/WebKit/Source/devtools/front_end/sources/sourcesSearch.css
@@ -6,31 +6,64 @@
.search-drawer-header {
flex: none;
- padding: 4px;
display: flex;
+ border-bottom: 2px solid #e8e8e8;
}
-.search-drawer-header input[type="text"].search-config-search {
- -webkit-appearance: none;
- padding: 0 3px;
- margin: 0;
- border: 1px solid rgb(163, 163, 163);
- height: 20px;
+.search-drawer-header input.search-config-search {
+ padding: 0 28px;
+ margin: 1px 0px 0px 1px;
+ height: 28px;
border-radius: 2px;
color: #303030;
+ border: none;
}
-.search-drawer-header input[type="search"].search-config-search:focus {
- border: 1px solid rgb(190, 190, 190);
- outline: none;
+.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;
}
-:host-context(.platform-mac) .search-drawer-header input[type="search"].search-config-search {
+.search-config-search::-webkit-search-cancel-button {
+ -webkit-appearance: none;
+}
+
+.search-drawer-header .search-cancel-button {
+ 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;
+ position: absolute;
+}
+
+:host-context(.platform-mac) .search-drawer-header input.search-config-search {
top: 1px;
}
+.search-drawer-header label.search-config-label:first-of-type {
+ border-left: 1px solid #dadada;
+ margin: 0px 0px 0px 1px;
+ padding-left: 10px;
+}
+
.search-drawer-header label.search-config-label {
- margin: auto 0;
+ margin: 2px 0px;
margin-left: 8px;
color: #303030;
display: flex;
@@ -82,6 +115,14 @@
}
@media (-webkit-min-device-pixel-ratio: 1.5) {
+.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);
+}
+
#search-results-pane-file-based li.parent::before {
background-image: url(Images/toolbarButtonGlyphs_2x.png);
}
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698