chore(social): remove social icons from site
This commit is contained in:
parent
377f924ae2
commit
27d5a3b0a8
|
@ -7,8 +7,6 @@ header(class="background-sky")
|
|||
md-button) Learn in 5 mins
|
||||
a(href="/download/" class="button button-large button-navy" md-button) Download
|
||||
|
||||
!= partial("_social-icons")
|
||||
|
||||
|
||||
.banner.is-centered
|
||||
|
||||
|
|
|
@ -12,5 +12,3 @@ header(class="hero background-sky")
|
|||
|
||||
else if current.path[0] == "docs"
|
||||
!= partial("_version-dropdown")
|
||||
|
||||
!= partial("_social-icons")
|
|
@ -1,7 +0,0 @@
|
|||
.social-icons
|
||||
button(aria-label="Share on G+" onClick="window.open('https://plus.google.com/share?url=#{siteURL}', '', 'height=500, width=600')" class="googleplus") <span class="icon-google-plus2"></span>
|
||||
button(aria-label="Share on Twitter" onClick="window.open('https://twitter.com/share?text=Angular%20-%20#{description}', '', 'height=250, width=600')") <span class="icon-twitter2"></span>
|
||||
button(aria-label="Share on Facebook" onClick="window.open('https://www.facebook.com/sharer/sharer.php?u=#{siteURL}', '', 'height=500, width=600')" data-href="#{siteURL}" data-colorscheme="dark" data-layout="button_count" data-action="like" data-show-faces="false") <span class="icon-facebook2"></span>
|
||||
button(aria-label="Share on Linkedin" onClick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=#{siteURL}&title=Angular&summary=#{description}.', '', 'height=625, width=500')") <span class="icon-linkedin"></span>
|
||||
|
||||
p(style="color: black;") #{url}
|
|
@ -10,9 +10,6 @@
|
|||
.main-nav,
|
||||
.main-footer,
|
||||
.cta-bar,
|
||||
.social-icons {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
// ZERO OUT MARGIN & PADDING
|
||||
.l-offset-nav,
|
||||
|
|
|
@ -87,31 +87,4 @@ $hero-padding: ($unit * 10) ($unit * 6) ($unit * 5);
|
|||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
// SOCIAL ICONS
|
||||
.social-icons {
|
||||
position: absolute;
|
||||
top: $unit * 3;
|
||||
right: $unit * 3;
|
||||
z-index: $layer-1;
|
||||
|
||||
@media handheld and (max-width: $phone-breakpoint),
|
||||
screen and (max-device-width: $phone-breakpoint),
|
||||
screen and (max-width: $tablet-breakpoint) {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
button {
|
||||
color: $snow;
|
||||
opacity: .56;
|
||||
font-size: 18px;
|
||||
text-decoration: none;
|
||||
margin-left: $unit * 2;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue