mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Remove nagging popover from docs site (#1855)
* Remove nagging popover from docs site * remove obsolete banner style
This commit is contained in:
parent
8e51b227d4
commit
f939df4ac0
3 changed files with 0 additions and 91 deletions
|
@ -1,15 +1,3 @@
|
||||||
<div class="harrowBanner">
|
|
||||||
<div class="harrowBanner__newRibbon">New!</div>
|
|
||||||
<h2 class="harrowBanner__title">Our web-based Capistrano</h2>
|
|
||||||
<p class="harrowBanner__p">
|
|
||||||
Improve collaboration within your team.
|
|
||||||
<br/>
|
|
||||||
Hosted, secure and available any time, from anywhere.
|
|
||||||
</p>
|
|
||||||
<a href="https://www.harrow.io/hosted-capistrano-for-teams/?utm_source=CAP&utm_medium=BAN&utm_term=00001&utm_campaign=00002&utm_campaign=CAP_BAN_00001_00002#hosted-capistrano-for-teams" class="harrowBanner__ctaButton">Try it now!</a>
|
|
||||||
<a href="#" class="harrowBanner__dismissLink">No thanks</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="large-12 column">
|
<div class="large-12 column">
|
||||||
|
|
|
@ -35,25 +35,6 @@
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
|
|
||||||
<script src="/js/jquery-1.7.min.js"></script>
|
<script src="/js/jquery-1.7.min.js"></script>
|
||||||
<script src="/js/jquery.cookie.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function(){
|
|
||||||
if ($.cookie('harrowBanner__dismissed') != '1') {
|
|
||||||
$('.harrowBanner').css('display', 'block');
|
|
||||||
ga('send', 'event', 'harrowBanner', 'shown');
|
|
||||||
} else {
|
|
||||||
ga('send', 'event', 'harrowBanner', 'alreadydismissed');
|
|
||||||
}
|
|
||||||
$(".harrowBanner__ctaButton").on('click', function (e) {
|
|
||||||
ga('send', 'event', 'harrowBanner', 'clickthrough');
|
|
||||||
});
|
|
||||||
$(".harrowBanner__dismissLink").on('click', function (e) {
|
|
||||||
$.cookie('harrowBanner__dismissed', '1', { path: "/", expires: 10 });
|
|
||||||
$('.harrowBanner').hide();
|
|
||||||
ga('send', 'event', 'harrowBanner', 'dismiss');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<script src="/js/jquery.githubRepoWidget.min.js"></script>
|
<script src="/js/jquery.githubRepoWidget.min.js"></script>
|
||||||
<script src="/js/prism.js"></script>
|
<script src="/js/prism.js"></script>
|
||||||
<script src="/js/prism.ruby.js"></script>
|
<script src="/js/prism.ruby.js"></script>
|
||||||
|
|
|
@ -26,66 +26,6 @@ body {
|
||||||
min-height: 170px;
|
min-height: 170px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.harrowBanner {
|
|
||||||
overflow: hidden;
|
|
||||||
position: absolute;
|
|
||||||
top: 140px;
|
|
||||||
max-width: 650px;
|
|
||||||
left:0;
|
|
||||||
right:0;
|
|
||||||
box-shadow: 5px 5px 15px rgba(0,0,0, 0.5);
|
|
||||||
max-width: 60%;
|
|
||||||
margin: auto;
|
|
||||||
/* outline: 1px dotted pink; */
|
|
||||||
text-align: center;
|
|
||||||
background-color: rgba(28, 25, 59, 0.95);
|
|
||||||
border: 2px solid rgba(255, 255, 255, 0.75);
|
|
||||||
padding: 20px 40px;
|
|
||||||
z-index: 10000;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.harrowBanner__newRibbon {
|
|
||||||
width: 200px;
|
|
||||||
background-color: #95b;
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
left: -65px;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 50px;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
color: #f0f0f0;
|
|
||||||
transform: rotate(-45deg);
|
|
||||||
-webkit-transform: rotate(-45deg);
|
|
||||||
box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.harrowBanner__title {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.harrowBanner__p {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.harrowBanner__ctaButton {
|
|
||||||
background-color: #4CC1DD;
|
|
||||||
border-radius: 3px;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 10px 20px;
|
|
||||||
color: #fff;
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.harrowBanner__dismissLink {
|
|
||||||
color: #fff;
|
|
||||||
font-size: 75%;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-family: 'Enriqueta', serif;
|
font-family: 'Enriqueta', serif;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue