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;
14 #computedview-container {
19 /* This extra wrapper only serves as a way to get the content of the view focusable.
20 So that when the user reaches it either via keyboard or mouse, we know that the view
21 is focused and therefore can handle shortcuts.
22 However, for accessibility reasons, tabindex is set to -1 to avoid having to tab
23 through it, and the outline is hidden. */
24 #computedview-container-focusable {
29 #computedview-toolbar {
33 #browser-style-checkbox {
34 /* Bug 1200073 - extra space before the browser styles checkbox so
35 they aren't squished together in a small window. Put also
36 an extra space after. */
37 margin-inline-start: 5px;
38 margin-inline-end: 5px;
41 #browser-style-checkbox-label {
44 /* Vertically center the 'Browser styles' checkbox in the
45 Computed panel with its label. */
51 -moz-user-select: text;
58 background: var(--theme-body-background);
61 .property-view-hidden,
62 .property-content-hidden {
67 padding: 2px 0 2px 17px;
72 .property-name-container {
76 .property-value-container {
82 .property-name-container > *,
83 .property-value-container > * {
84 display: inline-block;
85 vertical-align: middle;
90 text-overflow: ellipsis;
92 outline: 0 !important;
95 .other-property-value {
96 background-image: url(images/arrow-e.png);
97 background-repeat: no-repeat;
98 background-size: 5px 8px;
101 @media (min-resolution: 1.1dppx) {
102 .other-property-value {
103 background-image: url(images/arrow-e@2x.png);
109 text-overflow: ellipsis;
112 outline: 0 !important;
115 .other-property-value {
116 background-position: left center;
124 .theme-firebug .property-view,
125 .theme-firebug .property-content {
126 font-family: var(--proportional-font-family);
129 .theme-firebug .property-view {
130 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
136 margin-inline-start: -12px !important;
147 .matchedselectors > p {
152 border-style: dotted;
153 border-color: #A09090;
154 border-width: 1px 1px 0 1px;
157 .matchedselectors > p:last-of-type {
158 border-bottom-width: 1px;
162 text-decoration: line-through;
169 #computedview-no-results {
187 /* Take away these two :visited rules to get a core dumper */
188 /* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */
199 text-decoration: none;
203 text-decoration: underline;
206 .computedview-colorswatch {
210 vertical-align: middle;
211 margin-inline-end: 5px;
212 display: inline-block;
216 .computedview-colorswatch::before {
218 background-color: #9C9CFF;
219 background-image: linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090),
220 linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090);
221 background-size: 12px 12px;
222 background-position: 0 0, 6px 6px;