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

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

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2015 Google Inc. 3 * Copyright (C) 2015 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 height: inherit; 42 height: inherit;
43 position: relative; 43 position: relative;
44 direction: ltr; 44 direction: ltr;
45 display: flex; 45 display: flex;
46 flex-direction: column; 46 flex-direction: column;
47 font-family: Segoe, "Helvetica Neue", Roboto, Arial, Helvetica, sans-serif; 47 font-family: Segoe, "Helvetica Neue", Roboto, Arial, Helvetica, sans-serif;
48 justify-content: flex-end; 48 justify-content: flex-end;
49 align-items: center; 49 align-items: center;
50 } 50 }
51 51
52 audio::-webkit-media-remoting-interstitial,
53 video::-webkit-media-remoting-interstitial {
54 width: inherit;
55 height: inherit;
56 position: relative;
57 direction: ltr;
58 display: flex;
59 flex-direction: column;
60 font-family: Segoe, "Helvetica Neue", Roboto, Arial, Helvetica, sans-serif;
61 justify-content: flex-end;
62 align-items: center;
63 }
64
52 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure { 65 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure {
53 width: 100%; 66 width: 100%;
54 height: 32px; 67 height: 32px;
55 flex-shrink: 0; 68 flex-shrink: 0;
56 bottom: 0; 69 bottom: 0;
57 text-indent: 0; 70 text-indent: 0;
58 padding: 0; 71 padding: 0;
59 margin: 0; 72 margin: 0;
60 box-sizing: border-box; 73 box-sizing: border-box;
61 } 74 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 top: 0; 151 top: 0;
139 left: 0; 152 left: 0;
140 margin: 0; 153 margin: 0;
141 border-width: 0px; 154 border-width: 0px;
142 background-color: transparent; 155 background-color: transparent;
143 width: 100%; 156 width: 100%;
144 height: 100%; 157 height: 100%;
145 padding: 0; 158 padding: 0;
146 } 159 }
147 160
161 video::-webkit-media-remoting-disable-button {
162 -webkit-appearance: media-remoting-disable-button;
163 display: flex;
164 position: absolute;
165 margin: 0;
166 top: 28%;
167 left: 53%;
168 border-width: 0px;
169 background-color: transparent;
170 width: 48px;
171 height: 48px;
172 padding: 0;
173 }
174
148 video::-internal-media-controls-overlay-cast-button { 175 video::-internal-media-controls-overlay-cast-button {
149 -webkit-appearance: -internal-media-overlay-cast-off-button; 176 -webkit-appearance: -internal-media-overlay-cast-off-button;
150 display: flex; 177 display: flex;
151 position: absolute; 178 position: absolute;
152 top: 8px; 179 top: 8px;
153 left: 8px; 180 left: 8px;
154 margin-left: 0px; 181 margin-left: 0px;
155 margin-top: 0px; 182 margin-top: 0px;
156 border-width: 0px; 183 border-width: 0px;
157 background-color: transparent; 184 background-color: transparent;
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 font-weight: bold; 541 font-weight: bold;
515 } 542 }
516 543
517 video::cue(u) { 544 video::cue(u) {
518 text-decoration: underline; 545 text-decoration: underline;
519 } 546 }
520 547
521 video::cue(i) { 548 video::cue(i) {
522 font-style: italic; 549 font-style: italic;
523 } 550 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698