debug-bar.dev.css 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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. }
  171. #debug-menu-links li {
  172. float: left;
  173. margin-bottom: 0 !important;
  174. }
  175. #debug-menu-links li a {
  176. padding: 0 20px;
  177. width: 210px;
  178. line-height: 40px;
  179. outline: none;
  180. display: block;
  181. margin: 0;
  182. color: #fff !important;
  183. text-decoration: none !important;
  184. font-weight: 500 !important;
  185. font-size: 14px;
  186. }
  187. #debug-menu-links li a.current {
  188. background: rgba( 0, 0, 0, 0.2 );
  189. }
  190. #querylist h2 {
  191. float: left;
  192. min-width: 150px;
  193. border: 1px solid #eee;
  194. padding: 5px 10px 15px;
  195. clear: none;
  196. text-align: center;
  197. font-family: georgia, times, serif;
  198. font-size: 28px;
  199. margin: 15px 10px 15px 0 !important;
  200. }
  201. #querylist h2 span {
  202. font-size: 12px;
  203. color: #888;
  204. text-transform: uppercase;
  205. white-space: nowrap;
  206. display: block;
  207. margin-bottom: 5px;
  208. }
  209. #object-cache-stats h2 {
  210. border: none;
  211. float: none;
  212. text-align: left;
  213. font-size: 22px;
  214. margin-bottom: 0;
  215. }
  216. #querylist h3 {
  217. margin-bottom: 15px;
  218. }
  219. #querylist ol.wpd-queries {
  220. padding: 0 !important;
  221. margin: 0 !important;
  222. list-style: none;
  223. clear: left;
  224. }
  225. #querylist ol.wpd-queries li {
  226. padding: 10px;
  227. background: #f0f0f0;
  228. margin: 0 0 10px 0;
  229. }
  230. #querylist ol.wpd-queries li div.qdebug {
  231. background: #e8e8e8;
  232. margin: 10px -10px -10px -10px;
  233. padding: 5px 150px 5px 5px;
  234. font-size: 11px;
  235. position: relative;
  236. min-height: 20px;
  237. }
  238. #querylist ol.wpd-queries li div.qdebug span {
  239. position: absolute;
  240. right: 10px;
  241. top: 5px;
  242. white-space: nowrap;
  243. }
  244. #querylist a {
  245. text-decoration: underline !important;
  246. color: blue !important;
  247. }
  248. #querylist a:hover {
  249. text-decoration: none !important;
  250. }
  251. #querylist .debug-menu-target {
  252. margin: 20px;
  253. display: none;
  254. }
  255. #querylist ol {
  256. font: 12px Monaco, "Courier New", Courier, Fixed !important;
  257. line-height: 180% !important;
  258. }
  259. #debug-bar-php ol.debug-bar-php-list {
  260. padding: 0 !important;
  261. margin: 0 !important;
  262. list-style: none;
  263. clear: left;
  264. }
  265. #debug-bar-php ol.debug-bar-php-list li {
  266. padding: 10px;
  267. margin: 0 0 10px 0;
  268. }
  269. #debug-bar-php .debug-bar-php-warning {
  270. background-color: #ffebe8;
  271. border: 1px solid #c00;
  272. }
  273. #debug-bar-php .debug-bar-php-notice {
  274. background-color: #ffffe0;
  275. border: 1px solid #e6db55;
  276. }
  277. #debug-bar-deprecated ol.debug-bar-deprecated-list {
  278. padding: 0 !important;
  279. margin: 0 !important;
  280. list-style: none;
  281. clear: left;
  282. }
  283. #debug-bar-deprecated ol.debug-bar-deprecated-list li {
  284. padding: 10px;
  285. margin: 0 0 10px 0;
  286. background: #f0f0f0;
  287. }
  288. #debug-bar-wp-query ol.debug-bar-wp-query-list {
  289. padding: 0 !important;
  290. margin: 0 !important;
  291. list-style: none;
  292. clear: left;
  293. }
  294. #debug-bar-wp-query ol.debug-bar-wp-query-list li, #debug-bar-wp-query p, #debug-bar-request p {
  295. padding: 10px;
  296. margin: 0 0 10px 0;
  297. background: #f0f0f0;
  298. }
  299. #debug-bar-wp-query ol.debug-bar-wp-query-list li ol {
  300. padding: 0 !important;
  301. margin: 0 !important;
  302. list-style: none;
  303. clear: left;
  304. }
  305. #debug-bar-wp-query h3, #debug-bar-request h3 {
  306. float: none;
  307. clear: both;
  308. font-family: georgia, times, serif;
  309. font-size: 22px;
  310. margin: 15px 10px 15px 0 !important;
  311. }
  312. /* =========================================================================
  313. * Actions: Maximize / restore
  314. * ========================================================================= */
  315. #debug-bar-actions {
  316. position: absolute;
  317. top: 21px;
  318. right: 20px;
  319. z-index: 300;
  320. }
  321. #debug-bar-actions span {
  322. -moz-border-radius: 20px;
  323. -webkit-border-radius: 20px;
  324. border-radius: 20px;
  325. display: block;
  326. float: left;
  327. height: 19px;
  328. width: 19px;
  329. margin-left: 5px;
  330. font-size: 18px;
  331. line-height: 14px;
  332. text-align: center;
  333. font-weight: bold;
  334. color: #eee;
  335. background: #aaa;
  336. cursor: pointer;
  337. }
  338. #debug-bar-actions span:hover {
  339. background: #888;
  340. }
  341. #debug-bar-actions span.restore {
  342. line-height: 15px;
  343. }
  344. .debug-bar-maximized #debug-bar-actions span.restore {
  345. display: block;
  346. }
  347. .debug-bar-maximized #debug-bar-actions span.maximize {
  348. display: none;
  349. }
  350. .debug-bar-partial #debug-bar-actions span.restore {
  351. display: none;
  352. }
  353. .debug-bar-partial #debug-bar-actions span.maximize {
  354. display: block;
  355. }
  356. /* =========================================================================
  357. * JS Error item styling
  358. * ========================================================================= */
  359. #debug-menu-links li a#debug-menu-link-Debug_Bar_JS {
  360. display: none;
  361. }
  362. #debug-bar-js ol.debug-bar-js-list {
  363. padding: 0 !important;
  364. margin: 0 !important;
  365. list-style: none;
  366. clear: left;
  367. }
  368. #debug-bar-js ol.debug-bar-js-list li {
  369. padding: 10px;
  370. margin: 0 0 10px 0;
  371. }
  372. #debug-bar-js .debug-bar-js-error {
  373. background-color: #ffebe8;
  374. border: 1px solid #c00;
  375. }
  376. #debug-bar-js .debug-bar-js-error span {
  377. color: #666;
  378. font-size: 0.8em;
  379. display: block;
  380. }
  381. #debug-bar-js .debug-bar-js-error:hover span {
  382. color: #000;
  383. }