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

Side by Side Diff: Source/core/css/mediaControls.css

Issue 658353002: Remove background color from overlay cast button (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. 3 * Copyright (C) 2009 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 video::-internal-media-controls-overlay-cast-button { 154 video::-internal-media-controls-overlay-cast-button {
155 -webkit-appearance: -internal-media-overlay-cast-off-button; 155 -webkit-appearance: -internal-media-overlay-cast-off-button;
156 display: flex; 156 display: flex;
157 position: absolute; 157 position: absolute;
158 top: 5%; 158 top: 5%;
159 left: 5%; 159 left: 5%;
160 margin-left: 0px; 160 margin-left: 0px;
161 margin-top: 0px; 161 margin-top: 0px;
162 border: none; 162 border: none;
163 box-sizing: border-box; 163 box-sizing: border-box;
164 background-color: rgba(0,0,0,0.5); 164 background-color: transparent;
165 color: inherit;
Peter Beverloo 2014/10/17 11:47:27 The |color| property inherits by default, why do w
aberent 2014/10/17 16:21:03 Done.
165 width: 30px; 166 width: 30px;
166 height: 30px; 167 height: 30px;
167 padding: 0; 168 padding: 0;
168 } 169 }
169 170
170 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-bu tton { 171 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-bu tton {
171 -webkit-appearance: media-play-button; 172 -webkit-appearance: media-play-button;
172 display: flex; 173 display: flex;
173 flex: none; 174 flex: none;
174 border: none; 175 border: none;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 font-weight: bold; 413 font-weight: bold;
413 } 414 }
414 415
415 video::-webkit-media-text-track-container u { 416 video::-webkit-media-text-track-container u {
416 text-decoration: underline; 417 text-decoration: underline;
417 } 418 }
418 419
419 video::-webkit-media-text-track-container i { 420 video::-webkit-media-text-track-container i {
420 font-style: italic; 421 font-style: italic;
421 } 422 }
OLDNEW
« 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