PageRenderTime 26ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/wwwroot/vendor/qunit.css

http://github.com/AF83/ucengine
CSS | 215 lines | 152 code | 54 blank | 9 comment | 0 complexity | 37a4c111287823dbdf9d322dc1ebdad7 MD5 | raw file
  1. /** Font Family and Sizes */
  2. #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
  3. font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
  4. }
  5. #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
  6. #qunit-tests { font-size: smaller; }
  7. /** Resets */
  8. #qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
  9. margin: 0;
  10. padding: 0;
  11. }
  12. /** Header */
  13. #qunit-header {
  14. padding: 0.5em 0 0.5em 1em;
  15. color: #8699a4;
  16. background-color: #0d3349;
  17. font-size: 1.5em;
  18. line-height: 1em;
  19. font-weight: normal;
  20. border-radius: 15px 15px 0 0;
  21. -moz-border-radius: 15px 15px 0 0;
  22. -webkit-border-top-right-radius: 15px;
  23. -webkit-border-top-left-radius: 15px;
  24. }
  25. #qunit-header a {
  26. text-decoration: none;
  27. color: #c2ccd1;
  28. }
  29. #qunit-header a:hover,
  30. #qunit-header a:focus {
  31. color: #fff;
  32. }
  33. #qunit-banner {
  34. height: 5px;
  35. }
  36. #qunit-testrunner-toolbar {
  37. padding: 0.5em 0 0.5em 2em;
  38. color: #5E740B;
  39. background-color: #eee;
  40. }
  41. #qunit-userAgent {
  42. padding: 0.5em 0 0.5em 2.5em;
  43. background-color: #2b81af;
  44. color: #fff;
  45. text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
  46. }
  47. /** Tests: Pass/Fail */
  48. #qunit-tests {
  49. list-style-position: inside;
  50. }
  51. #qunit-tests li {
  52. padding: 0.4em 0.5em 0.4em 2.5em;
  53. border-bottom: 1px solid #fff;
  54. list-style-position: inside;
  55. }
  56. #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
  57. display: none;
  58. }
  59. #qunit-tests li strong {
  60. cursor: pointer;
  61. }
  62. #qunit-tests li a {
  63. padding: 0.5em;
  64. color: #c2ccd1;
  65. text-decoration: none;
  66. }
  67. #qunit-tests li a:hover,
  68. #qunit-tests li a:focus {
  69. color: #000;
  70. }
  71. #qunit-tests ol {
  72. margin-top: 0.5em;
  73. padding: 0.5em;
  74. background-color: #fff;
  75. border-radius: 15px;
  76. -moz-border-radius: 15px;
  77. -webkit-border-radius: 15px;
  78. box-shadow: inset 0px 2px 13px #999;
  79. -moz-box-shadow: inset 0px 2px 13px #999;
  80. -webkit-box-shadow: inset 0px 2px 13px #999;
  81. }
  82. #qunit-tests table {
  83. border-collapse: collapse;
  84. margin-top: .2em;
  85. }
  86. #qunit-tests th {
  87. text-align: right;
  88. vertical-align: top;
  89. padding: 0 .5em 0 0;
  90. }
  91. #qunit-tests td {
  92. vertical-align: top;
  93. }
  94. #qunit-tests pre {
  95. margin: 0;
  96. white-space: pre-wrap;
  97. word-wrap: break-word;
  98. }
  99. #qunit-tests del {
  100. background-color: #e0f2be;
  101. color: #374e0c;
  102. text-decoration: none;
  103. }
  104. #qunit-tests ins {
  105. background-color: #ffcaca;
  106. color: #500;
  107. text-decoration: none;
  108. }
  109. /*** Test Counts */
  110. #qunit-tests b.counts { color: black; }
  111. #qunit-tests b.passed { color: #5E740B; }
  112. #qunit-tests b.failed { color: #710909; }
  113. #qunit-tests li li {
  114. margin: 0.5em;
  115. padding: 0.4em 0.5em 0.4em 0.5em;
  116. background-color: #fff;
  117. border-bottom: none;
  118. list-style-position: inside;
  119. }
  120. /*** Passing Styles */
  121. #qunit-tests li li.pass {
  122. color: #5E740B;
  123. background-color: #fff;
  124. border-left: 26px solid #C6E746;
  125. }
  126. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  127. #qunit-tests .pass .test-name { color: #366097; }
  128. #qunit-tests .pass .test-actual,
  129. #qunit-tests .pass .test-expected { color: #999999; }
  130. #qunit-banner.qunit-pass { background-color: #C6E746; }
  131. /*** Failing Styles */
  132. #qunit-tests li li.fail {
  133. color: #710909;
  134. background-color: #fff;
  135. border-left: 26px solid #EE5757;
  136. }
  137. #qunit-tests > li:last-child {
  138. border-radius: 0 0 15px 15px;
  139. -moz-border-radius: 0 0 15px 15px;
  140. -webkit-border-bottom-right-radius: 15px;
  141. -webkit-border-bottom-left-radius: 15px;
  142. }
  143. #qunit-tests .fail { color: #000000; background-color: #EE5757; }
  144. #qunit-tests .fail .test-name,
  145. #qunit-tests .fail .module-name { color: #000000; }
  146. #qunit-tests .fail .test-actual { color: #EE5757; }
  147. #qunit-tests .fail .test-expected { color: green; }
  148. #qunit-banner.qunit-fail { background-color: #EE5757; }
  149. /** Result */
  150. #qunit-testresult {
  151. padding: 0.5em 0.5em 0.5em 2.5em;
  152. color: #2b81af;
  153. background-color: #D2E0E6;
  154. border-bottom: 1px solid white;
  155. }
  156. /** Fixture */
  157. #qunit-fixture {
  158. position: absolute;
  159. top: -10000px;
  160. left: -10000px;
  161. }