Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created custom JSDuck theme, integrated with doc build process.
Fixes #108
- Loading branch information
John Yanarella
committed
Jul 1, 2013
1 parent
d491cb7
commit d7f0395
Showing
16 changed files
with
189 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"--title": "Deft JS - v${deftjs.version} API Documentation", | ||
"--ext-namespaces": "Ext", | ||
"--ignore-global": true, | ||
"--head-html": [ | ||
"<link rel=\"stylesheet\" href=\"theme/resources/css/theme.css\" type=\"text/css\" />", | ||
"<script type=\"text/javascript\" src=\"theme/resources/js/theme.js\"></script>" | ||
], | ||
"--output": "docs", | ||
"--": [ | ||
"src/js" | ||
] | ||
} |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#loading .logo { | ||
background: url(../images/loading.gif) no-repeat center; | ||
background-size: 64px 64px; | ||
} | ||
|
||
#north-region { | ||
background: #4e4e4e; /* Old browsers */ | ||
background: -moz-linear-gradient(top, #4e4e4e 0%, #3e3e3e 100%); /* FF3.6+ */ | ||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4e4e4e), color-stop(100%,#3e3e3e)); /* Chrome,Safari4+ */ | ||
background: -webkit-linear-gradient(top, #4e4e4e 0%,#3e3e3e 100%); /* Chrome10+,Safari5.1+ */ | ||
background: -o-linear-gradient(top, #4e4e4e 0%,#3e3e3e 100%); /* Opera 11.10+ */ | ||
background: -ms-linear-gradient(top, #4e4e4e 0%,#3e3e3e 100%); /* IE10+ */ | ||
background: linear-gradient(to bottom, #4e4e4e 0%,#3e3e3e 100%); /* W3C */ | ||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e4e4e', endColorstr='#3e3e3e',GradientType=0 ); /* IE6-9 */ | ||
} | ||
|
||
#north-region .dropdown { | ||
background-position: center right; | ||
} | ||
|
||
#north-region #header-content { | ||
height: 42px; | ||
background: url(../images/logo.png) 0 0 no-repeat; | ||
background-size: 32px 32px; | ||
padding-top: 8px; | ||
padding-left: 38px; | ||
font-size: 16px; | ||
} | ||
|
||
#search-container { | ||
margin: 12px 0 0 0 !important; | ||
} | ||
|
||
.doctab.overview.classes { | ||
margin-right: 182px; | ||
} | ||
|
||
.doctabs .doctab .l { | ||
background: url(../images/tabs.png) no-repeat -8px -141px; | ||
} | ||
.doctabs .doctab .m { | ||
background: url(../images/tabs.png) repeat-x 0 -173px; | ||
} | ||
.doctabs .doctab .r { | ||
background: url(../images/tabs.png) no-repeat 0 -239px; | ||
} | ||
|
||
#center-container h1, #center-container h1 .class-source-link { | ||
color: #222222; | ||
} | ||
|
||
.class-overview .new-keyword { | ||
color: #3c84c5; | ||
} | ||
|
||
a:link, a:visited { | ||
color: #3c84c5; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Ext.define('Docs.view.CustomViewport', { | ||
override: 'Docs.view.Viewport', | ||
|
||
initComponent: function () { | ||
this.callParent(); | ||
|
||
// Resize the north region and header. | ||
var northRegion = Ext.getCmp('north-region'); | ||
northRegion.setHeight(80); | ||
northRegion.child('container').setHeight(52); | ||
} | ||
}); |
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
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#loading .logo { | ||
background: url(../images/loading.gif) no-repeat center; | ||
background-size: 64px 64px; | ||
} | ||
|
||
#north-region { | ||
background: #4e4e4e; /* Old browsers */ | ||
background: -moz-linear-gradient(top, #4e4e4e 0%, #3e3e3e 100%); /* FF3.6+ */ | ||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4e4e4e), color-stop(100%,#3e3e3e)); /* Chrome,Safari4+ */ | ||
background: -webkit-linear-gradient(top, #4e4e4e 0%,#3e3e3e 100%); /* Chrome10+,Safari5.1+ */ | ||
background: -o-linear-gradient(top, #4e4e4e 0%,#3e3e3e 100%); /* Opera 11.10+ */ | ||
background: -ms-linear-gradient(top, #4e4e4e 0%,#3e3e3e 100%); /* IE10+ */ | ||
background: linear-gradient(to bottom, #4e4e4e 0%,#3e3e3e 100%); /* W3C */ | ||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e4e4e', endColorstr='#3e3e3e',GradientType=0 ); /* IE6-9 */ | ||
} | ||
|
||
#north-region .dropdown { | ||
background-position: center right; | ||
} | ||
|
||
#north-region #header-content { | ||
height: 42px; | ||
background: url(../images/logo.png) 0 0 no-repeat; | ||
background-size: 32px 32px; | ||
padding-top: 8px; | ||
padding-left: 38px; | ||
font-size: 16px; | ||
} | ||
|
||
#search-container { | ||
margin: 12px 0 0 0 !important; | ||
} | ||
|
||
.doctab.overview.classes { | ||
margin-right: 182px; | ||
} | ||
|
||
.doctabs .doctab .l { | ||
background: url(../images/tabs.png) no-repeat -8px -141px; | ||
} | ||
.doctabs .doctab .m { | ||
background: url(../images/tabs.png) repeat-x 0 -173px; | ||
} | ||
.doctabs .doctab .r { | ||
background: url(../images/tabs.png) no-repeat 0 -239px; | ||
} | ||
|
||
#center-container h1, #center-container h1 .class-source-link { | ||
color: #222222; | ||
} | ||
|
||
.class-overview .new-keyword { | ||
color: #3c84c5; | ||
} | ||
|
||
a:link, a:visited { | ||
color: #3c84c5; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Ext.define('Docs.view.CustomViewport', { | ||
override: 'Docs.view.Viewport', | ||
|
||
initComponent: function () { | ||
this.callParent(); | ||
|
||
// Resize the north region and header. | ||
var northRegion = Ext.getCmp('north-region'); | ||
northRegion.setHeight(80); | ||
northRegion.child('container').setHeight(52); | ||
} | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"--title": "Deft JS - v0.9.0pre API Documentation", | ||
"--ext-namespaces": "Ext", | ||
"--ignore-global": true, | ||
"--head-html": [ | ||
"<link rel=\"stylesheet\" href=\"theme/resources/css/theme.css\" type=\"text/css\" />\n", | ||
"<script type=\"text/javascript\" src=\"theme/resources/js/theme.js\"></script>" | ||
], | ||
"--output": "docs", | ||
"--": [ | ||
"src/js" | ||
] | ||
} |