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. |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 } | 149 } |
150 | 150 |
151 .metrics .bottom { | 151 .metrics .bottom { |
152 display: inline-block; | 152 display: inline-block; |
153 } | 153 } |
154 | 154 |
155 .styles-section { | 155 .styles-section { |
156 padding: 2px 2px 4px 4px; | 156 padding: 2px 2px 4px 4px; |
157 min-height: 18px; | 157 min-height: 18px; |
158 white-space: nowrap; | 158 white-space: nowrap; |
159 background-origin: padding; | 159 -webkit-user-select: none; |
160 background-clip: padding; | |
161 -webkit-user-select: text; | |
162 border-bottom: 1px solid #eee; | 160 border-bottom: 1px solid #eee; |
163 position: relative; | 161 position: relative; |
164 overflow: hidden; | 162 overflow: hidden; |
165 } | 163 } |
166 | 164 |
167 .styles-section:last-child { | 165 .styles-section:last-child { |
168 border-bottom: none; | 166 border-bottom: none; |
169 } | 167 } |
170 | 168 |
171 .styles-pane .sidebar-separator { | 169 .styles-pane .sidebar-separator { |
(...skipping 25 matching lines...) Expand all Loading... |
197 margin: 0 7px 0 0; | 195 margin: 0 7px 0 0; |
198 top: 1px; | 196 top: 1px; |
199 left: -36px; /* outdent to compensate for the top-level property indent */ | 197 left: -36px; /* outdent to compensate for the top-level property indent */ |
200 -webkit-user-select: none; | 198 -webkit-user-select: none; |
201 cursor: default; | 199 cursor: default; |
202 z-index: 1; | 200 z-index: 1; |
203 } | 201 } |
204 | 202 |
205 .styles-section .sidebar-pane-closing-brace { | 203 .styles-section .sidebar-pane-closing-brace { |
206 clear: both; | 204 clear: both; |
| 205 -webkit-user-select: text; |
207 } | 206 } |
208 | 207 |
209 .styles-section-title { | 208 .styles-section-title { |
210 background-origin: padding; | |
211 background-clip: padding; | |
212 word-wrap: break-word; | 209 word-wrap: break-word; |
213 white-space: normal; | 210 white-space: normal; |
| 211 -webkit-user-select: text; |
214 } | 212 } |
215 | 213 |
216 .styles-section-title .media-list { | 214 .styles-section-title .media-list { |
217 color: #888; | 215 color: #888; |
218 } | 216 } |
219 | 217 |
220 .styles-section-title .media-list.media-matches .media.editable-media { | 218 .styles-section-title .media-list.media-matches .media.editable-media { |
221 color: #222; | 219 color: #222; |
222 } | 220 } |
223 | 221 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 } | 306 } |
309 | 307 |
310 .styles-section .style-properties > li.child-editing .webkit-css-property { | 308 .styles-section .style-properties > li.child-editing .webkit-css-property { |
311 margin-left: 0; | 309 margin-left: 0; |
312 } | 310 } |
313 | 311 |
314 .styles-section.matched-styles .style-properties li { | 312 .styles-section.matched-styles .style-properties li { |
315 margin-left: 0 !important; | 313 margin-left: 0 !important; |
316 } | 314 } |
317 | 315 |
| 316 .styles-section.matched-styles .style-properties li * { |
| 317 -webkit-user-select: text; |
| 318 } |
| 319 |
318 .styles-section .style-properties li.child-editing { | 320 .styles-section .style-properties li.child-editing { |
319 word-wrap: break-word !important; | 321 word-wrap: break-word !important; |
320 white-space: normal !important; | 322 white-space: normal !important; |
321 padding-left: 0; | 323 padding-left: 0; |
322 } | 324 } |
323 | 325 |
324 .styles-section .style-properties ol { | 326 .styles-section .style-properties ol { |
325 display: none; | 327 display: none; |
326 margin: 0; | 328 margin: 0; |
327 -webkit-padding-start: 12px; | 329 -webkit-padding-start: 12px; |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 position: absolute; | 769 position: absolute; |
768 right: 0; | 770 right: 0; |
769 bottom: 0; | 771 bottom: 0; |
770 visibility: hidden; | 772 visibility: hidden; |
771 background-color: rgba(255, 255, 255, 0.9); | 773 background-color: rgba(255, 255, 255, 0.9); |
772 } | 774 } |
773 | 775 |
774 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl
y):hover .sidebar-pane-section-toolbar { | 776 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl
y):hover .sidebar-pane-section-toolbar { |
775 visibility: visible; | 777 visibility: visible; |
776 } | 778 } |
OLD | NEW |