mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 11:16:36 +02:00
style bottom nav bar of tutorial.
This commit is contained in:
@@ -2295,16 +2295,11 @@ a.action.twitter:before {
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 40px;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.intro-nav-wrap button.step {
|
||||
width: 20%;
|
||||
padding: 20px;
|
||||
float: left;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.intro-nav-wrap button.step.finished {
|
||||
|
||||
+3
-3
@@ -40,10 +40,10 @@ iD.ui.intro = function(context) {
|
||||
}
|
||||
});
|
||||
|
||||
var navwrap = selection.append('div').attr('class', ' col12 intro-nav-wrap');
|
||||
var navwrap = selection.append('div').attr('class', 'intro-nav-wrap');
|
||||
|
||||
var buttonwrap = navwrap.append('div')
|
||||
.attr('class', 'button-wrap joined')
|
||||
.attr('class', 'joined')
|
||||
.selectAll('button.step');
|
||||
|
||||
var entered = buttonwrap.data(steps)
|
||||
@@ -53,7 +53,7 @@ iD.ui.intro = function(context) {
|
||||
enter(d);
|
||||
});
|
||||
|
||||
entered.append('h3').text(function(d) { return d.name; });
|
||||
entered.append('label').text(function(d) { return d.name; });
|
||||
enter(steps[0]);
|
||||
|
||||
function enter (newStep) {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
iD.ui.Splash = function(context) {
|
||||
return function(selection) {
|
||||
if (context.storage('sawSplash'))
|
||||
return;
|
||||
// if (context.storage('sawSplash'))
|
||||
// return;
|
||||
|
||||
context.storage('sawSplash', true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user