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 /* Network requests table */
13 background-color: #000000;
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 {
36 .requests-menu-header:first-child {
37 -moz-padding-start: 4px;
38 -moz-margin-start: 4px;
41 .requests-menu-subitem {
45 .requests-menu-header:not(:last-child),
46 .requests-menu-subitem:not(:last-child) {
47 -moz-border-end: 1px solid #9C9CFF;
50 .requests-menu-header-button,
51 #requests-menu-status-button {
52 background-color: transparent;
56 transition: background-color 0.1s ease-in-out;
59 .requests-menu-header-button > .button-box,
60 #requests-menu-status-button > .button-box {
62 -moz-padding-start: 0;
67 .requests-menu-header-button:hover {
68 background-color: #FFCF00;
71 .requests-menu-header-button:hover:active {
72 background-color: #FF9F00;
75 .requests-menu-header-button:not(:active)[sorted] {
76 background-color: #008484;
79 .requests-menu-header-button:not(:active)[sorted=ascending] {
80 background-image: radial-gradient(farthest-side at center top, rgba(0,0,0,.7), rgba(0,0,0,0.3));
81 background-size: 100% 1px;
82 background-repeat: no-repeat;
85 .requests-menu-header-button:not(:active)[sorted=descending] {
86 background-image: radial-gradient(farthest-side at center bottom, rgba(0,0,0,.7), rgba(0,0,0,0.3));
87 background-size: 100% 1px;
88 background-repeat: no-repeat;
89 background-position: bottom;
92 #requests-menu-status-button {
96 #requests-menu-status-button > .button-box {
100 /* Network requests table: specific column dimensions */
102 .requests-menu-status-and-method {
106 .requests-menu-status {
112 .requests-menu-method {
117 .requests-menu-file {
121 .requests-menu-domain {
125 .requests-menu-type {
130 .requests-menu-size {
135 /* Network requests table: status codes */
137 .requests-menu-status {
138 background-color: #A09090;
140 border: 1px solid #000000;
141 transition: background-color 0.5s ease-in-out;
144 .requests-menu-status[code^="1"] {
145 background-color: #9C9CFF;
148 .requests-menu-status[code^="2"] {
149 background-color: #008484;
152 .requests-menu-status[code^="3"] {
153 background-color: #FF9F00;
156 .requests-menu-status[code^="4"] {
157 background-color: #FF0000;
160 .requests-menu-status[code^="5"] {
161 background-color: #6000CF;
164 /* Network requests table: waterfall header */
166 #requests-menu-waterfall-label {
167 -moz-padding-start: 8px;
168 -moz-padding-end: 8px;
171 .requests-menu-timings-division {
174 -moz-padding-start: 4px;
175 -moz-border-start: 1px dotted #000000;
177 pointer-events: none;
180 .requests-menu-timings-division:not(:first-child) {
181 -moz-margin-start: -100px !important; /* Don't affect layout. */
184 .requests-menu-timings-division:-moz-locale-dir(ltr) {
185 transform-origin: left center;
188 .requests-menu-timings-division:-moz-locale-dir(rtl) {
189 transform-origin: right center;
192 /* Network requests table: waterfall items */
194 .requests-menu-subitem.requests-menu-waterfall {
195 -moz-padding-start: 4px;
196 -moz-padding-end: 4px;
197 background-repeat: repeat-y; /* Background created on a <canvas> in js. */
198 margin-top: -1px; /* Compensate borders. */
202 .requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) {
203 background-position: right center;
206 .requests-menu-timings:-moz-locale-dir(ltr) {
207 transform-origin: left center;
210 .requests-menu-timings:-moz-locale-dir(rtl) {
211 transform-origin: right center;
214 .requests-menu-timings-total:-moz-locale-dir(ltr) {
215 transform-origin: left center;
218 .requests-menu-timings-total:-moz-locale-dir(rtl) {
219 transform-origin: right center;
222 .requests-menu-timings-total {
223 -moz-padding-start: 8px;
228 .requests-menu-timings-cap {
231 border: 1px solid #FFCF00;
234 .requests-menu-timings-cap.start {
235 -moz-border-end: none;
238 .requests-menu-timings-cap.end {
239 -moz-border-start: none;
242 .requests-menu-timings-cap.start:-moz-locale-dir(ltr) {
243 border-radius: 4px 0 0 4px;
244 transform-origin: right center;
247 .requests-menu-timings-cap.start:-moz-locale-dir(rtl) {
248 -moz-border-start: none;
249 border-radius: 0 4px 4px 0;
250 transform-origin: left center;
253 .requests-menu-timings-cap.end:-moz-locale-dir(ltr) {
254 border-radius: 0 4px 4px 0;
255 transform-origin: left center;
258 .requests-menu-timings-cap.end:-moz-locale-dir(rtl) {
259 border-radius: 4px 0 0 4px;
260 transform-origin: right center;
263 .requests-menu-timings-box {
265 border-top: 1px solid #FFCF00;
266 border-bottom: 1px solid #FFCF00;
269 .requests-menu-timings-box.blocked,
270 .requests-menu-timings-cap.blocked {
271 background-color: #FF0000;
274 .requests-menu-timings-box.dns,
275 .requests-menu-timings-cap.dns {
276 background-color: #6000CF;
279 .requests-menu-timings-box.connect,
280 .requests-menu-timings-cap.connect {
281 background-color: #FF9F00;
284 .requests-menu-timings-box.send,
285 .requests-menu-timings-cap.send {
286 background-color: #FFCF00;
289 .requests-menu-timings-box.wait,
290 .requests-menu-timings-cap.wait {
291 background-color: #9C9CFF;
294 .requests-menu-timings-box.receive,
295 .requests-menu-timings-cap.receive {
296 background-color: #A09090;
299 .side-menu-widget-item:nth-child(even) {
300 background: rgba(255,159,0,0.1);
303 .side-menu-widget-item-contents {
307 /* Network request details */
310 background-color: #000000;
314 #details-pane-toggle {
315 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
316 -moz-image-region: rect(0px,16px,16px,0px);
319 #details-pane-toggle[pane-collapsed] {
320 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
323 #details-pane-toggle:hover,
324 #details-pane-toggle:hover:active {
325 -moz-image-region: rect(0px,32px,16px,16px);
328 /* Network request details tabpanels */
331 background-color: #000000;
335 .tabpanel-summary-container {
339 .tabpanel-summary-label {
340 -moz-padding-start: 4px;
341 -moz-padding-end: 3px;
346 .tabpanel-summary-value {
347 -moz-padding-start: 3px;
348 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
351 /* Headers tabpanel */
353 #headers-summary-status,
354 #headers-summary-version {
358 #headers-summary-size {
362 /* Response tabpanel */
364 #response-content-image-box {
366 padding-bottom: 10px;
369 #response-content-image {
371 border: 1px dashed #A09090;
375 /* Timings tabpanel */
377 #timings-tabpanel .tabpanel-summary-label {
381 #timings-tabpanel .requests-menu-timings-box {
382 transition: transform 0.2s ease-out;
386 #timings-tabpanel .requests-menu-timings-total {
387 transition: transform 0.2s ease-out;
390 /* Responsive sidebar */
391 @media (max-width: 700px) {
392 #requests-menu-toolbar {
396 .requests-menu-header-button {
397 min-height: 23px; /* Remaining 1px comes from border of the button. */
402 margin: 0 !important;
403 /* To prevent all the margin hacks to hide the sidebar. */
406 .requests-menu-status-and-method {
411 .requests-menu-domain {
416 .requests-menu-type {
420 .requests-menu-size {
422 border-width: 0 !important;
423 box-shadow: none !important;
424 /* The "Timeline" header is not visible anymore, and thus the
425 right border and box-shadow of "Size" column should be hidden. */
429 @media (min-width: 701px) {
430 #network-table[type-overflows] .requests-menu-domain {
431 border-width: 0 !important;
432 box-shadow: none !important;
433 /* The "Type" header is not visible anymore, and thus the
434 right border and box-shadow of "Domain" column should be hidden. */
437 #network-table[domain-overflows] .requests-menu-file {
438 border-width: 0 !important;
439 box-shadow: none !important;
440 /* The "Domain" header is not visible anymore, and thus the
441 right border and box-shadow of "File" column should be hidden. */