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

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

Issue 1140823003: Redesign cast-mode-picker UX and switch to core/paper elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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
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 f8d149a15050d4965cea1c42b40d610b47bcae9d..edf4c1e96c01b296419cf69a1432b19b961c6a27 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
@@ -2,33 +2,32 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
-#cast-modes {
- margin: 40px 2px;
- position: absolute;
- z-index: 1;
+.cast-mode {
+ -webkit-padding-start: 5px;
+ cursor: pointer;
+ font-size: 1.0em;
}
-:host-context(html[dir='ltr']) #cast-modes {
- right: 72px;
+.cast-mode:hover {
+ background-color: rgb(187, 206, 236);
+ border: 0;
}
-:host-context(html[dir='rtl']) #cast-modes {
- left: 72px;
+#cast-mode-list {
+ -webkit-user-select: none;
+ color: rgb(44, 44, 44);
+ margin: 0;
}
#container-header {
background-color: rgb(214, 214, 214);
}
-.hide {
- display: none;
-}
-
.route {
color: rgb(119, 119, 119);
}
-#router-header-text {
+#header-text {
-webkit-padding-start: 20px;
flex-grow: 1;
font-size: 1.25em;
@@ -55,11 +54,3 @@
max-height: 275px;
overflow-y: scroll;
}
-
-#transparent-overlay {
- background-color: rgba(255, 255, 255, 0.5);
- height: 100%;
- position: absolute;
- width: 100%;
- z-index: 1;
-}

Powered by Google App Engine
This is Rietveld 408576698