| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * |
| 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are |
| 6 * met: |
| 7 * |
| 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above |
| 11 * copyright notice, this list of conditions and the following disclaimer |
| 12 * in the documentation and/or other materials provided with the |
| 13 * distribution. |
| 14 * * Neither the name of Google Inc. nor the names of its |
| 15 * contributors may be used to endorse or promote products derived from |
| 16 * this software without specific prior written permission. |
| 17 * |
| 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ |
| 30 |
| 31 .screencast-navigation { |
| 32 -webkit-flex-direction: row; |
| 33 background-color: #eee; |
| 34 border-bottom: 1px solid #ccc; |
| 35 display: -webkit-flex; |
| 36 padding-left: 2px; |
| 37 } |
| 38 |
| 39 .screencast-navigation button { |
| 40 -webkit-border-radius: 2px; |
| 41 background-color: transparent; |
| 42 background-image: -webkit-image-set( |
| 43 url(Images/navigationControls.png) 1x, |
| 44 url(Images/navigationControls_2x.png) 2x); |
| 45 background-clip: content-box; |
| 46 background-origin: content-box; |
| 47 background-repeat: no-repeat; |
| 48 border: 1px solid transparent; |
| 49 height: 23px; |
| 50 margin: 3px 1px 2px 1px; |
| 51 padding: 2px; |
| 52 width: 23px; |
| 53 } |
| 54 |
| 55 .screencast-navigation button:hover { |
| 56 border-color: #ccc; |
| 57 } |
| 58 |
| 59 .screencast-navigation button:active { |
| 60 border-color: #aaa; |
| 61 } |
| 62 |
| 63 .screencast-navigation button[disabled] { |
| 64 opacity: 0.5; |
| 65 } |
| 66 |
| 67 .screencast-navigation button.back { |
| 68 background-position-x: -1px; |
| 69 } |
| 70 |
| 71 .screencast-navigation button.forward { |
| 72 background-position-x: -18px; |
| 73 } |
| 74 |
| 75 .screencast-navigation button.reload { |
| 76 background-position-x: -37px; |
| 77 } |
| 78 |
| 79 .screencast-navigation input { |
| 80 -webkit-flex: 1; |
| 81 border: 1px solid #ccc; |
| 82 border-radius: 2px; |
| 83 margin: 3px; |
| 84 padding-left: 5px; |
| 85 } |
| 86 |
| 87 .screencast-navigation input:focus { |
| 88 border: 1px solid #aaa; |
| 89 outline: none !important; |
| 90 } |
| 91 |
| 92 .screencast-viewport { |
| 93 margin: 10px; |
| 94 border: 20px solid #333; |
| 95 border-radius: 20px; |
| 96 position: relative; |
| 97 } |
| 98 |
| 99 .screencast canvas { |
| 100 position: absolute; |
| 101 width: 100%; |
| 102 height: 100%; |
| 103 } |
| 104 |
| 105 .screencast-px { |
| 106 color: rgb(128, 128, 128); |
| 107 } |
| 108 |
| 109 .screencast-element-title { |
| 110 position: absolute; |
| 111 z-index: 10; |
| 112 } |
| 113 |
| 114 .screencast-tag-name { |
| 115 /* Keep this in sync with view-source.css (.webkit-html-tag) */ |
| 116 color: rgb(136, 18, 128); |
| 117 } |
| 118 |
| 119 .screencast-node-id { |
| 120 /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */ |
| 121 color: rgb(26, 26, 166); |
| 122 } |
| 123 |
| 124 .screencast-class-name { |
| 125 /* Keep this in sync with view-source.css (.webkit-html-attribute-name) */ |
| 126 color: rgb(153, 69, 0); |
| 127 } |
| 128 |
| 129 .screencast-glasspane { |
| 130 -webkit-box-orient: horizontal; |
| 131 -webkit-box-align: center; |
| 132 -webkit-box-pack: center; |
| 133 background-color: rgba(255, 255, 255, 0.8); |
| 134 bottom: 0; |
| 135 display: -webkit-box; |
| 136 left: 0; |
| 137 position: absolute; |
| 138 right: 0; |
| 139 top: 29px; |
| 140 font-size: 30px; |
| 141 } |
| OLD | NEW |