Commit 85921ae6 authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

[NTP] Add fakebox appear/disappear transition

Bug: 850701
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: Iff3f58b719a71e089bd821f030a8345af2620b98
Reviewed-on: https://chromium-review.googlesource.com/1125266
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Reviewed-by: default avatarMathieu Perreault <mathp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576341}
parent ca025d47
...@@ -110,6 +110,7 @@ button { ...@@ -110,6 +110,7 @@ button {
} }
body.hide-fakebox #fakebox { body.hide-fakebox #fakebox {
opacity: 0;
visibility: hidden; visibility: hidden;
} }
...@@ -303,7 +304,10 @@ body.alternate-logo #logo-non-white { ...@@ -303,7 +304,10 @@ body.alternate-logo #logo-non-white {
box-shadow: none; box-shadow: none;
margin: 0 auto; margin: 0 auto;
max-width: 560px; max-width: 560px;
opacity: 1;
transition: background-color 300ms ease-in-out; transition: background-color 300ms ease-in-out;
/* Transition should be similar to .mv-tile/.md-tile opacity transition. */
transition: opacity 200ms;
} }
.md #fakebox:hover { .md #fakebox:hover {
......
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