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