modal touch-ups.

This commit is contained in:
Saman Bemel-Benrud
2013-01-31 13:25:20 -05:00
parent 16b42b8e81
commit bd4c91c612
2 changed files with 10 additions and 8 deletions

View File

@@ -920,7 +920,8 @@ div.typeahead a:first-child {
border-radius: 0 0 4px 4px;
}
.modal-section:only-child { border-radius: 4px;
.modal-section:only-child {
border-radius: 4px;
}
.modal-section .buttons {
@@ -949,9 +950,14 @@ div.typeahead a:first-child {
text-align: center;
}
/* Intro Modal
/* Splash Modal
------------------------------------------------------- */
.modal-splash {
width: 33.3333%;
left: 33.3333%;
}
.logo {
height: 100px;
width: 100px;
@@ -1028,10 +1034,6 @@ div.typeahead a:first-child {
border-radius: 4px 4px 0 0;
}
.modal-section:last-child {
border-radius: 0 0 4px 4px;
}
.modal-section .buttons {
padding-top: 10px;
width: 100%;

View File

@@ -6,11 +6,11 @@ iD.ui.splash = function() {
var introModal = modal.select('.content')
.append('div')
.attr('class', 'header modal-section fillL');
.attr('class', 'modal-section fillL');
introModal.append('div').attr('class','logo');
introModal.append('div').html("<h2>Welcome to the iD OpenStreetMap editor</h2><p>This is development version 0.0.0-alpha1. For more information see <a href='http://ideditor.com/'>ideditor.com</a> and report bugs at <a href='https://github.com'>github.com.systemed/iD</a>.</p>");
introModal.append('div').html("<h2 class>Welcome to the iD OpenStreetMap editor</h2><p>This is development version 0.0.0-alpha1. For more information see <a href='http://ideditor.com/'>ideditor.com</a> and report bugs at <a href='https://github.com'>github.com.systemed/iD</a>.</p>");
return modal;
};