diff --git a/assets/stylesheets/issue_age.css b/assets/stylesheets/issue_age.css --- a/assets/stylesheets/issue_age.css +++ b/assets/stylesheets/issue_age.css @@ -1,3 +1,6 @@ +/* load the default SVG stylesheet */ +@import url(svg_default.css); + .line1 { stroke: #666666 !important; } .fill1 { fill: #666666 !important; } .key1 { fill: #666666 !important; } .line2 { stroke: #507AAA !important; } .fill2 { fill: #BACCE0 !important; } .key2 { fill: #507AAA !important; } diff --git a/assets/stylesheets/issue_growth.css b/assets/stylesheets/issue_growth.css --- a/assets/stylesheets/issue_growth.css +++ b/assets/stylesheets/issue_growth.css @@ -1,3 +1,6 @@ +/* load the default SVG stylesheet */ +@import url(svg_default.css); + .line1 { stroke: #C00 !important; } .fill1 { fill: #C00 !important; } .key1 { fill: #C00 !important; } .line2 { stroke: #CC0 !important; } .fill2 { fill: #CC0 !important; } .key2 { fill: #CC0 !important; } .line3 { stroke: #0C0 !important; } .fill3 { fill: #0C0 !important; } .key3 { fill: #0C0 !important; } diff --git a/assets/stylesheets/issue_status_flow.css b/assets/stylesheets/issue_status_flow.css --- a/assets/stylesheets/issue_status_flow.css +++ b/assets/stylesheets/issue_status_flow.css @@ -1,3 +1,6 @@ +/* load the default SVG stylesheet */ +@import url(svg_default.css); + .line1 { stroke: #666666 !important; } .fill1 { fill: #666666 !important; } .key1 { fill: #666666 !important; } .line2 { stroke: #507AAA !important; } .fill2 { fill: #BACCE0 !important; } .key2 { fill: #507AAA !important; } diff --git a/assets/stylesheets/svg_default.css b/assets/stylesheets/svg_default.css new file mode 100644 --- /dev/null +++ b/assets/stylesheets/svg_default.css @@ -0,0 +1,272 @@ +.svgBackground{ + fill:#ffffff; +} +.graphBackground{ + fill:#f0f0f0; +} + +/* graphs titles */ +.mainTitle{ + text-anchor: middle; + fill: #000000; + font-size: 16px; + font-family: "Arial", sans-serif; + font-weight: normal; +} +.subTitle{ + text-anchor: middle; + fill: #999999; + font-size: 14px; + font-family: "Arial", sans-serif; + font-weight: normal; +} + +.axis{ + stroke: #000000; + stroke-width: 1px; +} + +.guideLines{ + stroke: #666666; + stroke-width: 1px; + stroke-dasharray: 5 5; +} + +.xAxisLabels{ + text-anchor: middle; + fill: #000000; + font-size: 12px; + font-family: "Arial", sans-serif; + font-weight: normal; +} + +.yAxisLabels{ + text-anchor: end; + fill: #000000; + font-size: 12px; + font-family: "Arial", sans-serif; + font-weight: normal; +} + +.xAxisTitle{ + text-anchor: middle; + fill: #ff0000; + font-size: 14px; + font-family: "Arial", sans-serif; + font-weight: normal; +} + +.yAxisTitle{ + fill: #ff0000; + text-anchor: middle; + font-size: 14px; + font-family: "Arial", sans-serif; + font-weight: normal; +} + +.dataPointLabel{ + fill: #000000; + text-anchor:middle; + font-size: 10px; + font-family: "Arial", sans-serif; + font-weight: normal; +} + +.staggerGuideLine{ + fill: none; + stroke: #000000; + stroke-width: 0.5px; +} + +/* default line styles */ +.line1{ + fill: none; + stroke: #ff0000; + stroke-width: 1px; +} +.line2{ + fill: none; + stroke: #0000ff; + stroke-width: 1px; +} +.line3{ + fill: none; + stroke: #00ff00; + stroke-width: 1px; +} +.line4{ + fill: none; + stroke: #ffcc00; + stroke-width: 1px; +} +.line5{ + fill: none; + stroke: #00ccff; + stroke-width: 1px; +} +.line6{ + fill: none; + stroke: #ff00ff; + stroke-width: 1px; +} +.line7{ + fill: none; + stroke: #00ffff; + stroke-width: 1px; +} +.line8{ + fill: none; + stroke: #ffff00; + stroke-width: 1px; +} +.line9{ + fill: none; + stroke: #ccc6666; + stroke-width: 1px; +} +.line10{ + fill: none; + stroke: #663399; + stroke-width: 1px; +} +.line11{ + fill: none; + stroke: #339900; + stroke-width: 1px; +} +.line12{ + fill: none; + stroke: #9966FF; + stroke-width: 1px; +} +/* default fill styles */ +.fill1{ + fill: #cc0000; + fill-opacity: 0.2; + stroke: none; +} +.fill2{ + fill: #0000cc; + fill-opacity: 0.2; + stroke: none; +} +.fill3{ + fill: #00cc00; + fill-opacity: 0.2; + stroke: none; +} +.fill4{ + fill: #ffcc00; + fill-opacity: 0.2; + stroke: none; +} +.fill5{ + fill: #00ccff; + fill-opacity: 0.2; + stroke: none; +} +.fill6{ + fill: #ff00ff; + fill-opacity: 0.2; + stroke: none; +} +.fill7{ + fill: #00ffff; + fill-opacity: 0.2; + stroke: none; +} +.fill8{ + fill: #ffff00; + fill-opacity: 0.2; + stroke: none; +} +.fill9{ + fill: #cc6666; + fill-opacity: 0.2; + stroke: none; +} +.fill10{ + fill: #663399; + fill-opacity: 0.2; + stroke: none; +} +.fill11{ + fill: #339900; + fill-opacity: 0.2; + stroke: none; +} +.fill12{ + fill: #9966FF; + fill-opacity: 0.2; + stroke: none; +} +/* default line styles */ +.key1,.dataPoint1{ + fill: #ff0000; + stroke: none; + stroke-width: 1px; +} +.key2,.dataPoint2{ + fill: #0000ff; + stroke: none; + stroke-width: 1px; +} +.key3,.dataPoint3{ + fill: #00ff00; + stroke: none; + stroke-width: 1px; +} +.key4,.dataPoint4{ + fill: #ffcc00; + stroke: none; + stroke-width: 1px; +} +.key5,.dataPoint5{ + fill: #00ccff; + stroke: none; + stroke-width: 1px; +} +.key6,.dataPoint6{ + fill: #ff00ff; + stroke: none; + stroke-width: 1px; +} +.key7,.dataPoint7{ + fill: #00ffff; + stroke: none; + stroke-width: 1px; +} +.key8,.dataPoint8{ + fill: #ffff00; + stroke: none; + stroke-width: 1px; +} +.key9,.dataPoint9{ + fill: #cc6666; + stroke: none; + stroke-width: 1px; +} +.key10,.dataPoint10{ + fill: #663399; + stroke: none; + stroke-width: 1px; +} +.key11,.dataPoint11{ + fill: #339900; + stroke: none; + stroke-width: 1px; +} +.key12,.dataPoint12{ + fill: #9966FF; + stroke: none; + stroke-width: 1px; +} + + +.keyText{ + fill: #000000; + text-anchor:start; + font-size: 10px; + font-family: "Arial", sans-serif; + font-weight: normal; +} diff --git a/assets/stylesheets/target_version.css b/assets/stylesheets/target_version.css --- a/assets/stylesheets/target_version.css +++ b/assets/stylesheets/target_version.css @@ -1,3 +1,6 @@ +/* load the default SVG stylesheet */ +@import url(svg_default.css); + #target_version_graph { clear: both; } .line1 { stroke: #666666 !important; } .fill1 { fill: #666666 !important; } .key1 { fill: #666666 !important; }