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.
31 background-color: white
;
35 .console-view > .toolbar {
36 border-bottom: 1px solid
#dadada;
39 .console-view-wrapper {
40 background-color: #eee;
43 .console-view-fix-select-all {
52 word-wrap: break-word
;
53 -webkit-user-select: text
;
54 transform: translateZ
(0);
60 padding: 3px 22px 1px 0;
62 min-height: 18px; /* Sync with ConsoleViewMessage.js */
63 white-space: pre-wrap
;
64 -webkit-user-modify: read-write-plaintext-only
;
67 #console-prompt::before
{
68 background-position: -192px -96px;
71 .console-log-level .console-user-command-result::before {
72 background-position: -202px -96px;
76 .console-user-command {
79 padding: 3px 22px 1px 0;
81 min-height: 18px; /* Sync with ConsoleViewMessage.js */
86 .console-message > * {
90 .console-adjacent-user-command-result + .console-user-command-result.console-log-level::before {
91 background-image: none
;
96 -webkit-user-select: none
;
99 .console-message::before
,
100 .console-user-command::before
,
101 #console-prompt::before
,
102 .console-group-title::before {
111 -webkit-user-select: none
;
112 background-image: url
(Images/toolbarButtonGlyphs.png);
113 background-size: 352px 168px;
116 @media (-webkit-min-device-pixel-ratio: 1.5) {
117 .console-message::before
,
118 .console-user-command::before
,
119 #console-prompt::before
,
120 .console-group-title::before {
121 background-image: url
(Images/toolbarButtonGlyphs_2x.png);
125 .console-message > .outline-disclosure li.parent::before {
129 .bubble-repeat-count {
130 display: inline-block
;
132 background-color: rgb
(128, 151, 189);
133 vertical-align: middle
;
147 .console-message .bubble-repeat-count {
152 .console-error-level
.repeated-message::before
,
153 .console-revokedError-level
.repeated-message::before
,
154 .console-warning-level
.repeated-message::before
,
155 .console-debug-level
.repeated-message::before
,
156 .console-info-level .repeated-message::before {
160 .repeated-message
.outline-disclosure
,
161 .repeated-message > .console-message-text {
165 .console-warning-level
.repeated-message
,
166 .console-error-level
.repeated-message
,
167 .console-revokedError-level
.repeated-message
,
168 .console-log-level
.repeated-message
,
169 .console-debug-level
.repeated-message
,
170 .console-info-level .repeated-message {
175 color: rgb
(128, 128, 128);
179 .console-group .console-group > .console-group-messages {
183 .console-group-title {
187 .console-group-title::before {
188 -webkit-user-select: none
;
189 -webkit-mask-image: url
(Images/toolbarButtonGlyphs.png);
190 -webkit-mask-size: 352px 168px;
200 @media (-webkit-min-device-pixel-ratio: 1.5) {
201 .console-group-title::before {
202 -webkit-mask-image: url
(Images/toolbarButtonGlyphs_2x.png);
206 .console-group .console-group-title::before {
207 -webkit-mask-position: -20px -96px;
208 background-color: rgb
(110, 110, 110);
211 .console-message-wrapper.collapsed .console-group-title::before {
212 -webkit-mask-position: -4px -96px;
219 .console-message-wrapper {
221 border-bottom: 1px solid rgb
(240, 240, 240);
224 .console-message-wrapper.console-adjacent-user-command-result {
228 .console-message-wrapper.console-error-level {
229 border-top: 1px solid rgb
(255, 216, 216);
230 border-bottom: 1px solid rgb
(255, 216, 216);
234 .console-message-wrapper.console-warning-level {
235 border-top: 1px solid hsl
(50, 100%, 88%);
236 border-bottom: 1px solid hsl
(50, 100%, 88%);
240 .console-message-wrapper .nesting-level-marker {
243 border-right: 1px solid
#A3A3A3;
248 .console-message-wrapper:last-child
.nesting-level-marker::before
,
249 .console-message-wrapper .nesting-level-marker.group-closed::before {
253 .console-message-wrapper .nesting-level-marker::before {
254 border-bottom: 1px solid
#A3A3A3;
261 box-sizing: border-box
;
264 .console-error-level {
265 background-color: rgb
(255, 239, 239);
268 .console-warning-level {
269 background-color: hsl
(50, 100%, 95%);
272 .console-warning-level .console-message-text {
273 color: hsl
(39, 100%, 18%);
276 .console-error-level
.console-message-text
,
277 .console-error-level .console-view-object-properties-section {
278 color: red
!important
;
281 .console-debug-level .console-message-text {
285 .console-message.console-warning-level {
286 background-color: rgb
(255, 250, 224);
289 .console-error-level
.console-message::before
,
290 .console-revokedError-level
.console-message::before
,
291 .console-warning-level
.console-message::before
,
292 .console-debug-level
.console-message::before
,
293 .console-info-level .console-message::before {
294 background-image: url
(Images/toolbarButtonGlyphs.png);
295 background-size: 352px 168px;
300 @media (-webkit-min-device-pixel-ratio: 1.5) {
301 .console-error-level
.console-message::before
,
302 .console-revokedError-level
.console-message::before
,
303 .console-warning-level
.console-message::before
,
304 .console-debug-level
.console-message::before
,
305 .console-info-level .console-message::before {
306 background-image: url
(Images/toolbarButtonGlyphs_2x.png);
310 .console-warning-level .console-message::before {
311 background-position: -202px -107px;
314 .console-error-level .console-message::before {
315 background-position: -213px -96px;
318 .console-revokedError-level .console-message::before {
319 background-position: -245px -107px;
322 .console-info-level .console-message::before {
323 background-position: -213px -107px;
326 .console-user-command .console-message {
332 .console-user-command::before {
333 background-position: -192px -107px;
336 #console-messages .link
{
337 text-decoration: underline
;
340 #console-messages .link
,
341 #console-messages a
{
342 color: rgb
(33%, 33%, 33%);
346 #console-messages .link:hover
,
347 #console-messages a:hover
{
348 color: rgb
(15%, 15%, 15%);
351 .console-group-messages .section {
352 margin: 0 0 0 12px !important
;
355 .console-group-messages .section > .header {
357 background-image: none
;
362 .console-group-messages .section > .header::before {
366 .console-group-messages .section > .header .title {
372 .console-group-messages .section .properties li .info {
375 color: rgb
(60%, 60%, 60%);
378 .console-object-preview {
381 word-wrap: break-word
;
384 .console-object-preview .name {
385 /* Follows .section .properties .name, .event-properties .name */
386 color: rgb
(136, 19, 145);
390 .console-message-text {
391 white-space: pre-wrap
;
394 .console-message-formatted-table {
398 .console-message-url {
405 .console-message-nowrap-below
,
406 .console-message-nowrap-below div
,
407 .console-message-nowrap-below span {
408 white-space: nowrap
!important
;
411 .object-info-state-note {
412 display: inline-block
;
415 background-color: rgb
(179, 203, 247);
424 .object-info-state-note::before {
428 .console-view-object-properties-section:not(.expanded) .object-info-state-note {
432 .object-info-state-note {
433 display: inline-block
;
436 background-color: rgb
(179, 203, 247);
445 .object-info-state-note::before {
449 .console-view-object-properties-section:not(.expanded) .object-info-state-note {