OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 12 matching lines...) Expand all Loading... |
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 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. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 .screencast-navigation { | 31 .screencast-navigation { |
32 -webkit-flex-direction: row; | 32 -webkit-flex-direction: row; |
33 background-color: #eee; | |
34 border-bottom: 1px solid #ccc; | |
35 display: -webkit-flex; | 33 display: -webkit-flex; |
36 padding-left: 2px; | 34 height: 25px; |
| 35 position: relative; |
37 } | 36 } |
38 | 37 |
39 .screencast-navigation button { | 38 .screencast-navigation button { |
40 -webkit-border-radius: 2px; | 39 -webkit-border-radius: 2px; |
41 background-color: transparent; | 40 background-color: transparent; |
42 background-image: -webkit-image-set( | 41 background-image: -webkit-image-set( |
43 url(Images/navigationControls.png) 1x, | 42 url(Images/navigationControls.png) 1x, |
44 url(Images/navigationControls_2x.png) 2x); | 43 url(Images/navigationControls_2x.png) 2x); |
45 background-clip: content-box; | 44 background-clip: content-box; |
46 background-origin: content-box; | 45 background-origin: content-box; |
47 background-repeat: no-repeat; | 46 background-repeat: no-repeat; |
48 border: 1px solid transparent; | 47 border: 1px solid transparent; |
49 height: 23px; | 48 height: 23px; |
50 margin: 3px 1px 2px 1px; | 49 padding: 3px 2px 1px; |
51 padding: 2px; | |
52 width: 23px; | 50 width: 23px; |
53 } | 51 } |
54 | 52 |
55 .screencast-navigation button:hover { | 53 .screencast-navigation button:hover { |
56 border-color: #ccc; | 54 border-color: #ccc; |
57 } | 55 } |
58 | 56 |
59 .screencast-navigation button:active { | 57 .screencast-navigation button:active { |
60 border-color: #aaa; | 58 border-color: #aaa; |
61 } | 59 } |
62 | 60 |
63 .screencast-navigation button[disabled] { | 61 .screencast-navigation button[disabled] { |
64 opacity: 0.5; | 62 opacity: 0.5; |
65 } | 63 } |
66 | 64 |
67 .screencast-navigation button.back { | 65 .screencast-navigation button.back { |
68 background-position-x: -1px; | 66 background-position-x: -1px; |
69 } | 67 } |
70 | 68 |
71 .screencast-navigation button.forward { | 69 .screencast-navigation button.forward { |
72 background-position-x: -18px; | 70 background-position-x: -18px; |
73 } | 71 } |
74 | 72 |
75 .screencast-navigation button.reload { | 73 .screencast-navigation button.reload { |
76 background-position-x: -37px; | 74 background-position-x: -37px; |
77 } | 75 } |
78 | 76 |
79 .screencast-navigation input { | 77 .screencast-navigation input { |
80 -webkit-flex: 1; | 78 -webkit-flex: 1; |
81 border: 1px solid #ccc; | 79 border: 1px solid #aaa; |
82 border-radius: 2px; | 80 border-radius: 2px; |
83 margin: 3px; | 81 margin: 1px; |
84 padding-left: 5px; | 82 padding-left: 5px; |
85 } | 83 } |
86 | 84 |
87 .screencast-navigation input:focus { | 85 .screencast-navigation input:focus { |
88 border: 1px solid #aaa; | 86 border: 1px solid #aaa; |
89 outline: none !important; | 87 outline: none !important; |
90 } | 88 } |
91 | 89 |
| 90 .screencast-navigation .progress { |
| 91 background-color: rgb(66, 129, 235); |
| 92 height: 3px; |
| 93 left: 0; |
| 94 position: absolute; |
| 95 top: 100%; /* Align with the bottom edge of the parent. */ |
| 96 width: 0; |
| 97 z-index: 2; /* Above .screencast-glasspane. */ |
| 98 } |
| 99 |
92 .screencast-viewport { | 100 .screencast-viewport { |
93 margin: 10px; | |
94 border: 20px solid #333; | 101 border: 20px solid #333; |
95 border-radius: 20px; | 102 border-radius: 20px; |
96 position: relative; | 103 position: absolute; |
| 104 top: 36px; |
| 105 left: 10px; |
| 106 right: 10px; |
| 107 bottom: 10px; |
97 } | 108 } |
98 | 109 |
99 .screencast canvas { | 110 .screencast canvas { |
100 position: absolute; | 111 position: absolute; |
101 width: 100%; | 112 width: 100%; |
102 height: 100%; | 113 height: 100%; |
103 } | 114 } |
104 | 115 |
105 .screencast-px { | 116 .screencast-px { |
106 color: rgb(128, 128, 128); | 117 color: rgb(128, 128, 128); |
(...skipping 22 matching lines...) Expand all Loading... |
129 .screencast-glasspane { | 140 .screencast-glasspane { |
130 -webkit-box-orient: horizontal; | 141 -webkit-box-orient: horizontal; |
131 -webkit-box-align: center; | 142 -webkit-box-align: center; |
132 -webkit-box-pack: center; | 143 -webkit-box-pack: center; |
133 background-color: rgba(255, 255, 255, 0.8); | 144 background-color: rgba(255, 255, 255, 0.8); |
134 bottom: 0; | 145 bottom: 0; |
135 display: -webkit-box; | 146 display: -webkit-box; |
136 left: 0; | 147 left: 0; |
137 position: absolute; | 148 position: absolute; |
138 right: 0; | 149 right: 0; |
139 top: 29px; | 150 top: 25px; /* Align with the botton edge of .screencast .navigation. */ |
140 font-size: 30px; | 151 font-size: 30px; |
141 } | 152 } |
OLD | NEW |