Remove ad concept
This commit is contained in:
parent
14891bc41f
commit
12e820c27e
3 changed files with 0 additions and 42 deletions
|
@ -134,6 +134,4 @@ $(document).ready(function () {
|
|||
$("#menu-icon").on("click", function() {
|
||||
$("header").toggleClass("closed");
|
||||
});
|
||||
|
||||
$('#ad .close').on("click", function() { $('#ad').remove(); });
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -27,11 +27,6 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<a id="ad" href="#">
|
||||
<span class="ad-content">State of the Map 2014</span>
|
||||
<span class="close">dismiss</span>
|
||||
</a>
|
||||
|
||||
<div id="sidebar_content">
|
||||
<% if STATUS == :database_offline or STATUS == :api_offline %>
|
||||
<p class="error"><%= t 'layouts.osm_offline' %></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue