SusiDNS: Update SVG image to use grouped objects for styling and hotlinks

This commit is contained in:
str4d
2017-06-04 05:10:26 +00:00
parent 3334d9f737
commit bd1ccba960
2 changed files with 75 additions and 188 deletions

View File

@@ -1,6 +1,7 @@
2017-06-04 str4d 2017-06-04 str4d
* De-duplicate strings for translation * De-duplicate strings for translation
* Minor theme tweaks and bugfixes * Minor theme tweaks and bugfixes
* SusiDNS: Update SVG image to use grouped objects for styling and hotlinks
2017-06-03 str4d 2017-06-03 str4d
* Console: * Console:

View File

@@ -1,207 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 960 587">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 960 587" preserveAspectRatio="xMidYMid meet">
<style> <style>
.a { .a, .subs { fill: #fff; stroke-linejoin: round; stroke-width: 1.5; stroke: #000; } .b, .c, .d, .e, .f, .g { font-family: "Droid Sans", "Noto Sans", Ubuntu, "Segoe UI", "Lucida Grande", "Bitstream Vera Sans", Verdana, sans-serif; font-feature-settings: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-variant-numeric: normal; text-align: center; text-anchor: middle; } .b, .c, .f, .g { font-size: 20px; } .d, .e { font-size: 30px; } .d, .f { font-weight: bold; } #space { fill: #edffff; stroke-linejoin: round; stroke-width: 1; stroke: #999; } text.tooltip:hover { fill: #090; } path.tooltip, rect.tooltip { fill: #F9FFEF; } .book:hover rect, .subscriptions:hover rect { fill: url(#hover); } .private:hover { fill: url(#hover2); } .pbook:hover rect { fill: url(#hover2); } path.tooltip:hover { fill: url(#arrow); } .private { fill: #ffffee; } .privatezone { stroke: #f00; fill: #efefd7; stroke-dasharray: 5,5; stroke-width: 1; stroke-linejoin: round; } .subs { stroke-dasharray: 3,3; stroke-width: 1; } a:hover text { cursor: pointer; fill: #f60; } a:active text { fill: #d30; } .a { filter: drop-shadow(0 0 2px rgba(64,64,64,0.5)); } .book rect:active, .pbook rect:active { filter: none; } a { outline: none; }
fill: #fff;
stroke-linejoin: round;
stroke-width: 1.5;
stroke: #000;
}
.b, .c, .d, .e, .f, .g {
font-family: "Droid Sans", "Noto Sans", Ubuntu, "Segoe UI", "Lucida Grande", "Bitstream Vera Sans", Verdana, sans-serif;
font-feature-settings: normal;
font-variant-caps: normal;
font-variant-ligatures: normal;
font-variant-numeric: normal;
text-align: center;
text-anchor: middle;
}
.b {
font-size: 20px;
}
.c {
font-size: 20px;
}
.d {
font-size: 30px;
font-weight: bold;
}
.e {
font-size: 30px;
}
.f {
font-size: 20px;
font-weight: bold;
}
.g {
font-size: 20px;
}
text.tooltip:hover {
fill: #090;
}
path.tooltip, rect.tooltip {
fill: #F9FFEF;
}
rect.tooltip:hover {
fill: url(#hover);
}
path.tooltip:hover {
fill: url(#arrow);
}
.private {
fill: #ffffee;
}
.private:hover {
fill: url(#hover2);
}
.privatezone {
stroke: #f00;
fill: none;
stroke-dasharray: 5,5;
stroke-width: 1;
}
.subs {
stroke-dasharray: 3,3;
stroke-width: 1;
}
a:hover {
cursor: pointer;
fill: #f60;
}
</style> </style>
<defs> <defs>
<marker orient="auto" refY="0" refX="0"> <linearGradient id="hover" x2="0" y2="1">
<path d="M1 0-1 1v-2z"/> <stop offset="50%" stop-color="#fff"/>
</marker> <stop offset="50%" stop-color="#efe"/>
<linearGradient id="hover" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" stop-color="#efe" ></stop>
<stop offset="50%" stop-color="#cfc" ></stop>
<stop offset="100%" stop-color="#efe" ></stop>
</linearGradient> </linearGradient>
<linearGradient id="hover2" x1="0" x2="0" y1="0" y2="1"> <linearGradient id="hover2" x2="0" y2="1">
<stop offset="0%" stop-color="#ffe" ></stop> <stop offset="50%" stop-color="#fff"/>
<stop offset="50%" stop-color="#ff7" ></stop> <stop offset="50%" stop-color="#ffa"/>
<stop offset="100%" stop-color="#ffe" ></stop>
</linearGradient> </linearGradient>
<linearGradient id="arrow" x1="0" x2="0" y1="0" y2="1"> <linearGradient id="arrow" x2="0" y2="1">
<stop offset="10%" stop-color="#fff" ></stop> <stop offset="10%" stop-color="#fff"/>
<stop offset="50%" stop-color="#cfc" ></stop> <stop offset="50%" stop-color="#cfc"/>
<stop offset="100%" stop-color="#efe" ></stop> <stop offset="100%" stop-color="#efe"/>
</linearGradient> </linearGradient>
</defs> </defs>
<g transform="translate(0 0.0000057220459)"> <path id="space" d="M31 76c-9 0-16 7-16 16v345c0 9 7 16 16 16h900c9 0 16-7 16-16v-83c0-9-7-16-16-16H492c-7 0-17-7-17-16V91c0-9-7-16-16-16z"/>
<path d="m31 76c-9 0-16 7-16 16v231c0 9 0 23 0 31v83c0 9 7 16 16 16h429c7 0 23 0 31 0h440c9 0 16-7 16-16v-83c0-9-7-16-16-16h-439c-7 0-17-7-17-16v-231c0-9-7-16-16-16z" style="fill:#edffff;stroke-linejoin:round;stroke-width:1;stroke:#999"/> <rect class="privatezone" width="308" height="137" x="29" y="192" ry="10"/>
<rect class="privatezone" width="308" height="137" x="29" y="192" ry="10" style="fill:#efefd7;stroke-linejoin:round"/> <a xlink:href="/susidns/addressbook?book=published" target="_parent" class="book">
<rect class="a subs" width="419" height="66" x="506" y="230" ry="10"/>
<rect class="a tooltip" width="428" height="66" x="264" y="491" ry="10">
<title>If SusiDNS is configured to publish your Router address book, the entries will appear in your Published address book and saved to a hosts.txt file for sharing.</title> <title>If SusiDNS is configured to publish your Router address book, the entries will appear in your Published address book and saved to a hosts.txt file for sharing.</title>
<rect class="a tooltip" width="428" height="66" x="264" y="491" ry="10">
</rect> </rect>
<path class="a tooltip" d="m468 418v7h19v-7zm0 16v6h19v-6zm0 15v6h19v-6zm0 15v6h-8l9 12 9 12 9-12 9-12h-8v-6z">
<title>To configure SusiDNS to push your Router address book to your Published address book, set "should_publish=true" on the configuration page.</title>
</path>
<a xlink:href="/susidns/addressbook?book=published" target="_parent">
<text class="b" x="477" y="531"> <text class="b" x="477" y="531">
<tspan class="c" x="477" y="531"> <tspan class="c" x="477" y="531">PUBLISHED ADDRESSBOOK</tspan>
PUBLISHED ADDRESSBOOK
</tspan>
</text> </text>
</a> </a>
<rect class="a tooltip" width="428" height="66" x="264" y="362" ry="10"> <path class="a tooltip" d="M468 418v7h19v-7zm0 16v6h19v-6zm0 15v6h19v-6zm0 15v6h-8l9 12 9 12 9-12 9-12h-8v-6z">
<title>To configure SusiDNS to push your Router address book to your Published address book, set "should_publish=true" on the configuration page.</title>
</path>
<a xlink:href="/susidns/addressbook?book=router" target="_parent" class="book">
<title>All hosts derived from subscriptions will appear in this address book, in addition to any you manually add here or to your Master address book.</title> <title>All hosts derived from subscriptions will appear in this address book, in addition to any you manually add here or to your Master address book.</title>
<rect class="a tooltip" width="428" height="66" x="264" y="362" ry="10">
</rect> </rect>
<rect class="a private" width="279" height="66" x="44" y="228" ry="10"> <text class="b" x="477" y="403">
<tspan class="c" x="477" y="403">ROUTER ADDRESSBOOK</tspan>
</text>
</a>
<a xlink:href="/susidns/addressbook?book=private" target="_parent" class="pbook">
<title>Hosts you manually add here will never be published. You can also add aliases to hosts in other address books here.</title> <title>Hosts you manually add here will never be published. You can also add aliases to hosts in other address books here.</title>
<rect class="a private" width="279" height="66" x="44" y="228" ry="10">
</rect> </rect>
<text class="b" x="182" y="268">
<tspan class="c" x="182" y="268">PRIVATE ADDRESSBOOK</tspan>
</text>
</a>
<text class="d tooltip" x="243" y="51"> <text class="d tooltip" x="243" y="51">
<tspan class="e" x="243" y="51"> <tspan class="e" x="243" y="51">LOCAL RECORDS</tspan>
LOCAL RECORDS
</tspan>
<title>I2P applications (including the HTTP proxy) use the hosts in your local address books to resolve .i2p hostnames.</title> <title>I2P applications (including the HTTP proxy) use the hosts in your local address books to resolve .i2p hostnames.</title>
</text> </text>
<a xlink:href="/help#addressbooksubs" target="_top"> <a xlink:href="/help#addressbooksubs" target="_top">
<text class="d" x="716" y="51">
<tspan class="e" x="716" y="51">
SUBSCRIPTIONS
</tspan>
<title>Additional subscriptions can be found in the FAQ section of the Router help page.</title> <title>Additional subscriptions can be found in the FAQ section of the Router help page.</title>
<text class="d" x="716" y="51">
<tspan class="e" x="716" y="51">SUBSCRIPTIONS</tspan>
</text> </text>
</a> </a>
<rect class="a subs" width="419" height="66" x="506" y="204" ry="10"/> <g class="subscriptions">
<rect class="a tooltip" width="419" height="64" x="34" y="94" ry="10">
<title>If you manually add hosts here, they will be included your Published address book (if configured).</title>
</rect>
<rect class="a subs" width="419" height="66" x="506" y="179" ry="10"/>
<rect class="a subs" width="419" height="66" x="506" y="150" ry="10"/>
<rect class="a subs" width="419" height="66" x="506" y="122" ry="10"/>
<rect class="a tooltip" width="419" height="62" x="506" y="95" ry="10">
<title>Hosts sourced from your subscriptions are added to your Router address book, and are automatically synced (by default every 12 hours).</title> <title>Hosts sourced from your subscriptions are added to your Router address book, and are automatically synced (by default every 12 hours).</title>
</rect> <rect class="subs" width="419" height="66" x="506" y="230" ry="10"/>
<rect class="subs" width="419" height="66" x="506" y="204" ry="10"/>
<rect class="subs" width="419" height="66" x="506" y="179" ry="10"/>
<rect class="subs" width="419" height="66" x="506" y="150" ry="10"/>
<rect class="subs" width="419" height="66" x="506" y="122" ry="10"/>
<rect class="a tooltip" width="419" height="62" x="506" y="95" ry="10"/>
<text class="b" x="715" y="132"> <text class="b" x="715" y="132">
<tspan class="c" x="715" y="132"> <tspan class="c" x="715" y="132">http://i2p-projekt.i2p/hosts.txt</tspan>
http:&#x2F;&#x2F;i2p-projekt.i2p&#x2F;hosts.txt
</tspan>
<tspan class="c" x="715" y="145"/>
</text> </text>
<a xlink:href="/susidns/addressbook?book=master" target="_parent"> </g>
<a xlink:href="/susidns/addressbook?book=master" target="_parent" class="book">
<title>If you manually add hosts here, they will be included your Published address book (if configured).</title>
<rect class="a tooltip" width="419" height="64" x="34" y="94" ry="10">
</rect>
<text class="b" x="243" y="134"> <text class="b" x="243" y="134">
<tspan class="c" x="243" y="134"> <tspan class="c" x="243" y="134">MASTER ADDRESSBOOK</tspan>
MASTER ADDRESSBOOK
</tspan>
</text>
</a>
<a xlink:href="/susidns/addressbook?book=private" target="_parent">
<text class="b" x="182" y="268">
<tspan class="c" x="182" y="268">
PRIVATE ADDRESSBOOK
</tspan>
</text>
</a>
<a xlink:href="/susidns/addressbook?book=router" target="_parent">
<text class="b" x="477" y="403">
<tspan class="c" x="477" y="403">
ROUTER ADDRESSBOOK
</tspan>
</text> </text>
</a> </a>
<text class="f tooltip" x="817" y="389"> <text class="f tooltip" x="817" y="389">
<tspan class="g" x="817" y="389"> <tspan class="g" x="817" y="389">SEARCHABLE BY</tspan> <tspan class="g" x="817" y="416">I2P APPLICATIONS</tspan>
SEARCHABLE BY
</tspan>
<tspan class="g" x="817" y="416">
I2P APPLICATIONS
</tspan>
<title>The Master, Router and Private address books collectively serve as the DNS authority for I2P applications.</title> <title>The Master, Router and Private address books collectively serve as the DNS authority for I2P applications.</title>
</text> </text>
<text class="f tooltip" x="817" y="518"> <text class="f tooltip" x="817" y="518">
<tspan class="g" x="817" y="518"> <tspan class="g" x="817" y="518">OPTIONAL, FOR</tspan> <tspan class="g" x="817" y="545">EEPSITES</tspan>
OPTIONAL, FOR
</tspan>
<tspan class="g" x="817" y="545">
EEPSITES
</tspan>
<title>If you configure SusiDNS to publish your Router address book, it will export a hosts.txt file containing all the hosts (by default to the root of your eepsite).</title> <title>If you configure SusiDNS to publish your Router address book, it will export a hosts.txt file containing all the hosts (by default to the root of your eepsite).</title>
</text> </text>
<path class="a tooltip" d="m382 164v133l-21 0 22 31 22 31 23-31 22-31-19 0v-133h-49z"> <path class="a tooltip" d="M382 164v133h-21l22 31 22 31 23-31 22-31h-19V164h-49z">
<title>Addresses manually added to your Master address book will merge with your Router address book.</title> <title>Addresses manually added to your Master address book will merge with your Router address book.</title>
</path> </path>
<path class="a tooltip" d="m553 164v133l-21 0 22 31 22 31 23-31 22-31-19 0v-133z"> <path class="a tooltip" d="M553 164v133h-21l22 31 22 31 23-31 22-31h-19V164z">
<title>Hosts you receive from your subscriptions will merge with your Router address book.</title> <title>Hosts you receive from your subscriptions will merge with your Router address book.</title>
</path> </path>
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB