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.
42 font-family: Lucida Grande
, sans-serif
;
45 -webkit-user-select: none
;
50 color: rgb
(48, 57, 66);
51 font-family: Ubuntu
, Arial
, sans-serif
;
55 color: rgb
(48, 57, 66);
56 font-family: 'Lucida Grande', sans-serif
;
60 font-family: 'Segoe UI', Tahoma
, sans-serif
;
64 box-shadow: 0 0 3px highlight
;
67 fieldset
[disabled
] label:hover input
{
71 .object-popover-container {
72 display: inline-block
;
75 .inspected-page-placeholder {
76 background-color: white
;
81 border-bottom: 1px solid rgb
(64%, 64%, 64%);
82 background-origin: padding-box
;
83 background-clip: padding-box
;
86 .inspector-view-toolbar-left {
87 margin-right: -5px; /* Should compensate for .tabbed-pane-header-contents margin-left. */
90 .bubble-repeat-count {
91 display: inline-block
;
93 background-color: rgb
(128, 151, 189);
94 vertical-align: middle
;
112 background-color: rgb
(220, 130, 130);
132 iframe
.panel
.extension
{
137 .outline-disclosure {
142 .outline-disclosure li.hovered:not(.selected) .selection {
146 background-color: rgba
(56, 121, 217, 0.1);
150 .outline-disclosure li .selection {
159 .outline-disclosure li.selected .selection {
161 background-color: #dadada;
164 .outline-disclosure li.in-clipboard .highlight {
165 outline: 1px dotted darkgrey
;
168 .outline-disclosure li.elements-drag-over .selection {
171 border-top: 2px solid rgb
(56, 121, 217);
174 ol
.outline-disclosure:focus li
.selected
.selection
{
175 background-color: rgb
(56, 121, 217);
178 ol
.outline-disclosure:focus li
.parent
.selected::before
{
179 background-color: white
;
182 ol
.outline-disclosure
,
183 .outline-disclosure ol {
184 list-style-type: none
;
187 .outline-disclosure-no-padding {
191 .outline-disclosure ol {
195 .outline-disclosure li {
197 text-overflow: ellipsis
;
202 ol
.outline-disclosure:focus li
.selected
{
206 ol
.outline-disclosure:focus li
.selected
* {
210 .outline-disclosure li::before {
212 -webkit-user-select: none
;
213 -webkit-mask-image: url
(Images/toolbarButtonGlyphs.png);
214 -webkit-mask-size: 352px 144px;
225 .outline-disclosure li:not(.parent)::before {
226 background-color: transparent
;
229 @media (-webkit-min-device-pixel-ratio: 1.5) {
230 .outline-disclosure li::before {
231 -webkit-mask-image: url
(Images/toolbarButtonGlyphs_2x.png);
235 .outline-disclosure li::before {
236 -webkit-mask-position: -4px -96px;
237 background-color: rgb
(110, 110, 110);
240 .outline-disclosure li.parent.expanded::before {
241 -webkit-mask-position: -20px -96px;
244 .outline-disclosure ol.children {
248 .outline-disclosure ol.children.expanded {
252 .properties-accessor-property-name {
257 -webkit-user-select: text
;
258 box-shadow: rgba
(0, 0, 0, .5) 3px 3px 4px;
259 outline: 1px solid rgb
(66%, 66%, 66%) !important
;
260 background-color: white
;
261 -webkit-user-modify: read-write-plaintext-only
;
262 text-overflow: clip
!important
;
269 opacity: 1.0 !important
;
274 color: #222 !important
;
275 text-decoration: none
!important
;
279 color: #222 !important
;
280 text-decoration: none
!important
;
281 overflow: visible
!important
;
286 background-color: #f3f3f3;
291 background-color: transparent
;
292 border: 1px solid rgb
(165, 165, 165);
293 background-color: #eee;
294 background-image: linear-gradient
(to bottom
, rgb
(252, 252, 252), rgb
(223, 223, 223));
296 -webkit-appearance: none
;
299 .pane-title-button:active {
300 background-color: rgb
(215, 215, 215);
301 background-image: linear-gradient
(to bottom
, rgb
(194, 194, 194), rgb
(239, 239, 239));
305 .sidebar-tree .children {
312 .sidebar-tree-section {
315 padding: 1px 10px 6px 10px;
318 color: rgb
(92, 110, 129);
319 text-shadow: rgba
(255, 255, 255, 0.75) 0 1px 0;
325 padding: 0 5px 0 5px;
331 border-top: 1px solid transparent
;
334 .sidebar-tree .children {
338 .sidebar-tree .children.expanded {
342 .sidebar-tree-section + .children > .sidebar-tree-item {
343 padding-left: 10px !important
;
346 .sidebar-tree-section + .children.small > .sidebar-tree-item {
347 padding-left: 17px !important
;
350 .sidebar-tree > .children > .sidebar-tree-item {
354 .sidebar-tree > .children > .children > .sidebar-tree-item {
358 .sidebar-tree.some-expandable > .sidebar-tree-item:not(.parent) .icon {
362 .sidebar-tree-item .disclosure-button {
367 -webkit-mask-image: url
(Images/toolbarButtonGlyphs.png);
368 -webkit-mask-size: 352px 144px;
369 -webkit-appearance: none
;
370 background-color: rgba
(0, 0, 0, 0.75);
375 @media (-webkit-min-device-pixel-ratio: 1.5) {
376 .sidebar-tree-item .disclosure-button {
377 -webkit-mask-image: url
(Images/toolbarButtonGlyphs_2x.png);
381 .sidebar-tree-item .disclosure-button {
382 -webkit-mask-position: -4px -96px;
385 .sidebar-tree-item.selected .disclosure-button {
386 background-color: white
;
387 -webkit-mask-position: -4px -96px;
390 .sidebar-tree-item.expanded .disclosure-button {
391 -webkit-mask-position: -20px -96px;
394 .sidebar-tree-item.selected.expanded .disclosure-button {
395 background-color: white
;
396 -webkit-mask-position: -20px -96px;
399 .sidebar-tree-item .icon {
407 .sidebar-tree-item.wait .icon {
411 .spinner-icon::before
,
412 .sidebar-tree-item.wait .icon::before {
417 border: 3px solid grey
;
419 clip: rect
(0, 15px, 15px, 0);
422 -webkit-animation: spinner-animation
1s linear infinite
;
423 box-sizing: border-box
;
426 .spinner-icon
.small::before
,
427 .sidebar-tree-item.wait.small .icon::before {
431 clip: rect
(0, 9px, 9px, 0);
435 .sidebar-tree-item.wait.selected .icon::before {
439 @-webkit-keyframes spinner-animation
{
440 from
{ transform: rotate
(0); }
441 to
{ transform: rotate
(360deg); }
456 li
.status
.bubble-repeat-count:empty
{
460 li
.selected
.status
.bubble-repeat-count
{
461 background-color: white
!important
;
462 color: rgb
(132, 154, 190) !important
;
465 :focus li
.selected
.status
.bubble-repeat-count
{
466 color: rgb
(36, 98, 172) !important
;
469 body
.inactive li
.selected
.status
.bubble-repeat-count
{
470 color: rgb
(159, 159, 159) !important
;
473 .sidebar-tree
.small
.sidebar-tree-item
,
474 .sidebar-tree
.children
.small
.sidebar-tree-item
,
475 .sidebar-tree-item.small {
479 .sidebar-tree
.small
.sidebar-tree-item
.icon
,
480 .sidebar-tree
.children
.small
.sidebar-tree-item
.icon
,
481 .sidebar-tree-item.small .icon {
486 .sidebar-tree
.small
.sidebar-tree-item
.status
,
487 .sidebar-tree
.children
.small
.sidebar-tree-item
.status
,
488 .sidebar-tree-item.small .status {
492 .sidebar-tree-item.selected {
494 text-shadow: rgba
(0, 0, 0, 0.33) 1px 1px 0;
495 background-origin: padding-box
;
496 background-clip: padding-box
;
497 background-color: rgb
(56, 121, 217);
500 :focus
.sidebar-tree-item
.selected
{
501 background-color: rgb
(56, 121, 217);
504 body
.inactive
.sidebar-tree-item
.selected
{
505 background-color: rgb
(180,180,180);
508 .sidebar-tree-item .titles {
510 flex-direction: column
;
515 text-overflow: ellipsis
;
520 .titles > .title-container {
524 .sidebar-tree-item .titles.no-subtitle {
528 .sidebar-tree
.small
.sidebar-tree-item
.titles
,
529 .sidebar-tree
.children
.small
.sidebar-tree-item
.titles
,
530 .sidebar-tree-item.small .titles {
535 .sidebar-tree:not
(.small
) .sidebar-tree-item:not
(.small
) .title::after
,
536 .sidebar-tree .children:not(.small) .sidebar-tree-item .title::after {
541 .sidebar-tree-item .subtitle {
545 .sidebar-tree
.small
.sidebar-tree-item
.subtitle
,
546 .sidebar-tree
.children
.small
.sidebar-tree-item
.subtitle
,
547 .sidebar-tree-item.small .subtitle {
551 .sidebar-tree-item.selected .subtitle {
555 .bubble-repeat-count
.debug
,
556 .console-debug-level .bubble-repeat-count {
557 background-color: rgb
(0, 0, 255) !important
;
560 .bubble-repeat-count
.warning
,
561 .console-warning-level .bubble-repeat-count {
562 background-color: rgb
(232, 164, 0) !important
;
565 .bubble-repeat-count
.error
,
566 .console-error-level .bubble-repeat-count {
567 background-color: rgb
(216, 35, 35) !important
;
570 .soft-context-menu-glass-pane {
576 position: absolute
!important
;
583 .viewport-control-gap-element {
588 -webkit-appearance: none
;
589 -webkit-user-select: none
;
590 border: 1px solid rgba
(0, 0, 0, 0.25);
592 box-shadow: 0 1px 0 rgba
(0, 0, 0, 0.08),
593 inset
0 1px 2px rgba
(255, 255, 255, 0.75);
598 text-shadow: 0 1px 0 rgb
(240, 240, 240);
601 background-image: -webkit-image-set
(url
(Images/chromeSelect.png) 1x, url
(Images/chromeSelect_2x.png) 2x), linear-gradient
(#ededed, #ededed 38%, #dedede);
602 background-position: right center
;
603 background-repeat: no-repeat
;
607 .chrome-select:enabled:hover {
608 background-image: -webkit-image-set
(url
(Images/chromeSelect.png) 1x, url
(Images/chromeSelect_2x.png) 2x), linear-gradient
(#f0f0f0, #f0f0f0 38%, #e0e0e0);
609 border-color: rgba
(0, 0, 0, 0.3);
610 box-shadow: 0 1px 0 rgba
(0, 0, 0, 0.12),
611 inset
0 1px 2px rgba
(255, 255, 255, 0.95);
615 .chrome-select:enabled:active {
616 background-image: -webkit-image-set
(url
(Images/chromeSelect.png) 1x, url
(Images/chromeSelect_2x.png) 2x), linear-gradient
(#e7e7e7, #e7e7e7 38%, #d7d7d7);
621 .chrome-select:enabled:focus {
623 -webkit-transition: border-color
200ms;
624 /* We use border color because it follows the border radius (unlike outline).
625 * This is particularly noticeable on mac. */
626 border-color: rgb
(77, 144, 254);
630 body
.inactive select
.chrome-select
,
631 .chrome-select:disabled {
632 background-image: -webkit-image-set
(url
(Images/chromeDisabledSelect.png) 1x, url
(Images/chromeDisabledSelect_2x.png) 2x), linear-gradient
(#f1f1f1, #f1f1f1 38%, #e6e6e6);
633 border-color: rgba
(80, 80, 80, 0.2);
634 box-shadow: 0 1px 0 rgba
(80, 80, 80, 0.08),
635 inset
0 1px 2px rgba
(255, 255, 255, 0.75);