Project

General

Profile

RE: Graphs plugin ยป redmine_graphs-defaultsvg-css.patch

CSS patch for SVG Graphs on Firefox - Kevin Bosman, 2009-12-31 07:05

View differences:

assets/stylesheets/issue_age.css
1
/* load the default SVG stylesheet */
2
@import url(svg_default.css);
3

  
1 4
.line1 { stroke: #666666 !important; } .fill1 { fill: #666666 !important; } .key1 { fill: #666666 !important; }
2 5
.line2 { stroke: #507AAA !important; } .fill2 { fill: #BACCE0 !important; } .key2 { fill: #507AAA !important; }
3 6

  
assets/stylesheets/issue_growth.css
1
/* load the default SVG stylesheet */
2
@import url(svg_default.css);
3

  
1 4
.line1 { stroke: #C00 !important; } .fill1 { fill: #C00 !important; } .key1 { fill: #C00 !important; }
2 5
.line2 { stroke: #CC0 !important; } .fill2 { fill: #CC0 !important; } .key2 { fill: #CC0 !important; }
3 6
.line3 { stroke: #0C0 !important; } .fill3 { fill: #0C0 !important; } .key3 { fill: #0C0 !important; }
assets/stylesheets/issue_status_flow.css
1
/* load the default SVG stylesheet */
2
@import url(svg_default.css);
3

  
1 4
.line1 { stroke: #666666 !important; } .fill1 { fill: #666666 !important; } .key1 { fill: #666666 !important; }
2 5
.line2 { stroke: #507AAA !important; } .fill2 { fill: #BACCE0 !important; } .key2 { fill: #507AAA !important; }
3 6

  
assets/stylesheets/svg_default.css
1
.svgBackground{
2
  fill:#ffffff;
3
}
4
.graphBackground{
5
  fill:#f0f0f0;
6
}
7

  
8
/* graphs titles */
9
.mainTitle{
10
  text-anchor: middle;
11
  fill: #000000;
12
  font-size: 16px;
13
  font-family: "Arial", sans-serif;
14
  font-weight: normal;
15
}
16
.subTitle{
17
  text-anchor: middle;
18
  fill: #999999;
19
  font-size: 14px;
20
  font-family: "Arial", sans-serif;
21
  font-weight: normal;
22
}
23

  
24
.axis{
25
  stroke: #000000;
26
  stroke-width: 1px;
27
}
28

  
29
.guideLines{
30
  stroke: #666666;
31
  stroke-width: 1px;
32
  stroke-dasharray: 5 5;
33
}
34

  
35
.xAxisLabels{
36
  text-anchor: middle;
37
  fill: #000000;
38
  font-size: 12px;
39
  font-family: "Arial", sans-serif;
40
  font-weight: normal;
41
}
42

  
43
.yAxisLabels{
44
  text-anchor: end;
45
  fill: #000000;
46
  font-size: 12px;
47
  font-family: "Arial", sans-serif;
48
  font-weight: normal;
49
}
50

  
51
.xAxisTitle{
52
  text-anchor: middle;
53
  fill: #ff0000;
54
  font-size: 14px;
55
  font-family: "Arial", sans-serif;
56
  font-weight: normal;
57
}
58

  
59
.yAxisTitle{
60
  fill: #ff0000;
61
  text-anchor: middle;
62
  font-size: 14px;
63
  font-family: "Arial", sans-serif;
64
  font-weight: normal;
65
}
66

  
67
.dataPointLabel{
68
  fill: #000000;
69
  text-anchor:middle;
70
  font-size: 10px;
71
  font-family: "Arial", sans-serif;
72
  font-weight: normal;
73
}
74

  
75
.staggerGuideLine{
76
  fill: none;
77
  stroke: #000000;
78
  stroke-width: 0.5px;  
79
}
80

  
81
/* default line styles */
82
.line1{
83
	fill: none;
84
	stroke: #ff0000;
85
	stroke-width: 1px;	
86
}
87
.line2{
88
	fill: none;
89
	stroke: #0000ff;
90
	stroke-width: 1px;	
91
}
92
.line3{
93
	fill: none;
94
	stroke: #00ff00;
95
	stroke-width: 1px;	
96
}
97
.line4{
98
	fill: none;
99
	stroke: #ffcc00;
100
	stroke-width: 1px;	
101
}
102
.line5{
103
	fill: none;
104
	stroke: #00ccff;
105
	stroke-width: 1px;	
106
}
107
.line6{
108
	fill: none;
109
	stroke: #ff00ff;
110
	stroke-width: 1px;	
111
}
112
.line7{
113
	fill: none;
114
	stroke: #00ffff;
115
	stroke-width: 1px;	
116
}
117
.line8{
118
	fill: none;
119
	stroke: #ffff00;
120
	stroke-width: 1px;	
121
}
122
.line9{
123
	fill: none;
124
	stroke: #ccc6666;
125
	stroke-width: 1px;	
126
}
127
.line10{
128
	fill: none;
129
	stroke: #663399;
130
	stroke-width: 1px;	
131
}
132
.line11{
133
	fill: none;
134
	stroke: #339900;
135
	stroke-width: 1px;	
136
}
137
.line12{
138
	fill: none;
139
	stroke: #9966FF;
140
	stroke-width: 1px;	
141
}
142
/* default fill styles */
143
.fill1{
144
	fill: #cc0000;
145
	fill-opacity: 0.2;
146
	stroke: none;
147
}
148
.fill2{
149
	fill: #0000cc;
150
	fill-opacity: 0.2;
151
	stroke: none;
152
}
153
.fill3{
154
	fill: #00cc00;
155
	fill-opacity: 0.2;
156
	stroke: none;
157
}
158
.fill4{
159
	fill: #ffcc00;
160
	fill-opacity: 0.2;
161
	stroke: none;
162
}
163
.fill5{
164
	fill: #00ccff;
165
	fill-opacity: 0.2;
166
	stroke: none;
167
}
168
.fill6{
169
	fill: #ff00ff;
170
	fill-opacity: 0.2;
171
	stroke: none;
172
}
173
.fill7{
174
	fill: #00ffff;
175
	fill-opacity: 0.2;
176
	stroke: none;
177
}
178
.fill8{
179
	fill: #ffff00;
180
	fill-opacity: 0.2;
181
	stroke: none;
182
}
183
.fill9{
184
	fill: #cc6666;
185
	fill-opacity: 0.2;
186
	stroke: none;
187
}
188
.fill10{
189
	fill: #663399;
190
	fill-opacity: 0.2;
191
	stroke: none;
192
}
193
.fill11{
194
	fill: #339900;
195
	fill-opacity: 0.2;
196
	stroke: none;
197
}
198
.fill12{
199
	fill: #9966FF;
200
	fill-opacity: 0.2;
201
	stroke: none;
202
}
203
/* default line styles */
204
.key1,.dataPoint1{
205
	fill: #ff0000;
206
	stroke: none;
207
	stroke-width: 1px;	
208
}
209
.key2,.dataPoint2{
210
	fill: #0000ff;
211
	stroke: none;
212
	stroke-width: 1px;	
213
}
214
.key3,.dataPoint3{
215
	fill: #00ff00;
216
	stroke: none;
217
	stroke-width: 1px;	
218
}
219
.key4,.dataPoint4{
220
	fill: #ffcc00;
221
	stroke: none;
222
	stroke-width: 1px;	
223
}
224
.key5,.dataPoint5{
225
	fill: #00ccff;
226
	stroke: none;
227
	stroke-width: 1px;	
228
}
229
.key6,.dataPoint6{
230
	fill: #ff00ff;
231
	stroke: none;
232
	stroke-width: 1px;	
233
}
234
.key7,.dataPoint7{
235
	fill: #00ffff;
236
	stroke: none;
237
	stroke-width: 1px;	
238
}
239
.key8,.dataPoint8{
240
	fill: #ffff00;
241
	stroke: none;
242
	stroke-width: 1px;	
243
}
244
.key9,.dataPoint9{
245
	fill: #cc6666;
246
	stroke: none;
247
	stroke-width: 1px;	
248
}
249
.key10,.dataPoint10{
250
	fill: #663399;
251
	stroke: none;
252
	stroke-width: 1px;	
253
}
254
.key11,.dataPoint11{
255
	fill: #339900;
256
	stroke: none;
257
	stroke-width: 1px;	
258
}
259
.key12,.dataPoint12{
260
	fill: #9966FF;
261
	stroke: none;
262
	stroke-width: 1px;	
263
}
264

  
265

  
266
.keyText{
267
  fill: #000000;
268
  text-anchor:start;
269
  font-size: 10px;
270
  font-family: "Arial", sans-serif;
271
  font-weight: normal;
272
}
assets/stylesheets/target_version.css
1
/* load the default SVG stylesheet */
2
@import url(svg_default.css);
3

  
1 4
#target_version_graph { clear: both; }
2 5

  
3 6
.line1 { stroke: #666666 !important; } .fill1 { fill: #666666 !important; } .key1 { fill: #666666 !important; }
    (1-1/1)