1
0

specs.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. /*
  2. File: Style.css
  3. Slick Style for JSSpec.
  4. License:
  5. Copyright (c)2007 Valerio Proietti, <http://mad4milk.net>.
  6. You can only use this stylesheet to run MooTools JSSpec Runner.
  7. */
  8. /* @group Reset */
  9. * {
  10. margin: 0;
  11. padding: 0;
  12. }
  13. ul {
  14. list-style: none;
  15. }
  16. /* @end */
  17. /* @group Base */
  18. html {
  19. overflow: hidden;
  20. }
  21. body {
  22. font: 11px/1.5 Lucida Grande, Helvetica, Arial, sans-serif;
  23. background: #F3F1F1;
  24. color: #41464D;
  25. }
  26. body, #container {
  27. width: 100%;
  28. height: 100%;
  29. overflow: hidden;
  30. }
  31. a {
  32. text-decoration:none;
  33. }
  34. #title {
  35. position: absolute;
  36. top: 0;
  37. left: 0;
  38. width: 100%;
  39. padding: 5px 0;
  40. background: #aaa;
  41. background: #41464D;
  42. color: #F3F1F1;
  43. height: 30px;
  44. }
  45. #list {
  46. position: absolute;
  47. width: 30%;
  48. overflow-y: auto;
  49. overflow-x: hidden;
  50. top: 40px;
  51. left: 0;
  52. bottom: 0;
  53. height: expression(document.body.clientHeight-40);
  54. }
  55. #log {
  56. position: absolute;
  57. top: 40px;
  58. right: 0;
  59. bottom: 0;
  60. overflow-y: auto;
  61. overflow-x: hidden;
  62. width: 70%;
  63. height: expression(document.body.clientHeight-40);
  64. }
  65. span.spc {
  66. display: block;
  67. height: 16px;
  68. }
  69. #log-wrapper, #list-wrapper {
  70. overflow: hidden;
  71. padding: 4px 4px 0;
  72. background: #fff;
  73. }
  74. #log-wrapper {
  75. margin: 16px 16px 0 8px;
  76. }
  77. #list-wrapper {
  78. margin: 16px 8px 0 16px;
  79. }
  80. .success a:link, .success a:visited {
  81. color: #657528;
  82. }
  83. .exception a:link, .exception a:visited {
  84. color: #B33F3F;
  85. }
  86. a:link, a:visited {
  87. color: #528CE0;
  88. }
  89. a:hover, a:active {
  90. color: #41464D !important;
  91. cursor: pointer !important;
  92. }
  93. #title h1 {
  94. font: 25px/1.1 Arial, sans-serif;
  95. font-weight: bolder;
  96. float: left;
  97. margin: 1px 0 2px 20px;
  98. text-shadow: 0 2px 2px rgba(0,0,0,0.4);
  99. }
  100. #title h1 span {
  101. color: #D2E0E6;
  102. }
  103. #title ul li {
  104. font-weight: bold;
  105. font-size: 12px;
  106. float: right;
  107. margin: 10px 5px 0;
  108. }
  109. #title ul {
  110. margin-right: 20px;
  111. }
  112. h2 {
  113. font-size: 14px;
  114. background: #D0C8C8;
  115. color: #8A7575;
  116. margin-bottom: 4px;
  117. padding: 2px 5px;
  118. }
  119. h2#runner {
  120. cursor: pointer;
  121. background-color: #CFE773;
  122. color: #657528;
  123. }
  124. h2#runner:hover {
  125. color: #41464D;
  126. }
  127. h2#runner.disabled {
  128. color: #fff;
  129. background: #C8CBD0;
  130. cursor: default;
  131. }
  132. br {
  133. display: none;
  134. }
  135. h3 {
  136. font-size: 12px;
  137. padding: 3px 5px 1px;
  138. }
  139. h4 {
  140. font-size: 11px;
  141. background: #C8CBD0;
  142. padding: 3px 5px 1px;
  143. margin-bottom: 4px;
  144. }
  145. h3, h4 {
  146. cursor: default;
  147. }
  148. #list h3 {
  149. background: #D2E0E6;
  150. color: #528CE0;
  151. margin-bottom: 4px;
  152. }
  153. #log h3 {
  154. background: #D0C8C8;
  155. color: #8A7575;
  156. margin-bottom: 4px;
  157. }
  158. #log li div {
  159. overflow: hidden;
  160. padding: 0 4px 4px;
  161. }
  162. p {
  163. color: #575d67;
  164. }
  165. p.uri {
  166. float: right;
  167. margin-top: -15px;
  168. font-size: 10px;
  169. }
  170. p.left, p.uri {
  171. font-family: Monaco, Courier New, monospace;
  172. }
  173. li div {
  174. display: none;
  175. }
  176. p#footer {
  177. text-align: right;
  178. padding: 10px 16px 0 0;
  179. }
  180. /* @end */
  181. /* @group Success/Failure Colors */
  182. #log .exception h3 {
  183. color: #B33F3F;
  184. background: #EE9A9A;
  185. }
  186. #log .exception h4 {
  187. color: #B33F3F;
  188. background: #eed8d8;
  189. cursor: pointer;
  190. }
  191. #log .success h3 {
  192. background-color: #CFE773;
  193. color: #657528;
  194. }
  195. #log .success h4 {
  196. background-color: #e2e5d2;
  197. color: #657528;
  198. cursor: default;
  199. }
  200. #log .stub h4 {
  201. background-color: #e5e5e1;
  202. color: #a1a87e;
  203. cursor: default;
  204. }
  205. #list .exception h3 {
  206. color: #B33F3F;
  207. background: #eed8d8;
  208. }
  209. #list .success h3 {
  210. background-color: #e2e5d2;
  211. color: #657528;
  212. }
  213. a.rerun {
  214. font-size: 11px;
  215. color: #fff !important;
  216. }
  217. /* @end */
  218. /* @group Code */
  219. .number_value {
  220. color: red;
  221. }
  222. .string_value {
  223. color: green;
  224. }
  225. .regexp_value {
  226. color: olive;
  227. }
  228. .boolean_value {
  229. color: red;
  230. }
  231. .dom_value {
  232. color: purple;
  233. }
  234. .undefined_value, .null_value {
  235. color: gray;
  236. }
  237. /* @end */