2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
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
16 * from this software without specific prior written permission.
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
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
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
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
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
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 transform: translateZ
(0);
37 #elements-content:not
(.elements-wrap
) > div
{
38 display: inline-block
;
42 #elements-content.elements-wrap
{
47 border-bottom: 1px solid hsla
(0, 0%, 0%, 0.1);
53 background-color: white
;
54 border-top: 1px solid
#ccc;
76 border: 1px rgb
(66%, 66%, 66%) dotted
;
77 background-color: white
;
78 display: inline-block
;
86 background-color: white
;
87 display: inline-block
;
89 vertical-align: middle
;
95 border: 1px black solid
;
96 background-color: white
;
97 display: inline-block
;
99 vertical-align: middle
;
105 border: 1px grey dashed
;
106 background-color: white
;
107 display: inline-block
;
109 vertical-align: middle
;
116 border: 1px gray solid
;
117 background-color: white
;
118 display: inline-block
;
120 vertical-align: middle
;
127 .metrics .content span {
128 display: inline-block
;
138 display: inline-block
;
139 vertical-align: middle
;
143 display: inline-block
;
144 vertical-align: middle
;
148 display: inline-block
;
152 display: inline-block
;
156 padding: 2px 2px 4px 4px;
159 background-origin: padding
;
160 background-clip: padding
;
161 -webkit-user-select: text
;
162 border-bottom: 1px solid
#eee;
166 .styles-section:last-child {
170 .styles-pane .sidebar-separator {
174 .styles-section.read-only {
175 background-color: #eee;
178 .styles-section .style-properties li.not-parsed-ok {
182 .styles-section
.style-properties li
.filter-match
,
183 .styles-section .simple-selector.filter-match {
184 background-color: rgba
(255, 255, 0, 0.5);
187 .styles-section .style-properties li.overloaded.filter-match {
188 background-color: rgba
(255, 255, 0, 0.25);
191 .styles-section .style-properties li .css-update-highlight {
195 .styles-section .style-properties li .css-update-highlight.first-part {
196 color: white
!important
;
199 .styles-section .style-properties li.not-parsed-ok .exclamation-mark {
200 display: inline-block
;
206 left: -36px; /* outdent to compensate for the top-level property indent */
207 -webkit-user-select: none
;
212 .styles-section-title {
213 background-origin: padding
;
214 background-clip: padding
;
215 word-wrap: break-word
;
219 .styles-section-title .media-list {
223 .styles-section-title .media-list.media-matches .media.editable-media {
227 .styles-section-title
.media:not
(.editing-media
),
228 .styles-section-title .media:not(.editing-media) .subtitle {
232 .styles-section-title .media .subtitle {
234 color: rgb
(85, 85, 85);
237 .styles-section-subtitle {
238 color: rgb
(85, 85, 85);
242 text-overflow: ellipsis
;
247 .styles-section .styles-section-subtitle a {
251 .styles-section .selector {
255 .styles-section .simple-selector.selector-matches {
259 .styles-section a[data-uncopyable] {
260 display: inline-block
;
263 .styles-section a[data-uncopyable]::before {
264 content: attr
(data-uncopyable
);
265 text-decoration: underline
;
268 .styles-section .style-properties {
270 padding: 2px 4px 0 0;
275 .styles-section.matched-styles .style-properties {
279 .no-affect .style-properties li {
283 .no-affect .style-properties li.editing {
287 .styles-section .style-properties li {
291 text-overflow: ellipsis
;
296 .styles-section .style-properties li .webkit-css-property {
297 margin-left: -22px; /* outdent the first line of longhand properties (in an expanded shorthand) to compensate for the "padding-left" shift in .styles-section .style-properties li */
300 .styles-section .style-properties > li {
304 .styles-section .style-properties > li .webkit-css-property {
305 margin-left: -38px; /* outdent the first line of the top-level properties to compensate for the "padding-left" shift in .styles-section .style-properties > li */
308 .styles-section .style-properties > li.child-editing {
312 .styles-section .style-properties > li.child-editing .webkit-css-property {
316 .styles-section.matched-styles .style-properties li {
317 margin-left: 0 !important
;
320 .styles-section .style-properties li.child-editing {
321 word-wrap: break-word
!important
;
322 white-space: normal
!important
;
326 .styles-section .style-properties ol {
329 -webkit-padding-start: 12px;
333 .styles-section .style-properties ol.expanded {
337 .styles-section.matched-styles .style-properties li.parent .expand-element {
338 -webkit-user-select: none
;
339 background-image: url
(Images/toolbarButtonGlyphs.png);
340 background-size: 352px 168px;
346 display: inline-block
;
349 @media (-webkit-min-device-pixel-ratio: 1.5) {
350 .styles-section.matched-styles .style-properties li.parent .expand-element {
351 background-image: url
(Images/toolbarButtonGlyphs_2x.png);
355 .styles-section.matched-styles .style-properties li.parent .expand-element {
356 background-position: -4px -96px;
359 .styles-section.matched-styles .style-properties li.parent.expanded .expand-element {
360 background-position: -20px -96px;
363 .styles-section .style-properties li .info {
368 .styles-section.matched-styles:not(.read-only):hover .style-properties .enabled-button {
372 .styles-section.matched-styles:not(.read-only) .style-properties li.disabled .enabled-button {
376 .styles-section .style-properties .enabled-button {
385 left: -40px; /* original -2px + (-38px) to compensate for the first line outdent */
390 .styles-section.matched-styles .style-properties ol.expanded {
394 .styles-section
.style-properties
.overloaded:not
(.has-ignorable-error
),
395 .styles-section
.style-properties
.inactive
,
396 .styles-section
.style-properties
.disabled
,
397 .styles-section .style-properties .not-parsed-ok:not(.has-ignorable-error) {
398 text-decoration: line-through
;
401 .styles-section .style-properties .has-ignorable-error .webkit-css-property {
405 .styles-section
.style-properties
.implicit
,
406 .styles-section .style-properties .inherited {
410 .styles-section .style-properties .has-ignorable-error {
414 .styles-element-state-pane {
418 border-bottom: 1px solid rgb
(189, 189, 189);
421 @keyframes styles-element-state-pane-slidein
{
430 @keyframes styles-element-state-pane-slideout
{
439 .styles-sidebar-toolbar-pane {
441 animation-duration: 0.1s;
442 animation-direction: normal
;
445 .styles-sidebar-toolbar-pane-container {
451 .styles-element-state-pane {
452 background-color: #f3f3f3;
453 border-bottom: 1px solid rgb
(189, 189, 189);
458 .styles-element-state-pane > div {
462 .styles-element-state-pane > table {
467 .styles-element-state-pane td {
471 .styles-animations-controls-pane > * {
475 .styles-animations-controls-pane {
476 border-bottom: 1px solid rgb
(189, 189, 189);
479 background-color: #eee;
482 .animations-controls {
489 .animations-controls > .toolbar {
490 display: inline-block
;
493 .animations-controls > input {
498 .animations-controls > .playback-label {
506 .image-preview-container {
507 background: transparent
;
511 .image-preview-container img {
515 background-image: url
(Images/checker.png);
516 -webkit-user-select: text
;
517 -webkit-user-drag: auto
;
520 .sidebar-pane.composite {
525 border-bottom: 1px solid
#ccc;
528 .metrics-and-styles .metrics {
529 border-top: 1px solid
#ccc;
533 .sidebar-pane.composite .metrics {
536 flex-direction: column
;
537 -webkit-align-items: center
;
538 -webkit-justify-content: center
;
541 .sidebar-pane
.metrics-and-styles
,
542 .sidebar-pane .metrics-and-computed {
543 display: flex
!important
;
544 flex-direction: column
!important
;
548 .sidebar-pane .style-panes-wrapper {
549 transform: translateZ
(0);
555 .styles-sidebar-pane-toolbar {
556 border-bottom: 1px solid
#eee;
559 .styles-sidebar-pane-filter-box {
564 .styles-sidebar-pane-filter-box > input {
565 outline: none
!important
;
568 background: transparent
;
572 .styles-filter-engaged {
573 background-color: rgba
(255, 255, 0, 0.5);
576 .sidebar-pane.composite .platform-fonts {
577 -webkit-user-select: text
;
580 .sidebar-pane.composite .platform-fonts .sidebar-separator {
582 background-color: #f1f1f1;
588 .sidebar-pane.composite .platform-fonts .stats-section {
592 .sidebar-pane.composite .platform-fonts .font-stats-item {
596 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter {
600 .sidebar-pane.composite .metrics-and-styles .metrics {
604 .sidebar-pane > .split-widget {
612 .styles-section:not
(.read-only
) .style-properties
.webkit-css-property
.styles-panel-hovered
,
613 .styles-section:not
(.read-only
) .style-properties
.value
.styles-panel-hovered
,
614 .styles-section:not
(.read-only
) .style-properties
.value
.styles-panel-hovered
,
615 .styles-section:not(.read-only) span.simple-selector.styles-panel-hovered {
616 text-decoration: underline
;
620 .styles-clipboard-only {
621 display: inline-block
;
624 pointer-events: none
;
635 display: inline-block
;
637 -webkit-user-select: none
;
641 background-color: #9C27B0;
648 stroke-linecap: square
;
653 background-image: url
(Images/checker.png);
656 li
.child-editing
.styles-clipboard-only
{
661 li
.editing
.enabled-button
{
662 display: none
!important
;
666 background-color: #ddd;
668 border-top: 1px solid
#ccc;
669 border-bottom: 1px solid
#ccc;
670 color: rgb
(50, 50, 50);
672 text-overflow: ellipsis
;
680 display: inline-block
;
681 border: 1px solid rgba
(128, 128, 128, 0.6);
684 .swatch-inner:hover {
685 border: 1px solid rgba
(64, 64, 64, 0.8);
688 .animation-section-body {
692 .animation-section-body.expanded {
696 .animation-section-body .section {
697 border-bottom: 1px solid rgb
(191, 191, 191);
704 .global-animations-toolbar {
708 background-color: #eee;
709 border-bottom: 1px solid rgb
(163, 163, 163);
713 .events-pane .section:not(:first-of-type) {
714 border-top: 1px solid rgb
(231, 231, 231);
717 .events-pane .section {
721 .style-properties li.editing {
726 .style-properties li.editing-sub-part {
727 padding: 3px 6px 8px 18px;
728 margin: -1px -6px -8px -6px;
732 .properties-widget-section {
733 padding: 2px 0px 2px 5px;