123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- /*************************************************
- * Documentation layout
- **************************************************/
- .docs-article-container {
- max-width: 760px;
- }
- /* Documentation: article footer. */
- .docs .body-footer {
- border-top: 1px solid #e8e8e8;
- margin-top: 30px;
- padding-top: 10px;
- font-size: 14px;
- color: #707070;
- }
- /* Docs content. */
- .docs-content {
- order: 1;
- position: relative;
- }
- .docs-content>h2[id],
- .docs-content>h3[id],
- .docs-content>h4[id] {
- pointer-events: none;
- }
- .docs-content>ol li,
- .docs-content>ul li {
- margin-bottom: .25rem;
- }
- /* Docs search. */
- .docs-search {
- position: relative;
- padding: 1rem 15px;
- margin-right: -15px;
- margin-left: -15px;
- border-bottom: 1px solid rgba(0, 0, 0, .05);
- }
- .docs-search .form-control:focus {
- border-color: $sta-primary;
- box-shadow: 0 0 0 3px $sta-primary-light;
- }
- /* Docs sidebar. */
- .docs-sidebar {
- order: 0;
- border-bottom: 1px solid rgba(0, 0, 0, .1)
- }
- @media (min-width:768px) {
- .docs-sidebar {
- border-right: 1px solid rgba(0, 0, 0, .1)
- }
- @supports ((position:-webkit-sticky) or (position:sticky)) {
- .docs-sidebar {
- position: -webkit-sticky;
- position: sticky;
- top: 50px;
- z-index: 10;
- height: calc(100vh - 50px)
- }
- }
- }
- @media (min-width:1200px) {
- .docs-sidebar {
- border-right: 1px solid rgba(0, 0, 0, .1)
- }
- @supports ((position:-webkit-sticky) or (position:sticky)) {
- .docs-sidebar {
- position: -webkit-sticky;
- position: sticky;
- top: 70px;
- z-index: 10;
- height: calc(100vh - 70px)
- }
- }
- }
- @media (min-width:1200px) {
- .docs-sidebar {
- flex: 0 1 320px
- }
- }
- /* Hide sidebar in printouts. */
- @media print {
- .docs-sidebar {
- display: none;
- }
- }
- /* Docs sidebar li>a. */
- .docs-sidebar .nav>li>a {
- display: block;
- padding: .25rem 1.5rem;
- font-size: 0.8rem;
- color: rgba(0, 0, 0, .65);
- }
- .docs-sidebar .nav>li>a:hover {
- color: rgba(0, 0, 0, .85);
- text-decoration: none;
- background-color: transparent;
- }
- .docs-sidebar .docs-toc-item.active a,
- .docs-sidebar .docs-toc-item a.active, // Book layout sidebar links
- .docs-sidebar .nav>.active:hover>a,
- .docs-sidebar .nav>.active>a {
- font-weight: bold;
- color: $sta-primary;
- background-color: transparent;
- }
- /* Docs links. */
- .docs-toggle {
- line-height: 1;
- font-size: 1.2rem;
- color: $sta-primary;
- background-color: transparent;
- }
- .docs-links {
- padding-top: 1rem;
- padding-bottom: 1rem;
- margin-right: -15px;
- margin-left: -15px;
- }
- @media (min-width:768px) {
- @supports ((position:-webkit-sticky) or (position:sticky)) {
- .docs-links {
- max-height: calc(100vh - 5rem - 70px);
- overflow-y: auto;
- }
- }
- }
- @media (min-width:768px) {
- .docs-links {
- display: block!important;
- }
- }
- /* Docs TOC. */
- .docs-toc {
- order: 2;
- padding-top: 1.5rem;
- padding-bottom: 1.5rem;
- font-size: .875rem
- }
- @supports ((position:-webkit-sticky) or (position:sticky)) {
- .docs-toc {
- position: -webkit-sticky;
- position: sticky;
- top: 70px;
- height: calc(100vh - 70px);
- overflow-y: auto
- }
- }
- /* Docs TOC item links. */
- .docs-toc-link {
- display: block;
- padding: .25rem 1.5rem;
- font-weight: bold;
- color: rgba(0, 0, 0, .65);
- }
- .docs-toc-link:hover {
- color: rgba(0, 0, 0, .85);
- text-decoration: none;
- }
- .docs-toc-item.active {
- margin-bottom: 1rem;
- }
- .docs-toc-item.active:not(:first-child) {
- margin-top: 1rem;
- }
- .docs-toc-item.active>.docs-toc-link {
- color: rgba(0, 0, 0, .85);
- }
- .docs-toc-item.active>.docs-toc-link:hover {
- background-color: transparent;
- }
- .docs-sidenav {
- display: block;
- }
- /* Docs TOC nav. */
- .docs-toc-title {
- color: #b5b5b5;
- font-size: .875rem;
- font-weight: 600;
- padding-left: calc(1.5rem + 1px);
- }
- #TableOfContents {
- padding-left: 0;
- border-left: 1px solid #eee;
- }
- #TableOfContents ul,
- ul.toc-top {
- padding-left: 0;
- }
- // TOC indentation for each level.
- #TableOfContents ul ul {
- padding-left: 0.8rem;
- }
- #TableOfContents li {
- display: block;
- }
- #TableOfContents li a,
- .toc-top li a {
- display: block;
- padding: .125rem 1.5rem;
- color: #99979c;
- font-size: 0.7rem;
- }
- #TableOfContents li a:hover,
- .toc-top li a:hover {
- color: $sta-primary;
- text-decoration: none;
- }
- /* ScrollSpy active link style. */
- #TableOfContents li a.active {
- color: $sta-primary;
- font-weight: 700;
- }
- /* Docs achnorjs links. */
- .anchorjs-link {
- font-weight: 400;
- color: $sta-primary-dark;
- transition: color .16s linear;
- }
- .anchorjs-link:hover {
- color: $sta-primary;
- text-decoration: none;
- }
|