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

Unified Diff: chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css

Issue 1754713005: [Media Router] Animate transition between sink list and filter views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for apacible's perf change Created 4 years, 8 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 | chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css
diff --git a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css
index 89ba3ab6b72821af2acc8c13ee58293641b8c3ef..a90fc0dd0492ad5c016eee9bf0c2079ac0f94b5f 100644
--- a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css
+++ b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css
@@ -24,12 +24,16 @@
width: 100%;
}
+#content {
+ position: relative;
+}
+
#device-missing {
align-items: center;
background-color: white;
display: flex;
justify-content: center;
- margin: 60px 0;
+ padding: 60px 0;
}
#device-missing a {
@@ -144,6 +148,20 @@ paper-menu {
flex-grow: 1;
}
+#search-results-container {
+ bottom: 0;
+ left: 0;
+ overflow-x: hidden;
+ /* overflow-y is set to auto when the results are actually displayed to allow
+ * scrolling. It is set to hidden by default so the scrollbar isn't displayed
+ * while animating.
+ */
+ overflow-y: hidden;
+ position: absolute;
+ right: 0;
+ top: 100%;
+}
+
#searching-devices-spinner {
height: 30px;
width: 30px;
@@ -175,16 +193,18 @@ paper-menu {
/* TODO(crbug/589697): Handle overflow of very long domain names. */
}
-#sink-list {
- padding-bottom: 0;
-}
-
.sink-name {
min-width: 10%;
overflow: hidden;
text-overflow: ellipsis;
}
+#sink-search {
+ position: absolute;
+ top: 100%;
+ width: 100%;
+}
+
#sink-search.bottom {
padding-bottom: 16px;
}
« no previous file with comments | « no previous file | chrome/browser/resources/media_router/elements/media_router_container/media_router_container.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698