diff --git a/lib/partials/svg_template.hbs b/lib/partials/svg_template.hbs index 87bdd11..4a24b5e 100644 --- a/lib/partials/svg_template.hbs +++ b/lib/partials/svg_template.hbs @@ -1,10 +1,12 @@
+ + + diff --git a/src/sass/main.scss b/src/sass/main.scss index b9be487..9f72511 100644 --- a/src/sass/main.scss +++ b/src/sass/main.scss @@ -1,6 +1,5 @@ @import 'base'; @import 'reset'; -@import 'svg'; body { font-family: sans-serif; diff --git a/src/sass/svg.scss b/src/sass/svg.scss index b3f1f9d..1316adc 100644 --- a/src/sass/svg.scss +++ b/src/sass/svg.scss @@ -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; }