Commit 1b1346b7 authored by Dan Beam's avatar Dan Beam Committed by Commit Bot

WebUI Dark Mode: increase opacity for toolbar search placeholder text

Screenshots: https://imgur.com/a/7sab9SR

R=dpapad@chromium.org
BUG=950814

Change-Id: I48ce37a3b7fd369fea9f6d3852017a0c423a32f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1559398
Commit-Queue: Dan Beam <dbeam@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#649281}
parent aded6463
...@@ -37,9 +37,14 @@ ...@@ -37,9 +37,14 @@
} }
#prompt { #prompt {
--cr-toolbar-search-field-prompt-opacity: .7;
opacity: 0; opacity: 0;
} }
:host-context([dark]) #prompt {
--cr-toolbar-search-field-prompt-opacity: 1;
}
paper-spinner-lite { paper-spinner-lite {
@apply --cr-icon-height-width; @apply --cr-icon-height-width;
--paper-spinner-color: white; --paper-spinner-color: white;
...@@ -111,7 +116,7 @@ ...@@ -111,7 +116,7 @@
:host(:not([narrow]):not([showing-search])) #icon, :host(:not([narrow]):not([showing-search])) #icon,
:host(:not([narrow])) #prompt { :host(:not([narrow])) #prompt {
opacity: 0.7; opacity: var(--cr-toolbar-search-field-prompt-opacity);
} }
:host([narrow]:not([showing-search])) #searchTerm { :host([narrow]:not([showing-search])) #searchTerm {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment