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/. */
10 /* === BEGIN netmonitor.inc.css === */
12 #requests-menu-empty-notice {
20 /* Network requests table */
22 #requests-menu-toolbar {
25 #requests-menu-toolbar > .toolbar-box > .toolbar-startcap,
26 #requests-menu-toolbar > .toolbar-box > .toolbar-endcap {
30 .requests-menu-header:first-child {
31 -moz-padding-start: 4px;
32 -moz-margin-start: 4px;
35 .requests-menu-subitem {
39 .requests-menu-header:not(:last-child),
40 .requests-menu-subitem:not(:last-child) {
41 -moz-border-end: 1px solid #9C9CFF;
44 .requests-menu-header:not(:last-child):-moz-locale-dir(rtl),
45 .requests-menu-subitem:not(:last-child):-moz-locale-dir(rtl) {
48 .requests-menu-header-button,
49 #requests-menu-status-button {
50 background-color: transparent;
54 font-weight: inherit !important;
55 transition: background-color 0.1s ease-in-out;
58 .requests-menu-header-button > .button-box,
59 #requests-menu-status-button > .button-box {
61 -moz-padding-start: 0;
66 .requests-menu-header-button:hover {
67 background-color: #FFCF00;
70 .requests-menu-header-button:hover:active {
71 background-color: #FF9F00;
74 .requests-menu-header-button:not(:active)[sorted] {
75 background-color: #008484;
78 .requests-menu-header-button:not(:active)[sorted=ascending] {
79 background-image: radial-gradient(farthest-side at center top, rgba(0,0,0,.7), rgba(0,0,0,0.3));
80 background-size: 100% 1px;
81 background-repeat: no-repeat;
84 .requests-menu-header-button:not(:active)[sorted=descending] {
85 background-image: radial-gradient(farthest-side at center bottom, rgba(0,0,0,.7), rgba(0,0,0,0.3));
86 background-size: 100% 1px;
87 background-repeat: no-repeat;
88 background-position: bottom;
91 #requests-menu-status-button {
95 #requests-menu-status-button > .button-box {
99 /* Network requests table: specific column dimensions */
101 .requests-menu-status-and-method {
105 .requests-menu-status {
111 .requests-menu-method {
116 .requests-menu-file {
120 .requests-menu-domain {
124 .requests-menu-type {
129 .requests-menu-size {
134 /* Network requests table: status codes */
136 .requests-menu-status {
137 background-color: #A09090;
138 -moz-margin-start: 5px;
139 -moz-margin-end: 5px;
141 border: 1px solid #000000;
142 transition: background-color 0.5s ease-in-out;
145 .requests-menu-status[code^="1"] {
146 background-color: #9C9CFF;
149 .requests-menu-status[code^="2"] {
150 background-color: #008484;
153 .requests-menu-status[code^="3"] {
154 background-color: #FF9F00;
157 .requests-menu-status[code^="4"] {
158 background-color: #FF0000;
161 .requests-menu-status[code^="5"] {
162 background-color: #6000CF;
165 /* Network requests table: waterfall header */
167 #requests-menu-waterfall-label {
168 -moz-padding-start: 8px;
169 -moz-padding-end: 8px;
172 .requests-menu-timings-division {
175 -moz-padding-start: 4px;
176 -moz-border-start: 1px dotted #000000;
178 pointer-events: none;
181 .requests-menu-timings-division:not(:first-child) {
182 -moz-border-start: 1px dotted;
183 -moz-margin-start: -100px !important; /* Don't affect layout. */
186 .requests-menu-timings-division:-moz-locale-dir(ltr) {
187 transform-origin: left center;
190 .requests-menu-timings-division:-moz-locale-dir(rtl) {
191 transform-origin: right center;
194 .requests-menu-timings-division[division-scale=millisecond] {
195 -moz-border-start-color: #FF9F00 !important; /* Light foreground text */
198 .requests-menu-timings-division[division-scale=second] {
199 -moz-border-start-color: #E7ADE7 !important; /* Light orange highlight color */
203 .requests-menu-timings-division[division-scale=minute] {
204 -moz-border-start-color: #FF0000 !important; /* Red highlight color */
208 /* Network requests table: waterfall items */
210 .requests-menu-subitem.requests-menu-waterfall {
211 -moz-padding-start: 4px;
212 -moz-padding-end: 4px;
213 background-repeat: repeat-y; /* Background created on a <canvas> in js. */
214 background-position: -1px center;
215 margin-top: -1px; /* Compensate borders. */
219 .requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) {
220 background-position: right center;
223 .requests-menu-timings:-moz-locale-dir(ltr) {
224 transform-origin: left center;
227 .requests-menu-timings:-moz-locale-dir(rtl) {
228 transform-origin: right center;
231 .requests-menu-timings-total:-moz-locale-dir(ltr) {
232 transform-origin: left center;
235 .requests-menu-timings-total:-moz-locale-dir(rtl) {
236 transform-origin: right center;
239 .requests-menu-timings-total {
240 -moz-padding-start: 8px;
245 .requests-menu-timings-cap {
249 border: 1px solid #FFCF00;
252 .requests-menu-timings-cap.start {
253 -moz-border-end: none;
256 .requests-menu-timings-cap.end {
257 -moz-border-start: none;
260 .requests-menu-timings-cap.start:-moz-locale-dir(ltr) {
261 border-radius: 4px 0 0 4px;
262 transform-origin: right center;
265 .requests-menu-timings-cap.start:-moz-locale-dir(rtl) {
266 -moz-border-start: none;
267 border-radius: 0 4px 4px 0;
268 transform-origin: left center;
271 .requests-menu-timings-cap.end:-moz-locale-dir(ltr) {
272 border-radius: 0 4px 4px 0;
273 transform-origin: left center;
276 .requests-menu-timings-cap.end:-moz-locale-dir(rtl) {
277 border-radius: 4px 0 0 4px;
278 transform-origin: right center;
281 .requests-menu-timings-box {
284 border-top: 1px solid #FFCF00;
285 border-bottom: 1px solid #FFCF00;
288 .requests-menu-timings-box.blocked,
289 .requests-menu-timings-cap.blocked {
290 background-color: #FF0000;
293 .requests-menu-timings-box.dns,
294 .requests-menu-timings-cap.dns {
295 background-color: #6000CF;
298 .requests-menu-timings-box.connect,
299 .requests-menu-timings-cap.connect {
300 background-color: #FF9F00;
303 .requests-menu-timings-box.send,
304 .requests-menu-timings-cap.send {
305 background-color: #FFCF00;
308 .requests-menu-timings-box.wait,
309 .requests-menu-timings-cap.wait {
310 background-color: #9C9CFF;
313 .requests-menu-timings-box.receive,
314 .requests-menu-timings-cap.receive {
315 background-color: #A09090;
320 .side-menu-widget-item-contents {
324 .side-menu-widget-container {
325 box-shadow: none !important;
328 .side-menu-widget-item:not(.selected)[odd] {
329 background: rgba(255,159,0,0.1);
332 /* Network request details */
338 #details-pane-toggle {
339 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
340 -moz-image-region: rect(0px,16px,16px,0px);
343 #details-pane-toggle[pane-collapsed] {
344 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
347 #details-pane-toggle:hover,
348 #details-pane-toggle:hover:active {
349 -moz-image-region: rect(0px,32px,16px,16px);
352 /* Network request details tabpanels */
355 background-color: #000000;
359 .tabpanel-summary-container {
363 .tabpanel-summary-label {
364 -moz-padding-start: 4px;
365 -moz-padding-end: 3px;
369 .tabpanel-summary-value {
370 -moz-padding-start: 3px;
373 /* Headers tabpanel */
375 #headers-summary-status,
376 #headers-summary-version {
380 #headers-summary-size {
384 #headers-summary-resend {
386 /* min-height: 20px;*/
389 /* Response tabpanel */
391 #response-content-info-header {
392 background-color: #A09090;
398 #response-content-image-box {
400 padding-bottom: 10px;
403 #response-content-image {
405 border: 1px dashed #A09090;
409 /* Timings tabpanel */
411 #timings-tabpanel .tabpanel-summary-label {
415 #timings-tabpanel .requests-menu-timings-box {
416 transition: transform 0.2s ease-out;
421 #timings-tabpanel .requests-menu-timings-total {
422 transition: transform 0.2s ease-out;
425 /* Custom request form */
428 padding: 0.6em 0.5em;
439 #custom-method-value {
445 #requests-menu-footer {
446 border-top: 1px solid #9C9CFF;
450 .requests-menu-footer-button,
451 .requests-menu-footer-label {
454 -moz-margin-end: 3px;
461 .requests-menu-footer-spacer {
465 .requests-menu-footer-spacer,
466 .requests-menu-footer-button {
469 .requests-menu-footer-button {
472 .requests-menu-footer-button:hover {
475 .requests-menu-footer-button:hover:active {
478 .requests-menu-footer-button:not(:active)[checked] {
481 .requests-menu-footer-label {
485 /* Responsive sidebar */
486 @media (max-width: 700px) {
487 #requests-menu-toolbar {
491 .requests-menu-header-button {
495 .requests-menu-footer-button,
496 .requests-menu-footer-label {
502 margin: 0 !important;
503 /* To prevent all the margin hacks to hide the sidebar. */
506 .requests-menu-status-and-method {
511 .requests-menu-domain {
515 .requests-menu-type {
519 .requests-menu-size {
521 border-width: 0 !important;
522 box-shadow: none !important;
523 /* The "Timeline" header is not visible anymore, and thus the
524 right border and box-shadow of "Size" column should be hidden. */
528 @media (min-width: 701px) {
529 #network-table[type-overflows] .requests-menu-domain {
530 border-width: 0 !important;
531 box-shadow: none !important;
532 /* The "Type" header is not visible anymore, and thus the
533 right border and box-shadow of "Domain" column should be hidden. */
536 #network-table[domain-overflows] .requests-menu-file {
537 border-width: 0 !important;
538 box-shadow: none !important;
539 /* The "Domain" header is not visible anymore, and thus the
540 right border and box-shadow of "File" column should be hidden. */
544 /* === END netmonitor.inc.css === */