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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2075013002: MD History: show and hide search spinner and icon the same way (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
index b187aff2c54c004d65cf0a3fd7ad31eb878595c8..0b3a7d8b41018bae33e768a50b1b3ce7dd954661 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
@@ -31,6 +31,10 @@
#icon {
--paper-icon-button-ink-color: white;
+ }
+
+ #icon,
+ paper-spinner-lite {
transition: opacity 150ms;
Dan Beam 2016/06/16 23:25:35 #icon's visibility change was effectively taking 1
}
@@ -42,11 +46,16 @@
--paper-spinner-color: white;
height: 20px;
margin: 0 6px;
+ opacity: 0;
padding: 6px;
position: absolute;
width: 20px;
}
+ paper-spinner-lite[active] {
+ opacity: 1;
+ }
+
paper-input-container {
--paper-input-container-input-color: white;
--paper-input-container-underline: {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698