OLD | NEW |
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 12 matching lines...) Expand all Loading... |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 /* Chromium default media controls */ | 26 /* Chromium default media controls */ |
27 | 27 |
28 audio { | 28 audio { |
29 width: 300px; | 29 width: 300px; |
30 height: 32px; | 30 height: 32px; |
31 } | 31 } |
32 | 32 |
| 33 audio:-webkit-full-page-media, video:-webkit-full-page-media { |
| 34 max-height: 100%; |
| 35 max-width: 100%; |
| 36 } |
| 37 |
33 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel { | 38 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel { |
34 -webkit-user-select: none; | 39 -webkit-user-select: none; |
35 position: absolute; | 40 position: absolute; |
36 overflow: visible; | 41 overflow: visible; |
37 bottom: 0; | 42 bottom: 0; |
38 width: 100%; | 43 width: 100%; |
39 height: 32px; | 44 height: 32px; |
40 z-index: 0; | 45 z-index: 0; |
41 background-color: rgba(0, 0, 0, 0.6); | 46 background-color: rgba(0, 0, 0, 0.6); |
42 } | 47 } |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 -webkit-appearance: media-volume-slider; | 157 -webkit-appearance: media-volume-slider; |
153 display: inline; | 158 display: inline; |
154 position: absolute; | 159 position: absolute; |
155 | 160 |
156 top: 10px; | 161 top: 10px; |
157 left: 12px; | 162 left: 12px; |
158 | 163 |
159 width: 10px; | 164 width: 10px; |
160 height: 80px; | 165 height: 80px; |
161 } | 166 } |
OLD | NEW |