debug-bar.dev.css 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. /* =========================================================================
  2. * Admin bar styling
  3. * ========================================================================= */
  4. #wpadminbar #wp-admin-bar-debug-bar {
  5. float: right;
  6. }
  7. #wpadminbar #wp-admin-bar-debug-bar.active {
  8. background: #555;
  9. background: -moz-linear-gradient(bottom, #555, #3e3e3e);
  10. background: -webkit-gradient(linear, left bottom, left top, from(#555), to(#3e3e3e));
  11. }
  12. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-notice-summary,
  13. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-notice-summary .ab-item:focus {
  14. background-color: #ff8922;
  15. background-image: -moz-linear-gradient(bottom, #ee6f00, #ff8922);
  16. background-image: -webkit-gradient(linear, left bottom, left top, from(#ee6f00), to(#ff8922));
  17. }
  18. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-notice-summary .ab-item:hover,
  19. .debug-bar-visible #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-notice-summary,
  20. .debug-bar-visible #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-notice-summary .ab-item:focus {
  21. background-color: #ee6f00;
  22. background-image: -moz-linear-gradient(bottom, #ff8922, #ee6f00 );
  23. background-image: -webkit-gradient(linear, left bottom, left top, from(#ff8922), to(#ee6f00));
  24. }
  25. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-notice-summary .ab-item {
  26. color: #fff;
  27. text-shadow: 0 -1px 0 #884000;
  28. }
  29. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-warning-summary,
  30. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-warning-summary .ab-item:focus {
  31. background-color: #f44;
  32. background-image: -moz-linear-gradient(bottom, #d00, #f44);
  33. background-image: -webkit-gradient(linear, left bottom, left top, from(#d00), to(#f44));
  34. }
  35. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-warning-summary .ab-item:hover,
  36. .debug-bar-visible #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-warning-summary,
  37. .debug-bar-visible #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-warning-summary .ab-item:focus {
  38. background-color: #d00;
  39. background-image: -moz-linear-gradient(bottom, #f44, #d00 );
  40. background-image: -webkit-gradient(linear, left bottom, left top, from(#f44), to(#d00));
  41. }
  42. #wpadminbar #wp-admin-bar-debug-bar.debug-bar-php-warning-summary .ab-item {
  43. color: #fff;
  44. text-shadow: 0 -1px 0 #700;
  45. }
  46. #wpadminbar #wp-admin-bar-debug-bar ul {
  47. right: 0;
  48. }
  49. /**
  50. * Debug bar styling
  51. */
  52. #querylist {
  53. display: none;
  54. position: fixed;
  55. height: 33%;
  56. min-height: 350px;
  57. font-family: "Helvetica Neue", sans-serif;
  58. left: 0;
  59. right: 0;
  60. bottom: 0;
  61. background: #f1f1f1;
  62. z-index: 99000;
  63. color: #000;
  64. line-height: 150% !important;
  65. text-align: left;
  66. font-size: 12px;
  67. }
  68. /* reset debug bar links */
  69. #querylist a {
  70. border: 0;
  71. }
  72. .debug-bar-visible #querylist {
  73. display: block;
  74. }
  75. .debug-bar-maximized #querylist {
  76. position: fixed;
  77. top: 28px;
  78. height: auto;
  79. }
  80. body.debug-bar-maximized.debug-bar-visible {
  81. overflow: hidden;
  82. }
  83. #debug-bar-info {
  84. height: 60px;
  85. width: 100%;
  86. position: absolute;
  87. z-index: 200;
  88. background: #f1f1f1;
  89. border-bottom: 1px solid #fff;
  90. box-shadow: 0 0 6px rgba( 0, 0, 0, 0.4 );
  91. background-color: #f1f1f1; /* Fallback */
  92. background-image: -ms-linear-gradient(top, #f9f9f9, #dfdfdf); /* IE10 */
  93. background-image: -moz-linear-gradient(top, #f9f9f9, #dfdfdf); /* Firefox */
  94. background-image: -o-linear-gradient(top, #f9f9f9, #dfdfdf); /* Opera */
  95. background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#dfdfdf)); /* old Webkit */
  96. background-image: -webkit-linear-gradient(top, #f9f9f9, #dfdfdf); /* new Webkit */
  97. background-image: linear-gradient(top, #f9f9f9, #dfdfdf); /* proposed W3C Markup */
  98. }
  99. #debug-bar-menu {
  100. position: absolute;
  101. top: 61px;
  102. left: 0;
  103. width: 250px;
  104. bottom: 0;
  105. z-index: 100;
  106. overflow: hidden;
  107. text-shadow: 0 1px 1px rgba( 0, 0, 0, 0.9 );
  108. background: #333;
  109. -webkit-box-shadow: inset -3px 0 6px rgba( 0, 0, 0, 0.4 );
  110. -moz-box-shadow: inset -3px 0 6px rgba( 0, 0, 0, 0.4 );
  111. box-shadow: inset -3px 0 6px rgba( 0, 0, 0, 0.4 );
  112. }
  113. #debug-menu-targets {
  114. overflow: auto;
  115. position: absolute;
  116. top: 61px;
  117. left: 250px;
  118. right: 0;
  119. bottom: 0;
  120. z-index: 150;
  121. }
  122. #debug-status {
  123. float: left;
  124. padding-left: 20px;
  125. color: #bbb;
  126. font-size: 14px;
  127. line-height: 60px;
  128. }
  129. .debug-status {
  130. float: left;
  131. margin-right: 40px;
  132. }
  133. #debug-status .debug-status-title {
  134. color: #555;
  135. font-weight: 500;
  136. line-height: 18px;
  137. font-size: 12px;
  138. margin-top: 10px;
  139. }
  140. #debug-status .debug-status-data {
  141. color: #999;
  142. font-weight: 200;
  143. line-height: 20px;
  144. font-size: 18px;
  145. }
  146. #debug-status #debug-status-warning {
  147. font-weight: bold;
  148. color: red;
  149. }
  150. #debug-status #debug-status-site {
  151. font-weight: bold;
  152. }
  153. #querylist pre {
  154. font-size: 12px;
  155. padding: 10px;
  156. }
  157. #querylist .left {
  158. float: left;
  159. }
  160. #querylist .right {
  161. float: right;
  162. }
  163. #querylist h1, #querylist h2, #querylist h3 {
  164. font-weight: normal;
  165. }
  166. #debug-menu-links {
  167. overflow: hidden;
  168. list-style: none;
  169. margin: 0;
  170. padding: 0;
  171. }
  172. #debug-menu-links li {
  173. float: left;
  174. margin-bottom: 0 !important;
  175. }
  176. #debug-menu-links li a {
  177. padding: 0 20px;
  178. width: 210px;
  179. line-height: 40px;
  180. outline: none;
  181. display: block;
  182. margin: 0;
  183. color: #fff !important;
  184. text-decoration: none !important;
  185. font-weight: 500 !important;
  186. font-size: 14px;
  187. }
  188. #debug-menu-links li a.current {
  189. background: rgba( 0, 0, 0, 0.2 );
  190. }
  191. #querylist h2 {
  192. float: left;
  193. min-width: 150px;
  194. border: 1px solid #eee;
  195. padding: 5px 10px 15px;
  196. clear: none;
  197. text-align: center;
  198. font-family: georgia, times, serif;
  199. font-size: 28px;
  200. margin: 15px 10px 15px 0 !important;
  201. }
  202. #querylist h2 span {
  203. font-size: 12px;
  204. color: #888;
  205. text-transform: uppercase;
  206. white-space: nowrap;
  207. display: block;
  208. margin-bottom: 5px;
  209. }
  210. #object-cache-stats h2 {
  211. border: none;
  212. float: none;
  213. text-align: left;
  214. font-size: 22px;
  215. margin-bottom: 0;
  216. }
  217. #querylist h3 {
  218. margin-bottom: 15px;
  219. }
  220. #querylist ol.wpd-queries {
  221. padding: 0 !important;
  222. margin: 0 !important;
  223. list-style: none;
  224. clear: left;
  225. }
  226. #querylist ol.wpd-queries li {
  227. padding: 10px;
  228. background: #f0f0f0;
  229. margin: 0 0 10px 0;
  230. }
  231. #querylist ol.wpd-queries li div.qdebug {
  232. background: #e8e8e8;
  233. margin: 10px -10px -10px -10px;
  234. padding: 5px 150px 5px 5px;
  235. font-size: 11px;
  236. position: relative;
  237. min-height: 20px;
  238. }
  239. #querylist ol.wpd-queries li div.qdebug span {
  240. position: absolute;
  241. right: 10px;
  242. top: 5px;
  243. white-space: nowrap;
  244. }
  245. #querylist a {
  246. text-decoration: underline !important;
  247. color: blue !important;
  248. }
  249. #querylist a:hover {
  250. text-decoration: none !important;
  251. }
  252. #querylist .debug-menu-target {
  253. margin: 20px;
  254. display: none;
  255. }
  256. #querylist ol {
  257. font: 12px Monaco, "Courier New", Courier, Fixed !important;
  258. line-height: 180% !important;
  259. }
  260. #debug-bar-php ol.debug-bar-php-list {
  261. padding: 0 !important;
  262. margin: 0 !important;
  263. list-style: none;
  264. clear: left;
  265. }
  266. #debug-bar-php ol.debug-bar-php-list li {
  267. padding: 10px;
  268. margin: 0 0 10px 0;
  269. }
  270. #debug-bar-php .debug-bar-php-warning {
  271. background-color: #ffebe8;
  272. border: 1px solid #c00;
  273. }
  274. #debug-bar-php .debug-bar-php-notice {
  275. background-color: #ffffe0;
  276. border: 1px solid #e6db55;
  277. }
  278. #debug-bar-deprecated ol.debug-bar-deprecated-list {
  279. padding: 0 !important;
  280. margin: 0 !important;
  281. list-style: none;
  282. clear: left;
  283. }
  284. #debug-bar-deprecated ol.debug-bar-deprecated-list li {
  285. padding: 10px;
  286. margin: 0 0 10px 0;
  287. background: #f0f0f0;
  288. }
  289. #debug-bar-wp-query ol.debug-bar-wp-query-list {
  290. padding: 0 !important;
  291. margin: 0 !important;
  292. list-style: none;
  293. clear: left;
  294. }
  295. #debug-bar-wp-query ol.debug-bar-wp-query-list li, #debug-bar-wp-query p, #debug-bar-request p {
  296. padding: 10px;
  297. margin: 0 0 10px 0;
  298. background: #f0f0f0;
  299. }
  300. #debug-bar-wp-query ol.debug-bar-wp-query-list li ol {
  301. padding: 0 !important;
  302. margin: 0 !important;
  303. list-style: none;
  304. clear: left;
  305. }
  306. #debug-bar-wp-query h3, #debug-bar-request h3 {
  307. float: none;
  308. clear: both;
  309. font-family: georgia, times, serif;
  310. font-size: 22px;
  311. margin: 15px 10px 15px 0 !important;
  312. }
  313. /* =========================================================================
  314. * Actions: Maximize / restore
  315. * ========================================================================= */
  316. #debug-bar-actions {
  317. position: absolute;
  318. top: 21px;
  319. right: 20px;
  320. z-index: 300;
  321. }
  322. #debug-bar-actions span {
  323. -moz-border-radius: 20px;
  324. -webkit-border-radius: 20px;
  325. border-radius: 20px;
  326. display: block;
  327. float: left;
  328. height: 19px;
  329. width: 19px;
  330. margin-left: 5px;
  331. font-size: 18px;
  332. line-height: 14px;
  333. text-align: center;
  334. font-weight: bold;
  335. color: #eee;
  336. background: #aaa;
  337. cursor: pointer;
  338. }
  339. #debug-bar-actions span:hover {
  340. background: #888;
  341. }
  342. #debug-bar-actions span.restore {
  343. line-height: 15px;
  344. }
  345. .debug-bar-maximized #debug-bar-actions span.restore {
  346. display: block;
  347. }
  348. .debug-bar-maximized #debug-bar-actions span.maximize {
  349. display: none;
  350. }
  351. .debug-bar-partial #debug-bar-actions span.restore {
  352. display: none;
  353. }
  354. .debug-bar-partial #debug-bar-actions span.maximize {
  355. display: block;
  356. }
  357. /* =========================================================================
  358. * JS Error item styling
  359. * ========================================================================= */
  360. #debug-menu-links li a#debug-menu-link-Debug_Bar_JS {
  361. display: none;
  362. }
  363. #debug-bar-js ol.debug-bar-js-list {
  364. padding: 0 !important;
  365. margin: 0 !important;
  366. list-style: none;
  367. clear: left;
  368. }
  369. #debug-bar-js ol.debug-bar-js-list li {
  370. padding: 10px;
  371. margin: 0 0 10px 0;
  372. }
  373. #debug-bar-js .debug-bar-js-error {
  374. background-color: #ffebe8;
  375. border: 1px solid #c00;
  376. }
  377. #debug-bar-js .debug-bar-js-error span {
  378. color: #666;
  379. font-size: 0.8em;
  380. display: block;
  381. }
  382. #debug-bar-js .debug-bar-js-error:hover span {
  383. color: #000;
  384. }