Skip to content

Commit 036c9ce

Browse files
committed
Fixes
1 parent f380d67 commit 036c9ce

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

api-explorer/index.jade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
div#api-explorer
22

33
script(src="https://d19p4zemcycm7a.cloudfront.net/api-explorer/api-explorer.js", type="text/javascript")
4+
link(rel="stylesheet", href="https://d19p4zemcycm7a.cloudfront.net/api-explorer/api-explorer.css", type="text/css")
45

56
script
67
require(['api-explorer'], function () {

themes/default/public/css/docs.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,25 @@
239239
.page-docs .sidebar-docs ul li.box a:hover {
240240
color: #000;
241241
}
242-
.page-docs .sidebar-docs ul li.box.box-laptop,
243-
.page-docs .sidebar-docs ul li.box.box-terminal {
242+
.page-docs .sidebar-docs ul li.box.box-terminal,
243+
.page-docs .sidebar-docs ul li.box.box-mobile-phone,
244+
.page-docs .sidebar-docs ul li.box.box-html5 {
244245
background: #f9f9f9;
245246
border-color: transparent;
246247
}
247-
.page-docs .sidebar-docs ul li.box.box-laptop {
248+
.page-docs .sidebar-docs ul li.box.box-terminal,
249+
.page-docs .sidebar-docs ul li.box.box-mobile-phone {
248250
margin-bottom: 0;
249251
padding-bottom: 0;
250252
}
253+
.page-docs .sidebar-docs ul li.box.box-mobile-phone {
254+
border-radius: 0;
255+
}
256+
.page-docs .sidebar-docs ul li.box.box-html5 {
257+
border-radius: 0;
258+
border-bottom-right-radius: 3px;
259+
border-bottom-left-radius: 3px;
260+
}
251261
.page-docs .sidebar-docs ul li {
252262
line-height: 28px;
253263
}
@@ -276,7 +286,6 @@
276286
color: #000 !important;
277287
}
278288
.page-docs .sidebar-docs li.box-laptop:before {
279-
content: "Tutorials";
280289
text-transform: uppercase;
281290
font-weight: bold;
282291
font-size: 12px;

themes/default/public/css/docs.styl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,21 @@ color_win8_cs= #f00;
272272
&:hover
273273
color: black;
274274

275-
&.box-laptop, &.box-terminal
275+
&.box-terminal, &.box-mobile-phone, &.box-html5
276276
background: #f9f9f9;
277277
border-color: transparent;
278278

279-
&.box-laptop
279+
&.box-terminal, &.box-mobile-phone
280280
margin-bottom: 0;
281281
padding-bottom: 0;
282282

283+
&.box-mobile-phone
284+
border-radius: 0;
283285

286+
&.box-html5
287+
border-radius: 0;
288+
border-bottom-right-radius: 3px;
289+
border-bottom-left-radius: 3px;
284290

285291
ul
286292
li
@@ -315,7 +321,6 @@ color_win8_cs= #f00;
315321

316322

317323
li.box-laptop:before
318-
content: "Tutorials"
319324
text-transform: uppercase
320325
font-weight: bold;
321326
font-size: 12px;

themes/default/views/base.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,11 @@ html(lang="en")
214214

215215

216216

217-
script(src='https://docs.myauth0.com/js/prettify.js')
217+
script(src='https://docs.auth0.com/js/prettify.js')
218218
script(type='text/javascript')
219219

220220
!function ($) {
221221
$(function(){
222-
223222
$('pre').each(function (i, e) {
224223
// Ignore 'pre' elements inside .api-explorer elements
225224
if ($(e).closest('.api-explorer').length === 0) {
@@ -246,7 +245,7 @@ html(lang="en")
246245
$('h2,h3,h4').each(function(){
247246
$(this)
248247
.attr('id', sectionIndex)
249-
.prepend('<a class="anchor" href="#' + sectionIndex + '"><i class="icon icon-budicon-345"></i></a>');
248+
.prepend('<a class="anchor" href="#' + sectionIndex + '"><i class="icon icon-link"></i></a>');
250249
sectionIndex++;
251250
});
252251
@@ -255,3 +254,4 @@ html(lang="en")
255254
}
256255
257256
$('.fixit a').attr('href', 'https://github.com/auth0/docs/tree/master/docs' + window.location.pathname + '.md');
257+

0 commit comments

Comments
 (0)