Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #requests-menu-empty-notice { |
michael@0 | 7 | margin: 0; |
michael@0 | 8 | padding: 12px; |
michael@0 | 9 | font-size: 120%; |
michael@0 | 10 | } |
michael@0 | 11 | |
michael@0 | 12 | .theme-dark #requests-menu-empty-notice { |
michael@0 | 13 | color: #f5f7fa; /* Light foreground text */ |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | .theme-light #requests-menu-empty-notice { |
michael@0 | 17 | color: #585959; /* Grey foreground text */ |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | #requests-menu-perf-notice-button { |
michael@0 | 21 | min-width: 30px; |
michael@0 | 22 | min-height: 28px; |
michael@0 | 23 | margin: 0; |
michael@0 | 24 | list-style-image: url(profiler-stopwatch.png); |
michael@0 | 25 | -moz-image-region: rect(0px,16px,16px,0px); |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | #requests-menu-perf-notice-button .button-text { |
michael@0 | 29 | display: none; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | %filter substitution |
michael@0 | 33 | %define table_itemDarkStartBorder rgba(0,0,0,0.2) |
michael@0 | 34 | %define table_itemDarkEndBorder rgba(128,128,128,0.15) |
michael@0 | 35 | %define table_itemLightStartBorder rgba(128,128,128,0.25) |
michael@0 | 36 | %define table_itemLightEndBorder transparent |
michael@0 | 37 | |
michael@0 | 38 | /* Network requests table */ |
michael@0 | 39 | |
michael@0 | 40 | #requests-menu-toolbar { |
michael@0 | 41 | padding: 0; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | .requests-menu-header:first-child, |
michael@0 | 45 | .requests-menu-subitem:first-child { |
michael@0 | 46 | -moz-padding-start: 6px; |
michael@0 | 47 | } |
michael@0 | 48 | |
michael@0 | 49 | .requests-menu-subitem { |
michael@0 | 50 | padding: 3px; |
michael@0 | 51 | } |
michael@0 | 52 | |
michael@0 | 53 | .theme-dark .requests-menu-header:not(:last-child), |
michael@0 | 54 | .theme-dark .requests-menu-subitem:not(:last-child) { |
michael@0 | 55 | -moz-border-end: 1px solid @table_itemDarkStartBorder@; |
michael@0 | 56 | box-shadow: 1px 0 0 @table_itemDarkEndBorder@; |
michael@0 | 57 | } |
michael@0 | 58 | |
michael@0 | 59 | .theme-dark .requests-menu-header:not(:last-child):-moz-locale-dir(rtl), |
michael@0 | 60 | .theme-dark .requests-menu-subitem:not(:last-child):-moz-locale-dir(rtl) { |
michael@0 | 61 | box-shadow: -1px 0 0 @table_itemDarkEndBorder@; |
michael@0 | 62 | } |
michael@0 | 63 | |
michael@0 | 64 | .theme-light .requests-menu-header:not(:last-child), |
michael@0 | 65 | .theme-light .requests-menu-subitem:not(:last-child) { |
michael@0 | 66 | -moz-border-end: 1px solid @table_itemLightStartBorder@; |
michael@0 | 67 | box-shadow: 1px 0 0 @table_itemLightEndBorder@; |
michael@0 | 68 | } |
michael@0 | 69 | |
michael@0 | 70 | .theme-light .requests-menu-header:not(:last-child):-moz-locale-dir(rtl), |
michael@0 | 71 | .theme-light .requests-menu-subitem:not(:last-child):-moz-locale-dir(rtl) { |
michael@0 | 72 | box-shadow: -1px 0 0 @table_itemLightEndBorder@; |
michael@0 | 73 | } |
michael@0 | 74 | |
michael@0 | 75 | .requests-menu-header-button { |
michael@0 | 76 | -moz-appearance: none; |
michael@0 | 77 | background: none; |
michael@0 | 78 | min-width: 1px; |
michael@0 | 79 | min-height: 32px; |
michael@0 | 80 | margin: 0; |
michael@0 | 81 | border: none; |
michael@0 | 82 | padding: 0; |
michael@0 | 83 | color: inherit; |
michael@0 | 84 | font-weight: inherit !important; |
michael@0 | 85 | transition: background-color 0.1s ease-in-out; |
michael@0 | 86 | } |
michael@0 | 87 | |
michael@0 | 88 | .requests-menu-header-button:hover { |
michael@0 | 89 | background: rgba(0,0,0,0.10); |
michael@0 | 90 | } |
michael@0 | 91 | |
michael@0 | 92 | .requests-menu-header-button:hover:active { |
michael@0 | 93 | background: rgba(0,0,0,0.25); |
michael@0 | 94 | } |
michael@0 | 95 | |
michael@0 | 96 | .requests-menu-header-button:not(:active)[sorted] { |
michael@0 | 97 | background: rgba(0,0,0,0.15); |
michael@0 | 98 | } |
michael@0 | 99 | |
michael@0 | 100 | .requests-menu-header-button:not(:active)[sorted=ascending] { |
michael@0 | 101 | background-image: radial-gradient(farthest-side at center top, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); |
michael@0 | 102 | background-size: 100% 1px; |
michael@0 | 103 | background-repeat: no-repeat; |
michael@0 | 104 | } |
michael@0 | 105 | |
michael@0 | 106 | .requests-menu-header-button:not(:active)[sorted=descending] { |
michael@0 | 107 | background-image: radial-gradient(farthest-side at center bottom, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); |
michael@0 | 108 | background-size: 100% 1px; |
michael@0 | 109 | background-repeat: no-repeat; |
michael@0 | 110 | background-position: bottom; |
michael@0 | 111 | } |
michael@0 | 112 | |
michael@0 | 113 | /* Network requests table: specific column dimensions */ |
michael@0 | 114 | |
michael@0 | 115 | .requests-menu-status-and-method { |
michael@0 | 116 | width: 12em; |
michael@0 | 117 | } |
michael@0 | 118 | |
michael@0 | 119 | .requests-menu-status { |
michael@0 | 120 | width: 20px; |
michael@0 | 121 | height: 10px; |
michael@0 | 122 | } |
michael@0 | 123 | |
michael@0 | 124 | .requests-menu-method { |
michael@0 | 125 | text-align: center; |
michael@0 | 126 | font-weight: 600; |
michael@0 | 127 | } |
michael@0 | 128 | |
michael@0 | 129 | .requests-menu-icon-and-file { |
michael@0 | 130 | width: 20vw; |
michael@0 | 131 | min-width: 4em; |
michael@0 | 132 | } |
michael@0 | 133 | |
michael@0 | 134 | .requests-menu-icon { |
michael@0 | 135 | background: #fff; |
michael@0 | 136 | width: calc(1em + 4px); |
michael@0 | 137 | height: calc(1em + 4px); |
michael@0 | 138 | margin: -4px 0px; |
michael@0 | 139 | -moz-margin-end: 4px; |
michael@0 | 140 | } |
michael@0 | 141 | |
michael@0 | 142 | .theme-dark .requests-menu-icon { |
michael@0 | 143 | outline: 1px solid @table_itemDarkStartBorder@; |
michael@0 | 144 | } |
michael@0 | 145 | |
michael@0 | 146 | .theme-light .requests-menu-icon { |
michael@0 | 147 | outline: 1px solid @table_itemLightStartBorder@; |
michael@0 | 148 | } |
michael@0 | 149 | |
michael@0 | 150 | .requests-menu-file { |
michael@0 | 151 | text-align: start; |
michael@0 | 152 | } |
michael@0 | 153 | |
michael@0 | 154 | .requests-menu-domain { |
michael@0 | 155 | width: 14vw; |
michael@0 | 156 | min-width: 10em; |
michael@0 | 157 | } |
michael@0 | 158 | |
michael@0 | 159 | .requests-menu-type { |
michael@0 | 160 | text-align: center; |
michael@0 | 161 | width: 4em; |
michael@0 | 162 | } |
michael@0 | 163 | |
michael@0 | 164 | .requests-menu-size { |
michael@0 | 165 | text-align: center; |
michael@0 | 166 | width: 8em; |
michael@0 | 167 | } |
michael@0 | 168 | |
michael@0 | 169 | /* Network requests table: status codes */ |
michael@0 | 170 | |
michael@0 | 171 | box.requests-menu-status { |
michael@0 | 172 | background: #fff; |
michael@0 | 173 | width: 10px; |
michael@0 | 174 | -moz-margin-start: 5px; |
michael@0 | 175 | -moz-margin-end: 5px; |
michael@0 | 176 | border-radius: 10px; |
michael@0 | 177 | transition: box-shadow 0.5s ease-in-out; |
michael@0 | 178 | } |
michael@0 | 179 | |
michael@0 | 180 | label.requests-menu-status-code { |
michael@0 | 181 | -moz-margin-start: 3px !important; |
michael@0 | 182 | width: 3em; |
michael@0 | 183 | -moz-margin-end: -3em !important; |
michael@0 | 184 | } |
michael@0 | 185 | |
michael@0 | 186 | .theme-dark box.requests-menu-status:not([code]) { |
michael@0 | 187 | background-color: rgba(95, 115, 135, 1); /* dark grey */ |
michael@0 | 188 | } |
michael@0 | 189 | |
michael@0 | 190 | .theme-light box.requests-menu-status:not([code]) { |
michael@0 | 191 | background-color: rgba(143, 161, 178, 1); /* grey */ |
michael@0 | 192 | } |
michael@0 | 193 | |
michael@0 | 194 | .theme-dark box.requests-menu-status[code^="1"] { |
michael@0 | 195 | background-color: rgba(70, 175, 227, 1); /* light blue */ |
michael@0 | 196 | } |
michael@0 | 197 | |
michael@0 | 198 | .theme-light box.requests-menu-status[code^="1"] { |
michael@0 | 199 | background-color: rgba(0, 136, 204, 1); /* light blue */ |
michael@0 | 200 | } |
michael@0 | 201 | |
michael@0 | 202 | .theme-dark box.requests-menu-status[code^="2"] { |
michael@0 | 203 | background-color: rgba(112, 191, 83, 1); /* green */ |
michael@0 | 204 | } |
michael@0 | 205 | |
michael@0 | 206 | .theme-light box.requests-menu-status[code^="2"] { |
michael@0 | 207 | background-color: rgba(44, 187, 15, 1); /* green */ |
michael@0 | 208 | } |
michael@0 | 209 | |
michael@0 | 210 | /* 3xx are triangles */ |
michael@0 | 211 | .theme-dark box.requests-menu-status[code^="3"] { |
michael@0 | 212 | background-color: transparent; |
michael@0 | 213 | width: 0; |
michael@0 | 214 | height: 0; |
michael@0 | 215 | border-left: 5px solid transparent; |
michael@0 | 216 | border-right: 5px solid transparent; |
michael@0 | 217 | border-bottom: 10px solid rgba(217, 155, 40, 1); /* light orange */ |
michael@0 | 218 | border-radius: 0; |
michael@0 | 219 | } |
michael@0 | 220 | |
michael@0 | 221 | .theme-light box.requests-menu-status[code^="3"] { |
michael@0 | 222 | background-color: transparent; |
michael@0 | 223 | width: 0; |
michael@0 | 224 | height: 0; |
michael@0 | 225 | border-left: 5px solid transparent; |
michael@0 | 226 | border-right: 5px solid transparent; |
michael@0 | 227 | border-bottom: 10px solid rgba(217, 126, 0, 1); /* light orange */ |
michael@0 | 228 | border-radius: 0; |
michael@0 | 229 | } |
michael@0 | 230 | |
michael@0 | 231 | /* 4xx and 5xx are squares - error codes */ |
michael@0 | 232 | .theme-dark box.requests-menu-status[code^="4"] { |
michael@0 | 233 | background-color: rgba(235, 83, 104, 1); /* red */ |
michael@0 | 234 | border-radius: 0; /* squares */ |
michael@0 | 235 | } |
michael@0 | 236 | |
michael@0 | 237 | .theme-light box.requests-menu-status[code^="4"] { |
michael@0 | 238 | background-color: rgba(237, 38, 85, 1); /* red */ |
michael@0 | 239 | border-radius: 0; /* squares */ |
michael@0 | 240 | } |
michael@0 | 241 | |
michael@0 | 242 | .theme-dark box.requests-menu-status[code^="5"] { |
michael@0 | 243 | background-color: rgba(223, 128, 255, 1); /* pink? */ |
michael@0 | 244 | border-radius: 0; |
michael@0 | 245 | transform: rotate(45deg); |
michael@0 | 246 | } |
michael@0 | 247 | |
michael@0 | 248 | .theme-light box.requests-menu-status[code^="5"] { |
michael@0 | 249 | background-color: rgba(184, 46, 229, 1); /* pink! */ |
michael@0 | 250 | border-radius: 0; |
michael@0 | 251 | transform: rotate(45deg); |
michael@0 | 252 | } |
michael@0 | 253 | |
michael@0 | 254 | /* Network requests table: waterfall header */ |
michael@0 | 255 | |
michael@0 | 256 | #requests-menu-waterfall-label { |
michael@0 | 257 | -moz-padding-start: 8px; |
michael@0 | 258 | -moz-padding-end: 8px; |
michael@0 | 259 | } |
michael@0 | 260 | |
michael@0 | 261 | .requests-menu-timings-division { |
michael@0 | 262 | width: 100px; |
michael@0 | 263 | padding-top: 2px; |
michael@0 | 264 | -moz-padding-start: 4px; |
michael@0 | 265 | font-size: 75%; |
michael@0 | 266 | pointer-events: none; |
michael@0 | 267 | } |
michael@0 | 268 | |
michael@0 | 269 | .requests-menu-timings-division:not(:first-child) { |
michael@0 | 270 | -moz-border-start: 1px dotted; |
michael@0 | 271 | -moz-margin-start: -100px !important; /* Don't affect layout. */ |
michael@0 | 272 | } |
michael@0 | 273 | |
michael@0 | 274 | .requests-menu-timings-division:-moz-locale-dir(ltr) { |
michael@0 | 275 | transform-origin: left center; |
michael@0 | 276 | } |
michael@0 | 277 | |
michael@0 | 278 | .requests-menu-timings-division:-moz-locale-dir(rtl) { |
michael@0 | 279 | transform-origin: right center; |
michael@0 | 280 | } |
michael@0 | 281 | |
michael@0 | 282 | .theme-dark .requests-menu-timings-division[division-scale=millisecond] { |
michael@0 | 283 | -moz-border-start-color: #f5f7fa !important; /* Light foreground text */ |
michael@0 | 284 | } |
michael@0 | 285 | |
michael@0 | 286 | .theme-light .requests-menu-timings-division[division-scale=millisecond] { |
michael@0 | 287 | -moz-border-start-color: #585959 !important; /* Grey foreground text */ |
michael@0 | 288 | } |
michael@0 | 289 | |
michael@0 | 290 | .theme-dark .requests-menu-timings-division[division-scale=second] { |
michael@0 | 291 | -moz-border-start-color: #f5f7fa !important; /* Light foreground text */ |
michael@0 | 292 | font-weight: 600; |
michael@0 | 293 | } |
michael@0 | 294 | |
michael@0 | 295 | .theme-light .requests-menu-timings-division[division-scale=second] { |
michael@0 | 296 | -moz-border-start-color: #585959 !important; /* Grey foreground text */ |
michael@0 | 297 | font-weight: 600; |
michael@0 | 298 | } |
michael@0 | 299 | |
michael@0 | 300 | .theme-dark .requests-menu-timings-division[division-scale=minute] { |
michael@0 | 301 | -moz-border-start-color: #f5f7fa !important; /* Light foreground text */ |
michael@0 | 302 | font-weight: 600; |
michael@0 | 303 | } |
michael@0 | 304 | |
michael@0 | 305 | .theme-light .requests-menu-timings-division[division-scale=minute] { |
michael@0 | 306 | -moz-border-start-color: #585959 !important; /* Grey foreground text */ |
michael@0 | 307 | font-weight: 600; |
michael@0 | 308 | } |
michael@0 | 309 | |
michael@0 | 310 | /* Network requests table: waterfall items */ |
michael@0 | 311 | |
michael@0 | 312 | .requests-menu-subitem.requests-menu-waterfall { |
michael@0 | 313 | -moz-padding-start: 0px; |
michael@0 | 314 | -moz-padding-end: 4px; |
michael@0 | 315 | background-repeat: repeat-y; /* Background created on a <canvas> in js. */ |
michael@0 | 316 | background-position: -1px center; |
michael@0 | 317 | } |
michael@0 | 318 | |
michael@0 | 319 | .requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) { |
michael@0 | 320 | background-position: right center; |
michael@0 | 321 | } |
michael@0 | 322 | |
michael@0 | 323 | .requests-menu-timings:-moz-locale-dir(ltr) { |
michael@0 | 324 | transform-origin: left center; |
michael@0 | 325 | } |
michael@0 | 326 | |
michael@0 | 327 | .requests-menu-timings:-moz-locale-dir(rtl) { |
michael@0 | 328 | transform-origin: right center; |
michael@0 | 329 | } |
michael@0 | 330 | |
michael@0 | 331 | .requests-menu-timings-total:-moz-locale-dir(ltr) { |
michael@0 | 332 | transform-origin: left center; |
michael@0 | 333 | } |
michael@0 | 334 | |
michael@0 | 335 | .requests-menu-timings-total:-moz-locale-dir(rtl) { |
michael@0 | 336 | transform-origin: right center; |
michael@0 | 337 | } |
michael@0 | 338 | |
michael@0 | 339 | .requests-menu-timings-total { |
michael@0 | 340 | -moz-padding-start: 4px; |
michael@0 | 341 | font-size: 85%; |
michael@0 | 342 | font-weight: 600; |
michael@0 | 343 | } |
michael@0 | 344 | |
michael@0 | 345 | .requests-menu-timings-box { |
michael@0 | 346 | height: 9px; |
michael@0 | 347 | } |
michael@0 | 348 | |
michael@0 | 349 | .requests-menu-timings-box.blocked { |
michael@0 | 350 | background-color: rgba(235, 83, 104, 0.8); /* red */ |
michael@0 | 351 | } |
michael@0 | 352 | |
michael@0 | 353 | .requests-menu-timings-box.dns { |
michael@0 | 354 | background-color: rgba(223, 128, 255, 0.8); /* pink */ |
michael@0 | 355 | } |
michael@0 | 356 | |
michael@0 | 357 | .requests-menu-timings-box.connect { |
michael@0 | 358 | background-color: rgba(217, 102, 41, 0.8); /* orange */ |
michael@0 | 359 | } |
michael@0 | 360 | |
michael@0 | 361 | /* Use custom colors for dark and light theme on remaining timing types. */ |
michael@0 | 362 | .theme-dark .requests-menu-timings-box.send { |
michael@0 | 363 | background-color: rgba(70, 175, 227, 0.8); /* light blue */ |
michael@0 | 364 | } |
michael@0 | 365 | |
michael@0 | 366 | .theme-light .requests-menu-timings-box.send { |
michael@0 | 367 | background-color: rgba(0, 136, 204, 0.8); /* blue */ |
michael@0 | 368 | } |
michael@0 | 369 | |
michael@0 | 370 | .theme-dark .requests-menu-timings-box.wait { |
michael@0 | 371 | background-color: rgba(94, 136, 176, 0.8); /* blue grey */ |
michael@0 | 372 | } |
michael@0 | 373 | |
michael@0 | 374 | .theme-light .requests-menu-timings-box.wait { |
michael@0 | 375 | background-color: rgba(95, 136, 176, 0.8); /* blue grey */ |
michael@0 | 376 | } |
michael@0 | 377 | |
michael@0 | 378 | .theme-dark .requests-menu-timings-box.receive { |
michael@0 | 379 | background-color: rgba(112, 191, 83, 0.8); /* green */ |
michael@0 | 380 | } |
michael@0 | 381 | |
michael@0 | 382 | .theme-light .requests-menu-timings-box.receive { |
michael@0 | 383 | background-color: rgba(44, 187, 15, 0.8); /* green */ |
michael@0 | 384 | } |
michael@0 | 385 | |
michael@0 | 386 | /* SideMenuWidget */ |
michael@0 | 387 | |
michael@0 | 388 | .side-menu-widget-item-contents { |
michael@0 | 389 | padding: 0px; |
michael@0 | 390 | } |
michael@0 | 391 | |
michael@0 | 392 | .theme-dark .side-menu-widget-item:not(.selected)[odd] { |
michael@0 | 393 | background: rgba(255,255,255,0.05); |
michael@0 | 394 | } |
michael@0 | 395 | |
michael@0 | 396 | .theme-light .side-menu-widget-item:not(.selected)[odd] { |
michael@0 | 397 | background: rgba(128,128,128,0.05); |
michael@0 | 398 | } |
michael@0 | 399 | |
michael@0 | 400 | /* Network request details */ |
michael@0 | 401 | |
michael@0 | 402 | #details-pane-toggle { |
michael@0 | 403 | background: none; |
michael@0 | 404 | box-shadow: none; |
michael@0 | 405 | border-color: transparent; |
michael@0 | 406 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
michael@0 | 407 | -moz-image-region: rect(0px,16px,16px,0px); |
michael@0 | 408 | } |
michael@0 | 409 | |
michael@0 | 410 | #details-pane-toggle[pane-collapsed] { |
michael@0 | 411 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); |
michael@0 | 412 | } |
michael@0 | 413 | |
michael@0 | 414 | #details-pane-toggle:active { |
michael@0 | 415 | -moz-image-region: rect(0px,32px,16px,16px); |
michael@0 | 416 | } |
michael@0 | 417 | |
michael@0 | 418 | /* Network request details tabpanels */ |
michael@0 | 419 | |
michael@0 | 420 | .theme-dark .tabpanel-content { |
michael@0 | 421 | background: url(background-noise-toolbar.png), #343c45; /* Toolbars */ |
michael@0 | 422 | color: #f5f7fa; /* Light foreground text */ |
michael@0 | 423 | } |
michael@0 | 424 | |
michael@0 | 425 | /* Summary tabpanel */ |
michael@0 | 426 | |
michael@0 | 427 | .tabpanel-summary-container { |
michael@0 | 428 | padding: 1px; |
michael@0 | 429 | } |
michael@0 | 430 | |
michael@0 | 431 | .tabpanel-summary-label { |
michael@0 | 432 | -moz-padding-start: 4px; |
michael@0 | 433 | -moz-padding-end: 3px; |
michael@0 | 434 | font-weight: 600; |
michael@0 | 435 | } |
michael@0 | 436 | |
michael@0 | 437 | .tabpanel-summary-value { |
michael@0 | 438 | -moz-padding-start: 3px; |
michael@0 | 439 | } |
michael@0 | 440 | |
michael@0 | 441 | /* Headers tabpanel */ |
michael@0 | 442 | |
michael@0 | 443 | #headers-summary-status, |
michael@0 | 444 | #headers-summary-version { |
michael@0 | 445 | padding-bottom: 2px; |
michael@0 | 446 | } |
michael@0 | 447 | |
michael@0 | 448 | #headers-summary-size { |
michael@0 | 449 | padding-top: 2px; |
michael@0 | 450 | } |
michael@0 | 451 | |
michael@0 | 452 | #headers-summary-resend { |
michael@0 | 453 | margin-top: -10px; |
michael@0 | 454 | -moz-margin-end: 6px; |
michael@0 | 455 | } |
michael@0 | 456 | |
michael@0 | 457 | /* Response tabpanel */ |
michael@0 | 458 | |
michael@0 | 459 | #response-content-info-header { |
michael@0 | 460 | margin: 0; |
michael@0 | 461 | padding: 3px 8px; |
michael@0 | 462 | } |
michael@0 | 463 | |
michael@0 | 464 | .theme-dark #response-content-info-header { |
michael@0 | 465 | background: url(background-noise-toolbar.png), #eb5368; /* Red highlight */ |
michael@0 | 466 | color: #f5f7fa; /* Light foreground text */ |
michael@0 | 467 | } |
michael@0 | 468 | |
michael@0 | 469 | .theme-light #response-content-info-header { |
michael@0 | 470 | background: url(background-noise-toolbar.png), #ed2655; /* Red highlight */ |
michael@0 | 471 | color: #f5f7fa; /* Light foreground text */ |
michael@0 | 472 | } |
michael@0 | 473 | |
michael@0 | 474 | #response-content-image-box { |
michael@0 | 475 | padding-top: 10px; |
michael@0 | 476 | padding-bottom: 10px; |
michael@0 | 477 | } |
michael@0 | 478 | |
michael@0 | 479 | #response-content-image { |
michael@0 | 480 | background: #fff; |
michael@0 | 481 | border: 1px dashed GrayText; |
michael@0 | 482 | margin-bottom: 10px; |
michael@0 | 483 | } |
michael@0 | 484 | |
michael@0 | 485 | /* Preview tabpanel */ |
michael@0 | 486 | |
michael@0 | 487 | #preview-tabpanel { |
michael@0 | 488 | background: #fff; |
michael@0 | 489 | } |
michael@0 | 490 | |
michael@0 | 491 | #response-preview { |
michael@0 | 492 | display: -moz-box; |
michael@0 | 493 | -moz-box-flex: 1; |
michael@0 | 494 | } |
michael@0 | 495 | |
michael@0 | 496 | /* Timings tabpanel */ |
michael@0 | 497 | |
michael@0 | 498 | #timings-tabpanel .tabpanel-summary-label { |
michael@0 | 499 | width: 10em; |
michael@0 | 500 | } |
michael@0 | 501 | |
michael@0 | 502 | #timings-tabpanel .requests-menu-timings-box { |
michael@0 | 503 | transition: transform 0.2s ease-out; |
michael@0 | 504 | border: none; |
michael@0 | 505 | min-width: 1px; |
michael@0 | 506 | } |
michael@0 | 507 | |
michael@0 | 508 | #timings-tabpanel .requests-menu-timings-total { |
michael@0 | 509 | transition: transform 0.2s ease-out; |
michael@0 | 510 | } |
michael@0 | 511 | |
michael@0 | 512 | /* Custom request form */ |
michael@0 | 513 | |
michael@0 | 514 | #custom-pane { |
michael@0 | 515 | padding: 0.6em 0.5em; |
michael@0 | 516 | } |
michael@0 | 517 | |
michael@0 | 518 | .custom-header { |
michael@0 | 519 | font-size: 1.1em; |
michael@0 | 520 | } |
michael@0 | 521 | |
michael@0 | 522 | .custom-section { |
michael@0 | 523 | margin-top: 0.5em; |
michael@0 | 524 | } |
michael@0 | 525 | |
michael@0 | 526 | #custom-method-value { |
michael@0 | 527 | width: 4.5em; |
michael@0 | 528 | } |
michael@0 | 529 | |
michael@0 | 530 | /* Footer */ |
michael@0 | 531 | |
michael@0 | 532 | .theme-dark #requests-menu-footer { |
michael@0 | 533 | border-top: 1px solid @table_itemDarkStartBorder@; |
michael@0 | 534 | box-shadow: 0 1px 0 @table_itemDarkEndBorder@ inset; |
michael@0 | 535 | background: url(background-noise-toolbar.png), #343c45; /* Toolbars */ |
michael@0 | 536 | } |
michael@0 | 537 | |
michael@0 | 538 | .theme-light #requests-menu-footer { |
michael@0 | 539 | border-top: 1px solid @table_itemLightStartBorder@; |
michael@0 | 540 | box-shadow: 0 1px 0 @table_itemLightEndBorder@ inset; |
michael@0 | 541 | background: url(background-noise-toolbar.png), #f0f1f2; /* Toolbars */ |
michael@0 | 542 | } |
michael@0 | 543 | |
michael@0 | 544 | .requests-menu-footer-button, |
michael@0 | 545 | .requests-menu-footer-label { |
michael@0 | 546 | min-width: 1em; |
michael@0 | 547 | margin: 0; |
michael@0 | 548 | border: none; |
michael@0 | 549 | padding: 2px 1vw; |
michael@0 | 550 | } |
michael@0 | 551 | |
michael@0 | 552 | .theme-dark .requests-menu-footer-button, |
michael@0 | 553 | .theme-dark .requests-menu-footer-label { |
michael@0 | 554 | color: #f5f7fa; /* Light foreground text */ |
michael@0 | 555 | } |
michael@0 | 556 | |
michael@0 | 557 | .theme-light .requests-menu-footer-button, |
michael@0 | 558 | .theme-light .requests-menu-footer-label { |
michael@0 | 559 | color: #18191a; /* Dark foreground text */ |
michael@0 | 560 | } |
michael@0 | 561 | |
michael@0 | 562 | .requests-menu-footer-spacer { |
michael@0 | 563 | min-width: 2px; |
michael@0 | 564 | } |
michael@0 | 565 | |
michael@0 | 566 | .theme-dark .requests-menu-footer-spacer:not(:first-child), |
michael@0 | 567 | .theme-dark .requests-menu-footer-button:not(:first-child) { |
michael@0 | 568 | -moz-border-start: 1px solid @table_itemDarkEndBorder@; |
michael@0 | 569 | box-shadow: -1px 0 0 @table_itemDarkStartBorder@; |
michael@0 | 570 | } |
michael@0 | 571 | |
michael@0 | 572 | .theme-light .requests-menu-footer-spacer:not(:first-child), |
michael@0 | 573 | .theme-light .requests-menu-footer-button:not(:first-child) { |
michael@0 | 574 | -moz-border-start: 1px solid @table_itemLightEndBorder@; |
michael@0 | 575 | box-shadow: -1px 0 0 @table_itemLightStartBorder@; |
michael@0 | 576 | } |
michael@0 | 577 | |
michael@0 | 578 | .requests-menu-footer-button { |
michael@0 | 579 | -moz-appearance: none; |
michael@0 | 580 | background: rgba(0,0,0,0.025); |
michael@0 | 581 | } |
michael@0 | 582 | |
michael@0 | 583 | .requests-menu-footer-button:hover { |
michael@0 | 584 | background: rgba(0,0,0,0.10); |
michael@0 | 585 | } |
michael@0 | 586 | |
michael@0 | 587 | .theme-dark .requests-menu-footer-button:hover:active { |
michael@0 | 588 | background-color: rgba(29,79,115,0.4); /* Select Highlight Blue at 40% opacity */ |
michael@0 | 589 | } |
michael@0 | 590 | |
michael@0 | 591 | .theme-light .requests-menu-footer-button:hover:active { |
michael@0 | 592 | background-color: rgba(76,158,217,0.4); /* Select Highlight Blue at 40% opacity */ |
michael@0 | 593 | } |
michael@0 | 594 | |
michael@0 | 595 | .theme-dark .requests-menu-footer-button:not(:active)[checked] { |
michael@0 | 596 | background-color: rgba(29,79,115,1); /* Select Highlight Blue */ |
michael@0 | 597 | color: rgba(245,247,250,1); /* Light foreground text */ |
michael@0 | 598 | } |
michael@0 | 599 | |
michael@0 | 600 | .theme-light .requests-menu-footer-button:not(:active)[checked] { |
michael@0 | 601 | background-color: rgba(76,158,217,1); /* Select Highlight Blue */ |
michael@0 | 602 | color: rgba(245,247,250,1); /* Light foreground text */ |
michael@0 | 603 | } |
michael@0 | 604 | |
michael@0 | 605 | .requests-menu-footer-label { |
michael@0 | 606 | padding-top: 3px; |
michael@0 | 607 | font-weight: 600; |
michael@0 | 608 | } |
michael@0 | 609 | |
michael@0 | 610 | /* Performance analysis buttons */ |
michael@0 | 611 | |
michael@0 | 612 | #requests-menu-network-summary-button { |
michael@0 | 613 | background: none; |
michael@0 | 614 | box-shadow: none; |
michael@0 | 615 | border-color: transparent; |
michael@0 | 616 | list-style-image: url(profiler-stopwatch.png); |
michael@0 | 617 | -moz-image-region: rect(0px,16px,16px,0px); |
michael@0 | 618 | -moz-padding-end: 0; |
michael@0 | 619 | cursor: pointer; |
michael@0 | 620 | } |
michael@0 | 621 | |
michael@0 | 622 | #requests-menu-network-summary-label { |
michael@0 | 623 | -moz-padding-start: 0; |
michael@0 | 624 | cursor: pointer; |
michael@0 | 625 | } |
michael@0 | 626 | |
michael@0 | 627 | #requests-menu-network-summary-label:hover { |
michael@0 | 628 | text-decoration: underline; |
michael@0 | 629 | } |
michael@0 | 630 | |
michael@0 | 631 | /* Performance analysis view */ |
michael@0 | 632 | |
michael@0 | 633 | #network-statistics-toolbar { |
michael@0 | 634 | border: none; |
michael@0 | 635 | margin: 0; |
michael@0 | 636 | padding: 0; |
michael@0 | 637 | } |
michael@0 | 638 | |
michael@0 | 639 | #network-statistics-back-button { |
michael@0 | 640 | min-width: 4em; |
michael@0 | 641 | min-height: 100vh; |
michael@0 | 642 | margin: 0; |
michael@0 | 643 | padding: 0; |
michael@0 | 644 | border-radius: 0; |
michael@0 | 645 | border-top: none; |
michael@0 | 646 | border-bottom: none; |
michael@0 | 647 | -moz-border-start: none; |
michael@0 | 648 | } |
michael@0 | 649 | |
michael@0 | 650 | #network-statistics-view-splitter { |
michael@0 | 651 | border-color: rgba(0,0,0,0.2); |
michael@0 | 652 | cursor: default; |
michael@0 | 653 | pointer-events: none; |
michael@0 | 654 | } |
michael@0 | 655 | |
michael@0 | 656 | #network-statistics-charts { |
michael@0 | 657 | min-height: 1px; |
michael@0 | 658 | } |
michael@0 | 659 | |
michael@0 | 660 | .theme-dark #network-statistics-charts { |
michael@0 | 661 | background: url(background-noise-toolbar.png), #343c45; /* Toolbars */ |
michael@0 | 662 | } |
michael@0 | 663 | |
michael@0 | 664 | .theme-light #network-statistics-charts { |
michael@0 | 665 | background: url(background-noise-toolbar.png), #f0f1f2; /* Toolbars */ |
michael@0 | 666 | } |
michael@0 | 667 | |
michael@0 | 668 | #network-statistics-charts .pie-chart-container { |
michael@0 | 669 | -moz-margin-start: 3vw; |
michael@0 | 670 | -moz-margin-end: 1vw; |
michael@0 | 671 | } |
michael@0 | 672 | |
michael@0 | 673 | #network-statistics-charts .table-chart-container { |
michael@0 | 674 | -moz-margin-start: 1vw; |
michael@0 | 675 | -moz-margin-end: 3vw; |
michael@0 | 676 | } |
michael@0 | 677 | |
michael@0 | 678 | .theme-dark .chart-colored-blob[name=html] { |
michael@0 | 679 | fill: #5e88b0; /* Blue-Grey highlight */ |
michael@0 | 680 | background: #5e88b0; |
michael@0 | 681 | } |
michael@0 | 682 | |
michael@0 | 683 | .theme-light .chart-colored-blob[name=html] { |
michael@0 | 684 | fill: #5f88b0; /* Blue-Grey highlight */ |
michael@0 | 685 | background: #5f88b0; |
michael@0 | 686 | } |
michael@0 | 687 | |
michael@0 | 688 | .theme-dark .chart-colored-blob[name=css] { |
michael@0 | 689 | fill: #46afe3; /* Blue highlight */ |
michael@0 | 690 | background: #46afe3; |
michael@0 | 691 | } |
michael@0 | 692 | |
michael@0 | 693 | .theme-light .chart-colored-blob[name=css] { |
michael@0 | 694 | fill: #0088cc; /* Blue highlight */ |
michael@0 | 695 | background: #0088cc; |
michael@0 | 696 | } |
michael@0 | 697 | |
michael@0 | 698 | .theme-dark .chart-colored-blob[name=js] { |
michael@0 | 699 | fill: #d99b28; /* Light Orange highlight */ |
michael@0 | 700 | background: #d99b28; |
michael@0 | 701 | } |
michael@0 | 702 | |
michael@0 | 703 | .theme-light .chart-colored-blob[name=js] { |
michael@0 | 704 | fill: #d97e00; /* Light Orange highlight */ |
michael@0 | 705 | background: #d97e00; |
michael@0 | 706 | } |
michael@0 | 707 | |
michael@0 | 708 | .theme-dark .chart-colored-blob[name=xhr] { |
michael@0 | 709 | fill: #d96629; /* Orange highlight */ |
michael@0 | 710 | background: #d96629; |
michael@0 | 711 | } |
michael@0 | 712 | |
michael@0 | 713 | .theme-light .chart-colored-blob[name=xhr] { |
michael@0 | 714 | fill: #f13c00; /* Orange highlight */ |
michael@0 | 715 | background: #f13c00; |
michael@0 | 716 | } |
michael@0 | 717 | |
michael@0 | 718 | .theme-dark .chart-colored-blob[name=fonts] { |
michael@0 | 719 | fill: #6b7abb; /* Purple highlight */ |
michael@0 | 720 | background: #6b7abb; |
michael@0 | 721 | } |
michael@0 | 722 | |
michael@0 | 723 | .theme-light .chart-colored-blob[name=fonts] { |
michael@0 | 724 | fill: #5b5fff; /* Purple highlight */ |
michael@0 | 725 | background: #5b5fff; |
michael@0 | 726 | } |
michael@0 | 727 | |
michael@0 | 728 | .theme-dark .chart-colored-blob[name=images] { |
michael@0 | 729 | fill: #df80ff; /* Pink highlight */ |
michael@0 | 730 | background: #df80ff; |
michael@0 | 731 | } |
michael@0 | 732 | |
michael@0 | 733 | .theme-light .chart-colored-blob[name=images] { |
michael@0 | 734 | fill: #b82ee5; /* Pink highlight */ |
michael@0 | 735 | background: #b82ee5; |
michael@0 | 736 | } |
michael@0 | 737 | |
michael@0 | 738 | .theme-dark .chart-colored-blob[name=media] { |
michael@0 | 739 | fill: #70bf53; /* Green highlight */ |
michael@0 | 740 | background: #70bf53; |
michael@0 | 741 | } |
michael@0 | 742 | |
michael@0 | 743 | .theme-light .chart-colored-blob[name=media] { |
michael@0 | 744 | fill: #2cbb0f; /* Green highlight */ |
michael@0 | 745 | background: #2cbb0f; |
michael@0 | 746 | } |
michael@0 | 747 | |
michael@0 | 748 | .theme-dark .chart-colored-blob[name=flash] { |
michael@0 | 749 | fill: #eb5368; /* Red highlight */ |
michael@0 | 750 | background: #eb5368; |
michael@0 | 751 | } |
michael@0 | 752 | |
michael@0 | 753 | .theme-light .chart-colored-blob[name=flash] { |
michael@0 | 754 | fill: #ed2655; /* Red highlight */ |
michael@0 | 755 | background: #ed2655; |
michael@0 | 756 | } |
michael@0 | 757 | |
michael@0 | 758 | .table-chart-row-label[name=cached] { |
michael@0 | 759 | display: none; |
michael@0 | 760 | } |
michael@0 | 761 | |
michael@0 | 762 | .table-chart-row-label[name=count] { |
michael@0 | 763 | width: 3em; |
michael@0 | 764 | text-align: end; |
michael@0 | 765 | } |
michael@0 | 766 | |
michael@0 | 767 | .table-chart-row-label[name=label] { |
michael@0 | 768 | width: 7em; |
michael@0 | 769 | } |
michael@0 | 770 | |
michael@0 | 771 | .table-chart-row-label[name=size] { |
michael@0 | 772 | width: 7em; |
michael@0 | 773 | } |
michael@0 | 774 | |
michael@0 | 775 | .table-chart-row-label[name=time] { |
michael@0 | 776 | width: 7em; |
michael@0 | 777 | } |
michael@0 | 778 | |
michael@0 | 779 | /* Responsive sidebar */ |
michael@0 | 780 | @media (max-width: 700px) { |
michael@0 | 781 | #requests-menu-toolbar { |
michael@0 | 782 | height: 22px; |
michael@0 | 783 | } |
michael@0 | 784 | |
michael@0 | 785 | .requests-menu-header-button { |
michael@0 | 786 | min-height: 20px; |
michael@0 | 787 | } |
michael@0 | 788 | |
michael@0 | 789 | #details-pane { |
michael@0 | 790 | margin: 0 !important; |
michael@0 | 791 | /* To prevent all the margin hacks to hide the sidebar. */ |
michael@0 | 792 | } |
michael@0 | 793 | |
michael@0 | 794 | .requests-menu-status-and-method { |
michael@0 | 795 | width: 16vw; |
michael@0 | 796 | } |
michael@0 | 797 | |
michael@0 | 798 | .requests-menu-icon-and-file { |
michael@0 | 799 | width: 30vw; |
michael@0 | 800 | } |
michael@0 | 801 | |
michael@0 | 802 | .requests-menu-domain { |
michael@0 | 803 | width: 30vw; |
michael@0 | 804 | } |
michael@0 | 805 | |
michael@0 | 806 | .requests-menu-type { |
michael@0 | 807 | width: 8vw; |
michael@0 | 808 | } |
michael@0 | 809 | |
michael@0 | 810 | .requests-menu-size { |
michael@0 | 811 | width: 16vw; |
michael@0 | 812 | border-width: 0 !important; |
michael@0 | 813 | box-shadow: none !important; |
michael@0 | 814 | /* The "Timeline" header is not visible anymore, and thus the |
michael@0 | 815 | right border and box-shadow of "Size" column should be hidden. */ |
michael@0 | 816 | } |
michael@0 | 817 | } |