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

Side by Side Diff: ui/file_manager/video_player/css/header.css

Issue 477603002: Video Player: Hide the cast icon on non-drive volume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the comment Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #video-player > .header { 5 #video-player > .header {
6 -webkit-app-region: drag; 6 -webkit-app-region: drag;
7 background: rgba(30, 30, 30, 0.8); 7 background: rgba(30, 30, 30, 0.8);
8 border-bottom: 1px solid rgba(50, 50, 50, 0.8); 8 border-bottom: 1px solid rgba(50, 50, 50, 0.8);
9 display: flex; 9 display: flex;
10 flex-direction: row; 10 flex-direction: row;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 url(../images/100/cast_off.png) 1x, 74 url(../images/100/cast_off.png) 1x,
75 url(../images/200/cast_off.png) 2x); 75 url(../images/200/cast_off.png) 2x);
76 } 76 }
77 77
78 #video-player[casting] > .header > button.cast-button { 78 #video-player[casting] > .header > button.cast-button {
79 background-image: -webkit-image-set( 79 background-image: -webkit-image-set(
80 url(../images/100/cast_on.png) 1x, 80 url(../images/100/cast_on.png) 1x,
81 url(../images/200/cast_on.png) 2x); 81 url(../images/200/cast_on.png) 2x);
82 } 82 }
83 83
84 #video-player > .header > button.cast-button.hidden { 84 #video-player > .header > button.cast-button {
85 display: none; 85 display: none;
86 } 86 }
87 87
88 #video-player[cast-available][castable] > .header > button.cast-button {
89 display: block;
90 }
91
88 #video-player > .header > button.minimize-button { 92 #video-player > .header > button.minimize-button {
89 background-image: -webkit-image-set( 93 background-image: -webkit-image-set(
90 url(chrome://resources/images/apps/topbar_button_minimize.png) 1x, 94 url(chrome://resources/images/apps/topbar_button_minimize.png) 1x,
91 url(chrome://resources/images/2x/apps/topbar_button_minimize.png) 2x); 95 url(chrome://resources/images/2x/apps/topbar_button_minimize.png) 2x);
92 } 96 }
93 97
94 #video-player > .header > button.maximize-button { 98 #video-player > .header > button.maximize-button {
95 background-image: -webkit-image-set( 99 background-image: -webkit-image-set(
96 url(chrome://resources/images/apps/topbar_button_maximize.png) 1x, 100 url(chrome://resources/images/apps/topbar_button_maximize.png) 1x,
97 url(chrome://resources/images/2x/apps/topbar_button_maximize.png) 2x); 101 url(chrome://resources/images/2x/apps/topbar_button_maximize.png) 2x);
98 } 102 }
99 103
100 #video-player > .header > button.close-button { 104 #video-player > .header > button.close-button {
101 background-image: -webkit-image-set( 105 background-image: -webkit-image-set(
102 url(chrome://resources/images/apps/topbar_button_close.png) 1x, 106 url(chrome://resources/images/apps/topbar_button_close.png) 1x,
103 url(chrome://resources/images/2x/apps/topbar_button_close.png) 2x); 107 url(chrome://resources/images/2x/apps/topbar_button_close.png) 2x);
104 } 108 }
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698