Moving the SVG styles out of the svg element

They are now processed with compass
This commit is contained in:
Jeff Avallone
2014-12-21 14:39:00 -05:00
parent fbb8c4187d
commit e466e7e548
7 changed files with 88 additions and 70 deletions
+2
View File
@@ -2,8 +2,10 @@ $green: #bada55;
$dark-green: shade($green, 25%);
$light-green: tint($green, 25%);
$gray: #6b6659;
$light-gray: tint($gray, 25%);
$tan: #cbcbba;
$red: #b3151a;
$blue: #dae9e5;
$black: #000;
$white: #fff;
+63
View File
@@ -0,0 +1,63 @@
@import 'base';
text, tspan {
font: 12px Arial;
}
path {
fill-opacity: 0;
stroke-width: 2px;
stroke: $black;
}
circle.pin {
fill: $gray;
stroke-width: 2px;
stroke: $black;
}
.anchor text, .any-character text {
fill: $white;
}
.anchor rect, .any-character rect {
fill: $gray;
}
.escape text, .charset-escape text, .literal text {
fill: $black;
}
.escape rect, .charset-escape rect {
fill: $green;
}
.literal rect {
fill: $blue;
}
.charset .charset-box {
fill: $tan;
}
.subexp .subexp-label,
.charset .charset-label,
.match-fragment .repeat-label {
font-size: 10px;
}
.subexp .subexp-label,
.charset .charset-label {
dominant-baseline: text-after-edge;
}
.subexp .subexp-box {
stroke: $light-gray;
stroke-dasharray: 6,2;
stroke-width: 2px;
fill-opacity: 0;
}
.quote {
fill: $light-gray;
}