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

Side by Side Diff: Source/devtools/front_end/screencastView.css

Issue 23537022: Add navigation controls to DevTools screencast view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Polished styles, added icons Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/ScreencastView.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10 matching lines...) Expand all
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
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 {
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
31 .screencast-viewport { 92 .screencast-viewport {
32 margin: 10px; 93 margin: 10px;
33 border: 20px solid #333; 94 border: 20px solid #333;
34 border-radius: 20px; 95 border-radius: 20px;
35 position: relative; 96 position: relative;
36 } 97 }
37 98
38 .screencast canvas { 99 .screencast canvas {
39 position: absolute; 100 position: absolute;
40 width: 100%; 101 width: 100%;
(...skipping 17 matching lines...) Expand all
58 .screencast-node-id { 119 .screencast-node-id {
59 /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */ 120 /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */
60 color: rgb(26, 26, 166); 121 color: rgb(26, 26, 166);
61 } 122 }
62 123
63 .screencast-class-name { 124 .screencast-class-name {
64 /* Keep this in sync with view-source.css (.webkit-html-attribute-name) */ 125 /* Keep this in sync with view-source.css (.webkit-html-attribute-name) */
65 color: rgb(153, 69, 0); 126 color: rgb(153, 69, 0);
66 } 127 }
67 128
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ScreencastView.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698