diff options
| author | Lootyhoof <lootyhoofer@gmail.com> | 2018-11-20 22:52:49 +0000 |
|---|---|---|
| committer | Lootyhoof <lootyhoofer@gmail.com> | 2018-11-20 22:52:49 +0000 |
| commit | 2be32c6085b8303c3f8c41ba61c341c36b57802a (patch) | |
| tree | 1bbcc21cb8cb22041d95575f9e225863e108cba3 /src/chrome/browser/browser.css | |
| parent | 518a0055a90254c5018aef0e6b0e906464043342 (diff) | |
Update in-browser developer tools
Diffstat (limited to 'src/chrome/browser/browser.css')
| -rw-r--r-- | src/chrome/browser/browser.css | 576 |
1 files changed, 2 insertions, 574 deletions
diff --git a/src/chrome/browser/browser.css b/src/chrome/browser/browser.css index d5362d6..92ea050 100644 --- a/src/chrome/browser/browser.css +++ b/src/chrome/browser/browser.css | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | @import url("chrome://os/skin/browser.css"); | 1 | @import url("chrome://os/skin/browser.css"); |
| 2 | @import url("chrome://browser/skin/devtools.css"); | ||
| 2 | @import url("chrome://browser/skin/padlock/padlock.css"); | 3 | @import url("chrome://browser/skin/padlock/padlock.css"); |
| 3 | @import url("chrome://global/skin/"); | 4 | @import url("chrome://global/skin/"); |
| 4 | 5 | ||
| @@ -2269,553 +2270,7 @@ toolbar[mode="text"] #addonbar-closebutton > .toolbarbutton-icon { | |||
| 2269 | font-size: 120%; | 2270 | font-size: 120%; |
| 2270 | } | 2271 | } |
| 2271 | 2272 | ||
| 2272 | 2273 | /* Click-to-play plugins */ | |
| 2273 | /* Responsive Mode */ | ||
| 2274 | |||
| 2275 | .browserContainer[responsivemode] { | ||
| 2276 | background-color: #222; | ||
| 2277 | padding: 0 20px 20px 20px; | ||
| 2278 | } | ||
| 2279 | |||
| 2280 | .browserStack[responsivemode] { | ||
| 2281 | box-shadow: 0 0 7px black; | ||
| 2282 | } | ||
| 2283 | |||
| 2284 | .devtools-responsiveui-toolbar { | ||
| 2285 | -moz-appearance: none; | ||
| 2286 | background: transparent; | ||
| 2287 | /* text color is textColor from dark theme, since no theme is applied to | ||
| 2288 | * the responsive toolbar. | ||
| 2289 | */ | ||
| 2290 | color: hsl(210,30%,85%); | ||
| 2291 | margin: 10px 0; | ||
| 2292 | padding: 0; | ||
| 2293 | box-shadow: none; | ||
| 2294 | border-bottom-width: 0; | ||
| 2295 | } | ||
| 2296 | |||
| 2297 | .devtools-responsiveui-menulist, | ||
| 2298 | .devtools-responsiveui-toolbarbutton { | ||
| 2299 | -moz-appearance: none; | ||
| 2300 | -moz-box-align: center; | ||
| 2301 | min-width: 32px; | ||
| 2302 | min-height: 22px; | ||
| 2303 | text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); | ||
| 2304 | border: 1px solid hsla(210,8%,5%,.45); | ||
| 2305 | border-radius: 0; | ||
| 2306 | background: linear-gradient(hsla(212,7%,57%,.35), hsla(212,7%,57%,.1)) padding-box; | ||
| 2307 | box-shadow: 0 1px 0 hsla(210,16%,76%,.15) inset, 0 0 0 1px hsla(210,16%,76%,.15) inset, 0 1px 0 hsla(210,16%,76%,.15); | ||
| 2308 | margin: 0 3px; | ||
| 2309 | color: inherit; | ||
| 2310 | } | ||
| 2311 | |||
| 2312 | .devtools-responsiveui-menulist .menulist-editable-box { | ||
| 2313 | -moz-appearance: none; | ||
| 2314 | background-color: transparent; | ||
| 2315 | } | ||
| 2316 | |||
| 2317 | .devtools-responsiveui-menulist html|*.menulist-editable-input { | ||
| 2318 | -moz-appearance: none; | ||
| 2319 | color: inherit; | ||
| 2320 | text-align: center; | ||
| 2321 | } | ||
| 2322 | |||
| 2323 | .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection { | ||
| 2324 | background: hsla(212,7%,57%,.35); | ||
| 2325 | } | ||
| 2326 | |||
| 2327 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon { | ||
| 2328 | width: 16px; | ||
| 2329 | height: 16px; | ||
| 2330 | } | ||
| 2331 | |||
| 2332 | .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { | ||
| 2333 | -moz-box-orient: horizontal; | ||
| 2334 | } | ||
| 2335 | |||
| 2336 | .devtools-responsiveui-menulist:-moz-focusring, | ||
| 2337 | .devtools-responsiveui-toolbarbutton:-moz-focusring { | ||
| 2338 | outline: 1px dotted hsla(210,30%,85%,0.7); | ||
| 2339 | outline-offset: -4px; | ||
| 2340 | } | ||
| 2341 | |||
| 2342 | .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { | ||
| 2343 | display: none; | ||
| 2344 | } | ||
| 2345 | |||
| 2346 | .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active { | ||
| 2347 | border-color: hsla(210,8%,5%,.6); | ||
| 2348 | background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); | ||
| 2349 | box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); | ||
| 2350 | } | ||
| 2351 | |||
| 2352 | .devtools-responsiveui-menulist[open=true], | ||
| 2353 | .devtools-responsiveui-toolbarbutton[open=true], | ||
| 2354 | .devtools-responsiveui-toolbarbutton[checked=true] { | ||
| 2355 | border-color: hsla(210,8%,5%,.6) !important; | ||
| 2356 | background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4)); | ||
| 2357 | box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); | ||
| 2358 | } | ||
| 2359 | |||
| 2360 | .devtools-responsiveui-toolbarbutton[checked=true] { | ||
| 2361 | color: hsl(208,100%,60%); | ||
| 2362 | } | ||
| 2363 | |||
| 2364 | .devtools-responsiveui-toolbarbutton[checked=true]:hover { | ||
| 2365 | background-color: transparent !important; | ||
| 2366 | } | ||
| 2367 | |||
| 2368 | .devtools-responsiveui-toolbarbutton[checked=true]:hover:active { | ||
| 2369 | background-color: hsla(210,8%,5%,.2) !important; | ||
| 2370 | } | ||
| 2371 | |||
| 2372 | .devtools-responsiveui-menulist > .menulist-label-box { | ||
| 2373 | text-align: center; | ||
| 2374 | } | ||
| 2375 | |||
| 2376 | .devtools-responsiveui-menulist > .menulist-dropmarker { | ||
| 2377 | -moz-appearance: none; | ||
| 2378 | display: -moz-box; | ||
| 2379 | background-color: transparent; | ||
| 2380 | list-style-image: url("chrome://global/skin/devtools/dropmarker.svg"); | ||
| 2381 | -moz-box-align: center; | ||
| 2382 | border-width: 0; | ||
| 2383 | min-width: 16px; | ||
| 2384 | } | ||
| 2385 | |||
| 2386 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { | ||
| 2387 | -moz-appearance: none; | ||
| 2388 | color: inherit; | ||
| 2389 | border-width: 0; | ||
| 2390 | border-inline-end: 1px solid hsla(210,8%,5%,.45); | ||
| 2391 | box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15); | ||
| 2392 | } | ||
| 2393 | |||
| 2394 | .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { | ||
| 2395 | box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15); | ||
| 2396 | } | ||
| 2397 | |||
| 2398 | .devtools-responsiveui-toolbarbutton[type=menu-button] { | ||
| 2399 | padding: 0 1px; | ||
| 2400 | -moz-box-align: stretch; | ||
| 2401 | } | ||
| 2402 | |||
| 2403 | .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, | ||
| 2404 | .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { | ||
| 2405 | -moz-appearance: none !important; | ||
| 2406 | list-style-image: url("chrome://global/skin/devtools/dropmarker.svg"); | ||
| 2407 | -moz-box-align: center; | ||
| 2408 | padding: 0 3px; | ||
| 2409 | } | ||
| 2410 | |||
| 2411 | .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, | ||
| 2412 | .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { | ||
| 2413 | margin-left: 0; | ||
| 2414 | } | ||
| 2415 | |||
| 2416 | .devtools-responsiveui-close { | ||
| 2417 | list-style-image: url("chrome://global/skin/devtools/close.png"); | ||
| 2418 | } | ||
| 2419 | |||
| 2420 | .devtools-responsiveui-rotate { | ||
| 2421 | list-style-image: url("chrome://global/skin/devtools/responsiveui-rotate.png"); | ||
| 2422 | } | ||
| 2423 | |||
| 2424 | @media (min-resolution: 2dppx) { | ||
| 2425 | .devtools-responsiveui-close { | ||
| 2426 | list-style-image: url("chrome://global/skin/devtools/close@2x.png"); | ||
| 2427 | } | ||
| 2428 | |||
| 2429 | .devtools-responsiveui-rotate { | ||
| 2430 | list-style-image: url("chrome://global/skin/devtools/responsiveui-rotate@2x.png"); | ||
| 2431 | } | ||
| 2432 | } | ||
| 2433 | |||
| 2434 | .devtools-responsiveui-touch { | ||
| 2435 | list-style-image: url("chrome://global/skin/devtools/responsiveui-touch.png"); | ||
| 2436 | -moz-image-region: rect(0px,16px,16px,0px); | ||
| 2437 | } | ||
| 2438 | |||
| 2439 | .devtools-responsiveui-touch[checked] { | ||
| 2440 | -moz-image-region: rect(0px,32px,16px,16px); | ||
| 2441 | } | ||
| 2442 | |||
| 2443 | @media (min-resolution: 2dppx) { | ||
| 2444 | .devtools-responsiveui-touch { | ||
| 2445 | list-style-image: url("chrome://global/skin/devtools/responsiveui-touch@2x.png"); | ||
| 2446 | -moz-image-region: rect(0px,32px,32px,0px); | ||
| 2447 | } | ||
| 2448 | |||
| 2449 | .devtools-responsiveui-touch[checked] { | ||
| 2450 | -moz-image-region: rect(0px,64px,32px,32px); | ||
| 2451 | } | ||
| 2452 | } | ||
| 2453 | |||
| 2454 | .devtools-responsiveui-screenshot { | ||
| 2455 | list-style-image: url("chrome://global/skin/devtools/responsiveui-screenshot.png"); | ||
| 2456 | } | ||
| 2457 | |||
| 2458 | @media (min-resolution: 2dppx) { | ||
| 2459 | .devtools-responsiveui-screenshot { | ||
| 2460 | list-style-image: url("chrome://global/skin/devtools/responsiveui-screenshot@2x.png"); | ||
| 2461 | } | ||
| 2462 | } | ||
| 2463 | |||
| 2464 | .devtools-responsiveui-resizebarV { | ||
| 2465 | width: 7px; | ||
| 2466 | height: 24px; | ||
| 2467 | cursor: ew-resize; | ||
| 2468 | transform: translate(12px, -12px); | ||
| 2469 | background-size: cover; | ||
| 2470 | background-image: url("chrome://global/skin/devtools/responsive-vertical-resizer.png"); | ||
| 2471 | } | ||
| 2472 | |||
| 2473 | .devtools-responsiveui-resizebarH { | ||
| 2474 | width: 24px; | ||
| 2475 | height: 7px; | ||
| 2476 | cursor: ns-resize; | ||
| 2477 | transform: translate(-12px, 12px); | ||
| 2478 | background-size: cover; | ||
| 2479 | background-image: url("chrome://global/skin/devtools/responsive-horizontal-resizer.png"); | ||
| 2480 | } | ||
| 2481 | |||
| 2482 | .devtools-responsiveui-resizehandle { | ||
| 2483 | width: 16px; | ||
| 2484 | height: 16px; | ||
| 2485 | cursor: se-resize; | ||
| 2486 | transform: translate(12px, 12px); | ||
| 2487 | background-size: cover; | ||
| 2488 | background-image: url("chrome://global/skin/devtools/responsive-se-resizer.png"); | ||
| 2489 | } | ||
| 2490 | |||
| 2491 | /* Hide devtools manual resizer */ | ||
| 2492 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle, | ||
| 2493 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH, | ||
| 2494 | .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV { | ||
| 2495 | display: none; | ||
| 2496 | } | ||
| 2497 | |||
| 2498 | /* Gives responsive mode a phone look'n feel */ | ||
| 2499 | .browserStack[responsivemode].fxos-mode { | ||
| 2500 | padding: 60px 15px 0; | ||
| 2501 | |||
| 2502 | border-radius: 25px / 20px; | ||
| 2503 | border-bottom-left-radius: 0; | ||
| 2504 | border-bottom-right-radius: 0; | ||
| 2505 | border: 1px solid #FFFFFF; | ||
| 2506 | border-bottom-width: 0; | ||
| 2507 | |||
| 2508 | background-color: #353535; | ||
| 2509 | |||
| 2510 | box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset; | ||
| 2511 | |||
| 2512 | background-image: linear-gradient(to right, #111 11%, #333 56%); | ||
| 2513 | min-width: 320px; | ||
| 2514 | } | ||
| 2515 | |||
| 2516 | .devtools-responsiveui-hardware-buttons { | ||
| 2517 | -moz-appearance: none; | ||
| 2518 | padding: 20px; | ||
| 2519 | |||
| 2520 | border: 1px solid #FFFFFF; | ||
| 2521 | border-bottom-left-radius: 25px; | ||
| 2522 | border-bottom-right-radius: 25px; | ||
| 2523 | border-top-width: 0; | ||
| 2524 | |||
| 2525 | box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset; | ||
| 2526 | |||
| 2527 | background-image: linear-gradient(to right, #111 11%, #333 56%); | ||
| 2528 | } | ||
| 2529 | |||
| 2530 | .devtools-responsiveui-home-button { | ||
| 2531 | width: 40px; | ||
| 2532 | height: 30px; | ||
| 2533 | list-style-image: url("chrome://global/skin/devtools/responsiveui-home.png"); | ||
| 2534 | } | ||
| 2535 | |||
| 2536 | .devtools-responsiveui-sleep-button { | ||
| 2537 | -moz-appearance: none; | ||
| 2538 | /* compensate browserStack top padding */ | ||
| 2539 | margin-top: -67px; | ||
| 2540 | margin-right: 10px; | ||
| 2541 | |||
| 2542 | min-width: 10px; | ||
| 2543 | width: 50px; | ||
| 2544 | height: 5px; | ||
| 2545 | |||
| 2546 | border: 1px solid #444; | ||
| 2547 | border-top-right-radius: 12px; | ||
| 2548 | border-top-left-radius: 12px; | ||
| 2549 | border-bottom-color: transparent; | ||
| 2550 | |||
| 2551 | background-image: linear-gradient(to top, #111 11%, #333 56%); | ||
| 2552 | } | ||
| 2553 | |||
| 2554 | .devtools-responsiveui-sleep-button:hover:active { | ||
| 2555 | background-image: linear-gradient(to top, #aaa 11%, #ddd 56%); | ||
| 2556 | } | ||
| 2557 | |||
| 2558 | .devtools-responsiveui-volume-buttons { | ||
| 2559 | margin-left: -29px; | ||
| 2560 | } | ||
| 2561 | |||
| 2562 | .devtools-responsiveui-volume-up-button, | ||
| 2563 | .devtools-responsiveui-volume-down-button { | ||
| 2564 | -moz-appearance: none; | ||
| 2565 | border: 1px solid red; | ||
| 2566 | min-width: 8px; | ||
| 2567 | height: 40px; | ||
| 2568 | |||
| 2569 | border: 1px solid #444; | ||
| 2570 | border-right-color: transparent; | ||
| 2571 | |||
| 2572 | background-image: linear-gradient(to right, #111 11%, #333 56%); | ||
| 2573 | } | ||
| 2574 | |||
| 2575 | .devtools-responsiveui-volume-up-button:hover:active, | ||
| 2576 | .devtools-responsiveui-volume-down-button:hover:active { | ||
| 2577 | background-image: linear-gradient(to right, #aaa 11%, #ddd 56%); | ||
| 2578 | } | ||
| 2579 | |||
| 2580 | .devtools-responsiveui-volume-up-button { | ||
| 2581 | border-top-left-radius: 12px; | ||
| 2582 | } | ||
| 2583 | |||
| 2584 | .devtools-responsiveui-volume-down-button { | ||
| 2585 | border-bottom-left-radius: 12px; | ||
| 2586 | } | ||
| 2587 | |||
| 2588 | @media (min-resolution: 2dppx) { | ||
| 2589 | .devtools-responsiveui-resizebarV { | ||
| 2590 | background-image: url("chrome://global/skin/devtools/responsive-vertical-resizer@2x.png"); | ||
| 2591 | } | ||
| 2592 | |||
| 2593 | .devtools-responsiveui-resizebarH { | ||
| 2594 | background-image: url("chrome://global/skin/devtools/responsive-horizontal-resizer@2x.png"); | ||
| 2595 | } | ||
| 2596 | |||
| 2597 | .devtools-responsiveui-resizehandle { | ||
| 2598 | background-image: url("chrome://global/skin/devtools/responsive-se-resizer@2x.png"); | ||
| 2599 | } | ||
| 2600 | } | ||
| 2601 | |||
| 2602 | /* Developer toolbar */ | ||
| 2603 | |||
| 2604 | #developer-toolbar { | ||
| 2605 | -moz-appearance: none; | ||
| 2606 | padding: 0; | ||
| 2607 | min-height: 32px; | ||
| 2608 | background-color: #343C45; /* Toolbars */ | ||
| 2609 | border-top: 1px solid #060a0d; | ||
| 2610 | box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(206,37%,4%,.1) inset; | ||
| 2611 | } | ||
| 2612 | |||
| 2613 | #developer-toolbar > toolbarbutton { | ||
| 2614 | -moz-appearance: none; | ||
| 2615 | border: none; | ||
| 2616 | background: transparent; | ||
| 2617 | margin: 0; | ||
| 2618 | padding: 0 10px; | ||
| 2619 | width: 32px; | ||
| 2620 | } | ||
| 2621 | |||
| 2622 | .developer-toolbar-button > image { | ||
| 2623 | margin: auto 10px; | ||
| 2624 | } | ||
| 2625 | |||
| 2626 | .developer-toolbar-button > .toolbarbutton-icon, | ||
| 2627 | #developer-toolbar-closebutton > .toolbarbutton-icon { | ||
| 2628 | width: 16px; | ||
| 2629 | height: 16px; | ||
| 2630 | } | ||
| 2631 | |||
| 2632 | #developer-toolbar-toolbox-button { | ||
| 2633 | list-style-image: url("chrome://global/skin/devtools/toggle-tools.png"); | ||
| 2634 | -moz-image-region: rect(0px, 16px, 16px, 0px); | ||
| 2635 | } | ||
| 2636 | |||
| 2637 | #developer-toolbar-toolbox-button > label { | ||
| 2638 | display: none; | ||
| 2639 | } | ||
| 2640 | |||
| 2641 | #developer-toolbar-toolbox-button:hover { | ||
| 2642 | -moz-image-region: rect(0px, 32px, 16px, 16px); | ||
| 2643 | } | ||
| 2644 | |||
| 2645 | #developer-toolbar-toolbox-button:hover:active { | ||
| 2646 | -moz-image-region: rect(0px, 48px, 16px, 32px); | ||
| 2647 | } | ||
| 2648 | |||
| 2649 | #developer-toolbar-toolbox-button[checked=true] { | ||
| 2650 | -moz-image-region: rect(0px, 64px, 16px, 48px); | ||
| 2651 | } | ||
| 2652 | |||
| 2653 | @media (min-resolution: 2dppx) { | ||
| 2654 | #developer-toolbar-toolbox-button { | ||
| 2655 | list-style-image: url("chrome://global/skin/devtools/toggle-tools@2x.png"); | ||
| 2656 | -moz-image-region: rect(0px, 32px, 32px, 0px); | ||
| 2657 | } | ||
| 2658 | |||
| 2659 | #developer-toolbar-toolbox-button:hover { | ||
| 2660 | -moz-image-region: rect(0px, 64px, 32px, 32px); | ||
| 2661 | } | ||
| 2662 | |||
| 2663 | #developer-toolbar-toolbox-button:hover:active { | ||
| 2664 | -moz-image-region: rect(0px, 96px, 32px, 64px); | ||
| 2665 | } | ||
| 2666 | |||
| 2667 | #developer-toolbar-toolbox-button[checked=true] { | ||
| 2668 | -moz-image-region: rect(0px, 128px, 32px, 96px); | ||
| 2669 | } | ||
| 2670 | } | ||
| 2671 | |||
| 2672 | #developer-toolbar-closebutton { | ||
| 2673 | list-style-image: url("chrome://global/skin/devtools/close.png"); | ||
| 2674 | -moz-appearance: none; | ||
| 2675 | border: none; | ||
| 2676 | margin: 0 4px; | ||
| 2677 | min-width: 16px; | ||
| 2678 | width: 16px; | ||
| 2679 | opacity: 0.6; | ||
| 2680 | } | ||
| 2681 | |||
| 2682 | @media (min-resolution: 2dppx) { | ||
| 2683 | #developer-toolbar-closebutton { | ||
| 2684 | list-style-image: url("chrome://global/skin/devtools/close@2x.png"); | ||
| 2685 | } | ||
| 2686 | } | ||
| 2687 | |||
| 2688 | #developer-toolbar-closebutton > .toolbarbutton-icon { | ||
| 2689 | /* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must | ||
| 2690 | use evil CSS to give the impression of smaller content */ | ||
| 2691 | margin: -4px; | ||
| 2692 | } | ||
| 2693 | |||
| 2694 | #developer-toolbar-closebutton > .toolbarbutton-text { | ||
| 2695 | display: none; | ||
| 2696 | } | ||
| 2697 | |||
| 2698 | #developer-toolbar-closebutton:hover { | ||
| 2699 | opacity: 0.8; | ||
| 2700 | } | ||
| 2701 | |||
| 2702 | #developer-toolbar-closebutton:hover:active { | ||
| 2703 | opacity: 1; | ||
| 2704 | } | ||
| 2705 | |||
| 2706 | /* GCLI */ | ||
| 2707 | |||
| 2708 | html|*#gcli-tooltip-frame, | ||
| 2709 | html|*#gcli-output-frame { | ||
| 2710 | padding: 0; | ||
| 2711 | border-width: 0; | ||
| 2712 | background-color: transparent; | ||
| 2713 | } | ||
| 2714 | |||
| 2715 | #gcli-output, | ||
| 2716 | #gcli-tooltip { | ||
| 2717 | border-width: 0; | ||
| 2718 | background-color: transparent; | ||
| 2719 | -moz-appearance: none; | ||
| 2720 | } | ||
| 2721 | |||
| 2722 | .gclitoolbar-input-node, | ||
| 2723 | .gclitoolbar-complete-node { | ||
| 2724 | margin: 0; | ||
| 2725 | -moz-box-align: center; | ||
| 2726 | padding-top: 0; | ||
| 2727 | padding-bottom: 0; | ||
| 2728 | padding-right: 8px; | ||
| 2729 | text-shadow: none; | ||
| 2730 | box-shadow: none; | ||
| 2731 | border-width: 0; | ||
| 2732 | background-color: transparent; | ||
| 2733 | } | ||
| 2734 | |||
| 2735 | .gclitoolbar-input-node { | ||
| 2736 | -moz-appearance: none; | ||
| 2737 | color: hsl(210,30%,85%); | ||
| 2738 | background-color: #242b33; | ||
| 2739 | background-repeat: no-repeat; | ||
| 2740 | background-position: 4px center; | ||
| 2741 | box-shadow: 0 1px 1px hsla(206,37%,4%,.2) inset, | ||
| 2742 | 1px 0 0 hsla(206,37%,4%,.2) inset, | ||
| 2743 | -1px 0 0 hsla(206,37%,4%,.2) inset; | ||
| 2744 | line-height: 32px; | ||
| 2745 | outline-style: none; | ||
| 2746 | padding: 0; | ||
| 2747 | } | ||
| 2748 | |||
| 2749 | .gclitoolbar-input-node[focused="true"] { | ||
| 2750 | background-color: #232e38; | ||
| 2751 | } | ||
| 2752 | |||
| 2753 | .gclitoolbar-input-node::before { | ||
| 2754 | content: ""; | ||
| 2755 | display: inline-block; | ||
| 2756 | -moz-box-ordinal-group: 0; | ||
| 2757 | width: 16px; | ||
| 2758 | height: 16px; | ||
| 2759 | margin: 0 2px; | ||
| 2760 | background-image: url("chrome://global/skin/devtools/commandline-icon.png"); | ||
| 2761 | background-position: 0 center; | ||
| 2762 | background-size: 32px 16px; | ||
| 2763 | } | ||
| 2764 | |||
| 2765 | .gclitoolbar-input-node[focused="true"]::before { | ||
| 2766 | background-position: -16px center; | ||
| 2767 | } | ||
| 2768 | |||
| 2769 | @media (min-resolution: 2dppx) { | ||
| 2770 | .gclitoolbar-input-node::before { | ||
| 2771 | background-image: url("chrome://global/skin/devtools/commandline-icon@2x.png"); | ||
| 2772 | } | ||
| 2773 | } | ||
| 2774 | |||
| 2775 | .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection { | ||
| 2776 | background-color: hsl(210,30%,85%); | ||
| 2777 | color: hsl(210,24%,16%); | ||
| 2778 | text-shadow: none; | ||
| 2779 | } | ||
| 2780 | |||
| 2781 | .gclitoolbar-complete-node { | ||
| 2782 | padding-left: 21px; | ||
| 2783 | background-color: transparent; | ||
| 2784 | color: transparent; | ||
| 2785 | z-index: 100; | ||
| 2786 | pointer-events: none; | ||
| 2787 | } | ||
| 2788 | |||
| 2789 | .gcli-in-incomplete, | ||
| 2790 | .gcli-in-error, | ||
| 2791 | .gcli-in-ontab, | ||
| 2792 | .gcli-in-todo, | ||
| 2793 | .gcli-in-closebrace, | ||
| 2794 | .gcli-in-param, | ||
| 2795 | .gcli-in-valid { | ||
| 2796 | margin: 0; | ||
| 2797 | padding: 0; | ||
| 2798 | } | ||
| 2799 | |||
| 2800 | .gcli-in-incomplete { | ||
| 2801 | border-bottom: 2px dotted #999; | ||
| 2802 | } | ||
| 2803 | |||
| 2804 | .gcli-in-error { | ||
| 2805 | border-bottom: 2px dotted #F00; | ||
| 2806 | } | ||
| 2807 | |||
| 2808 | .gcli-in-ontab { | ||
| 2809 | color: hsl(210,0%,35%); | ||
| 2810 | } | ||
| 2811 | |||
| 2812 | .gcli-in-todo { | ||
| 2813 | color: hsl(210,50%,35%); | ||
| 2814 | } | ||
| 2815 | |||
| 2816 | .gcli-in-closebrace { | ||
| 2817 | color: hsl(0,0%,80%); | ||
| 2818 | } | ||
| 2819 | 2274 | ||
| 2820 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { | 2275 | #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent { |
| 2821 | padding: 0px; | 2276 | padding: 0px; |
| @@ -2871,33 +2326,6 @@ html|*#gcli-output-frame { | |||
| 2871 | margin: 0; | 2326 | margin: 0; |
| 2872 | } | 2327 | } |
| 2873 | 2328 | ||
| 2874 | /* Error counter */ | ||
| 2875 | |||
| 2876 | #developer-toolbar-toolbox-button[error-count]:before { | ||
| 2877 | color: #FDF3DE; | ||
| 2878 | min-width: 16px; | ||
| 2879 | text-shadow: none; | ||
| 2880 | background-image: linear-gradient(#B4211B, #8A1915); | ||
| 2881 | border-radius: 1px; | ||
| 2882 | margin-inline-end: 5px; | ||
| 2883 | } | ||
| 2884 | |||
| 2885 | .messageImage[value="plugin-hidden"] { | ||
| 2886 | list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); | ||
| 2887 | -moz-image-region: rect(0, 16px, 16px, 0); | ||
| 2888 | } | ||
| 2889 | |||
| 2890 | /* Keep any changes to this style in sync with pluginProblem.css */ | ||
| 2891 | notification.pluginVulnerable { | ||
| 2892 | background-color: rgb(72,72,72); | ||
| 2893 | background-image: url(chrome://mozapps/skin/plugins/contentPluginStripe.png); | ||
| 2894 | color: white; | ||
| 2895 | } | ||
| 2896 | |||
| 2897 | notification.pluginVulnerable .messageImage { | ||
| 2898 | list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); | ||
| 2899 | } | ||
| 2900 | |||
| 2901 | /* Badge toolbar item */ | 2329 | /* Badge toolbar item */ |
| 2902 | 2330 | ||
| 2903 | .toolbarbutton-badge-container, | 2331 | .toolbarbutton-badge-container, |
