mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
adding nice 'start the walkthrough' link to help
This commit is contained in:
16
css/app.css
16
css/app.css
@@ -1618,11 +1618,18 @@ img.wiki-image {
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
|
||||
.help-wrap .toc li:last-child a {
|
||||
.help-wrap .toc li:nth-last-child(2) a {
|
||||
border-bottom: 1px solid #CCC;
|
||||
border-radius: 0 0 4px 4px
|
||||
}
|
||||
|
||||
.help-wrap .toc li.walkthrough a {
|
||||
overflow: hidden;
|
||||
margin-top: 10px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.help-wrap .nav {
|
||||
position: relative;
|
||||
}
|
||||
@@ -1820,7 +1827,8 @@ img.wiki-image {
|
||||
transition: all 200ms;
|
||||
}
|
||||
|
||||
.modal-actions button:before {
|
||||
.modal-actions button:before,
|
||||
.walkthrough a:before {
|
||||
display: block;
|
||||
content: '';
|
||||
height: 100px;
|
||||
@@ -1855,7 +1863,8 @@ img.wiki-image {
|
||||
/* Splash Modal
|
||||
------------------------------------------------------- */
|
||||
|
||||
.modal-actions button.walkthrough:before {
|
||||
.modal-actions button.walkthrough:before,
|
||||
.walkthrough a:before {
|
||||
background-position: -200px -220px;
|
||||
}
|
||||
|
||||
@@ -2196,6 +2205,7 @@ img.wiki-image {
|
||||
.intro-points-add .tooltip-inner::before,
|
||||
.intro-areas-add .tooltip-inner::before,
|
||||
.intro-lines-add .tooltip-inner::before,
|
||||
.walkthrough a:before,
|
||||
.preset-icon-fill.area,
|
||||
.modal-actions button:before,
|
||||
.map-control .icon,
|
||||
|
||||
@@ -165,8 +165,8 @@ en:
|
||||
splash:
|
||||
welcome: Welcome to the iD OpenStreetMap editor
|
||||
text: "iD is a friendly but powerful tool for contributing to the world's best free world map. This is development version {version}. For more information see {website} and report bugs at {github}."
|
||||
walkthrough: "Start the walkthrough"
|
||||
start: "Edit now"
|
||||
walkthrough: "Start the Walkthrough"
|
||||
start: "Edit Now"
|
||||
source_switch:
|
||||
live: live
|
||||
lose_changes: "You have unsaved changes. Switching the map server will discard them. Are you sure you want to switch servers?"
|
||||
|
||||
@@ -204,8 +204,8 @@ locale.en = {
|
||||
"splash": {
|
||||
"welcome": "Welcome to the iD OpenStreetMap editor",
|
||||
"text": "iD is a friendly but powerful tool for contributing to the world's best free world map. This is development version {version}. For more information see {website} and report bugs at {github}.",
|
||||
"walkthrough": "Start the walkthrough",
|
||||
"start": "Edit now"
|
||||
"walkthrough": "Start the Walkthrough",
|
||||
"start": "Edit Now"
|
||||
},
|
||||
"source_switch": {
|
||||
"live": "live",
|
||||
|
||||
@@ -72,6 +72,7 @@ iD.ui.Help = function(context) {
|
||||
.on('click', clickHelp);
|
||||
|
||||
toc.append('li')
|
||||
.attr('class','walkthrough')
|
||||
.append('a')
|
||||
.text(t('splash.walkthrough'))
|
||||
.on('click', function() {
|
||||
|
||||
Reference in New Issue
Block a user