summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/devtools/front_end/elements/computedStyleSidebarPane.css
blob: 34828965ecc32518cc8d443e327fa0c92cbd321e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*
 * Copyright (c) 2015 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.computed-properties {
    -webkit-user-select: text;
}

.computed-style-property {
    display: flex;
    overflow: hidden;
    flex: auto;
}

.computed-style-property .property-name {
    min-width: 5em;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-shrink: 1;
    flex-basis: 16em;
    flex-grow: 1;
}

.computed-style-property .property-value {
    margin-left: 2em;
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-basis: 5em;
    flex-grow: 10;
}

.computed-style-property .property-value-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tree-outline li:hover .goto-source-icon {
    display: block;
}

.goto-source-icon {
    -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
    -webkit-mask-position: 0 -120px;
    background-color: #5a5a5a;
    width: 28px;
    height: 24px;
    display: none;
    position: absolute;
    top: -6px;
    left: -27px;
}

.goto-source-icon:hover {
    background-color: #333;
}

.computed-style-property-inherited {
    opacity: 0.5;
}

.trace-link {
    float: right;
    padding-left: 1em;
    position: relative;
    z-index: 1;
}

.trace-link a::before {
    content: attr(data-uncopyable);
    text-decoration: underline;
}

.property-trace {
    text-overflow: ellipsis;
    overflow: hidden;
    flex-grow: 1;
}

.property-trace-selector {
    color: gray;
    padding-left: 2em;
}

.property-trace-value {
    position: relative;
    display: inline-block;
    margin-left: 2em;
}

.property-trace-inactive .property-trace-value::before {
    position: absolute;
    content: ".";
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    top: 0;
    bottom: 5px;
    left: 0;
    right: 0;
}

.tree-outline li.odd-row {
    position: relative;
    background-color: #F5F5F5;
}

.tree-outline, .tree-outline ol {
    padding-left: 0;
}

.tree-outline li:hover {
    background-color: rgb(235, 242, 252);
    cursor: pointer;
}

.tree-outline li::before {
    margin-left: 4px;
}

.delimeter {
    color: transparent;
}

.delimeter::selection {
    color: transparent;
}