parent
630dd48429
commit
e24e01d988
|
@ -127,8 +127,8 @@ else:
|
|||
|
||||
def setup(app):
|
||||
app.add_stylesheet('custom.css?v=1')
|
||||
# app.add_javascript('helpfulness.js')
|
||||
app.add_javascript('disqus.js')
|
||||
app.add_javascript('helpfulness.js')
|
||||
if on_rtd:
|
||||
app.add_javascript('wedc.js')
|
||||
|
||||
|
|
|
@ -15,8 +15,6 @@ h1, h2, h3, h4, h5, h6, legend {
|
|||
font-family: 'Segoe UI Light','Segoe UI',Tahoma,Arial,Helvetica,sans-serif;
|
||||
}
|
||||
|
||||
a, a:link, a:visited { color: #2b59a9; }
|
||||
|
||||
.wy-nav-side {
|
||||
background: #ddd;
|
||||
overflow-y: auto;
|
||||
|
@ -70,7 +68,7 @@ a, a:link, a:visited { color: #2b59a9; }
|
|||
.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand,
|
||||
.wy-menu-vertical li.toctree-l1.current>a.current,
|
||||
.wy-menu-vertical li.toctree-l2.current>a {
|
||||
background-color: #2b3990;
|
||||
background-color: #0054a3;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
@ -102,7 +100,7 @@ a, a:link, a:visited { color: #2b59a9; }
|
|||
}
|
||||
|
||||
.rst-content .note .admonition-title {
|
||||
background: #2b3990;
|
||||
background: #0054a3;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
@ -114,7 +112,7 @@ a, a:link, a:visited { color: #2b59a9; }
|
|||
.rst-content .toctree-wrapper ul li a:hover,
|
||||
.rst-content .toctree-wrapper ul li a:visited
|
||||
{
|
||||
color: #2b59a9;
|
||||
color: #267cb2;
|
||||
}
|
||||
|
||||
.rst-content .toctree-wrapper ul li a:hover,
|
||||
|
@ -146,7 +144,7 @@ a, a:link, a:visited { color: #2b59a9; }
|
|||
}
|
||||
|
||||
.btn-neutral:hover {
|
||||
background-color: #2b3990 !important;
|
||||
background-color: #0054a3 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
|
@ -155,9 +153,9 @@ a, a:link, a:visited { color: #2b59a9; }
|
|||
|
||||
|
||||
/* helpfulness.css - start */
|
||||
.helpfulness-container { background: #2b3990; padding:15px 0; color:#fff; z-index:201; width:100%; bottom:0; position:relative; }
|
||||
.helpfulness-container { background: #0054a3; padding:15px 0; color:#fff; z-index:201; width:100%; bottom:0; position:relative; }
|
||||
.helpfulness-container.fixed { position:fixed; }
|
||||
.helpfulness { margin: 0 auto; max-width:1160px; padding:0 35px 0 20px; }
|
||||
.helpfulness { margin: 0 auto; max-width:1160px; padding:0 20px; }
|
||||
.helpfulness:after { clear: both;content: '.';display: block;visibility: hidden;height: 0; }
|
||||
.helpfulness .helpfulness-form h2 { color:#fff; margin-bottom:0; margin-right:10px; float:left; font-size:18px; line-height:28px; }
|
||||
.helpfulness .helpfulness-form span { line-height:28px; }
|
||||
|
@ -181,9 +179,6 @@ a.helpfulness-close:hover { text-decoration:none; color:#3BABD0; }
|
|||
/* helpfulness.css - end */
|
||||
|
||||
/* helpfulness.css overrides - start */
|
||||
.helpfulness-container { padding-left:300px; }
|
||||
@media screen and (max-width: 768px) { .helpfulness-container { padding-left:0; } }
|
||||
|
||||
.helpfulness { max-width:none; }
|
||||
|
||||
.common-btn, .btn-install {background:#6CB200;color:#fff;border:0;padding:10px 15px;font-size:14px;display:inline-block;text-transform:uppercase;}
|
||||
|
|
|
@ -122,7 +122,7 @@ $.throttle = function (fn, threshhold, scope) {
|
|||
|
||||
$.ajax({
|
||||
context: this,
|
||||
url: options.domain + "/umbraco/api/helpfulnessapi/reportsummarybyid",
|
||||
url: options.domain + "/base/HelpfulnessLibrary/ReportSummaryById",
|
||||
type: "POST",
|
||||
data: {
|
||||
contentId: this.targetDocumentId,
|
||||
|
@ -199,7 +199,7 @@ $.throttle = function (fn, threshhold, scope) {
|
|||
|
||||
$.ajax({
|
||||
context: this,
|
||||
url: options.domain + "/umbraco/api/helpfulnessapi/submityes",
|
||||
url: options.domain + "/base/HelpfulnessLibrary/SubmitYes",
|
||||
type: "POST",
|
||||
data: {
|
||||
pickerId: this.targetPickerId,
|
||||
|
@ -239,7 +239,7 @@ $.throttle = function (fn, threshhold, scope) {
|
|||
|
||||
$.ajax({
|
||||
context: this,
|
||||
url: options.domain + "/umbraco/api/helpfulnessapi/submitno",
|
||||
url: options.domain + "/base/HelpfulnessLibrary/SubmitNo",
|
||||
type: "POST",
|
||||
data: {
|
||||
pickerId: this.targetPickerId,
|
||||
|
@ -313,7 +313,7 @@ $(function ()
|
|||
$.Helpfulness({
|
||||
maxCharacters: 1000,
|
||||
alwaysFixed: true,
|
||||
domain: "https://www.asp.net",
|
||||
domain: "http://www.asp.net",
|
||||
isDocs: true
|
||||
}).init();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue