chore(social): remove social icons from site

This commit is contained in:
Naomi Black 2015-12-08 17:08:06 -08:00
parent 377f924ae2
commit 27d5a3b0a8
5 changed files with 1 additions and 42 deletions

View File

@ -7,8 +7,6 @@ header(class="background-sky")
md-button) Learn in 5 mins md-button) Learn in 5 mins
a(href="/download/" class="button button-large button-navy" md-button) Download a(href="/download/" class="button button-large button-navy" md-button) Download
!= partial("_social-icons")
.banner.is-centered .banner.is-centered

View File

@ -12,5 +12,3 @@ header(class="hero background-sky")
else if current.path[0] == "docs" else if current.path[0] == "docs"
!= partial("_version-dropdown") != partial("_version-dropdown")
!= partial("_social-icons")

View File

@ -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}

View File

@ -10,9 +10,6 @@
.main-nav, .main-nav,
.main-footer, .main-footer,
.cta-bar, .cta-bar,
.social-icons {
display: none !important;
}
// ZERO OUT MARGIN & PADDING // ZERO OUT MARGIN & PADDING
.l-offset-nav, .l-offset-nav,

View File

@ -87,31 +87,4 @@ $hero-padding: ($unit * 10) ($unit * 6) ($unit * 5);
display: block; 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;
}
}
} }