1 /* vim:set ts=2 sw=2 sts=2 et: */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #sidebar-panel-computedview {
9 flex-direction: column;
11 /* Bug 1243598 - Reduce the container height by the tab height to make room
12 for the tabs above. */
13 height: calc(100% - 24px);
17 #computedview-container {
22 /* This extra wrapper only serves as a way to get the content of the view focusable.
23 So that when the user reaches it either via keyboard or mouse, we know that the view
24 is focused and therefore can handle shortcuts.
25 However, for accessibility reasons, tabindex is set to -1 to avoid having to tab
26 through it, and the outline is hidden. */
27 #computedview-container-focusable {
32 #computedview-toolbar,
33 #sidebar-panel-computedview > .devtools-toolbar {
37 #browser-style-checkbox {
38 /* Bug 1200073 - extra space before the browser styles checkbox so
39 they aren't squished together in a small window. Put also
40 an extra space after. */
41 margin-inline-start: 5px;
42 margin-inline-end: 5px;
45 #browser-style-checkbox-label {
48 /* Vertically center the 'Browser styles' checkbox in the
49 Computed panel with its label. */
55 -moz-user-select: text;
62 background: var(--theme-body-background);
65 .property-view-hidden,
66 .property-content-hidden {
76 .property-name-container {
80 .property-value-container {
86 .property-name-container > *,
87 .property-value-container > * {
88 display: inline-block;
89 vertical-align: middle;
94 text-overflow: ellipsis;
96 outline: 0 !important;
99 .property-value, .other-property-value {
100 background-image: url(images/arrow-e.png);
101 background-repeat: no-repeat;
102 background-size: 5px 8px;
105 @media (min-resolution: 1.1dppx) {
106 .property-value, .other-property-value {
107 background-image: url(images/arrow-e@2x.png);
113 text-overflow: ellipsis;
116 outline: 0 !important;
119 .other-property-value {
120 background-position: left center;
128 .theme-firebug .property-view,
129 .theme-firebug .property-content {
130 font-family: var(--proportional-font-family);
133 .theme-firebug .property-view {
134 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
140 margin-inline-start: -12px !important;
151 .matchedselectors > p {
156 border-style: dotted;
157 border-color: #A09090;
158 border-width: 1px 1px 0 1px;
161 .matchedselectors > p:last-of-type {
162 border-bottom-width: 1px;
166 text-decoration: line-through;
173 #computedview-no-results {
197 /* Take away these two :visited rules to get a core dumper */
198 /* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
209 text-decoration: none;
213 text-decoration: underline;
216 .computedview-colorswatch {
220 vertical-align: middle;
221 margin-inline-end: 5px;
222 display: inline-block;
226 .computedview-colorswatch::before {
228 background-color: #9C9CFF;
229 background-image: linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090),
230 linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090);
231 background-size: 12px 12px;
232 background-position: 0 0, 6px 6px;