diff options
Diffstat (limited to 'diplomacy/web/src/gui/maps/standard/SvgStandard.css')
-rw-r--r-- | diplomacy/web/src/gui/maps/standard/SvgStandard.css | 125 |
1 files changed, 19 insertions, 106 deletions
diff --git a/diplomacy/web/src/gui/maps/standard/SvgStandard.css b/diplomacy/web/src/gui/maps/standard/SvgStandard.css index 3aeebaa..f1da6c3 100644 --- a/diplomacy/web/src/gui/maps/standard/SvgStandard.css +++ b/diplomacy/web/src/gui/maps/standard/SvgStandard.css @@ -1,106 +1,19 @@ -/* text */ - svg { font-size: 100% } - .titletext {text-anchor:middle; stroke-width:0.3; font-family:sans-serif; font-size:0.7em; stroke:black; fill:black;} - .provtext {text-anchor:middle; stroke-width:0.3; font-family:sans-serif; font-size:0.7em; stroke:black; fill:black;} - .labeltext {stroke-width:0.1; stroke:black; fill:black;} - .unordered {fill:red; stroke:black; stroke-width:1; fill-opacity:0.90;} - .labeltext24 {text-anchor:middle; stroke-width:0.1; stroke:black; fill:black; font-family:serif,sans-serif; font-style:italic; font-size:1.4em;} - .labeltext18 {text-anchor:middle; stroke-width:0.1; stroke:black; fill:black; font-family:serif,sans-serif; font-style:italic; font-size:1.1em;} - .fulllabeltext {font-family:serif,sans-serif; font-style:italic; font-size:1.2em; fill:black; stroke:black;} - .currentnotetext {font-family:serif,sans-serif; font-size:1.5em; fill:black; stroke:black;} - .currentnoterect {fill:#c5dfea;} - .currentphasetext {font-family:serif,sans-serif; font-size:2.5em; fill:black; stroke:black;} - - .labeltext24 text {cursor:default;} - - /* NB: this style is not yet used. */ - .labeltext24 text.allowed { - font-weight:bold; - fill:blue; - font-size: 1.5em; - stroke: red; - stroke-width:2; - text-decoration: underline; - background-color: green; - } - - /* map and object features */ - - .seapoly {stroke:#000000; stroke-width:1; fill:#B5DEF8} - .dashline {stroke:darkslateblue; stroke-width:3; stroke-linecap:round; stroke-dasharray:5,6;} - .impassable {fill:#353433; stroke:#000000; stroke-width:1} - .sealine {stroke:#B5DEFF; stroke-width:3;} - - /* invisible click rects fill:none does not work */ - - .invisibleContent {stroke:#000000; fill:#000000; fill-opacity:0.0; opacity:0.0} - - /* default region coloring, by power */ - - .provinceRed {fill:url(#patternRed)} - .provinceBrown {fill:url(#patternBrown)} - .provinceGreen {fill:url(#patternGreen)} - .provinceBlack {fill:url(#patternBlack)} - .provinceBlue {fill:url(#patternBlue)} - - .nopower {fill:antiquewhite; stroke:#000000; stroke-width:1} - .water {fill:#c5dfea; stroke:#000000; stroke-width:1} - - .neutral {fill:lightgray; stroke:#000000; stroke-width:1} - - .austria {fill:#c48f85; stroke:#000000; stroke-width:1} - .england {fill:darkviolet; stroke:#000000; stroke-width:1} - .france {fill:royalblue; stroke:#000000; stroke-width:1} - .germany {fill:#a08a75; stroke:#000000; stroke-width:1} - .italy {fill:forestgreen; stroke:#000000; stroke-width:1} - .russia {fill:#757d91; stroke:#000000; stroke-width:1} - .turkey {fill:#b9a61c; stroke:#000000; stroke-width:1} - - /* unit colors, by power note that underscores are not supported */ - - .unitaustria {fill:red; fill-opacity:0.85} - .unitengland {fill:mediumpurple; fill-opacity:0.85} - .unitfrance {fill:deepskyblue; fill-opacity:0.85} - .unitgermany {fill:dimgray; fill-opacity:0.85} - .unititaly {fill:olive; fill-opacity:0.85} - .unitrussia {fill:white; fill-opacity:1.0} - .unitturkey {fill:yellow; fill-opacity:0.85} - - /* supply center styles */ - - .scnopower {fill:black; stroke:black;} - .scaustria {fill:black; stroke:black;} - .scengland {fill:black; stroke:black;} - .scfrance {fill:black; stroke:black;} - .scgermany {fill:black; stroke:black;} - .scitaly {fill:black; stroke:black;} - .scrussia {fill:black; stroke:black;} - .scturkey {fill:black; stroke:black;} - - /* order drawing styles, stroke and fill colors should not be specified */ - - .defaultorder {stroke-width:6; fill:none;} - .supportorder {stroke-width:6; fill:none; stroke-dasharray:5,5;} - .convoyorder {stroke-dasharray:15,5; stroke-width:6; fill:none;} - - .shadoworder {stroke-width:10; fill:none; stroke:black;} - .shadowdash {stroke-width:10; fill:none; stroke:black; opacity:0.45;} - - .varwidthorder {fill:none;} - .varwidthshadow {fill:none; stroke:black;} - - /* Symbol private styles. Always start with "sym" to avoid name collisions! */ - - .symBuildShadow {fill:none;stroke:black;opacity:0.5;stroke-width:7;} - .symBuild {stroke:yellow;stroke-width:7;fill:none;} - .symRemove {stroke:red;stroke-width:1;fill:none;} - - .symShadow {stroke:black;fill:black;stroke-width:1;opacity:0.40;} - .symDislodgedShadow {stroke:red;fill:red;stroke-width:1;opacity:0.50;} - .symDislodgedBorder {stroke:red;stroke-width:3%;} - - .symDarkener {fill:black;opacity:0.45;fill-opacity:0.45;} - .symCenterHub {fill:black; stroke:black; opacity:0.60; stroke-width:0.5px;} - .symBorder {stroke:black;stroke-width:3%;} - .symThinBorder {stroke:black;stroke-width:0.4;} - .symSilhouette {stroke:black;fill:black;stroke-width:1;} +/** +============================================================================== +Copyright (C) 2019 - Philip Paquette, Steven Bocco + + This program is free software: you can redistribute it and/or modify it under + the terms of the GNU Affero General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) any + later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + details. + + You should have received a copy of the GNU Affero General Public License along + with this program. If not, see <https:www.gnu.org/licenses/>. +============================================================================== +**/ +/* text */ .SvgStandard svg { font-size: 100% } .SvgStandard .labeltext24 {text-anchor:middle; stroke-width:0.1; stroke:black; fill:black; font-family:serif,sans-serif; font-style:italic; font-size:1.4em;} .SvgStandard .labeltext18 {text-anchor:middle; stroke-width:0.1; stroke:black; fill:black; font-family:serif,sans-serif; font-style:italic; font-size:1.1em;} .SvgStandard .currentnotetext {font-family:serif,sans-serif; font-size:1.5em; fill:black; stroke:black;} .SvgStandard .currentnoterect {fill:#c5dfea;} .SvgStandard .currentphasetext {font-family:serif,sans-serif; font-size:2.5em; fill:black; stroke:black;} .SvgStandard .labeltext24 text {cursor:default;} /* map and object features */ .SvgStandard .impassable {fill:#353433; stroke:#000000; stroke-width:1} /* invisible click rects fill:none does not work */ .SvgStandard .invisibleContent {stroke:#000000; fill:#000000; fill-opacity:0.0; opacity:0.0} /* default region coloring, by power */ .SvgStandard .provinceRed {fill:url(#patternRed)} .SvgStandard .provinceBrown {fill:url(#patternBrown)} .SvgStandard .provinceGreen {fill:url(#patternGreen)} .SvgStandard .provinceBlack {fill:url(#patternBlack)} .SvgStandard .provinceBlue {fill:url(#patternBlue)} .SvgStandard .nopower {fill:antiquewhite; stroke:#000000; stroke-width:1} .SvgStandard .water {fill:#c5dfea; stroke:#000000; stroke-width:1} .SvgStandard .neutral {fill:lightgray; stroke:#000000; stroke-width:1} .SvgStandard .austria {fill:#c48f85; stroke:#000000; stroke-width:1} .SvgStandard .england {fill:darkviolet; stroke:#000000; stroke-width:1} .SvgStandard .france {fill:royalblue; stroke:#000000; stroke-width:1} .SvgStandard .germany {fill:#a08a75; stroke:#000000; stroke-width:1} .SvgStandard .italy {fill:forestgreen; stroke:#000000; stroke-width:1} .SvgStandard .russia {fill:#757d91; stroke:#000000; stroke-width:1} .SvgStandard .turkey {fill:#b9a61c; stroke:#000000; stroke-width:1} /* unit colors, by power note that underscores are not supported */ .SvgStandard .unitaustria {fill:red; fill-opacity:0.85} .SvgStandard .unitengland {fill:mediumpurple; fill-opacity:0.85} .SvgStandard .unitfrance {fill:deepskyblue; fill-opacity:0.85} .SvgStandard .unitgermany {fill:dimgray; fill-opacity:0.85} .SvgStandard .unititaly {fill:olive; fill-opacity:0.85} .SvgStandard .unitrussia {fill:white; fill-opacity:1.0} .SvgStandard .unitturkey {fill:yellow; fill-opacity:0.85} /* order drawing styles, stroke and fill colors should not be specified */ .SvgStandard .supportorder {stroke-width:6; fill:none; stroke-dasharray:5,5;} .SvgStandard .convoyorder {stroke-dasharray:15,5; stroke-width:6; fill:none;} .SvgStandard .shadowdash {stroke-width:10; fill:none; stroke:black; opacity:0.45;} .SvgStandard .varwidthorder {fill:none;} .SvgStandard .varwidthshadow {fill:none; stroke:black;}
\ No newline at end of file |