-
-
Save sethshoultes/78205b3ea435ccc27130 to your computer and use it in GitHub Desktop.
Adds new buttons to HelpScout Docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Replace default Contact Us url in HelpScout Docs with custom url and add a My Account link to the top menu --> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script> | |
$(function() { | |
$("#contact a,#sbContact,#sbContactMobile, #contactMobile a").attr("href", "https://app.sellwp.co/seedprod/ticket").text('Open a Ticket'); | |
$( "#mainNav .nav" ).append( "<li><a href='http://www.seedprod.com/members'>My Account</a></li>" ); | |
}); | |
</script> | |
<!-- SeedProd.com custom styles --> | |
<style> | |
textarea:focus, input[type="text"]:focus{ | |
border-color: rgba(123, 177, 64, 0.8); | |
box-shadow: none} | |
.brand img{ | |
width:150px; | |
} | |
.navbar .navbar-inner,#docsSearch { | |
background: #fafafa; | |
} | |
.navbar .brand, .navbar .nav li a:hover, .navbar .nav li a:focus, .navbar .nav .active a, .navbar .nav .active a:hover, .navbar .nav .active a:focus { | |
color: #333; | |
} | |
#searchBar button { | |
color: #ffffff; | |
background-color: #8dc153; | |
border-color: #8dc153; | |
} | |
a{ | |
color: #7BB140; | |
} | |
#searchBar button:hover, | |
#searchBar button:focus, | |
#searchBar button:active, | |
#searchBar button.active, | |
.open .dropdown-toggle#searchBar button { | |
color: #ffffff; | |
background-color: #7BB140; | |
border-color: #7BB140; | |
} | |
#searchBar button:active, | |
#searchBar button.active, | |
.open .dropdown-toggle#searchBar button { | |
background-image: none; | |
} | |
#searchBar button.disabled, | |
#searchBar button[disabled], | |
fieldset[disabled] #searchBar button, | |
#searchBar button.disabled:hover, | |
#searchBar button[disabled]:hover, | |
fieldset[disabled] #searchBar button:hover, | |
#searchBar button.disabled:focus, | |
#searchBar button[disabled]:focus, | |
fieldset[disabled] #searchBar button:focus, | |
#searchBar button.disabled:active, | |
#searchBar button[disabled]:active, | |
fieldset[disabled] #searchBar button:active, | |
#searchBar button.disabled.active, | |
#searchBar button[disabled].active, | |
fieldset[disabled] #searchBar button.active { | |
background-color: #8dc153; | |
border-color: #8dc153; | |
} | |
#searchBar button .badge { | |
color: #7BB140; | |
background-color: #ffffff; | |
} | |
</style> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment