UNPKG

suh-dgeni-ngdocs

Version:

A package to generate ng-docs similar to what is used on AngularJS website.

503 lines (422 loc) 8.17 kB
html, body { position:relative; height:100%; font-family:'Open Sans',sans-serif; } h1{ font-size:3rem; font-weight:500; } .api-profile-header-heading{ margin:1.2rem 0rem; /*color:teal;*/ } .naked-list,.naked-list ul ul.naked-list, ul.naked-list ul, ol.naked-list, ol.naked-list ul{ list-style: none; padding:0px; margin:0px; } .naked-list li, ul.naked-list li, ol.naked-list li{ padding-left:1.5rem; } .api-profile-description{ padding:2rem 0rem; } table.definition-table{ width:100%; } .definition-table th{ padding:5px 0px; } .definition-table td{ padding:5px 0px; font-weight:300; } .api-profile-header-heading { margin:0; padding:0; } .api-profile-header-structure, .api-profile-header-structure a { font-family: "Open Sans"; font-weight:bold; color:#999; } .api-profile-section { margin-top:30px; padding-top:30px; border-top:1px solid #aaa; } pre { white-space: pre-wrap; word-break: normal; } .aside-nav a, .aside-nav a:link, .aside-nav a:visited, .aside-nav a:active { color:#999; } .aside-nav a:hover { color:black; } .api-profile-description > p:first-child { margin:15px 0; font-size:18px; } p > code, code.highlighted { background:#f4f4f4; border-radius:5px; padding:2px 5px; color:maroon; } ul + p { margin-top: 10px; } .docs-version-jump { min-width:100%; max-width:100%; } .picker { position: relative; width: auto; display: inline-block; margin: 0 0 2px 1.2%; overflow: hidden; border: 1px solid #e5e5e5; -webkit-border-radius: 4px; -moz-border-radius: 4px; -ms-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; font-family: "Open Sans"; font-weight: 600; height: auto; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2)); background-image: -webkit-linear-gradient(#ffffff, #f2f2f2); background-image: -moz-linear-gradient(#ffffff, #f2f2f2); background-image: -o-linear-gradient(#ffffff, #f2f2f2); background-image: linear-gradient(#ffffff, #f2f2f2); } .picker select { position: relative; display: block; min-width: 100%; width: 120%; height: 34px; padding: 6px 30px 6px 15px; color: #555555; border: none; background: transparent; outline: none; -webkit-appearance: none; z-index: 99; cursor: pointer; font-size: 16px; -moz-appearance: none; text-indent: 0.01px; text-overflow: ''; } .picker:after { content:""; position: absolute; right: 8%; top: 50%; z-index: 0; color: #999; width: 0; margin-top:-2px; height: 0; border-top: 6px solid; border-right: 6px solid transparent; border-left: 6px solid transparent; } iframe.example { width: 100%; border: 1px solid black; } .search-results-frame { clear:both; display:table; width:100%; } .search-results.ng-hide { display:none; } .search-results-container { padding-bottom:1em; border-top:1px solid #111; background:#181818; box-shadow:inset 0 0 10px #111; } .search-results-container .search-results-group { vertical-align:top; padding:10px 10px; display:inline-block; } .search-results-group-heading { font-family: "Open Sans"; padding-left:10px; color:white; } .search-results-frame > .search-results-group:first-child > .search-results { border-right:1px solid #050505; } .search-results-group.col-group-api { width:30%; } .search-results-group.col-group-guide, .search-results-group.col-group-tutorial { width:20%; } .search-results-group.col-group-misc, .search-results-group.col-group-error { width:15%; float: right; } .search-results-group.col-group-api .search-result { width:48%; display:inline-block; } .search-close { position: absolute; bottom: 0; left: 50%; margin-left: -100px; color: white; text-align: center; padding: 5px; background: #333; border-top-right-radius: 5px; border-top-left-radius: 5px; width: 200px; box-shadow:0 0 10px #111; } .variables-matrix { border:1px solid #ddd; width:100%; margin:10px 0; } .variables-matrix td, .variables-matrix th { padding:10px; } .variables-matrix td { border-top:1px solid #eee; } .variables-matrix td + td, .variables-matrix th + th { border-left:1px solid #eee; } .variables-matrix tr:nth-child(even) td { background:#f5f5f5; } .variables-matrix th { background:#f1f1f1; } .sup-header { padding-top:10px; padding-bottom:5px; background:rgba(245,245,245,0.88); box-shadow:0 0 2px #999; } .main-body-grid { margin-top:120px; position:relative; } .main-body-grid > .grid-left, .main-body-grid > .grid-right { padding:20px 0; } .main-body-grid > .grid-left { position:fixed; top:120px; bottom:0; overflow:auto; } .main-header-grid > .grid-left, .main-body-grid > .grid-left { width:260px; } .main-header-grid > .grid-right, .main-body-grid > .grid-right { margin-left:270px; position:relative; } .main-header-grid > .grid-left { float:left; } .main-body-grid .side-navigation { position:relative; padding-bottom:120px; } .main-body-grid .side-navigation.ng-hide { display:block!important; } .variables-matrix td { vertical-align:top; padding:5px; } .type-hint { display:inline-block; background: gray; } .variables-matrix .type-hint { text-align:center; min-width:60px; margin:1px 5px; } .type-hint + .type-hint { margin-top:5px; } .type-hint-expression { background:purple; } .type-hint-date { background:pink; } .type-hint-string { background:#3a87ad; } .type-hint-function { background:green; } .type-hint-object { background:#999; } .type-hint-array { background:#F90;; } .type-hint-boolean { background:rgb(18, 131, 39); } .type-hint-number { background:rgb(189, 63, 66); } .type-hint-regexp { background: rgb(90, 84, 189); } .type-hint-domelement { background: rgb(95, 158, 160); } .runnable-example-frame { width:100%; height:300px; border: 1px solid #ddd; border-radius:5px; } .runnable-example-tabs { margin-top:10px; margin-bottom:20px; } .tutorial-nav { display:block; } h1 + ul, h1 + ul > li, h2 + ul, h2 + ul > li, ul.tutorial-nav, ul.tutorial-nav > li, .usage > ul, .usage > ul > li, ul.methods, ul.methods > li, ul.events, ul.events > li { list-style:none; padding:0; } h2 { border-top:1px solid #eee; margin-top:30px; padding-top:30px; } h4 { margin-top:20px; padding-top:20px; } .view-source, .improve-docs { position:relative; z-index:100; } .view-source { margin-right:10px; } .improve-docs { float:right; } .return-arguments, .return-arguments th, .return-arguments th + th, .return-arguments td, .return-arguments td + td { border-radius:0; border:0; } .return-arguments td:first-child { width:100px; } ul.methods > li, ul.events > li { margin-bottom:40px; } .definition-table td { padding: 8px; border: 1px solid #eee; vertical-align: top; } @media only screen and (min-width: 769px) and (max-width: 991px) { .main-body-grid { margin-top: 160px; } .main-body-grid > .grid-left { top: 160px; } } @media only screen and (max-width : 768px) { .picker, .picker select { width:auto; display:block; margin-bottom:10px; } .docs-navbar-primary { text-align:center; } .main-body-grid { margin-top:0; } .toc-toggle { margin-bottom:20px; } .toc-close { position: absolute; bottom: 5px; left: 50%; margin-left: -50%; text-align: center; padding: 5px; background: #eee; border-radius: 5px; width: 100%; border:1px solid #ddd; box-shadow:0 0 10px #bbb; } .search-results-container { padding-bottom:60px; text-align:left; } .search-results-group { float:none!important; display:block!important; width:auto!important; border:0!important; padding:0!important; } .search-results-group .search-result { display:inline-block!important; padding:0 5px; width:auto!important; } .search-results-group .search-result:after { content:", "; } #wrapper { padding-bottom:0px; } } iframe[name="example-anchoringExample"] { height:400px; }