Moving SVG CSS to the main page CSS
This commit is contained in:
parent
e597e7f963
commit
35a6bfe17c
@ -1,12 +1,10 @@
|
||||
<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/">
|
||||
|
@ -1,5 +1,6 @@
|
||||
@import 'base';
|
||||
@import 'reset';
|
||||
@import 'svg';
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
|
@ -1,67 +1,67 @@
|
||||
@import 'base';
|
||||
|
||||
svg {
|
||||
svg.regexp-svg {
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
text, tspan {
|
||||
font: 12px Arial;
|
||||
}
|
||||
text, tspan {
|
||||
font: 12px Arial;
|
||||
}
|
||||
|
||||
path {
|
||||
fill-opacity: 0;
|
||||
stroke-width: 2px;
|
||||
stroke: $black;
|
||||
}
|
||||
path {
|
||||
fill-opacity: 0;
|
||||
stroke-width: 2px;
|
||||
stroke: $black;
|
||||
}
|
||||
|
||||
circle {
|
||||
fill: $gray;
|
||||
stroke-width: 2px;
|
||||
stroke: $black;
|
||||
}
|
||||
circle {
|
||||
fill: $gray;
|
||||
stroke-width: 2px;
|
||||
stroke: $black;
|
||||
}
|
||||
|
||||
.anchor text, .any-character text {
|
||||
fill: $white;
|
||||
}
|
||||
.anchor text, .any-character text {
|
||||
fill: $white;
|
||||
}
|
||||
|
||||
.anchor rect, .any-character rect {
|
||||
fill: $gray;
|
||||
}
|
||||
.anchor rect, .any-character rect {
|
||||
fill: $gray;
|
||||
}
|
||||
|
||||
.escape text, .charset-escape text, .literal text {
|
||||
fill: $black;
|
||||
}
|
||||
.escape text, .charset-escape text, .literal text {
|
||||
fill: $black;
|
||||
}
|
||||
|
||||
.escape rect, .charset-escape rect {
|
||||
fill: $green;
|
||||
}
|
||||
.escape rect, .charset-escape rect {
|
||||
fill: $green;
|
||||
}
|
||||
|
||||
.literal rect {
|
||||
fill: $blue;
|
||||
}
|
||||
.literal rect {
|
||||
fill: $blue;
|
||||
}
|
||||
|
||||
.charset .charset-box {
|
||||
fill: $tan;
|
||||
}
|
||||
.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,
|
||||
.match-fragment .repeat-label tspan {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.subexp .subexp-label tspan,
|
||||
.charset .charset-label tspan {
|
||||
dominant-baseline: text-after-edge;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.subexp .subexp-box {
|
||||
stroke: $light-gray;
|
||||
stroke-dasharray: 6,2;
|
||||
stroke-width: 2px;
|
||||
fill-opacity: 0;
|
||||
}
|
||||
|
||||
.quote {
|
||||
fill: $light-gray;
|
||||
.quote {
|
||||
fill: $light-gray;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user