Revert "Moving SVG CSS to the main page CSS"

This reverts commit ac0389c7fa.
This commit is contained in:
Jeff Avallone 2016-05-31 08:36:44 -04:00
parent c4d35d8451
commit 73bdbb0e16
3 changed files with 66 additions and 69 deletions

View File

@ -1,10 +1,12 @@
<div class="svg">
<svg
class="regexp-svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
version="1.1">
<defs>
<style type="text/css">{{> svg_styles}}</style>
</defs>
<metadata>
<rdf:RDF>
<cc:License rdf:about="http://creativecommons.org/licenses/by/3.0/">

View File

@ -1,6 +1,5 @@
@import 'base';
@import 'reset';
@import 'svg';
body {
font-family: sans-serif;

View File

@ -1,71 +1,67 @@
@import 'base';
#open-iconic {
display: none;
}
svg.regexp-svg {
svg {
background-color: $white;
text, tspan {
font: 12px Arial;
}
path {
fill-opacity: 0;
stroke-width: 2px;
stroke: $black;
}
circle {
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 tspan,
.charset .charset-label tspan,
.match-fragment .repeat-label tspan {
font-size: 10px;
}
.subexp .subexp-label tspan,
.charset .charset-label tspan {
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;
}
}
text, tspan {
font: 12px Arial;
}
path {
fill-opacity: 0;
stroke-width: 2px;
stroke: $black;
}
circle {
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 tspan,
.charset .charset-label tspan,
.match-fragment .repeat-label tspan {
font-size: 10px;
}
.subexp .subexp-label tspan,
.charset .charset-label tspan {
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;
}