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

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

Issue 1780043002: Add download button to MediaDocument on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using flexbox Created 4 years, 8 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) 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 overflow: hidden; 80 overflow: hidden;
81 text-align: right; 81 text-align: right;
82 bottom: auto; 82 bottom: auto;
83 height: 30px; 83 height: 30px;
84 background-color: rgba(20, 20, 20, 0.8); 84 background-color: rgba(20, 20, 20, 0.8);
85 border-radius: 5px; 85 border-radius: 5px;
86 /* The duration is also specified in MediaControlElements.cpp and LayoutTest s/media/media-controls.js */ 86 /* The duration is also specified in MediaControlElements.cpp and LayoutTest s/media/media-controls.js */
87 transition: opacity 0.3s; 87 transition: opacity 0.3s;
88 } 88 }
89 89
90 video:-webkit-full-page-media {
91 margin: auto;
92 position: absolute;
93 top: 0;
94 right: 0;
95 bottom: 0;
96 left: 0;
97 }
98
99 audio:-webkit-full-page-media, video:-webkit-full-page-media { 90 audio:-webkit-full-page-media, video:-webkit-full-page-media {
100 max-height: 100%; 91 max-height: 100%;
101 max-width: 100%; 92 max-width: 100%;
102 } 93 }
103 94
104 audio:-webkit-full-page-media::-webkit-media-controls-panel, 95 audio:-webkit-full-page-media::-webkit-media-controls-panel,
105 video:-webkit-full-page-media::-webkit-media-controls-panel { 96 video:-webkit-full-page-media::-webkit-media-controls-panel {
106 bottom: 0px; 97 bottom: 0px;
107 } 98 }
108 99
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 font-weight: bold; 405 font-weight: bold;
415 } 406 }
416 407
417 video::cue(u) { 408 video::cue(u) {
418 text-decoration: underline; 409 text-decoration: underline;
419 } 410 }
420 411
421 video::cue(i) { 412 video::cue(i) {
422 font-style: italic; 413 font-style: italic;
423 } 414 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698