From 12e820c27e992572007a160936ec2051cb961b8e Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 7 Nov 2013 09:59:57 -0800 Subject: [PATCH] Remove ad concept --- app/assets/javascripts/application.js | 2 -- app/assets/stylesheets/common.css.scss | 35 -------------------------- app/views/layouts/map.html.erb | 5 ---- 3 files changed, 42 deletions(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index e1c75d70f..cecceaf35 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -134,6 +134,4 @@ $(document).ready(function () { $("#menu-icon").on("click", function() { $("header").toggleClass("closed"); }); - - $('#ad .close').on("click", function() { $('#ad').remove(); }); }); diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index f95bc6353..86b6805d1 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -448,30 +448,6 @@ nav.secondary { } } -a#ad { - width: 100%; - display: block; - background: rgb(240,151,53); - z-index: 999; - padding: 1px $lineheight; - color: #fff; - font-size: 11px; - text-transform: uppercase; - span.close { - float: right; - color: #fff; - font-size: 10px; - line-height: 18px; - opacity: .5; - text-transform: none; - &:hover { opacity: .9; } - } - &:hover { - background: rgb(220,151,53); - text-decoration: none; - } -} - #compact-secondary-nav { display: none; ul li a { @@ -715,13 +691,6 @@ a#ad { background: none; width: 78%; } - - a#ad { - margin: 0 $lineheight; - width: 64%; - padding: 0 6px; - border-radius: 3px; - } } #map { @@ -919,10 +888,6 @@ a#ad { } } -#ad + #sidebar_content { - top: 70px; -} - #sidebar_content { position: absolute; top: 50px; diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 40aaae186..2d50b5abf 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -27,11 +27,6 @@ <% end %> - -