aboutdebugging.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. html, body {
  5. height: 100%;
  6. width: 100%;
  7. }
  8. h2, h3, h4 {
  9. margin-bottom: 10px;
  10. }
  11. button {
  12. padding-left: 20px;
  13. padding-right: 20px;
  14. min-width: 100px;
  15. margin: 0 4px;
  16. }
  17. /* Category panels */
  18. .category {
  19. display: flex;
  20. flex-direction: row;
  21. align-items: center;
  22. }
  23. .category-name {
  24. cursor: default;
  25. }
  26. .app {
  27. height: 100%;
  28. width: 100%;
  29. display: flex;
  30. flex-direction: row;
  31. }
  32. .main-content {
  33. flex: 1;
  34. }
  35. .panel {
  36. max-width: 800px;
  37. }
  38. /* Targets */
  39. .targets {
  40. margin-bottom: 35px;
  41. }
  42. .target-list {
  43. margin: 0;
  44. padding: 0;
  45. }
  46. .target-container {
  47. margin-top: 5px;
  48. min-height: 34px;
  49. display: flex;
  50. flex-direction: row;
  51. align-items: start;
  52. }
  53. .target-icon {
  54. height: 24px;
  55. margin: 0 5px 0 0;
  56. }
  57. .target-icon:not([src]) {
  58. display: none;
  59. }
  60. .inverted-icons .target-icon {
  61. filter: invert(30%);
  62. }
  63. .target {
  64. flex: 1;
  65. margin-top: 2px;
  66. /* This is silly: https://bugzilla.mozilla.org/show_bug.cgi?id=1086218#c4. */
  67. min-width: 0;
  68. }
  69. .target-details {
  70. margin: 0;
  71. padding: 0;
  72. list-style-type: none
  73. }
  74. .target-detail {
  75. display: flex;
  76. font-size: 12px;
  77. margin-top: 7px;
  78. margin-bottom: 7px;
  79. }
  80. .target-detail a {
  81. cursor: pointer;
  82. white-space: nowrap;
  83. }
  84. .target-detail strong {
  85. white-space: nowrap;
  86. }
  87. .target-detail span {
  88. /* Truncate items that are too long (e.g. URLs that would break the UI). */
  89. overflow: hidden;
  90. white-space: nowrap;
  91. text-overflow: ellipsis;
  92. }
  93. .target-detail > :not(:first-child) {
  94. margin-left: 8px;
  95. }
  96. .target-status {
  97. box-sizing: border-box;
  98. display: inline-block;
  99. min-width: 50px;
  100. margin: 4px 5px 0 0;
  101. padding: 2px;
  102. border-width: 1px;
  103. border-style: solid;
  104. font-size: 0.6em;
  105. text-align: center;
  106. }
  107. .target-status-stopped {
  108. border-color: grey;
  109. background-color: lightgrey;
  110. }
  111. .target-status-running {
  112. border-color: limegreen;
  113. background-color: palegreen;
  114. }
  115. .target-name {
  116. white-space: nowrap;
  117. overflow: hidden;
  118. text-overflow: ellipsis;
  119. }
  120. .addons-controls {
  121. display: flex;
  122. flex-direction: row;
  123. }
  124. .addons-install-error {
  125. background-color: #f3b0b0;
  126. padding: 5px 10px;
  127. margin: 5px 4px 5px 0px;
  128. }
  129. .service-worker-disabled .warning,
  130. .addons-install-error .warning {
  131. background-image: url(chrome://devtools/skin/images/alerticon-warning.png);
  132. background-size: 13px 12px;
  133. margin-right: 10px;
  134. display: inline-block;
  135. width: 13px;
  136. height: 12px;
  137. }
  138. @media (min-resolution: 1.1dppx) {
  139. .service-worker-disabled .warning,
  140. .addons-install-error .warning {
  141. background-image: url(chrome://devtools/skin/images/alerticon-warning@2x.png);
  142. }
  143. }
  144. .addons-options {
  145. flex: 1;
  146. }
  147. .addons-debugging-label {
  148. display: inline-block;
  149. margin-inline-end: 1ch;
  150. }
  151. .error-page {
  152. display: flex;
  153. justify-content: center;
  154. align-items: center;
  155. flex-direction: column;
  156. width: 100%;
  157. height: 100%;
  158. }
  159. .error-page .error-page-details {
  160. color: gray;
  161. }