Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / tools / test / reference_build / chrome_linux / resources / inspector / resourceView.css
1 /*
2  * Copyright (C) 2006, 2007, 2008 Apple Inc.  All rights reserved.
3  * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
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.
17  *
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.
28  */
29
30 .resource-view {
31     display: none;
32     overflow: auto;
33 }
34
35 .resource-view.visible {
36     display: flex;
37 }
38
39 .resource-view > * {
40     flex: none;
41 }
42
43 .resource-view.font {
44     font-size: 60px;
45     white-space: pre-wrap;
46     word-wrap: break-word;
47     text-align: center;
48     padding: 15px;
49 }
50
51 .resource-view .script-view {
52     background-color: rgb(240, 240, 240);
53 }
54
55 .resource-view.image > .image {
56     padding: 20px 20px 10px 20px;
57     text-align: center;
58 }
59
60 .resource-view.image > .info {
61     padding-bottom: 10px;
62     font-size: 11px;
63     -webkit-user-select: text;
64 }
65
66 .resource-view.image img.resource-image-view {
67     max-width: 100%;
68     max-height: 1000px;
69     background-image: url(Images/checker.png);
70     box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
71     -webkit-user-select: text;
72     -webkit-user-drag: auto;
73 }
74
75 .resource-status-image {
76     margin-top: -2px;
77     margin-right: 3px;
78     vertical-align: middle;
79 }
80
81 .resource-view.image .title {
82     text-align: center;
83     font-size: 13px;
84 }
85
86 .resource-view.image .infoList {
87     margin: 0;
88 }
89
90 .resource-view.image .infoList dt {
91     font-weight: bold;
92     display: inline-block;
93     width: 50%;
94     text-align: right;
95     color: rgb(76, 76, 76);
96 }
97
98 .resource-view.image .infoList dd {
99     display: inline-block;
100     padding-left: 8px;
101     width: 50%;
102     text-align: left;
103     margin: 0;
104 }
105
106 .resource-view.image .infoList dd::after {
107     white-space: pre;
108     content: "\A";
109 }
110
111 .script-view-fallback {
112     word-wrap: break-word;
113     white-space: pre-wrap;
114     -webkit-user-select: text;
115     overflow: auto;
116 }