diff options
author | Jochen Topf <jochen@topf.org> | 2010-10-30 22:20:30 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2010-10-30 22:20:30 +0200 |
commit | e83097f2cfc6e3663adc009179c27bf9485c14f5 (patch) | |
tree | cfb6643d1586ab5c90bff465285f8799034dc3ed /web/public | |
parent | 1dc5013314a56a830a6d0f439866e7b18a217d5a (diff) | |
download | taginfo-e83097f2cfc6e3663adc009179c27bf9485c14f5.tar taginfo-e83097f2cfc6e3663adc009179c27bf9485c14f5.tar.gz |
More Potlatch2 support
Diffstat (limited to 'web/public')
-rw-r--r-- | web/public/css/taginfo.css | 48 | ||||
-rw-r--r-- | web/public/js/taginfo.js | 2 |
2 files changed, 49 insertions, 1 deletions
diff --git a/web/public/css/taginfo.css b/web/public/css/taginfo.css index b28f132..1ef4fe8 100644 --- a/web/public/css/taginfo.css +++ b/web/public/css/taginfo.css @@ -342,3 +342,51 @@ div#canvas-keypairs { background-color: #ffffff; } +/* ========== */ + +table.drilldown { + border-collapse: separate; + border-spacing: 10px; +} + +table.drilldown td, table.drilldown th { + vertical-align: top; +} + +table.drilldown th h2 { + padding: 0; + margin: 0; +} + +table.drilldown td.content { + width: 16em; + border: 1px solid #d0d0d0; + background-color: #f0f0f0; + -moz-border-radius: 8px; + -khtml-border-radius: 8px; + -webkit-border-radius: 8px; + -chrome-border-radius: 8px; + -o-border-radius: 8px; + padding: 10px 0; +} + +table.drilldown td.content div { + width: 100%; + padding: 1px 0; +} + +table.drilldown td.content div.current { + background-color: #e0e0e0; +} + +table.drilldown td.arrow { + vertical-align: middle; + font-size: 200%; +} + +table.drilldown td#feature { + min-width: 16em; + padding: 10px; +} + +/* ========== */ diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index 15d10af..0746306 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -1,7 +1,7 @@ // taginfo.js function print_wiki_link(title) { - return '→ <a class="wikilink" href="http://wiki.openstreetmap.org/wiki/' + title + '">' + title + '</a>'; + return '→ <a class="wikilink" href="http://wiki.openstreetmap.org/wiki/' + title + '" target="_blank">' + title + '</a>'; } function print_language(code, lang) { |