tarantula 0.0.5 → 0.0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. data/CHANGELOG +11 -0
  2. data/MIT-LICENSE +1 -1
  3. data/README.rdoc +48 -38
  4. data/Rakefile +3 -19
  5. data/laf/javascripts/niftyLayout.js +11 -0
  6. data/laf/javascripts/niftycube-details.js +298 -0
  7. data/laf/javascripts/niftycube.js +298 -0
  8. data/laf/stylesheets/NiftyLayout.css +47 -0
  9. data/laf/stylesheets/niftyCorners.css +35 -0
  10. data/{tmp/test_output/stylesheets/tarantula.css → laf/stylesheets/old.css} +1 -1
  11. data/laf/stylesheets/tarantula.css +83 -546
  12. data/laf/stylesheets/tarantula.v2.css +48 -0
  13. data/laf/stylesheets/ui.tabs.css +2 -2
  14. data/laf/v2/detail.html +41 -0
  15. data/laf/v2/images/button_active.png +0 -0
  16. data/laf/v2/images/button_hover.png +0 -0
  17. data/laf/v2/images/button_inactive.png +0 -0
  18. data/laf/v2/images/header_bg.jpg +0 -0
  19. data/laf/v2/images/logo.png +0 -0
  20. data/laf/v2/images/tagline.png +0 -0
  21. data/laf/v2/index.html +77 -0
  22. data/laf/v2/stylesheets/tarantula.v2.css +252 -0
  23. data/lib/relevance/tarantula.rb +4 -5
  24. data/lib/relevance/tarantula/detail.html.erb +55 -41
  25. data/lib/relevance/tarantula/html_report_helper.rb +3 -13
  26. data/lib/relevance/tarantula/html_reporter.rb +2 -2
  27. data/lib/relevance/tarantula/index.html.erb +25 -20
  28. data/lib/relevance/tarantula/test_report.html.erb +9 -9
  29. data/manifest.txt +17 -32
  30. data/rails/init.rb +4 -1
  31. data/tarantula.gemspec +16 -8
  32. data/tasks/tarantula_tasks.rake +8 -6
  33. data/test/relevance/tarantula/html_report_helper_test.rb +2 -3
  34. data/test/relevance/tarantula/rails_init_test.rb +14 -0
  35. metadata +43 -37
  36. data/tmp/test_output/images/background.jpg +0 -0
  37. data/tmp/test_output/images/relevance-os-logo.gif +0 -0
  38. data/tmp/test_output/images/tab.png +0 -0
  39. data/tmp/test_output/images/table-sort.gif +0 -0
  40. data/tmp/test_output/images/tarantula-sprites.png +0 -0
  41. data/tmp/test_output/index.html +0 -255
  42. data/tmp/test_output/javascripts/jquery-1.2.3.js +0 -3408
  43. data/tmp/test_output/javascripts/jquery-ui-tabs.js +0 -890
  44. data/tmp/test_output/javascripts/jquery.tablesorter.js +0 -861
  45. data/tmp/test_output/javascripts/tarantula.js +0 -10
  46. data/tmp/test_output/stylesheets/ui.tabs.css +0 -113
  47. data/tmp/test_output/test_user_pages/1.html +0 -71
  48. data/tmp/test_output/test_user_pages/10.html +0 -71
  49. data/tmp/test_output/test_user_pages/11.html +0 -71
  50. data/tmp/test_output/test_user_pages/12.html +0 -71
  51. data/tmp/test_output/test_user_pages/13.html +0 -71
  52. data/tmp/test_output/test_user_pages/14.html +0 -71
  53. data/tmp/test_output/test_user_pages/15.html +0 -71
  54. data/tmp/test_output/test_user_pages/16.html +0 -71
  55. data/tmp/test_output/test_user_pages/17.html +0 -71
  56. data/tmp/test_output/test_user_pages/18.html +0 -71
  57. data/tmp/test_output/test_user_pages/19.html +0 -71
  58. data/tmp/test_output/test_user_pages/2.html +0 -71
  59. data/tmp/test_output/test_user_pages/20.html +0 -71
  60. data/tmp/test_output/test_user_pages/3.html +0 -71
  61. data/tmp/test_output/test_user_pages/4.html +0 -71
  62. data/tmp/test_output/test_user_pages/5.html +0 -71
  63. data/tmp/test_output/test_user_pages/6.html +0 -71
  64. data/tmp/test_output/test_user_pages/7.html +0 -71
  65. data/tmp/test_output/test_user_pages/8.html +0 -71
  66. data/tmp/test_output/test_user_pages/9.html +0 -71
@@ -0,0 +1,298 @@
1
+ /* Nifty Corners Cube - rounded corners with CSS and Javascript
2
+ Copyright 2006 Alessandro Fulciniti (a.fulciniti@html.it)
3
+
4
+ This program is free software; you can redistribute it and/or modify
5
+ it under the terms of the GNU General Public License as published by
6
+ the Free Software Foundation; either version 2 of the License, or
7
+ (at your option) any later version.
8
+
9
+ This program is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ GNU General Public License for more details.
13
+
14
+ You should have received a copy of the GNU General Public License
15
+ along with this program; if not, write to the Free Software
16
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
+ */
18
+
19
+ var niftyOk=(document.getElementById && document.createElement && Array.prototype.push);
20
+ var niftyCss=false;
21
+
22
+ String.prototype.find=function(what){
23
+ return(this.indexOf(what)>=0 ? true : false);
24
+ }
25
+
26
+ var oldonload=window.onload;
27
+ if(typeof(NiftyLoad)!='function') NiftyLoad=function(){};
28
+ if(typeof(oldonload)=='function')
29
+ window.onload=function(){oldonload();AddCss();NiftyLoad()};
30
+ else window.onload=function(){AddCss();NiftyLoad()};
31
+
32
+ function AddCss(){
33
+ niftyCss=true;
34
+ var l=CreateEl("link");
35
+ l.setAttribute("type","text/css");
36
+ l.setAttribute("rel","stylesheet");
37
+ l.setAttribute("href","stylesheets/niftyCorners.css");
38
+ l.setAttribute("media","screen");
39
+ document.getElementsByTagName("head")[0].appendChild(l);
40
+ }
41
+
42
+ function Nifty(selector,options){
43
+ if(niftyOk==false) return;
44
+ if(niftyCss==false) AddCss();
45
+ var i,v=selector.split(","),h=0;
46
+ if(options==null) options="";
47
+ if(options.find("fixed-height"))
48
+ h=getElementsBySelector(v[0])[0].offsetHeight;
49
+ for(i=0;i<v.length;i++)
50
+ Rounded(v[i],options);
51
+ if(options.find("height")) SameHeight(selector,h);
52
+ }
53
+
54
+ function Rounded(selector,options){
55
+ var i,top="",bottom="",v=new Array();
56
+ if(options!=""){
57
+ options=options.replace("left","tl bl");
58
+ options=options.replace("right","tr br");
59
+ options=options.replace("top","tr tl");
60
+ options=options.replace("bottom","br bl");
61
+ options=options.replace("transparent","alias");
62
+ if(options.find("tl")){
63
+ top="both";
64
+ if(!options.find("tr")) top="left";
65
+ }
66
+ else if(options.find("tr")) top="right";
67
+ if(options.find("bl")){
68
+ bottom="both";
69
+ if(!options.find("br")) bottom="left";
70
+ }
71
+ else if(options.find("br")) bottom="right";
72
+ }
73
+ if(top=="" && bottom=="" && !options.find("none")){top="both";bottom="both";}
74
+ v=getElementsBySelector(selector);
75
+ for(i=0;i<v.length;i++){
76
+ FixIE(v[i]);
77
+ if(top!="") AddTop(v[i],top,options);
78
+ if(bottom!="") AddBottom(v[i],bottom,options);
79
+ }
80
+ }
81
+
82
+ function AddTop(el,side,options){
83
+ var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;
84
+ d.style.marginLeft="-"+getPadding(el,"Left")+"px";
85
+ d.style.marginRight="-"+getPadding(el,"Right")+"px";
86
+ if(options.find("alias") || (color=getBk(el))=="transparent"){
87
+ color="transparent";bk="transparent"; border=getParentBk(el);btype="t";
88
+ }
89
+ else{
90
+ bk=getParentBk(el); border=Mix(color,bk);
91
+ }
92
+ d.style.background=bk;
93
+ d.className="niftycorners";
94
+ p=getPadding(el,"Top");
95
+ if(options.find("small")){
96
+ d.style.marginBottom=(p-2)+"px";
97
+ btype+="s"; lim=2;
98
+ }
99
+ else if(options.find("big")){
100
+ d.style.marginBottom=(p-10)+"px";
101
+ btype+="b"; lim=8;
102
+ }
103
+ else d.style.marginBottom=(p-5)+"px";
104
+ for(i=1;i<=lim;i++)
105
+ d.appendChild(CreateStrip(i,side,color,border,btype));
106
+ el.style.paddingTop="0";
107
+ el.insertBefore(d,el.firstChild);
108
+ }
109
+
110
+ function AddBottom(el,side,options){
111
+ var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;
112
+ d.style.marginLeft="-"+getPadding(el,"Left")+"px";
113
+ d.style.marginRight="-"+getPadding(el,"Right")+"px";
114
+ if(options.find("alias") || (color=getBk(el))=="transparent"){
115
+ color="transparent";bk="transparent"; border=getParentBk(el);btype="t";
116
+ }
117
+ else{
118
+ bk=getParentBk(el); border=Mix(color,bk);
119
+ }
120
+ d.style.background=bk;
121
+ d.className="niftycorners";
122
+ p=getPadding(el,"Bottom");
123
+ if(options.find("small")){
124
+ d.style.marginTop=(p-2)+"px";
125
+ btype+="s"; lim=2;
126
+ }
127
+ else if(options.find("big")){
128
+ d.style.marginTop=(p-10)+"px";
129
+ btype+="b"; lim=8;
130
+ }
131
+ else d.style.marginTop=(p-5)+"px";
132
+ for(i=lim;i>0;i--)
133
+ d.appendChild(CreateStrip(i,side,color,border,btype));
134
+ el.style.paddingBottom=0;
135
+ el.appendChild(d);
136
+ }
137
+
138
+ function CreateStrip(index,side,color,border,btype){
139
+ var x=CreateEl("b");
140
+ x.className=btype+index;
141
+ x.style.backgroundColor=color;
142
+ x.style.borderColor=border;
143
+ if(side=="left"){
144
+ x.style.borderRightWidth="0";
145
+ x.style.marginRight="0";
146
+ }
147
+ else if(side=="right"){
148
+ x.style.borderLeftWidth="0";
149
+ x.style.marginLeft="0";
150
+ }
151
+ return(x);
152
+ }
153
+
154
+ function CreateEl(x){
155
+ return(document.createElement(x));
156
+ }
157
+
158
+ function FixIE(el){
159
+ if(el.currentStyle!=null && el.currentStyle.hasLayout!=null && el.currentStyle.hasLayout==false)
160
+ el.style.display="inline-block";
161
+ }
162
+
163
+ function SameHeight(selector,maxh){
164
+ var i,v=selector.split(","),t,j,els=[],gap;
165
+ for(i=0;i<v.length;i++){
166
+ t=getElementsBySelector(v[i]);
167
+ els=els.concat(t);
168
+ }
169
+ for(i=0;i<els.length;i++){
170
+ if(els[i].offsetHeight>maxh) maxh=els[i].offsetHeight;
171
+ els[i].style.height="auto";
172
+ }
173
+ for(i=0;i<els.length;i++){
174
+ gap=maxh-els[i].offsetHeight;
175
+ if(gap>0){
176
+ t=CreateEl("b");t.className="niftyfill";t.style.height=gap+"px";
177
+ nc=els[i].lastChild;
178
+ if(nc.className=="niftycorners")
179
+ els[i].insertBefore(t,nc);
180
+ else els[i].appendChild(t);
181
+ }
182
+ }
183
+ }
184
+
185
+ function getElementsBySelector(selector){
186
+ var i,j,selid="",selclass="",tag=selector,tag2="",v2,k,f,a,s=[],objlist=[],c;
187
+ if(selector.find("#")){ //id selector like "tag#id"
188
+ if(selector.find(" ")){ //descendant selector like "tag#id tag"
189
+ s=selector.split(" ");
190
+ var fs=s[0].split("#");
191
+ if(fs.length==1) return(objlist);
192
+ f=document.getElementById(fs[1]);
193
+ if(f){
194
+ v=f.getElementsByTagName(s[1]);
195
+ for(i=0;i<v.length;i++) objlist.push(v[i]);
196
+ }
197
+ return(objlist);
198
+ }
199
+ else{
200
+ s=selector.split("#");
201
+ tag=s[0];
202
+ selid=s[1];
203
+ if(selid!=""){
204
+ f=document.getElementById(selid);
205
+ if(f) objlist.push(f);
206
+ return(objlist);
207
+ }
208
+ }
209
+ }
210
+ if(selector.find(".")){ //class selector like "tag.class"
211
+ s=selector.split(".");
212
+ tag=s[0];
213
+ selclass=s[1];
214
+ if(selclass.find(" ")){ //descendant selector like tag1.classname tag2
215
+ s=selclass.split(" ");
216
+ selclass=s[0];
217
+ tag2=s[1];
218
+ }
219
+ }
220
+ var v=document.getElementsByTagName(tag); // tag selector like "tag"
221
+ if(selclass==""){
222
+ for(i=0;i<v.length;i++) objlist.push(v[i]);
223
+ return(objlist);
224
+ }
225
+ for(i=0;i<v.length;i++){
226
+ c=v[i].className.split(" ");
227
+ for(j=0;j<c.length;j++){
228
+ if(c[j]==selclass){
229
+ if(tag2=="") objlist.push(v[i]);
230
+ else{
231
+ v2=v[i].getElementsByTagName(tag2);
232
+ for(k=0;k<v2.length;k++) objlist.push(v2[k]);
233
+ }
234
+ }
235
+ }
236
+ }
237
+ return(objlist);
238
+ }
239
+
240
+ function getParentBk(x){
241
+ var el=x.parentNode,c;
242
+ while(el.tagName.toUpperCase()!="HTML" && (c=getBk(el))=="transparent")
243
+ el=el.parentNode;
244
+ if(c=="transparent") c="#FFFFFF";
245
+ return(c);
246
+ }
247
+
248
+ function getBk(x){
249
+ var c=getStyleProp(x,"backgroundColor");
250
+ if(c==null || c=="transparent" || c.find("rgba(0, 0, 0, 0)"))
251
+ return("transparent");
252
+ if(c.find("rgb")) c=rgb2hex(c);
253
+ return(c);
254
+ }
255
+
256
+ function getPadding(x,side){
257
+ var p=getStyleProp(x,"padding"+side);
258
+ if(p==null || !p.find("px")) return(0);
259
+ return(parseInt(p));
260
+ }
261
+
262
+ function getStyleProp(x,prop){
263
+ if(x.currentStyle)
264
+ return(x.currentStyle[prop]);
265
+ if(document.defaultView.getComputedStyle)
266
+ return(document.defaultView.getComputedStyle(x,'')[prop]);
267
+ return(null);
268
+ }
269
+
270
+ function rgb2hex(value){
271
+ var hex="",v,h,i;
272
+ var regexp=/([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/;
273
+ var h=regexp.exec(value);
274
+ for(i=1;i<4;i++){
275
+ v=parseInt(h[i]).toString(16);
276
+ if(v.length==1) hex+="0"+v;
277
+ else hex+=v;
278
+ }
279
+ return("#"+hex);
280
+ }
281
+
282
+ function Mix(c1,c2){
283
+ var i,step1,step2,x,y,r=new Array(3);
284
+ if(c1.length==4)step1=1;
285
+ else step1=2;
286
+ if(c2.length==4) step2=1;
287
+ else step2=2;
288
+ for(i=0;i<3;i++){
289
+ x=parseInt(c1.substr(1+step1*i,step1),16);
290
+ if(step1==1) x=16*x+x;
291
+ y=parseInt(c2.substr(1+step2*i,step2),16);
292
+ if(step2==1) y=16*y+y;
293
+ r[i]=Math.floor((x*50+y*50)/100);
294
+ r[i]=r[i].toString(16);
295
+ if(r[i].length==1) r[i]="0"+r[i];
296
+ }
297
+ return("#"+r[0]+r[1]+r[2]);
298
+ }
@@ -0,0 +1,47 @@
1
+ html,body{margin:0;padding:0}
2
+ body{font: 85%/1.3 Verdana,Arial,sans-serif;
3
+ text-align: center;background: #757D88;padding-bottom:20px}
4
+ p{margin-top:0}
5
+ h1,h2,h3{font: normal normal 200% "Trebuchet MS",Arial,sans-serif}
6
+ h2{font-size:160%}
7
+ h3{font-size:120%}
8
+
9
+ div#header{width:100%;overflow:hidden;background: #595D66}
10
+ div#header h1,div#menu{width:770px;margin:0 auto;text-align:left}
11
+ div#header h1{padding: 30px 0 10px;color: #FFF}
12
+
13
+ ul#nav,ul#nav li{list-style-type:none;margin:0;padding:0}
14
+ ul#nav{float:right;font-size: 80%}
15
+ ul#nav li{float:left;margin-left: 3px;text-align: center}
16
+ ul#nav a{float:left;width: 95px;padding: 5px 0;background: #369A3D;text-decoration:none;color: #FFC}
17
+ ul#nav a:hover{background: #CDFFA1;color: #006A35}
18
+ ul#nav li.activelink a,ul#nav li.activelink a:hover{background: #FFF;color: #003}
19
+
20
+ div#container{width:770px;margin:0 auto 10px;padding:20px 0 10px;text-align:left;background:#FFF}
21
+ div#content{float:left;display:inline;width:560px;margin:0 0 10px 10px}
22
+
23
+ ul#intro,ul#intro li{list-style-type:none;margin:0;padding:0}
24
+ ul#intro{width:100%;overflow:hidden;margin-bottom:20px}
25
+ ul#intro li{float:left;width:180px;margin-right:10px;padding: 10px 0}
26
+ li#mission{background: #E65714}
27
+ li#services{background: #42B4AC}
28
+ ul#intro li#more{margin-right:0;background: #7D63A9}
29
+ ul#intro p,ul#intro h3{margin:0;padding: 0 10px}
30
+ ul#intro h3{text-transform:uppercase;padding-bottom:3px;color: #FFF}
31
+
32
+ div#content h2{margin: 10px 0;color: #007BC4}
33
+ div.date{float:left;width: 4em;padding: 5px 0;background: #F1DDC4;color:#B0001E;
34
+ text-align:center;margin: 0 4px 4px 0;font-size: 80%;line-height:0.9}
35
+ div.date span{display:block;font-size: 150%;font-weight:bold}
36
+
37
+ div.comments div{background: #EEE;margin-bottom:10px}
38
+ div.comments p{padding: 10px;margin:0}
39
+ div.comments div.odd{background:#DAE6FE}
40
+
41
+ div#side{float:right;display:inline;width: 180px;background:#F3CF00; margin:0 10px 10px 0}
42
+ div#side p{margin:5px 0 10px;padding: 0 10px}
43
+ div#side div{margin: 0 0 10px;padding: 10px 0}
44
+
45
+ div#footer{clear:both;width:750px;margin:0 10px 0;padding: 10px 0;
46
+ background: #586695;color: #FFF;text-align:center}
47
+ div#footer p{margin:0}
@@ -0,0 +1,35 @@
1
+ /*Nifty Corners Cube CSS by Alessandro Fulciniti
2
+ The following classes are added dinamically by javascript,
3
+ and their use should be avoided in the markup */
4
+
5
+ b.niftycorners,b.niftyfill{display:block}
6
+ b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px;
7
+ overflow:hidden;border-style:solid;border-width: 0 1px}
8
+ /*normal*/
9
+ b.r1{margin: 0 3px;border-width: 0 2px}
10
+ b.r2{margin: 0 2px}
11
+ b.r3{margin: 0 1px}
12
+ b.r4{height: 2px}
13
+ b.rb1{margin: 0 8px;border-width:0 2px}
14
+ b.rb2{margin: 0 6px;border-width:0 2px}
15
+ b.rb3{margin: 0 5px}
16
+ b.rb4{margin: 0 4px}
17
+ b.rb5{margin: 0 3px}
18
+ b.rb6{margin: 0 2px}
19
+ b.rb7{margin: 0 1px;height:2px}
20
+ b.rb8{margin: 0;height:2px}
21
+ b.rs1{margin: 0 1px}
22
+ /*transparent inside*/
23
+ b.t1{border-width: 0 5px}
24
+ b.t2{border-width: 0 3px}
25
+ b.t3{border-width: 0 2px}
26
+ b.t4{height: 2px}
27
+ b.tb1{border-width: 0 10px}
28
+ b.tb2{border-width: 0 8px}
29
+ b.tb3{border-width: 0 6px}
30
+ b.tb4{border-width: 0 5px}
31
+ b.tb5{border-width: 0 4px}
32
+ b.tb6{border-width: 0 3px}
33
+ b.tb7{border-width: 0 2px;height:2px}
34
+ b.tb8{border-width: 0 1px;height:2px}
35
+ b.ts1{border-width: 0 2px}
@@ -237,7 +237,7 @@ body {
237
237
  #header ul.navigation li em {
238
238
  color: #727779;
239
239
  display: block;
240
- font-size: .70em;
240
+ font-size: .70em;
241
241
  font-style: normal;
242
242
  }
243
243
 
@@ -1,5 +1,3 @@
1
- /* RESET */
2
-
3
1
  html, body, div, span, applet, object, iframe,
4
2
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
5
3
  a, abbr, acronym, address, big, cite, code,
@@ -9,580 +7,85 @@ b, u, i, center,
9
7
  dl, dt, dd, ol, ul, li,
10
8
  fieldset, form, label, legend,
11
9
  table, caption, tbody, tfoot, thead, tr, th, td {
12
- margin: 0;
13
- padding: 0;
14
- border: 0;
15
- outline: 0;
16
- font-size: 100%;
17
- vertical-align: baseline;
18
- background: transparent;
19
- }
20
- body {
21
- line-height: 1;
22
- }
23
- ol, ul {
24
- list-style: none;
25
- }
26
- blockquote, q {
27
- quotes: none;
28
- }
29
-
30
- /* remember to define focus styles! */
31
- :focus {
32
- outline: 0;
33
- }
34
-
35
- /* remember to highlight inserts somehow! */
36
- ins {
37
- text-decoration: none;
38
- }
39
- del {
40
- text-decoration: line-through;
41
- }
42
-
43
- /* tables still need 'cellspacing="0"' in the markup */
44
- table {
45
- border-collapse: collapse;
46
- border-spacing: 0;
47
- }
48
-
49
- /* UTILITY */
50
-
51
- /* IE Background Scroll Fix */
52
- html {
53
- background: url(null) fixed no-repeat;
54
- }
55
-
56
-
57
- /* Firefox Link Fix */
58
- a:active, a:focus {
59
- outline: 0;
60
- }
61
-
62
- .hide {
63
- display: none;
64
- }
65
-
66
- /* TAGS */
67
- body {
68
- min-width: 960px;
69
- font-family: Arial, Helvetica, sans-serif;
70
- }
71
-
72
- strong, b {
73
- font-weight: 900;
74
- }
75
-
76
- em, i {
77
- font-style: italic;
78
- }
79
-
80
- a:link { /* unvisited link */
81
- color: #003399
82
- }
83
-
84
- a:visited { /* visited link */
85
- color: #666666
86
- }
87
-
88
- a:hover { /* mouse over link */
89
-
90
- }
91
-
92
- a:active { /* selected link */
93
- color: #003399
94
- }
95
-
96
- /* IMAGES */
97
- #header, #header h1, #page-container hr.top, #footer, #footer h4, #header ul.navigation li, #header ul.navigation li a,
98
- table.grid thead tr:first-child th, table.grid thead th a, table.output thead tr:first-child th, table.output thead th ul.tab li a,
99
- table.output thead th ul.tab li a span, #page table thead tr th.asc span.sort, #page table thead tr th.desc span.sort {
100
- background-image: url('../images/tarantula-sprites.png');
101
- background-repeat: no-repeat;
102
- }
103
-
104
- #header {
105
- background-position: 100% -80px;
106
- background-repeat: repeat-x;
107
-
108
- }
109
-
110
- #header h1 {
111
- position: absolute;
112
- display: block;
113
- height: 81px;
114
- width: 473px;
115
- }
116
-
117
- #header ul.navigation li {
118
- height: 50px;
119
- background-position: 0 -162px;
120
- background-repeat: repeat-x;
121
- width: 147px;
122
- }
123
-
124
- #header ul.navigation li a {
125
- background-position: 100% -162px;
126
- height: 50px;
127
- width: 150px;
128
- }
129
-
130
- #header ul.navigation li a:hover {
131
- background-position: 100% -164px;
132
- }
133
-
134
- #page-container hr.top {
135
- background-position: 100% -211px;
136
- background-repeat: repeat-x;
137
- height: 13px;
138
- }
139
-
140
- #footer {
141
- background-position: 100% -330px;
142
- background-repeat: repeat-x;
143
- height: 55px;
144
- }
145
-
146
- #footer > h4 {
147
- background-position: 4px -390px;
148
- display: block;
149
- height: 65px;
150
- width: 165px;
151
- }
152
-
153
- /* LAYOUT */
154
- html {
155
- background-color: #dac7ad;
156
- color: #000;
10
+ margin: 0;
11
+ padding: 0;
12
+ border: 0;
13
+ outline: 0;
14
+ font-size: 100%;
15
+ vertical-align: baseline;
16
+ background: transparent;
157
17
  }
158
18
 
159
19
  body {
160
- padding-top: .65em;
20
+ background-color: #eee;
21
+ font-family: "Lucida Grande", veranda, arial, helvetica, sans-serif;
161
22
  }
162
23
 
163
24
  #header {
164
- background-color: #000;
165
- color: #000;
166
- border-top: 10px solid #000;
167
- height: 81px;
168
- border-bottom: 1px solid #dac7ad;
169
- position: inherit;
25
+ background-color: #003366;
26
+ font-size: 22px;
27
+ height: 70px;
170
28
  }
171
29
 
172
- #header hr.top {
173
- background-color: #dac7ad;
174
- border: 0;
175
- color: #dac7ad;
176
- height: 1px;
177
- margin: 0;
178
- padding: 0;
30
+ .header_text {
31
+ color: #ffcc00;
32
+ padding-top: 10px;
33
+ padding-left: 15px;
179
34
  }
180
35
 
181
- #header > h1 {
182
- display: -moz-inline-box;
183
- display: inline-block;
36
+ #tabs-container {
37
+ padding-top: 7px;
38
+ padding-left: 15px;
184
39
  }
185
40
 
186
- #header ul.navigation {
187
- display: inline;
188
- left: 510px;
189
- list-style: none;
190
- position: relative;
191
- top: 28px;
192
- width: auto;
193
- }
194
-
195
- #header ul.navigation li {
196
- display: -moz-inline-box;
197
- display: inline-block;
198
- font-size: 100%;
199
- margin: 0;
200
- text-align:left;
201
- }
202
-
203
- #header ul.navigation li a {
204
- display: block;
205
- margin-left: 1px;
206
- font-family: Arial, Helvetica, sans-serif;
207
- text-decoration: none;
208
- padding-top: 5px;
209
- padding-bottom: 0;
210
- padding-left: 5px;
211
- }
212
-
213
- #header ul.navigation li a:hover {
214
- border-top: 2px solid;
215
- padding-top: 3px;
216
- }
217
-
218
- #header ul.navigation li a.result-all {
219
- border-color: #003399;
220
- }
221
-
222
- #header ul.navigation li a.result-failure {
223
- border-color: #990000;
224
- }
225
-
226
- #header ul.navigation li a.result-success {
227
- border-color: #339900;
228
- }
229
-
230
- #header ul.navigation li span {
231
- display: block;
232
- color: #a8876e;
233
- font-size: .70em;
234
- font-weight: 900;
235
- }
236
-
237
- #header ul.navigation li em {
238
- color: #727779;
239
- display: block;
240
- font-size: .70em;
241
- font-style: normal;
242
- }
243
-
244
- h1 > span {
245
- display: block;
246
- margin-left: -9999em;
247
- width: 475px;
248
- clear: left;
249
- }
250
-
251
- #page-container {
252
- border-top: 10px solid #000;
253
- }
254
-
255
- #page-container hr.top {
256
- border: 0;
257
- margin: 0;
258
- padding: 0;
259
- }
260
-
261
- #page {
262
- float: left;
263
- margin: 1.5em;
264
- padding-bottom: 40px;
265
- width: 75%;
266
- }
267
-
268
- p, ul li, #sidebar p, #sidebar ul li {
269
- font-family: Arial, Helvetica, sans-serif;
270
- font-size: 82%;
271
- margin: .45em;
272
- text-align: justify;
273
- }
274
-
275
- ul {
276
- margin-left: 2%;
277
-
278
- }
279
-
280
- ul li {
281
- list-style: square;
282
- margin: .15em 1.5%;
283
- }
284
-
285
- h2, h3, h4, h5
286
- {
287
- font-family: Arial, Helvetica, sans-serif;
288
- padding-bottom: 4px;
289
- margin: .25em;
290
- }
291
-
292
- #page h2 {
293
- color: #1f1512;
294
- border-bottom: 2px solid #cab8a0;
295
- }
296
-
297
- #page h3 {
298
- font-size: 90%;
299
- color: #48322c;
300
- }
301
-
302
- #page h4 {
303
- font-size: 85%;
304
- color: #82574f;
305
- border-bottom: 1px solid #cab8a0;
41
+ #results-container {
42
+ float: left;
43
+ width: 625px;
44
+ margin-left: 20px;
45
+ margin-top: 10px;
46
+ background-color: #fff;
306
47
  }
