Skip to content

Commit 6ccc3fe

Browse files
ktranDevtools-frontend LUCI CQ
authored andcommitted
Fix search bar disabled colors
Before: https://i.imgur.com/Pr0mrqn.png After: https://i.imgur.com/brs20fN.png Fixed: 376201917, 376199516 Change-Id: Ife7b7536eb6d13f59ad715ff33683c27c34b1c1b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5982916 Reviewed-by: Kateryna Prokopenko <[email protected]> Commit-Queue: Kim-Anh Tran <[email protected]>
1 parent 1d4e3d5 commit 6ccc3fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

front_end/ui/legacy/textPrompt.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656

5757
.text-prompt.disabled {
58-
opacity: 50%;
58+
color: var(--sys-color-state-disabled);
5959
cursor: default;
6060
}
6161

front_end/ui/legacy/toolbar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ select.toolbar-item:focus-visible > * {
388388
box-shadow: inset 0 0 0 2px var(--sys-color-state-focus-ring);
389389
}
390390

391-
&:not(:has(devtools-button:hover)):hover {
391+
&:not(:has(devtools-button:hover)):not(.disabled):hover {
392392
background-color: var(--sys-color-state-hover-on-subtle);
393393
}
394394

0 commit comments

Comments
 (0)