From 578d4eebdfde86143e75b308d81db7f79077d052 Mon Sep 17 00:00:00 2001 From: Saman Bemel-Benrud Date: Wed, 30 Jan 2013 19:40:41 -0500 Subject: [PATCH] everything but logo. --- css/app.css | 48 ++++++++++++++++++++++++++++++++++++++++++++++ js/id/ui/splash.js | 13 +++++++++---- 2 files changed, 57 insertions(+), 4 deletions(-) diff --git a/css/app.css b/css/app.css index 8ba20a02c..361ecd2f7 100644 --- a/css/app.css +++ b/css/app.css @@ -908,6 +908,54 @@ div.typeahead a:first-child { left:0px; right:0px; top:0px; bottom:0px; } +.modal-section { + padding: 20px; +} + +.modal-section.header { + border-radius: 4px 4px 0 0; +} + +.modal-section:last-child { + border-radius: 0 0 4px 4px; +} + +.modal-section:only-child { border-radius: 4px; +} + +.modal-section .buttons { + padding-top: 10px; + width: 100%; +} + +.modal-section img.wiki-image { + max-width: 100%; + max-height: 300px; + display: block; +} + +.modal-flash .content { + box-shadow: none; + border-radius: 4px; + background: #111; + color: #eee; +} + +.modal-flash .close-modal { + display:none; +} + +.loading-modal { + text-align: center; +} + +/* Intro Modal +------------------------------------------------------- */ + + +/* Commit Modal +------------------------------------------------------- */ + .commit-modal .user-info { display: inline-block; } diff --git a/js/id/ui/splash.js b/js/id/ui/splash.js index ef17f7fca..952809c75 100644 --- a/js/id/ui/splash.js +++ b/js/id/ui/splash.js @@ -2,10 +2,15 @@ iD.ui.splash = function() { var modal = iD.ui.modal(); modal.select('.modal') - .classed('modal-splash', true); + .attr('class', 'modal-splash modal') - modal.select('.content') - .html('Welcome to iD!'); + var introModal = modal.select('.content') + .append('div') + .attr('class', 'header modal-section fillL'); + + introModal.append('div').attr('class','logo'); + + introModal.html("

Welcome to the iD OpenStreetMap editor

This is development version 0.0.0-alpha1. For more information see ideditor.com and report bugs at github.com.systemed/iD

"); return modal; -}; +}; \ No newline at end of file