307
48
 
308
49
  #sidebar {
309
- width: 19%;
310
- float: right;
311
- margin-top: 1.5em;
312
- margin-right: 1%;
313
- }
314
-
315
- #sidebar p {
316
- font-size: 76%;
317
- margin: .40em;
318
- padding: .2em;
319
- text-align: justify;
320
- }
321
-
322
- #sidebar h3 {
323
- font-family: Arial;
324
- color: #3f110f;
325
- margin: .25em;
326
- padding-bottom: 4px;
327
- font-size: 90%;
328
- border-bottom: 2px solid #342320;
329
- }
330
-
331
- #sidebar h4 {
332
- color: #613737;
333
- font-size: 85%;
334
- }
335
-
336
- #footer {
337
- background-color: #000;
338
- border-top: 1px solid #fff5da;
339
- bottom: 0;
340
- color: #fff;
341
- position: fixed;
342
- text-align: right;
343
- width: 100%;
344
- }
345
-
346
- #footer > h4 {
347
-
348
- float: right;
349
- clear: left;
350
- }
351
-
352
- #footer h4 > span {
353
- display: block;
354
- margin-right: -999em;
355
- }
356
-
357
- /* TABLES */
358
-
359
- table {
360
- width: 99%;
361
- }
362
-
363
- table th.desc span.sort,
364
- table th.asc span.sort {
365
- margin: 0 !important;
366
-
367
- display: -moz-inline-block !important;
368
- width: 18px !important;
369
- height: 12px !important;
370
- position: relative;
371
- padding: 0 !important;
372
- float: right;
373
- }
374
-
375
- table span.sort em {
376
- margin-left: -9999px;
377
- }
378
-
379
- table th.asc span.sort{
380
- background-position: 4px -304px;
381
- background-repeat: repeat-x;
382
- }
383
-
384
- table th.desc span.sort {
385
- background-position: 4px -316px;
386
- background-repeat: repeat-x;
387
-
388
- }
389
-
390
- #page table {
391
- margin: .45em 0 0 0 !important;
392
- }
393
-
394
- #page table th, #page table td {
395
- font-family: Arial, Helvetica, sans-serif;
396
- font-size: .75em;
397
- color: #66463e;
398
- }
399
-
400
- #page table.grid {
401
- border-collapse: separate;
402
- padding: 1px;
403
- margin-bottom: 1em;
404
- width: 100%;
405
- }
406
-
407
- #page table.grid tbody td {
408
- border-color: #d6bda7;
409
- border-style: solid;
410
- border-top-width: 1px;
411
- border-right-width: 1px;
412
- font-family: "Andale Mono","Monaco","Lucida Console", "Bitstream Vera Sans Mono", Courier, monospace;
413
- font-size: .80em;
414
- color: #1a1a1a;
415
- }
416
-
417
- #page table.grid tbody td:first-child {
418
- border-left-width: 1px;
419
- }
420
-
421
- #page table.grid tbody tr:last-child td {
422
- border-bottom-width: 1px;
423
- }
424
-
425
- #page table.grid thead tr:first-child th:first-child, #page table.grid tfoot tr td, #page table.grid thead th:first-child a {
426
- background-color: #d3bda4;
427
- background-image: none;
428
- border: none;
429
- color: #66463e;
430
- }
431
-
432
- #page table.grid tfoot tr td {
433
- padding: 4px;
434
- font-weight: 900;
435
- }
436
-
437
- #page table.grid thead tr:first-child th {
438
- background-position: 0 -223px;
439
- background-repeat: repeat-x;
440
- padding-left: 1px;
441
- }
442
-
443
-
444
- #page table.grid thead th a {
445
- display: -moz-inline-block;
446
- display: inline-block;
447
- border-top: 1px solid #84574e;
448
- background-image: none;
449
- text-decoration: none;
450
- height: 25px;
451
- color: #dac7ad;
452
- width: 100%;
453
- font-size: 95%;
454
- }
455
-
456
- #page table.grid thead th span.sort {
457
-
458
- height: 19px;
459
- vertical-align: middle;
460
- margin-right: 12px;
461
- padding: 6px 18px 0px 18px;
462
- /* padding: 6px; */
463
- }
464
-
465
- #page table.grid tbody a {
466
- color: #003399;
467
- }
468
-
469
- #page table.grid tbody td {
470
- padding: 2px 4px;
471
- background-color: #dacab4;
50
+ float: right;
51
+ width: 300px;
52
+ margin-right: 20px;
53
+ margin-top: 10px;
54
+ font-size: 12px;
55
+ padding: 20px;
56
+ background-color: #fff;
472
57
  }
473
58
 
474
- #page table.grid tbody tr.alt td {
475
- background-color: #dfccb2
476
- }
477
-
478
- #page table.output {
479
- width: 100%;
480
- }
481
-
482
- #page table.output thead tr:first-child th {
483
- height: 20px;
484
- background-position: 100% -250px;
485
- background-repeat: repeat-x;
59
+ .clearer {
60
+ clear: both;
486
61
  }
487
62
 
488
- #page table.output thead th {
489
- background-color: #d3bda4;
490
- }
491
-
492
- #page table.output thead tr th>span {
493
- height: 17px;
494
- padding: 4px;
495
- display: block;
63
+ .grid {
64
+ width: 100%;
65
+ font-size: 12px;
496
66
  }
497
67
 
498
- #page table.output thead tr th ul.tab {
499
- display: block;
500
- list-style: none;
501
- position: relative;
502
- margin-left: 0;
68
+ table caption {
69
+ font-size: 16px;
503
70
  }
504
71
 
505
- #page table.output thead th ul.tab li {
506
- display: -moz-inline-box;
507
- display: inline-block;
508
- text-align: left;
509
- width: 160px;
510
- font-size: 100% !important;
511
- margin: 0 !important;
512
- padding: 0 !important;
513
- text-align: left !important;
514
-
515
-
72
+ .even {
73
+ background-color: #eee;
516
74
  }
517
75
 
518
- #page table.output thead th ul.tab li a {
519
- background-position: 0 -250px;
520
- background-repeat: repeat-x;
521
- display: -moz-inline-box;
522
- display: inline-block;
523
- width: 160px;
524
- height: 25px;
525
- color: #dac7ad;
526
- text-decoration: none;
527
- }
76
+ .odd {
528
77
 
529
- #page table.output thead th ul.tab li a span {
530
- margin-left: 1px;
531
- background-position: 100% -250px;
532
- background-repeat: repeat-x;
533
- display: -moz-inline-box;
534
- display: inline-block;
535
- width: 162px;
536
- padding: 4px 6px;
537
-
538
- height: 17px;
539
78
  }
540
79
 
541
- #page table.output thead th ul.tab li.active a span {
542
- background-position: 100% -277px;
543
- background-repeat: repeat-x;
544
- display: -moz-inline-box;
545
- display: inline-block;
80
+ table th.line-number, table td.line-number {
81
+ text-align: center;
82
+ width: 30px;
546
83
  }
547
84
 
548
- #page table.output tbody tr td:first-child {
549
- background-color: #dfccb2;
550
-
551
- border-right-width: 1px;
552
- border-left-width: 1px;
553
- }
554
-
555
- #page table.output tbody tr td {
556
- background-color: #dacab4;
557
-
558
- border-style: solid;
559
- border-color: #d6bda7;
560
- border-bottom-width: 1px;
561
- border-right-width: 1px;
562
-
563
- font-family: "Andale Mono","Monaco","Lucida Console", "Bitstream Vera Sans Mono", Courier, monospace;
564
- font-size: .80em;
565
-
566
- padding: 4px;
567
-
568
- color: #1a1a1a;
569
- }
570
-
571
- #page table.output tfoot tr td {
572
- font-weight: 900;
573
- padding: 4px;
574
- }
575
-
576
- table tr .left {
577
- text-align: left;
578
- }
579
-
580
- table tr .right {
581
- text-align: right;
582
- }
583
-
584
- table tr td.center {
585
- text-align: center;
85
+ #details {
86
+ margin-left: 10px;
87
+ margin-top: 5px;
88
+ font-size: 12px;
586
89
  }
587
90
 
588
91
  /* Response Codes */
@@ -636,3 +139,37 @@ html*table th {
636
139
  html*#header ul.navigation {
637
140
  top: 30px;
638
141
  } /**/
142
+
143
+ #results table.grid {
144
+ background-color: #003366;
145
+ }
146
+
147
+
148
+ #results table th, #results table td {
149
+ font-family: Arial, Helvetica, sans-serif;
150
+ color: #fff;
151
+ background-color: #003366;
152
+ }
153
+
154
+ #results table.grid {
155
+ border-collapse: separate;
156
+ margin-bottom: 1em;
157
+ width: 100%;
158
+ }
159
+
160
+ #results table.grid tfoot tr td {
161
+ padding: 4px;
162
+ font-weight: 900;
163
+ }
164
+
165
+ #results table.grid tbody a {
166
+ color: #003366;
167
+ }
168
+
169
+ #results table.grid tbody td {
170
+ padding: 2px 4px;
171
+ background-color: #f6ffcd;
172
+ color: #000;
173
+ }
174
+
175
+