widgets.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. pre.phpdebugbar-widgets-code-block {
  2. white-space: pre;
  3. word-wrap: normal;
  4. overflow: hidden;
  5. }
  6. pre.phpdebugbar-widgets-code-block code {
  7. display: block;
  8. overflow-x: auto;
  9. overflow-y: hidden;
  10. }
  11. pre.phpdebugbar-widgets-code-block code.phpdebugbar-widgets-numbered-code {
  12. padding: 5px;
  13. }
  14. pre.phpdebugbar-widgets-code-block code span.phpdebugbar-widgets-highlighted-line {
  15. background: #800000;
  16. color: #fff;
  17. display: inline-block;
  18. min-width: 100%;
  19. }
  20. pre.phpdebugbar-widgets-code-block code span.phpdebugbar-widgets-highlighted-line span {
  21. background: none !important;
  22. color: inherit !important;
  23. }
  24. pre.phpdebugbar-widgets-code-block ul {
  25. float: left;
  26. padding: 5px;
  27. background: #cacaca;
  28. border-right: 1px solid #aaa;
  29. text-align: right;
  30. }
  31. /* -------------------------------------- */
  32. ul.phpdebugbar-widgets-list {
  33. margin: 0;
  34. padding: 0;
  35. list-style: none;
  36. font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  37. }
  38. ul.phpdebugbar-widgets-list li.phpdebugbar-widgets-list-item {
  39. padding: 3px 6px;
  40. border-bottom: 1px solid #eee;
  41. position: relative;
  42. overflow: hidden;
  43. }
  44. ul.phpdebugbar-widgets-list li.phpdebugbar-widgets-list-item:hover {
  45. background: #fafafa;
  46. }
  47. /* -------------------------------------- */
  48. div.phpdebugbar-widgets-messages {
  49. position: relative;
  50. height: 100%;
  51. }
  52. div.phpdebugbar-widgets-messages ul.phpdebugbar-widgets-list {
  53. padding-bottom: 20px;
  54. }
  55. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before {
  56. font-family: PhpDebugbarFontAwesome;
  57. content: "\f071";
  58. margin-right: 8px;
  59. font-size: 11px;
  60. color: #ecb03d;
  61. }
  62. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error {
  63. color: red;
  64. }
  65. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before {
  66. font-family: PhpDebugbarFontAwesome;
  67. content: "\f057";
  68. margin-right: 8px;
  69. font-size: 11px;
  70. color: red;
  71. }
  72. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item pre.sf-dump {
  73. display: inline;
  74. }
  75. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-collector,
  76. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-label {
  77. float: right;
  78. font-size: 12px;
  79. padding: 2px 4px;
  80. color: #888;
  81. margin: 0 2px;
  82. text-decoration: none;
  83. text-shadow: none;
  84. background: none;
  85. font-weight: normal;
  86. }
  87. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-collector {
  88. color: #555;
  89. font-style: italic;
  90. }
  91. div.phpdebugbar-widgets-messages div.phpdebugbar-widgets-toolbar {
  92. position: fixed;
  93. bottom: 0;
  94. width: 100%;
  95. background: #fff;
  96. }
  97. div.phpdebugbar-widgets-messages div.phpdebugbar-widgets-toolbar input {
  98. border: 0;
  99. margin: 0;
  100. margin-left: 7px;
  101. width: 50%;
  102. box-shadow: none;
  103. }
  104. div.phpdebugbar-widgets-messages div.phpdebugbar-widgets-toolbar input:focus {
  105. outline: none;
  106. }
  107. div.phpdebugbar-widgets-messages div.phpdebugbar-widgets-toolbar a.phpdebugbar-widgets-filter {
  108. float: right;
  109. font-size: 12px;
  110. padding: 2px 4px;
  111. background: #7cacd5;
  112. margin: 0 2px;
  113. border-radius: 4px;
  114. color: #fff;
  115. text-decoration: none;
  116. }
  117. div.phpdebugbar-widgets-messages div.phpdebugbar-widgets-toolbar a.phpdebugbar-widgets-filter.phpdebugbar-widgets-excluded {
  118. background: #eee;
  119. color: #888;
  120. }
  121. /* -------------------------------------- */
  122. dl.phpdebugbar-widgets-kvlist {
  123. margin: 0;
  124. }
  125. dl.phpdebugbar-widgets-kvlist dt {
  126. float: left;
  127. width: 150px;
  128. padding: 5px;
  129. border-top: 1px solid #eee;
  130. font-weight: bold;
  131. clear: both;
  132. overflow: hidden;
  133. text-overflow: ellipsis;
  134. white-space: nowrap;
  135. }
  136. dl.phpdebugbar-widgets-kvlist dd {
  137. margin-left: 160px;
  138. padding: 5px;
  139. border-top: 1px solid #eee;
  140. cursor: pointer;
  141. min-height: 17px;
  142. }
  143. /* -------------------------------------- */
  144. dl.phpdebugbar-widgets-varlist,
  145. dl.phpdebugbar-widgets-htmlvarlist {
  146. font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  147. }
  148. dl.phpdebugbar-widgets-htmlvarlist dd {
  149. cursor: initial;
  150. }
  151. /* -------------------------------------- */
  152. ul.phpdebugbar-widgets-timeline {
  153. margin: 0;
  154. padding: 0;
  155. list-style: none;
  156. }
  157. ul.phpdebugbar-widgets-timeline .phpdebugbar-widgets-measure {
  158. height: 20px;
  159. position: relative;
  160. border-bottom: 1px solid #eee;
  161. display: block;
  162. }
  163. ul.phpdebugbar-widgets-timeline li:hover {
  164. background: #fafafa;
  165. }
  166. ul.phpdebugbar-widgets-timeline li span.phpdebugbar-widgets-label,
  167. ul.phpdebugbar-widgets-timeline li span.phpdebugbar-widgets-collector {
  168. position: absolute;
  169. font-size: 12px;
  170. font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  171. color: #555;
  172. top: 4px;
  173. left: 5px;
  174. background: none;
  175. text-shadow: none;
  176. font-weight: normal;
  177. white-space: pre;
  178. }
  179. ul.phpdebugbar-widgets-timeline li span.phpdebugbar-widgets-collector {
  180. left: initial;
  181. right: 5px;
  182. }
  183. ul.phpdebugbar-widgets-timeline li span.phpdebugbar-widgets-value {
  184. display: block;
  185. position: absolute;
  186. height: 10px;
  187. background: #3db9ec;
  188. top: 5px;
  189. border-radius: 2px;
  190. min-width: 1px;
  191. }
  192. ul.phpdebugbar-widgets-timeline table.phpdebugbar-widgets-params {
  193. display: none;
  194. width: 70%;
  195. margin: 10px;
  196. border: 1px solid #ddd;
  197. font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  198. border-collapse: collapse;
  199. }
  200. ul.phpdebugbar-widgets-timeline table.phpdebugbar-widgets-params td {
  201. border: 1px solid #ddd;
  202. padding: 0 5px;
  203. }
  204. ul.phpdebugbar-widgets-timeline table.phpdebugbar-widgets-params .phpdebugbar-widgets-name {
  205. width: 20%;
  206. font-weight: bold;
  207. }
  208. /* -------------------------------------- */
  209. div.phpdebugbar-widgets-exceptions li.phpdebugbar-widgets-list-item {
  210. cursor: pointer;
  211. }
  212. div.phpdebugbar-widgets-exceptions li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-message {
  213. display: block;
  214. color: red;
  215. }
  216. div.phpdebugbar-widgets-exceptions li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-filename {
  217. display: block;
  218. font-style: italic;
  219. color: #555;
  220. }
  221. div.phpdebugbar-widgets-exceptions li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-type {
  222. display: block;
  223. position: absolute;
  224. right: 4px;
  225. top: 4px;
  226. font-weight: bold;
  227. }
  228. div.phpdebugbar-widgets-exceptions li.phpdebugbar-widgets-list-item pre.phpdebugbar-widgets-file {
  229. display: none;
  230. margin: 10px;
  231. padding: 5px;
  232. border: 1px solid #ddd;
  233. font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  234. }
  235. div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before {
  236. font-family: PhpDebugbarFontAwesome;
  237. margin-right: 4px;
  238. font-size: 12px;
  239. font-style: normal;
  240. }
  241. div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before {
  242. content: "\f08e";
  243. margin-left: 4px;
  244. }