From ec9fe66bfe20e37825e4438a6a461be1431c7221 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 10 Feb 2014 01:47:48 -0500 Subject: [PATCH] styled notifications --- app/assets/stylesheets/application.css | 7 ++----- app/views/main/home.html.erb | 2 +- app/views/maps/create.js.erb | 4 ++-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 59040f9c..c2fe6274 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -368,12 +368,10 @@ input[type="submit"] { .notice.metamaps, .alert.metamaps { position: absolute; -margin: 20px; -background: url(/assets/black_bg.png); +margin: 5px 0 0 45px; +background: #0F1519; padding: 10px; border-radius: 5px; -box-shadow: 6px 6px 8px rgba(0,0,0,0.4); - border:1px solid #000; } .headertop { @@ -2033,7 +2031,6 @@ font-family: 'vinyl'; font-size: 40px; margin: 40px 20px 25px; text-align:center; -background: url('home_bg2.png') no-repeat center -46px; } .home_content .request { diff --git a/app/views/main/home.html.erb b/app/views/main/home.html.erb index 4f788345..96d670d6 100644 --- a/app/views/main/home.html.erb +++ b/app/views/main/home.html.erb @@ -30,6 +30,6 @@

- Welcome + Welcome!

diff --git a/app/views/maps/create.js.erb b/app/views/maps/create.js.erb index 673dabb8..dc8a1937 100644 --- a/app/views/maps/create.js.erb +++ b/app/views/maps/create.js.erb @@ -22,10 +22,10 @@ form.find('.mapCommonsIcon').addClass('selected'); var tempForm = form.html(); if (mapid == null) { - form.html("Success! Do you want to
' + "'>Go to your new map?
or
Stay on this page?"); + form.html("Success! Do you want to
' + "'>Go to your new map?
or
Stay on this page?"); } else if (mapid != null) { - form.html("Success! Do you want to
' + "'>Go to your new map?
or
Stay on this map?"); + form.html("Success! Do you want to
' + "'>Go to your new map?
or
Stay on this map?"); } $('#lightbox_main').css('margin-top', '-' + ($('#lightbox_main').height() / 2) + 'px' );