From fe1f08cf8a9e05242819b9a68995b1d0bc6bbb01 Mon Sep 17 00:00:00 2001 From: Saman Bemel-Benrud Date: Thu, 21 Mar 2013 18:36:19 -0400 Subject: [PATCH] hide close button for loading modal. --- css/app.css | 8 +++++++- js/id/ui/loading.js | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/css/app.css b/css/app.css index ff6a5c467..8b07300fd 100644 --- a/css/app.css +++ b/css/app.css @@ -272,7 +272,9 @@ ul.link-list li:last-child { .fr { float: right;} div.hide, -form.hide { +form.hide, +button.hide, +a.hide { display: none; } @@ -1674,6 +1676,10 @@ div.typeahead a:first-child { border-bottom: 1px solid #CCC; } +.modal-section:last-child { + border-bottom: 0; +} + .modal-flash .content { box-shadow: none; border-radius: 4px; diff --git a/js/id/ui/loading.js b/js/id/ui/loading.js index c07426a0b..fe161acec 100644 --- a/js/id/ui/loading.js +++ b/js/id/ui/loading.js @@ -8,5 +8,7 @@ iD.ui.loading = function(selection, message, blocking) { loadertext.append('img').attr('class','loader').attr('src', 'img/loader.gif'); loadertext.append('h3').text(message || ''); + modal.select('button.close').attr('class','hide'); + return modal; };