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/. */
11 background-color: #000000;
14 /* Network requests table */
16 #requests-menu-empty-notice {
17 background-color: #A09090;
24 #requests-menu-toolbar {
27 #requests-menu-toolbar > .toolbar-box > .toolbar-startcap,
28 #requests-menu-toolbar > .toolbar-box > .toolbar-endcap {
32 .requests-menu-header:first-child {
33 -moz-padding-start: 4px;
34 -moz-margin-start: 4px;
37 .requests-menu-subitem {
41 .requests-menu-header:not(:last-child),
42 .requests-menu-subitem:not(:last-child) {
43 -moz-border-end: 1px solid #9C9CFF;
46 .requests-menu-header-button,
47 #requests-menu-status-button {
48 background-color: transparent;
52 font-weight: inherit !important;
53 transition: background-color 0.1s ease-in-out;
56 .requests-menu-header-button > .button-box,
57 #requests-menu-status-button > .button-box {
59 -moz-padding-start: 0;
64 .requests-menu-header-button:hover {
65 background-color: #FFCF00;
68 .requests-menu-header-button:hover:active {
69 background-color: #FF9F00;
72 .requests-menu-header-button:not(:active)[sorted] {
73 background-color: #008484;
76 .requests-menu-header-button:not(:active)[sorted=ascending] {
77 background-image: radial-gradient(farthest-side at center top, rgba(0,0,0,.7), rgba(0,0,0,0.3));
78 background-size: 100% 1px;
79 background-repeat: no-repeat;
82 .requests-menu-header-button:not(:active)[sorted=descending] {
83 background-image: radial-gradient(farthest-side at center bottom, rgba(0,0,0,.7), rgba(0,0,0,0.3));
84 background-size: 100% 1px;
85 background-repeat: no-repeat;
86 background-position: bottom;
89 #requests-menu-status-button {
93 #requests-menu-status-button > .button-box {
97 /* Network requests table: specific column dimensions */
99 .requests-menu-status-and-method {
103 .requests-menu-status {
109 .requests-menu-method {
114 .requests-menu-file {
118 .requests-menu-domain {
122 .requests-menu-type {
127 .requests-menu-size {
132 /* Network requests table: status codes */
134 .requests-menu-status {
135 background-color: #A09090;
136 -moz-margin-start: 5px;
137 -moz-margin-end: 5px;
139 border: 1px solid #000000;
140 transition: background-color 0.5s ease-in-out;
143 .requests-menu-status[code^="1"] {
144 background-color: #9C9CFF;
147 .requests-menu-status[code^="2"] {
148 background-color: #008484;
151 .requests-menu-status[code^="3"] {
152 background-color: #FF9F00;
155 .requests-menu-status[code^="4"] {
156 background-color: #FF0000;
159 .requests-menu-status[code^="5"] {
160 background-color: #6000CF;
163 /* Network requests table: waterfall header */
165 #requests-menu-waterfall-label {
166 -moz-padding-start: 8px;
167 -moz-padding-end: 8px;
170 .requests-menu-timings-division {
173 -moz-padding-start: 4px;
174 -moz-border-start: 1px dotted #000000;
176 pointer-events: none;
179 .requests-menu-timings-division:not(:first-child) {
180 -moz-margin-start: -100px !important; /* Don't affect layout. */
183 .requests-menu-timings-division:-moz-locale-dir(ltr) {
184 transform-origin: left center;
187 .requests-menu-timings-division:-moz-locale-dir(rtl) {
188 transform-origin: right center;
191 /* Network requests table: waterfall items */
193 .requests-menu-subitem.requests-menu-waterfall {
194 -moz-padding-start: 4px;
195 -moz-padding-end: 4px;
196 background-repeat: repeat-y; /* Background created on a <canvas> in js. */
197 margin-top: -1px; /* Compensate borders. */
201 .requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) {
202 background-position: right center;
205 .requests-menu-timings:-moz-locale-dir(ltr) {
206 transform-origin: left center;
209 .requests-menu-timings:-moz-locale-dir(rtl) {
210 transform-origin: right center;
213 .requests-menu-timings-total:-moz-locale-dir(ltr) {
214 transform-origin: left center;
217 .requests-menu-timings-total:-moz-locale-dir(rtl) {
218 transform-origin: right center;
221 .requests-menu-timings-total {
222 -moz-padding-start: 8px;
227 .requests-menu-timings-cap {
230 border: 1px solid #FFCF00;
233 .requests-menu-timings-cap.start {
234 -moz-border-end: none;
237 .requests-menu-timings-cap.end {
238 -moz-border-start: none;
241 .requests-menu-timings-cap.start:-moz-locale-dir(ltr) {
242 border-radius: 4px 0 0 4px;
243 transform-origin: right center;
246 .requests-menu-timings-cap.start:-moz-locale-dir(rtl) {
247 -moz-border-start: none;
248 border-radius: 0 4px 4px 0;
249 transform-origin: left center;
252 .requests-menu-timings-cap.end:-moz-locale-dir(ltr) {
253 border-radius: 0 4px 4px 0;
254 transform-origin: left center;
257 .requests-menu-timings-cap.end:-moz-locale-dir(rtl) {
258 border-radius: 4px 0 0 4px;
259 transform-origin: right center;
262 .requests-menu-timings-box {
264 border-top: 1px solid #FFCF00;
265 border-bottom: 1px solid #FFCF00;
268 .requests-menu-timings-box.blocked,
269 .requests-menu-timings-cap.blocked {
270 background-color: #FF0000;
273 .requests-menu-timings-box.dns,
274 .requests-menu-timings-cap.dns {
275 background-color: #6000CF;
278 .requests-menu-timings-box.connect,
279 .requests-menu-timings-cap.connect {
280 background-color: #FF9F00;
283 .requests-menu-timings-box.send,
284 .requests-menu-timings-cap.send {
285 background-color: #FFCF00;
288 .requests-menu-timings-box.wait,
289 .requests-menu-timings-cap.wait {
290 background-color: #9C9CFF;
293 .requests-menu-timings-box.receive,
294 .requests-menu-timings-cap.receive {
295 background-color: #A09090;
300 .side-menu-widget-container {
301 box-shadow: none !important;
304 .side-menu-widget-item:nth-child(even) {
305 background: rgba(255,159,0,0.1);
308 /* Network request details */
311 background-color: #000000;
315 #details-pane-toggle {
316 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
317 -moz-image-region: rect(0px,16px,16px,0px);
320 #details-pane-toggle[pane-collapsed] {
321 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
324 #details-pane-toggle:hover,
325 #details-pane-toggle:hover:active {
326 -moz-image-region: rect(0px,32px,16px,16px);
329 /* Network request details tabpanels */
332 background-color: #000000;
336 .tabpanel-summary-container {
340 .tabpanel-summary-label {
341 -moz-padding-start: 4px;
342 -moz-padding-end: 3px;
347 .tabpanel-summary-value {
348 -moz-padding-start: 3px;
351 /* Headers tabpanel */
353 #headers-summary-status,
354 #headers-summary-version {
358 #headers-summary-size {
362 #headers-summary-resend {
364 /* min-height: 20px;*/
367 /* Response tabpanel */
369 #response-content-info-header {
370 background-color: #A09090;
376 #response-content-image-box {
378 padding-bottom: 10px;
381 #response-content-image {
383 border: 1px dashed #A09090;
387 /* Timings tabpanel */
389 #timings-tabpanel .tabpanel-summary-label {
393 #timings-tabpanel .requests-menu-timings-box {
394 transition: transform 0.2s ease-out;
398 #timings-tabpanel .requests-menu-timings-total {
399 transition: transform 0.2s ease-out;
402 /* Custom request form */
405 padding: 0.6em 0.5em;
416 #custom-method-value {
422 #requests-menu-footer {
423 border-top: 1px solid #9C9CFF;
427 .requests-menu-footer-button,
428 .requests-menu-footer-label {
431 -moz-margin-end: 3px;
437 .requests-menu-footer-spacer {
441 .requests-menu-footer-spacer,
442 .requests-menu-footer-button {
445 .requests-menu-footer-button {
448 .requests-menu-footer-button:hover {
451 .requests-menu-footer-button:hover:active {
454 .requests-menu-footer-button:not(:active)[checked] {
457 .requests-menu-footer-label {
461 /* Responsive sidebar */
462 @media (max-width: 700px) {
463 #requests-menu-toolbar {
467 .requests-menu-header-button {
468 min-height: 23px; /* Remaining 1px comes from border of the toolbar. */
471 .requests-menu-footer-button,
472 .requests-menu-footer-label {
478 margin: 0 !important;
479 /* To prevent all the margin hacks to hide the sidebar. */
482 .requests-menu-status-and-method {
487 .requests-menu-domain {
491 .requests-menu-type {
495 .requests-menu-size {
497 border-width: 0 !important;
498 box-shadow: none !important;
499 /* The "Timeline" header is not visible anymore, and thus the
500 right border and box-shadow of "Size" column should be hidden. */
504 @media (min-width: 701px) {
505 #network-table[type-overflows] .requests-menu-domain {
506 border-width: 0 !important;
507 box-shadow: none !important;
508 /* The "Type" header is not visible anymore, and thus the
509 right border and box-shadow of "Domain" column should be hidden. */
512 #network-table[domain-overflows] .requests-menu-file {
513 border-width: 0 !important;
514 box-shadow: none !important;
515 /* The "Domain" header is not visible anymore, and thus the
516 right border and box-shadow of "File" column should be hidden. */