| /* |
| * Copyright (C) 2013 Apple Inc. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions |
| * are met: |
| * 1. Redistributions of source code must retain the above copyright |
| * notice, this list of conditions and the following disclaimer. |
| * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. |
| * |
| * THIS SOFTWARE IS PROVIDED BY APPLE, INC. ``AS IS'' AND ANY |
| * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE, INC. OR |
| * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| |
| /* |
| * This is the UA StyleSheet for <object> and <embed> elements. |
| * |
| * Such elements, when snapshotted (paused), will contain a ShadowRoot |
| * with the following structure: |
| * |
| * <object> |
| * #ShadowRoot |
| * <div class="snapshot-container"> |
| * <div class="snapshot-overlay"></div> <!-- e.g. for dimming content --> |
| * <div class="snapshot-label"> |
| * <div class="snapshot-title">Snapshotted Plug-In</div> |
| * <div class="snapshot-subtitle">Click to restart</div> |
| * </div> |
| * </div> |
| * </div> |
| * |
| */ |
| |
| object::-webkit-snapshotted-plugin-content, |
| embed::-webkit-snapshotted-plugin-content |
| { |
| position: relative; |
| display: inline-block; |
| width: 100%; |
| height: 100%; |
| } |
| |
| object::-webkit-snapshotted-plugin-content .snapshot-container, |
| embed::-webkit-snapshotted-plugin-content .snapshot-container |
| { |
| position: absolute; |
| width: 100%; |
| height: 100%; |
| } |
| |
| object::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-overlay, |
| embed::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-overlay |
| { |
| display: none; |
| } |
| |
| object::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-label, |
| embed::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-label |
| { |
| position: absolute; |
| background-color: white; |
| color: black; |
| margin: 1em; |
| padding: 0.25em 2em; |
| text-align: center; |
| cursor: pointer; |
| -webkit-user-select: none; |
| } |
| |
| object::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-label .snapshot-title, |
| embed::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-label .snapshot-title |
| { |
| font-weight: bold; |
| } |
| |
| object::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-label .snapshot-subtitle, |
| embed::-webkit-snapshotted-plugin-content .snapshot-container .snapshot-label .snapshot-subtitle |
| { |
| font-style: italic; |
| color: #444; |
| } |