styled wikipedia preset.

This commit is contained in:
Saman Bemel-Benrud
2013-04-02 11:57:57 -04:00
parent ffdc224390
commit fc0d89a6bd
5 changed files with 27 additions and 8 deletions
+9
View File
@@ -487,6 +487,7 @@ button.save.has-count .count::before {
.icon.back { background-position: -420px 0;}
.icon.forward { background-position: -440px 0;}
.icon.help { background-position: -460px 0;}
.icon.out-link { background-position: -480px 0;}
.icon.inspect.light { background-position: -220px -20px;}
.icon.geocode.light { background-position: -280px -20px;}
@@ -1142,6 +1143,14 @@ input[type=number] {
float: right;
padding: 5px;
text-align: center;
-webkit-transition: all 100ms;
-moz-transition: all 100ms;
-o-transition: all 100ms;
transition: all 100ms;
}
.form-field .wiki-link:hover {
background: #ececec;
}
#preset-input-maxspeed {
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 82 KiB

+3 -2
View File
@@ -49,9 +49,10 @@ iD.ui.preset.wikipedia = function(field, context) {
.call(titlecombo);
link = selection.append('a')
.attr('class', 'wiki-link')
.attr('class', 'wiki-link minor')
.attr('target', '_blank')
.text('');
.append('span')
.attr('class','icon out-link');
}
function changeLang() {
+15 -6
View File
@@ -13,7 +13,7 @@
height="560"
id="svg12393"
version="1.1"
inkscape:version="0.48.1 r9760"
inkscape:version="0.48.2 r9819"
sodipodi:docname="sprite.svg"
inkscape:export-filename="/Users/saman/work_repos/iD/img/sprite2x.png"
inkscape:export-xdpi="90"
@@ -38,9 +38,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.9525416"
inkscape:cx="181.27262"
inkscape:cy="390.93221"
inkscape:zoom="1"
inkscape:cx="494.79901"
inkscape:cy="539.80312"
inkscape:document-units="px"
inkscape:current-layer="layer12"
showgrid="false"
@@ -125,7 +125,7 @@
id="guide14199" />
<sodipodi:guide
orientation="0,1"
position="15,560"
position="498,560"
id="guide14589" />
<sodipodi:guide
orientation="0,1"
@@ -211,6 +211,10 @@
orientation="-0.27472051,0.96152412"
position="183,102"
id="guide10263" />
<sodipodi:guide
orientation="1,0"
position="500,553"
id="guide3440" />
</sodipodi:namedview>
<metadata
id="metadata12398">
@@ -220,7 +224,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -2601,5 +2605,10 @@
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccssc" />
</g>
<path
style="color:#000000;fill:#7092ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="M 490.5 4 L 490.5 5.5 L 491.5 6.5 L 487 11 L 487 12 L 488 13 L 489 13 L 493.5 8.5 L 494.5 9.5 L 496 9.5 L 496 6 L 496 4 L 494 4 L 490.5 4 z M 484 6 L 483 7 L 483 16 L 484 17 L 493 17 L 494 16 L 494 11 L 492 13 L 492 15 L 491 15 L 490 15 L 486 15 L 485 15 L 485 10 L 485 8 L 486 8 L 487 8 L 489 6 L 484 6 z "
transform="translate(25,-3.0624999e-6)"
id="path3404-8" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 185 KiB