OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
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 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
12 * notice, this list of conditions and the following disclaimer in the | 12 * notice, this list of conditions and the following disclaimer in the |
13 * documentation and/or other materials provided with the distribution. | 13 * documentation and/or other materials provided with the distribution. |
14 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of | 14 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of |
15 * its contributors may be used to endorse or promote products derived | 15 * its contributors may be used to endorse or promote products derived |
16 * from this software without specific prior written permission. | 16 * from this software without specific prior written permission. |
17 * | 17 * |
18 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY | 18 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY |
19 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | 19 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 .sidebar-pane > .body .breakpoint-condition { | 30 .sidebar-pane .breakpoint-condition { |
31 display: block; | 31 display: block; |
32 margin-top: 4px; | 32 margin-top: 4px; |
33 margin-bottom: 4px; | 33 margin-bottom: 4px; |
34 margin-left: 23px; | 34 margin-left: 23px; |
35 margin-right: 8px; | 35 margin-right: 8px; |
36 } | 36 } |
37 | 37 |
38 .breakpoint-list .editing.being-edited { | 38 .breakpoint-list .editing.being-edited { |
39 overflow: hidden; | 39 overflow: hidden; |
40 white-space: nowrap; | 40 white-space: nowrap; |
(...skipping 20 matching lines...) Expand all Loading... |
61 } | 61 } |
62 | 62 |
63 .breakpoint-list li { | 63 .breakpoint-list li { |
64 white-space: nowrap; | 64 white-space: nowrap; |
65 text-overflow: ellipsis; | 65 text-overflow: ellipsis; |
66 overflow: hidden; | 66 overflow: hidden; |
67 padding: 2px 0; | 67 padding: 2px 0; |
68 } | 68 } |
69 | 69 |
70 .breakpoint-list li:hover { | 70 .breakpoint-list li:hover { |
71 background-color: rgba(56, 121, 217, 0.2); | 71 background-color: #eee; |
72 } | |
73 | |
74 .breakpoint-list .checkbox-elem { | |
75 margin: 0 4px; | |
76 vertical-align: top; | |
77 position: relative; | |
78 z-index: 1; | |
79 top: 3px; | |
80 } | 72 } |
81 | 73 |
82 .breakpoint-list .source-text { | 74 .breakpoint-list .source-text { |
83 white-space: nowrap; | 75 white-space: nowrap; |
84 text-overflow: ellipsis; | 76 text-overflow: ellipsis; |
85 overflow: hidden; | 77 overflow: hidden; |
86 margin: 2px 0 0 20px; | 78 margin: 2px 0 0 20px; |
87 } | 79 } |
88 | 80 |
89 .sidebar-pane .breakpoint-hit { | 81 .sidebar-pane .breakpoint-hit { |
(...skipping 23 matching lines...) Expand all Loading... |
113 -webkit-padding-start: 12px; | 105 -webkit-padding-start: 12px; |
114 list-style: none; | 106 list-style: none; |
115 } | 107 } |
116 | 108 |
117 .event-listener-breakpoints ol.expanded { | 109 .event-listener-breakpoints ol.expanded { |
118 display: block; | 110 display: block; |
119 } | 111 } |
120 | 112 |
121 .event-listener-breakpoints li { | 113 .event-listener-breakpoints li { |
122 margin-left: 12px; | 114 margin-left: 12px; |
123 white-space: nowrap; | |
124 text-overflow: ellipsis; | 115 text-overflow: ellipsis; |
125 overflow: hidden; | |
126 -webkit-user-select: text; | 116 -webkit-user-select: text; |
127 cursor: default; | 117 cursor: default; |
128 padding-top: 2px; | |
129 line-height: 12px; | |
130 } | 118 } |
131 | 119 |
132 .event-listener-breakpoints li.parent { | 120 .event-listener-breakpoints li.parent { |
133 margin-left: 1px; | 121 margin-left: 1px; |
134 } | 122 } |
135 | 123 |
136 .event-listener-breakpoints li.parent::before { | 124 .event-listener-breakpoints li.parent::before { |
137 -webkit-user-select: none; | 125 -webkit-user-select: none; |
138 background-image: url(Images/toolbarButtonGlyphs.png); | 126 background-image: url(Images/toolbarButtonGlyphs.png); |
139 background-size: 352px 144px; | 127 background-size: 352px 144px; |
140 opacity: 0.5; | 128 opacity: 0.5; |
141 content: "a"; | 129 content: "a"; |
142 width: 8px; | 130 width: 8px; |
143 float: left; | 131 float: left; |
144 margin-right: 4px; | 132 margin: 2px 2px 0 -2px; |
145 color: transparent; | 133 color: transparent; |
146 text-shadow: none; | 134 text-shadow: none; |
147 } | 135 } |
148 | 136 |
149 @media (-webkit-min-device-pixel-ratio: 1.5) { | 137 @media (-webkit-min-device-pixel-ratio: 1.5) { |
150 .event-listener-breakpoints li.parent::before { | 138 .event-listener-breakpoints li.parent::before { |
151 background-image: url(Images/toolbarButtonGlyphs_2x.png); | 139 background-image: url(Images/toolbarButtonGlyphs_2x.png); |
152 } | 140 } |
153 } /* media */ | 141 } /* media */ |
154 | 142 |
155 .event-listener-breakpoints li.parent::before { | 143 .event-listener-breakpoints li.parent::before { |
156 background-position: -4px -96px; | 144 background-position: -4px -96px; |
157 } | 145 } |
158 | 146 |
159 .event-listener-breakpoints li.parent.expanded::before { | 147 .event-listener-breakpoints li.parent.expanded::before { |
160 background-position: -20px -96px; | 148 background-position: -20px -96px; |
161 } | 149 } |
162 | 150 |
163 .event-listener-breakpoints .children li { | 151 .event-listener-breakpoints .children li { |
164 margin-left: 12px; | 152 margin-left: 12px; |
165 height: 16px; | |
166 } | |
167 | |
168 .event-listener-breakpoints .checkbox-elem { | |
169 font-size: 10px; | |
170 } | 153 } |
171 | 154 |
172 .async-operations li > label { | 155 .async-operations li > label { |
173 float: left; | 156 float: left; |
174 } | 157 } |
175 | 158 |
176 .async-operations li > div { | 159 .async-operations li > div { |
177 float: right; | 160 float: right; |
178 margin: 2px 3px 0 2px; | 161 margin: 2px 3px 0 2px; |
179 } | 162 } |
OLD | NEW |