some restyle

This commit is contained in:
Aleksey Chichenkov 2018-10-10 14:00:35 +03:00
parent 27e785d1da
commit 905b0f7cb5
20 changed files with 218 additions and 224 deletions

View File

@ -82,4 +82,14 @@ function ProvidersSystem() {
* @type {number}
*/
this.s_platform_broken = -1;
/**
*
*
* @name s_wait_login
* @public
* @memberof ProvidersSystem
* @type {number}
*/
this.s_wait_login = -1;
}

View File

@ -0,0 +1,162 @@
div.min-methods{
padding-bottom: 20px;
}
.bold {
font-weight: bold;
}
div.compact-method > .name,
div.compact-method > .name a,
div.container-overview > span.name,
div.container-overview > span.name a,
div.min-methods > .title,
div.full-method > .title span
{
font-size: 24px;
}
.name, .signature {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
color: #d85a00;
}
* {
font-size: 15px;
}
div.type > span.name,
div.type > span.name a,
div.returns > span.name,
div.returns > span.name a,
div.short > span.name,
div.short > span.name a,
span.access,
div.params span,
div.returns span,
dl.article-sub-classes a,
ul.extends li a
{
font-size: 20px;
}
.ib {
display: inline-block;
}
.bs {
box-sizing: border-box;
}
.container-overview,
.mainpage {
margin-bottom: 10px;
}
div.container-overview > div.desc,
div.mainpage > div.desc {
font-size: 15px;
}
div.desc p {
margin: 0;
padding: 0;
}
div.container-overview > .desc,
div.part > div.desc {
font-size: 15px;
box-sizing: border-box;
padding: 5px;
}
div.container-overview > .desc > pre,
div.part > pre {
margin: 0px;
margin-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
div.container-overview > div.desc,
div.mainpage > div.part
{
background: #f3f3f3;
}
div.container-overview ul,
div.mainpage ul,
h3,
h4,
h5 {
margin: 0;
}
div.container-overview h5,
div.mainpage h5{
font-size: initial;
font-weight: initial;
letter-spacing: initial;
}
div.container-overview li,
div.mainpage li {
list-style: none;
}
div.container-overview ul,
div.mainpage ul {
box-sizing: border-box;
padding-left: 25px;
}
div.container-overview,
.part {
margin-top: 3px;
padding: 3px;
}
.bdotted {
border-radius: 4px;
border-width: 1px;
border-color: #c7c7c7;
border-style: dotted;
}
.desc blockquote {
margin-top: 0;
margin-bottom: 0;
}
div.off-font {
font-size: 0;
}
h2 span,
h2 a,
h2, h3.subsection-title
{
font-size: 30px;
font-weight: 700;
letter-spacing: -1px;
margin-bottom: 12px;
margin-top: 22px;
}
h3, h3 a
{
font-size: 24px;
letter-spacing: -0.5px;
margin-bottom: 12px;
}
h4, h4 a
{
font-size: 18px;
letter-spacing: -0.33px;
color: #4d4e53;
}
.compact-method .param > .name:before {
content: " ";
width: 4px;
display: inline-block;
}

View File

@ -1,7 +1,3 @@
.part {
margin-top: 3px;
padding: 3px;
}
.full-methods > .title {
font-size: 28px;

View File

@ -186,30 +186,6 @@ h1
margin: 12px 24px 20px;
}
h2, h3.subsection-title
{
font-size: 30px;
font-weight: 700;
letter-spacing: -1px;
margin-bottom: 12px;
margin-top: 22px;
}
h3
{
font-size: 24px;
letter-spacing: -0.5px;
margin-bottom: 12px;
}
h4
{
font-size: 18px;
letter-spacing: -0.33px;
/*margin-bottom: 12px;*/
color: #4d4e53;
margin-top: 45px;
}
h5, .container-overview .subsection-title
{
@ -297,11 +273,6 @@ tr > th:last-child { border-right: 1px solid #ddd; }
color: rgba(52, 109, 0, 0.71);
}
.name, .signature {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
color: #d85a00;
font-weight: bold;
}
article ul {
padding: 0px 0px 0px 31px;
@ -338,16 +309,6 @@ article ul {
.details pre.prettyprint { margin: 0 }
.details .object-value { padding-top: 0; }
.description {
font-size: 17px;
border-radius: 7px;
color: #000000;
border: 1px solid #e2e2e2;
background: rgb(245, 245, 245);
box-sizing: border-box;
padding: 5px;
}
.code-caption
{
font-style: italic;
@ -416,9 +377,9 @@ article ul {
}
.params .name, .props .name, .name code {
color: #4D4E53;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 100%;
/*color: #4D4E53;*/
/*font-family: Consolas, Monaco, 'Andale Mono', monospace;*/
/*font-size: 100%;*/
}
.params td.description > p:first-child,
@ -449,9 +410,3 @@ article ul {
font-size: 17px;
}
.bdotted {
border-radius: 4px;
border-width: 1px;
border-color: #c7c7c7;
border-style: dotted;
}

View File

@ -1,49 +0,0 @@
.mainpage {
margin-bottom: 10px;
}
div.mainpage > div.desc {
font-size: 15px;
}
div.desc p {
margin: 0;
padding: 0;
}
div.part > div.desc {
font-size: 15px;
box-sizing: border-box;
padding: 5px;
/*padding-bottom: 0px;*/
}
div.part > pre {
margin: 0px;
margin-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
div.mainpage > div.part {
background: #f3f3f3;
}
div.mainpage ul, h3, h4, h5 {
margin: 0;
}
div.mainpage h5{
font-size: initial;
font-weight: initial;
letter-spacing: initial;
}
div.mainpage li {
list-style: none;
}
div.mainpage ul {
box-sizing: border-box;
padding-left: 25px;
}

View File

@ -1,78 +0,0 @@
.min-methods{
padding-bottom: 20px;
}
.min-methods .title {
font-size: 28px;
font-weight: bold;
margin-top: 20px;
}
.min-methods .list {
padding-left: 20px;
padding-top: 10px;
}
.min-methods .list .compact-method {
font-size: 20px;
font-weight: normal;
font-family: 'Open Sans', sans-serif !important;
}
.min-methods .list .compact-method .access{
padding-right: 10px;
display: inline-block;
width: 50px;
}
.min-methods .list .compact-method .name{
color: #0137ff;
font-size: 24px;
font-weight: normal;
display: inline-block;
min-width: 70px;
}
.min-methods .list .compact-method .params {
}
.min-methods .list .compact-method .param {
font-weight: normal;
}
.min-methods .list .compact-method .param .left-circle-bracket{}
.min-methods .list .compact-method .param .right-circle-bracket{}
.min-methods .list .compact-method .param .type{}
.min-methods .list .compact-method .param .type .left-quad-bracket{}
.min-methods .list .compact-method .param .type .name{
color: #3d7700;
font-size: 19px;
min-width: initial;
}
.min-methods .list .compact-method .param .type .right-quad-bracket{}
.min-methods .list .compact-method .param .name{
color: #a7a7a7;
font-size: 20px;
min-width: initial;
}
.min-methods .list .compact-method .returns{}
.min-methods .list .compact-method .returns .arrow{}
.min-methods .list .compact-method .returns .left-figure-bracket{}
.min-methods .list .compact-method .returns .right-figure-bracket{}
.min-methods .list .compact-method .returns .name{
color: #5aa30e;
font-size: 20px;
font-weight: normal;
min-width: initial;
}
.full-method > .description > p {
margin-top: 0;
margin-bottom: 0;
}
.parameter > .description > p {
margin-top: 0;
margin-bottom: 0;
}

View File

@ -37,13 +37,13 @@
<sup class="variation"><?js= doc.variation ?></sup><?js }
if (doc.signature && !doc.hideconstructor) { ?><?js= doc.signature ?><?js } ?></h2>
<?js if (doc.classdesc) { ?>
<div class="class-description"><?js= doc.classdesc ?></div>
<div class="class-description bdotted"><?js= doc.classdesc ?></div>
<?js } ?>
<?js } else if (doc.kind === 'module' && doc.modules) { ?>
<?js doc.modules.forEach(function(module) { ?>
<?js if (module.classdesc) { //console.log("module.classdesc", module.classdesc)?>
<div class="class-description"><?js= module.classdesc ?></div>
<div class="class-description bdotted"><?js= module.classdesc ?></div>
<?js } ?>
<?js }) ?>
<?js } ?>
@ -53,7 +53,7 @@
<div class="container-overview">
<?js if (doc.kind === 'module' && doc.modules) { ?>
<?js if (doc.description) { ?>
<div class="description"><?js= replaces_description ?></div>
<div class="desc bdotted"><?js= replaces_description ?></div>
<?js } ?>
<?js doc.modules.forEach(function(module) { ?>
@ -63,7 +63,7 @@
<?js= self.partial('method.tmpl', doc) ?>
<?js } else { ?>
<?js if (doc.description) { ?>
<div class="description"><?js= replaces_description ?></div>
<div class="desc bdotted"><?js= replaces_description ?></div>
<?js } ?>
<?js // self.partial('details.tmpl', doc) ?>
@ -159,8 +159,10 @@
var methods = self.find({kind: 'function', memberof: isGlobalPage ? {isUndefined: true} : doc.longname});
if (methods && methods.length && methods.forEach) {
?>
<br>
<div class="min-methods">
<div class="title">Methods:</div>
<div class="title bold">Methods:</div>
<div class="list">
<?js methods.forEach(function(m) { ?>
<?js= self.partial('method_compact.tmpl', m) ?>

View File

@ -107,13 +107,6 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
</ul></dd>
<?js } ?>
<?js if (data.meta && self.outputSourceFiles) {?>
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<?js= self.linkto(meta.shortpath) ?>, <?js= self.linkto(meta.shortpath, 'line ' + meta.lineno, null, 'line' + meta.lineno) ?>
</li></ul></dd>
<?js } ?>
<?js if (data.tutorials && tutorials.length) {?>
<dt class="tag-tutorial">Tutorials:</dt>
<dd class="tag-tutorial">

View File

@ -11,7 +11,7 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
<div class="title"><span><?js= method.name ?></span></div>
<?js if(method.description) { ?>
<div class="description part bdotted"><?js= self.replace_enters_to_br(method.description) ?></div>
<div class="desc part bdotted"><?js= self.replace_enters_to_br(method.description) ?></div>
<?js } ?>
<div class="short bdotted part">
@ -22,21 +22,21 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
</div>
<?js if (method.examples && method.examples.length) { ?>
<div class="params-desc params-example bdotted part">
<div class="desc params-example bdotted part">
<div class="title">Examples: </div>
<?js= self.partial('examples.tmpl', method.examples) ?>
</div>
<?js } ?>
<?js if(method.params) { ?>
<div class="params-desc bdotted part">
<div class="desc bdotted part">
<div class="title">Params</div>
<?js= self.partial('full_method/params_full.tmpl', method.params) ?>
</div>
<?js } ?>
<?js if(method.returns) { ?>
<div class="params-desc bdotted part">
<div class="desc bdotted part">
<div class="title">Returns</div>
<?js= self.partial('full_method/returns_full.tmpl', method.returns) ?>
</div>

View File

@ -13,17 +13,17 @@ var self = this;
<span class="name"><?js= param.name ?></span>
<?js if(param.type) { ?>
<span class="type">
<div class="type off-font ib">
<span class="left-circle-bracket">(</span>
<span class="name"><?js= self.linkto(param.type.names[0]) ?></span>
<span class="right-circle-bracket">)</span>
</span>
</div>
<?js } ?>
</div>
<?js if(param.description) { ?>
<div class="description part bdotted"><?js= param.description ?></div>
<div class="desc part bdotted"><?js= param.description ?></div>
<?js } ?>
</div>

View File

@ -7,7 +7,7 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
?>
<span class="params">
<div class="params off-font ib">
<span class="left-circle-bracket">(</span>
<?js
@ -20,13 +20,13 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
//console.log(JSON.stringify(param,true,3))
var type = param.type.names[0];
?>
<span class="param">
<div class="param ib">
<span class="name"><?js= param.name ?></span><?js if(a < data.length - 1) { ?>,<?js } ?>
</span>
</div>
<?js
a++;
}
}
?>
<span class="right-circle-bracket">)</span>
</span>
</div>

View File

@ -11,17 +11,17 @@ var self = this;
<div class="head part bdotted">
<?js if(ret.type) { ?>
<span class="type">
<div class="type off-font ib">
<span class="left-circle-bracket"></span>
<span class="name"><?js= self.linkto(ret.type.names[0]) ?></span>
<span class="right-circle-bracket"></span>
</span>
</div>
<?js } ?>
</div>
<?js if(ret.description) { ?>
<div class="description part bdotted"><?js= ret.description ?></div>
<div class="desc part bdotted"><?js= ret.description ?></div>
<?js } ?>
</div>

View File

@ -10,6 +10,9 @@
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/common.css">
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="styles/dd-menu.css">

View File

@ -16,7 +16,7 @@ var self = this;
<?js } ?>
<?js if (false && part.examples && part.examples.length) { ?>
<div class="params-desc params-example bdotted part">
<div class="desc params-example bdotted part">
<div class="title">Examples: </div>
<?js= self.partial('examples.tmpl', part.examples) ?>
</div>

View File

@ -2,14 +2,14 @@
var data = obj;
var self = this;
?>
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + name + (data.signature ? data.signature : '') ?></h4>
<h4 class="name bold" id="<?js= id ?>"><?js= data.attribs + name + (data.signature ? data.signature : '') ?></h4>
<?js if (data.summary) { ?>
<p class="summary"><?js= summary ?></p>
<?js } ?>
<?js if (data.description) { ?>
<div class="description">
<div class="desc">
<?js= data.description ?>
</div>
<?js } ?>

View File

@ -7,7 +7,7 @@ var self = this;
<div class="parameter part bdotted">
<?js if(data.description) { ?>
<div class="description bdotted"><?js= self.replace_enters_to_br(data.description) ?></div>
<div class="desc bdotted"><?js= self.replace_enters_to_br(data.description) ?></div>
<?js } ?>
<div class="head bdotted part">
@ -17,11 +17,11 @@ var self = this;
<span class="name"><?js= data.name ?></span>
<?js if(data.type) { ?>
<span class="type">
<div class="type off-font ib">
<span class="left-circle-bracket">(</span>
<span class="name"><?js= self.linkto(data.type.names[0]) ?></span>
<span class="right-circle-bracket">)</span>
</span>
</div>
<?js } ?>
</div>

View File

@ -8,7 +8,7 @@ var self = this;
<?js } ?>
<?js if (data.kind !== 'namespace') { ?>
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + (kind === 'class' ? 'new ' : '')
<h4 class="name bold" id="<?js= id ?>"><?js= data.attribs + (kind === 'class' ? 'new ' : '')
+ "<span class='method-name'>" + name + "</span>" + (data.signature || '') ?></h4>
<?js } ?>
@ -18,7 +18,7 @@ var self = this;
<?js } ?>
<?js if (data.kind !== 'module' && data.description && !data.hideconstructor) { ?>
<div class="description">
<div class="desc bdotted">
<?js= this.replace_enters_to_br(data.description) ?>
</div>
<?js } ?>
@ -43,7 +43,7 @@ var self = this;
<?js } ?>
<?js if (data.params && params.length && !data.hideconstructor) { ?>
<div class="params-desc bdotted part">
<div class="desc bdotted part">
<div class="title">Params</div>
<?js= this.partial('full_method/params_full.tmpl', params) ?>
</div>

View File

@ -9,7 +9,7 @@ var self = this;
<span class="access"> <?js= (data.access ? data.access : data.scope) ?></span>
<span class="name"><a href="#<?js= data.id ?>"><?js= name ?></a></span>
<span class="params">
<div class="params off-font ib">
<span class="left-circle-bracket">(</span>
<?js
if(data.params){
@ -20,31 +20,31 @@ var self = this;
//console.log(JSON.stringify(param,true,3))
var type = param.type.names[0];
?>
<span class="param">
<span class="type">
<div class="param ib">
<div class="type off-font ib">
<span class="left-quad-bracket">[</span>
<span class="name"><?js= this.linkto(type) ?></span>
<span class="right-quad-bracket">]</span>
</span>
</div>
<span class="name"><?js= param.name ?></span><?js if(a < data.params.length - 1) { ?>,<?js } ?>
</span>
</div>
<?js
a++;
}
}
?>
<span class="right-circle-bracket">)</span>
</span>
</div>
<?js if(data.returns) { ?>
<?js // console.log(JSON.stringify(data.returns,true,3)) ?>
<?js var rets = data.returns[0].type.names[0]; ?>
<span class="returns">
<div class="returns off-font ib">
<span class="arrow"> → </span>
<span class="left-figure-bracket">{</span>
<span class="name"><?js= this.linkto(rets) ?></span>
<span class="right-figure-bracket">}</span>
</span>
</div>
<?js } ?>
</div>

View File

@ -120,7 +120,7 @@
</td>
<?js } ?>
<td class="description last"><?js= param.description ?><?js if (param.subparams) { ?>
<td class="desc last"><?js= param.description ?><?js if (param.subparams) { ?>
<h6>Properties</h6>
<?js= self.partial('params.tmpl', param.subparams) ?>
<?js } ?></td>

View File

@ -98,7 +98,7 @@
</td>
<?js } ?>
<td class="description last"><?js= prop.description ?><?js if (prop.subprops) { ?>
<td class="desc last"><?js= prop.description ?><?js if (prop.subprops) { ?>
<h6>Properties</h6><?js= self.partial('properties.tmpl', prop) ?>
<?js } ?></td>
</tr>