debug.css 11 KB

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