net-info-group.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. /******************************************************************************/
  5. /* Net Info Group */
  6. .netInfoBody .netInfoGroup {
  7. padding-bottom: 6px;
  8. }
  9. /* Last group doesn't need bottom padding */
  10. .netInfoBody .netInfoGroup:last-child {
  11. padding-bottom: 0;
  12. }
  13. .netInfoBody .netInfoGroup:last-child .netInfoGroupContent {
  14. padding-bottom: 0;
  15. }
  16. .netInfoBody .netInfoGroupTitle {
  17. cursor: pointer;
  18. font-weight: bold;
  19. -moz-user-select: none;
  20. cursor: pointer;
  21. padding-left: 3px;
  22. }
  23. .netInfoBody .netInfoGroupTwisty {
  24. background-image: url("chrome://devtools/skin/images/controls.png");
  25. background-size: 56px 28px;
  26. background-position: 0 -14px;
  27. background-repeat: no-repeat;
  28. width: 14px;
  29. height: 14px;
  30. cursor: pointer;
  31. display: inline-block;
  32. vertical-align: middle;
  33. }
  34. .netInfoBody .netInfoGroup.opened .netInfoGroupTwisty {
  35. background-position: -14px -14px;
  36. }
  37. /* Group content is expandable/collapsible by clicking on the title */
  38. .netInfoBody .netInfoGroupContent {
  39. padding-top: 7px;
  40. margin-top: 3px;
  41. padding-bottom: 14px;
  42. border-top: 1px solid var(--net-border);
  43. display: none;
  44. }
  45. /* Toggle group visibility */
  46. .netInfoBody .netInfoGroup.opened .netInfoGroupContent {
  47. display: block;
  48. }
  49. /******************************************************************************/
  50. /* Themes */
  51. .theme-dark .netInfoBody .netInfoGroup {
  52. color: var(--theme-body-color);
  53. }
  54. .theme-dark .netInfoBody .netInfoGroup .netInfoGroupTwisty {
  55. filter: invert(1);
  56. }
  57. /* Twisties */
  58. .theme-firebug .netInfoBody .netInfoGroup .netInfoGroupTwisty {
  59. background-image: url("chrome://devtools/skin/images/firebug/twisty-closed-firebug.svg");
  60. background-position: 0 2px;
  61. background-size: 11px 11px;
  62. width: 15px;
  63. }
  64. .theme-firebug .netInfoBody .netInfoGroup.opened .netInfoGroupTwisty {
  65. background-image: url("chrome://devtools/skin/images/firebug/twisty-open-firebug.svg");
  66. }