debug.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. /**
  2. * Lithium: the most rad php framework
  3. *
  4. * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org)
  5. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  6. */
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. }
  11. body.test-dashboard {
  12. font-family: Helvetica, Arial, sans-serif;
  13. font-size: 16px;
  14. margin: 0;
  15. min-width: 800px;
  16. }
  17. body.test-dashboard a {
  18. color: #333;
  19. }
  20. body.test-dashboard #header h1 {
  21. margin: 0;
  22. float:right;
  23. font-weight: normal;
  24. }
  25. body.test-dashboard #header h1 a {
  26. text-decoration: none;
  27. display: block;
  28. padding: .45em 0.75em 0 0;
  29. color: rgba(0,0,0,.15);
  30. }
  31. body.test-dashboard .triangle:before {
  32. content: '\25B2';
  33. font-size: 1em;
  34. }
  35. body.test-dashboard #header {
  36. padding: 0;
  37. }
  38. body.test-dashboard #header:after {
  39. display: block;
  40. content: ' ';
  41. clear: both;
  42. }
  43. body.test-dashboard .article {
  44. clear:both;
  45. }
  46. body.test-dashboard .test-content {
  47. float:left;
  48. padding: 2em 2% 4em;
  49. width: 74%;
  50. }
  51. .test-content h2 {
  52. font-weight: normal;
  53. font-size: 1.45em;
  54. margin-bottom: .5em;
  55. float: left;
  56. }
  57. .test-content h2 span {
  58. color: #bbb;
  59. display: block;
  60. font-size: .55em;
  61. }
  62. .test-content h3 {
  63. font-weight: normal;
  64. margin: 1.5em 0 1em;
  65. }
  66. body.test-dashboard a.test-button,
  67. body.test-dashboard a.test-button:link,
  68. body.test-dashboard a.test-button:visited,
  69. body.test-dashboard a.test-button:hover,
  70. body.test-dashboard a.test-button:active {
  71. display: block;
  72. float: right;
  73. font-weight: bold;
  74. font-size: 1.25em;
  75. background-color:#f5f5f5;
  76. border-color: #e6e6e6;
  77. color: #999;
  78. padding: .5em 1em;
  79. margin: 0;
  80. background-color: white;
  81. border: 1px solid #e5e5e5;
  82. text-decoration: none;
  83. -moz-border-radius: 4px;
  84. -webkit-border-radius: 4px;
  85. border-radius: 4px;
  86. -moz-box-shadow: 0 0 6px rgba(0,0,0,.1);
  87. -webkit-box-shadow: 0 0 6px rgba(0,0,0,.1);
  88. box-shadow: 0 0 6px rgba(0,0,0,.1);
  89. }
  90. body.test-dashboard a.test-button:hover,
  91. body.test-dashboard a.test-button:active {
  92. color: black;
  93. background: white;
  94. -moz-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  95. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  96. box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  97. }
  98. body.test-dashboard ul {
  99. margin: .25em 0;
  100. padding: 0.2em 0 0 0;
  101. }
  102. body.test-dashboard ul ul li {
  103. display: block;
  104. margin: 0 0 1px .5em;
  105. padding: 0.25em 0 0 0.75em;
  106. border: 1px solid rgba(0,0,0,0.05);
  107. border-width: 0 0 0 1px;
  108. }
  109. body.test-dashboard .test-menu {
  110. float: left;
  111. padding: .75em 0 1em 1%;
  112. width: 20%;
  113. background: #f6f6f6;
  114. font-size: .85em;
  115. }
  116. .test-dashboard .test-menu > ul {
  117. margin-top: 0;
  118. padding-top: 1px;
  119. }
  120. .test-dashboard .test-menu ul li ul {
  121. margin-top: .1em;
  122. }
  123. .test-dashboard .test-menu li:hover {
  124. }
  125. .test-dashboard .test-menu li > ul {
  126. display: block;
  127. }
  128. .test-dashboard .test-menu li:hover > ul {
  129. display: block;
  130. }
  131. ul.menu, ul.menu ul {
  132. list-style: none;
  133. }
  134. ul.menu a {
  135. color: #666;
  136. text-decoration: none;
  137. display: block;
  138. }
  139. ul.menu a:hover, ul.menu a:active, ul.menu a.menu-folder:hover {
  140. color: black;
  141. }
  142. ul.menu a.menu-folder {
  143. color: #333;
  144. font-weight: bold;
  145. text-decoration: none;
  146. font-size: 1.2em;
  147. }
  148. a.test-all {
  149. display: block;
  150. float: left;
  151. font-size: 1.5em;
  152. text-align: center;
  153. text-decoration: none;
  154. padding: .75em 0;
  155. width: 21%;
  156. color: #666;
  157. background: #e6e6e6;
  158. }
  159. a.test-all:hover {
  160. background: #60AF12;
  161. -moz-box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  162. -webkit-box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  163. box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  164. color: white !important;
  165. text-shadow: 0px 0px 6px rgba(0,0,0,.5);
  166. }
  167. ul.menu a {
  168. display: block;
  169. padding: 0.1em 0;
  170. }
  171. ul.menu a:before, a.menu-folder:before, ul.metrics li:before {
  172. display: inline !important;
  173. float: none !important;
  174. padding: 0 0.5em 0 0;
  175. content: '\25B4';
  176. font-weight: normal;
  177. color: rgba(0,0,0,.1);
  178. }
  179. a.menu-folder:before {
  180. padding: 0 !important;
  181. content: '\25B2' !important;
  182. }
  183. ul.menu a:hover:before, a.menu-folder:hover:before, ul.metrics li:hover:before {
  184. color: #60AF12;
  185. }
  186. /*--- Benchmarking ---*/
  187. table.metrics {
  188. border: 1px solid #e6e6e6;
  189. -moz-box-shadow: 0 0 6px rgba(0,0,0,.15);
  190. -webkit-box-shadow: 0 0 6px rgba(0,0,0,.15);
  191. box-shadow: 0 0 6px rgba(0,0,0,.15);
  192. }
  193. table.metrics {
  194. border-collapse: collapse;
  195. }
  196. table.metrics th {
  197. padding: .5em 1em;
  198. font-size: 1.1em;
  199. color: black;
  200. background: #e6e6e6;
  201. font-weight: normal;
  202. }
  203. table.metrics th, table.metrics td {
  204. border-bottom: 1px solid rgba(0,0,0,.05);
  205. }
  206. td.metric-name {
  207. text-align: left;
  208. white-space: nowrap;
  209. padding: 6px 8px;
  210. background: #e6e6e6;
  211. width: 35%;
  212. }
  213. tr:hover td.metric-name {
  214. background: #f5f5f5;
  215. }
  216. td.metric {
  217. font-family: 'Andale Mono', Monaco, Courier, monospace !important;
  218. font-weight: bold;
  219. padding: 6px 8px;
  220. text-align: right;
  221. width: 65%;
  222. background: #f5f5f5;
  223. }
  224. tr:hover td.metric {
  225. background: white;
  226. }
  227. ul.classes, ul.files {
  228. list-style-type: none;
  229. font-family: 'Andale Mono', Monaco, Courier, monospace !important;
  230. }
  231. ul.metrics {
  232. list-style-type: none;
  233. padding: .5em !important;
  234. }
  235. ul.metrics li {
  236. padding: .25em;
  237. }
  238. /*--- Test Results ---*/
  239. div.test-result {
  240. clear: both;
  241. margin: 1em 0 .5em;
  242. padding: .75em 1em .55em;
  243. color: #FFFFFF;
  244. background: #666;
  245. border: 1px solid #000000;
  246. border-width: 0 0 4px 0;
  247. font-size: 1.15em;
  248. -moz-box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  249. -webkit-box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  250. box-shadow: inset 0 0 12px rgba(0,0,0,.25);
  251. text-shadow: 0px 0px 6px rgba(0,0,0,.5);
  252. }
  253. div.test-result-success {
  254. background-color: #62B212;
  255. border-color: #467F0D;
  256. }
  257. div.test-result-fail {
  258. background-color: #CC1414;
  259. border-color: #7F0D0D;
  260. }
  261. div.test-result-exception {
  262. background-color: #E58F16;
  263. border-color: #995F0F;
  264. }
  265. div.test-result-notice {
  266. background-color: #E5D416;
  267. border-color: #B2A511;
  268. }
  269. div.test-result code {
  270. background: rgba(0,0,0,.25);
  271. color: rgba(255,255,255,.85);
  272. border: none;
  273. font-size: .75em;
  274. padding: .1em .5em !important;
  275. text-shadow: none;
  276. }
  277. div.test-assert, div.test-exception, div.test-skip {
  278. margin: 1px 0 0 0;
  279. padding: .5em 0 .5em 1em;
  280. color: #000000;
  281. font-family: 'Andale Mono', Monaco, Courier, monospace !important;
  282. font-size: 1em;
  283. line-height: 1.5em;
  284. position: relative;
  285. border: 1px solid rgba(0,0,0,.05);
  286. border-width:0 0 1px 8px;
  287. }
  288. div.test-assert-passed {
  289. border-left-color: #D0F9E0;
  290. }
  291. div.test-assert-failed {
  292. color: #7F0D0D;
  293. border-left-color: #CC1414;
  294. }
  295. div.test-exception {
  296. color: #995F0F;
  297. border-left-color: #E58F16;
  298. }
  299. div.test-skip {
  300. background-color: #fafafa;
  301. color: #666;
  302. }
  303. .test-assert span.content,
  304. .test-exception span.content,
  305. .test-skip span.content,
  306. .test-assert span.trace,
  307. .test-exception span.trace,
  308. .test-skip span.trace {
  309. display: block;
  310. clear: both;
  311. white-space: pre;
  312. color: #777;
  313. font-size: .9em;
  314. padding: .5em 1em;
  315. margin: .5em 0;
  316. background: #fafafa;
  317. border: 1px solid rgba(0,0,0,.1);
  318. -moz-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  319. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  320. box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  321. }
  322. .test-assert span.trace {
  323. padding: 0 .5em;
  324. margin: .25em 0 .25em .5em;
  325. background: #FAFAFA;
  326. }
  327. div.test-exception span.trace {
  328. font-style: italic;
  329. }
  330. div.test-skip span.content {
  331. color: #999;
  332. padding: 0 1em;
  333. -moz-box-shadow: none;
  334. -webkit-box-shadow: none;
  335. box-shadow: none;
  336. border: none;
  337. }
  338. /*--- SQL Dumps ---*/
  339. .lithium-sql-log table {
  340. background: #f4f4f4;
  341. }
  342. .lithium-sql-log td {
  343. padding: 4px 8px;
  344. text-align: left;
  345. }
  346. /*--- Debugger Dumps ---*/
  347. pre {
  348. color: #000;
  349. background: #f0f0f0;
  350. padding: 1em;
  351. }
  352. pre.lithium-debug {
  353. background: #ffcc00;
  354. font-size: 1.2em;
  355. line-height: 1.5em;
  356. margin-top: 1em;
  357. overflow: auto;
  358. position: relative;
  359. }
  360. div.lithium-exception-class, div.lithium-exception-location {
  361. font-weight: bold;
  362. }
  363. div.lithium-exception-message {
  364. color: #000;
  365. background: #f0f0f0;
  366. padding: 1em;
  367. }
  368. div.lithium-stack-trace {
  369. background: #fff;
  370. border: 4px dotted #ffcc00;
  371. color: #333;
  372. margin: 0px;
  373. padding: 6px;
  374. font-size: 1.2em;
  375. line-height: 1.5em;
  376. overflow: auto;
  377. position: relative;
  378. }
  379. /*--- Code Highlighting ---*/
  380. div.lithium-code-dump pre {
  381. position: relative;
  382. overflow: auto;
  383. }
  384. div.lithium-stack-trace pre, div.lithium-code-dump pre {
  385. color: #000;
  386. background-color: #F0F0F0;
  387. margin: 0px;
  388. padding: 1em;
  389. overflow: auto;
  390. }
  391. div.lithium-code-dump pre, div.lithium-code-dump pre code {
  392. clear: both;
  393. font-size: 1em;
  394. line-height: 1.5em;
  395. margin: 4px 2px;
  396. padding: 4px;
  397. overflow: auto;
  398. }
  399. div.lithium-code-dump span.code-highlight {
  400. background-color: #ff0;
  401. }
  402. /*--- Code Coverage Analysis ---*/
  403. span.filters {
  404. display: block;
  405. float: right;
  406. margin: 1em 0 .5em 0;
  407. }
  408. span.filters a {
  409. display: block;
  410. float: left;
  411. padding: .5em 1em;
  412. margin-left: .25em;
  413. text-decoration:none;
  414. -moz-border-radius: 4px;
  415. -webkit-border-radius: 4px;
  416. border-radius: 4px;
  417. background: #e6e6e6;
  418. color: #666;
  419. }
  420. span.filters a:hover, span.filters a.active {
  421. -moz-box-shadow: none;
  422. -webkit-box-shadow: none;
  423. box-shadow: none;
  424. color: black;
  425. background: #f5f5f5;
  426. }
  427. span.filters a.active {
  428. background: #62B212;
  429. text-shadow: 0px 0px 6px rgba(0,0,0,.5);
  430. color: white;
  431. }
  432. div.code-coverage-results, h4.code-coverage-name {
  433. clear: both;
  434. color: #000000;
  435. font-size: .8em;
  436. font-family: 'Andale Mono', Monaco, Courier, monospace !important;
  437. background-color: #fafafa;
  438. border: 1px solid #e6e6e6;
  439. border: 1px solid rgba(0,0,0,.1);
  440. -moz-box-shadow: 0 0 6px rgba(0,0,0,.15);
  441. -webkit-box-shadow: 0 0 6px rgba(0,0,0,.15);
  442. box-shadow: 0 0 6px rgba(0,0,0,.15);
  443. }
  444. h4.coverage {
  445. color: #454545;
  446. margin: 2em 0 .5em;
  447. font-weight: normal;
  448. padding: 0;
  449. }
  450. h4.code-coverage-name {
  451. color: #999;
  452. background-color: #ECECEC;
  453. border-top: none;
  454. padding: 0.25em 0.5em;
  455. margin: 0 1px 0 0;
  456. font-weight: normal;
  457. float: right;
  458. }
  459. div.code-coverage-results div.code-line {
  460. display: block;
  461. float: none;
  462. clear: both;
  463. }
  464. div.code-coverage-results span.content {
  465. display: block;
  466. clear: right;
  467. white-space: pre;
  468. line-height: 1.5em;
  469. min-height: 1.5em;
  470. background: black;
  471. }
  472. div.code-coverage-results div.uncovered span.content {
  473. color: #FFD8D8;
  474. background-color: #260000;
  475. }
  476. div.code-coverage-results div.covered span.content {
  477. color: #DDFDCB;
  478. background-color: #0C2600;
  479. }
  480. div.code-coverage-results div.ignored span.content {
  481. color: rgba(255,255,255,.5);
  482. }
  483. div.code-coverage-results span.line-num {
  484. display: block;
  485. float: left;
  486. width: 3em;
  487. color: #999;
  488. background-color: #ECECEC;
  489. text-align: right;
  490. border-right: 1px solid #ccc;
  491. padding-right: 4px;
  492. margin-right: 5px;
  493. line-height: 1.5em;
  494. }
  495. div.code-coverage-results .code-line:hover span.line-num {
  496. background: #ddd;
  497. color: #666;
  498. }
  499. div.code-coverage-results span.line-num strong {
  500. color: #666;
  501. }
  502. div.code-coverage-results div.start {
  503. margin-top: 30px;
  504. padding-top: 5px;
  505. border: 1px solid #aaa;
  506. border-width: 1px 1px 0px 1px;
  507. }
  508. div.code-coverage-results div.end {
  509. margin-bottom: 30px;
  510. padding-bottom: 5px;
  511. border: 1px solid #aaa;
  512. border-width: 0px 1px 1px 1px;
  513. }
  514. div.code-coverage-results div.realstart {
  515. margin-top: 0px;
  516. }
  517. div.code-coverage-results p.note {
  518. color: #bbb;
  519. padding: 5px;
  520. margin: 5px 0 10px;
  521. font-size: .8em;
  522. }
  523. div.code-coverage-results span.result-bad {
  524. color: #a00;
  525. }
  526. div.code-coverage-results span.result-ok {
  527. color: #fa0;
  528. }
  529. div.code-coverage-results span.result-good {
  530. color: #0a0;
  531. }