Skip to content

Commit 5721338

Browse files
Change background-color of search input if disabled
1 parent 5cbd406 commit 5721338

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/librustdoc/html/static/themes/dark.css

+4
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ a.test-arrow {
177177
border-color: #008dfd;
178178
}
179179

180+
.search-focus:disabled {
181+
background-color: #c5c4c4;
182+
}
183+
180184
#crate-search + .search-input:focus {
181185
box-shadow: 0 0 8px 4px #078dd8;
182186
}

src/librustdoc/html/static/themes/light.css

+4
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ a.test-arrow {
177177
border-color: #66afe9;
178178
}
179179

180+
.search-focus:disabled {
181+
background-color: #e6e6e6;
182+
}
183+
180184
#crate-search + .search-input:focus {
181185
box-shadow: 0 0 8px #078dd8;
182186
}

0 commit comments

Comments
 (0)