docusaurus/lib/static/css/main.css
Endilie Yacop Sucipto c8bc00a3a7 Enable using Prism for syntax highlighting (#735)
* Enable user to use prism.js as syntax highlighter

* add package-lock

* if 'usePrism' is true, use prismjs on all languages

* don't get lang by hljs if use prism

* Update api-site-config.md

* Update api-doc-markdown.md

* only load prism css when usePrism is true
2018-06-09 11:38:01 -07:00

1873 lines
No EOL
35 KiB
CSS

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* Base */
body {
background: #f9f9f9;
color: #393939;
font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;
font-size: 16px;
line-height: 1.4em;
min-height: 100vh;
text-align: left;
text-rendering: optimizeLegibility;
}
p {
line-height: 1.4;
}
img {
max-width: 100%;
height: auto;
}
article p img, article iframe {
max-width: 100%;
display: block;
margin-left: auto;
margin-right: auto;
}
a {
color: $primaryColor;
text-decoration: none;
}
a.anchor {
display: block;
position: relative;
top: -62px;
}
a.hash-link {
line-height: 1;
padding-right: 4px;
margin-left: -20px;
opacity: 0;
transition: opacity 0.3s;
}
a.hash-link:hover {
opacity: 1 !important;
transition: none;
}
a.hash-link .hash-link-icon {
vertical-align: middle;
}
h1:hover .hash-link,
h2:hover .hash-link,
h3:hover .hash-link,
h4:hover .hash-link {
opacity: 0.5;
transition: none;
}
blockquote {
padding: 15px 30px 15px 15px;
margin: 20px 0;
background-color: rgba(204, 122, 111, 0.1);
border-left: 5px solid rgba(191, 87, 73, 0.2);
}
.wrapper blockquote > p:first-child {
padding-top: 0;
}
h1, h2, h3, h4 {
font-weight: 300;
color: $primaryColor;
}
h4 {
line-height: 2em;
}
header h2 {
color: white;
font-size: 20px;
}
.homeContainer {
background: #fff;
color: $primaryColor;
text-align: center;
}
.homeContainer .homeWrapper {
padding: 2em 10px;
}
.homeContainer .homeWrapper .wrapper {
margin: 0px auto;
max-width: 900px;
padding: 0 20px;
}
.homeContainer .homeWrapper .projectLogo img {
height: 100px;
margin-bottom: 0px;
}
.homeContainer .homeWrapper h1#project_title {
font-size: 300%;
letter-spacing: -0.08em;
line-height: 1em;
margin-bottom: 80px;
}
.homeContainer .homeWrapper h2#project_tagline {
font-size: 200%;
letter-spacing: -0.04em;
line-height: 1em;
}
.wrapper {
margin: 0px auto;
max-width: 1100px;
padding: 0 20px;
}
.projectLogo {
display: none;
pointer-events: none;
}
.projectLogo img {
height: 100px;
margin-bottom: 0px;
}
.projectIntro {
margin: 40px 0;
}
.fb-like {
display: block;
margin-bottom: 20px;
width: 100%;
}
.center {
display: block;
text-align: center;
}
.mainContainer {
background: #f9f9f9;
flex: 1 1 auto;
font-size: 18px;
}
.mainContainer .wrapper {
text-align: left;
}
.mainContainer .wrapper .allShareBlock {
padding: 10px 0;
}
.mainContainer .wrapper .allShareBlock .pluginBlock {
margin: 12px 0;
padding: 0;
}
.mainContainer .wrapper a,
.inner .projectIntro a {
text-decoration: none;
}
.mainContainer .wrapper a:hover,
.mainContainer .wrapper a:focus,
.inner .projectIntro a:hover,
.inner .projectIntro a:focus {
text-decoration: underline;
}
.mainContainer .wrapper em, .mainContainer .wrapper i {
font-style: italic;
}
.mainContainer .wrapper strong, .mainContainer .wrapper b {
font-weight: bold;
}
.container .wrapper h1 {
font-size: 300%;
line-height: 1em;
margin: 0 0 10px 0;
padding: 1.4em 0 1em;
text-align: left;
}
.container .wrapper h2 {
color: $primaryColor;
font-size: 22px;
line-height: 1em;
margin-top: 20px;
text-align: left;
padding: 10px 0;
}
.container .wrapper h2.blockHeader {
color: white;
font-size: 22px;
margin-top: 20px;
padding: 10px 0;
}
.container .wrapper h3 {
color: $primaryColor;
font-size: 18px;
margin: 12px 0;
}
.container .wrapper h4 {
color: $primaryColor;
font-size: 16px;
font-weight: 300;
margin: 0;
padding: 10px 0 0;
}
.referenceContainer .wrapper h3 {
border-top: 1px solid #e0e0e0;
}
.referenceContainer .wrapper h3:first-of-type {
border: 0;
}
.container .wrapper h4 + p {
padding-top: 0;
}
.mainContainer .wrapper p,
.blockElement p {
padding: 0.8em 0 0 0;
}
.mainContainer .wrapper ul {
list-style: disc;
}
.mainContainer .wrapper ol, .mainContainer .wrapper ul {
padding: 10px 0 0 24px;
}
.mainContainer .wrapper ol li, .mainContainer .wrapper ul li {
margin: 0 0 10px 0;
}
.mainContainer .wrapper p,
.blockElement p,
.mainContainer .wrapper ul li,
.mainContainer .wrapper ol li {
line-height: 1.7;
max-width: 50rem;
}
@media (max-width: 735px) {
.mainContainer .wrapper p,
.blockElement p,
.mainContainer .wrapper ul li,
.mainContainer .wrapper ol li {
font-size: 16px;
}
}
.mainContainer .wrapper strong {
font-weight: bold;
}
.mainContainer .wrapper .post {
position: relative;
}
.mainContainer .wrapper .post.basicPost {
margin-top: 30px;
}
.mainContainer .wrapper .post h1 {
margin-top: 20px;
margin-bottom: 0;
font-size: 250%;
padding: 10px 0;
}
.mainContainer .wrapper .post h2 {
font-size: 130%;
}
.mainContainer .wrapper .post h3 {
font-size: 110%;
}
.mainContainer .wrapper .post h5 {
font-weight: 300;
font-style: italic;
}
.mainContainer .wrapper .post h5 strong {
font-weight: 400;
}
.mainContainer .wrapper .post ol {
list-style: decimal outside none;
}
.mainContainer .wrapper .post .postHeader h1 {
font-size: 150%;
line-height: 1em;
padding: 0;
}
.mainContainer .wrapper .post .postHeader h1 a {
border: none;
}
.mainContainer .wrapper .post .postSocialPlugins {
padding-top: 1em;
}
.mainContainer .wrapper .post .docPagination {
background: $primaryColor;
bottom: 0px;
left: 0px;
position: absolute;
right: 0px;
}
.mainContainer .wrapper .post .docPagination .pager {
display: inline-block;
width: 50%;
}
.mainContainer .wrapper .post .docPagination .pagingNext {
float: right;
text-align: right;
}
.mainContainer .wrapper .post .docPagination a {
border: none;
color: #fff;
display: block;
padding: 4px 12px;
}
.mainContainer .wrapper .post .docPagination a:hover {
background-color: #f9f9f9;
color: #393939;
}
.mainContainer .wrapper .post .docPagination a .pagerLabel {
display: inline;
}
.mainContainer .wrapper .post .docPagination a .pagerTitle {
display: none;
}
.mainContainer .wrapper .post h1,
.mainContainer .wrapper .post h2,
.mainContainer .wrapper .post h3 {
font-weight: 300;
}
.mainContainer .wrapper .post h4,
.mainContainer .wrapper .post h5,
.mainContainer .wrapper .post h6 {
font-weight: 400;
}
#integrations_title {
font-size: 250%;
margin: 80px 0;
}
.projectTitle {
font-size: 250%;
line-height: 1em;
font-weight: 400;
}
.projectTitle > small {
display: block;
font-size: 50%;
line-height: 1em;
font-weight: 300;
margin: 0.7em 0 1.3em;
}
@media only screen and (min-width: 480px) {
h1#project_title {
font-size: 500%;
}
.projectTitle {
font-size: 300%;
margin: 0.3em 0;
}
.projectTitle > small {
font-size: 50%;
}
.projectLogo img {
margin-bottom: 10px;
height: 200px;
}
.homeContainer .homeWrapper {
padding-left: 10px;
padding-right: 10px;
}
.mainContainer .wrapper .post h2 {
font-size: 180%;
}
.mainContainer .wrapper .post h3 {
font-size: 120%;
}
.mainContainer .wrapper .post .docPagination a .pagerLabel {
display: none;
}
.mainContainer .wrapper .post .docPagination a .pagerTitle {
display: inline;
}
}
@media only screen and (min-width: 736px) {
.homeContainer .homeWrapper {
position: relative;
}
.homeContainer .homeWrapper #inner {
box-sizing: border-box;
max-width: 600px;
padding-right: 40px;
}
.mainContainer .wrapper .post {
box-sizing: border-box;
display: block;
}
.mainContainer .wrapper .post .postHeader h1 {
font-size: 250%;
}
.mainContainer .wrapper .posts .post {
width: 100%;
}
}
@media only screen and (min-width: 1200px) {
.homeContainer .homeWrapper #inner {
max-width: 750px;
}
.homeContainer .homeWrapper .projectLogo {
align-items: center;
bottom: 0;
display: flex;
justify-content: flex-end;
left: 0;
padding: 2em 100px 4em;
position: absolute;
right: 0;
top: 0;
}
.homeContainer .homeWrapper .projectLogo img {
height: 100%;
max-height: 250px;
}
}
@media only screen and (min-width: 1500px) {
.homeContainer .homeWrapper #inner {
max-width: 1100px;
padding-bottom: 40px;
padding-top: 40px;
}
.wrapper {
max-width: 1400px;
}
}
.fixedHeaderContainer {
box-sizing: border-box;
background: $primaryColor;
color: #fff;
min-height: 50px;
padding: 9px 0;
position: fixed;
width: 100%;
z-index: 9999;
}
.fixedHeaderContainer a {
align-items: center;
border: 0;
color: #fff;
display: flex;
flex-flow: row nowrap;
height: 34px;
z-index: 10000;
}
.fixedHeaderContainer header {
display: flex;
flex-flow: row nowrap;
position: relative;
text-align: left;
}
.fixedHeaderContainer header img {
height: 100%;
margin-right: 10px;
}
.fixedHeaderContainer header h2 {
display: block;
font-weight: 400;
line-height: 18px;
position: relative;
z-index: 9999;
}
.fixedHeaderContainer header h3 {
text-decoration: underline;
color: white;
margin-left: 10px;
font-size: 16px;
}
@media (max-width: 480px) {
.headerTitle {
font-size: 17px;
}
.headerTitleWithLogo {
display: none !important;
}
}
.promoSection {
display: flex;
flex-flow: column wrap;
font-size: 125%;
line-height: 1.6em;
position: relative;
z-index: 99;
}
.promoSection .promoRow {
padding: 10px 0;
}
.promoSection .promoRow .pluginWrapper {
display: block;
}
.promoSection .promoRow .pluginWrapper.ghWatchWrapper, .promoSection .promoRow .pluginWrapper.ghStarWrapper {
height: 28px;
}
.promoSection .promoRow .pluginRowBlock {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0 -2px;
}
.promoSection .promoRow .pluginRowBlock .pluginWrapper {
padding: 0 2px;
}
.promoSection .promoRow .pluginRowBlock iframe {
margin-left: 2px;
margin-top: 5px;
}
.button {
margin: 4px;
border: 1px solid $primaryColor;
border-radius: 3px;
color: $primaryColor;
display: inline-block;
font-size: 14px;
font-weight: 400;
line-height: 1.2em;
padding: 10px;
text-transform: uppercase;
text-decoration: none !important;
transition: background 0.3s, color 0.3s;
}
.button:hover {
background: $primaryColor;
color: #fff;
}
.blockButton {
display: block;
}
/* Search */
input[type="search"] {
-moz-appearance: none;
-webkit-appearance: none;
}
.navSearchWrapper {
align-self: center;
position: absolute;
top: 15px;
right: 10px;
display: flex;
justify-content: center;
align-items: center;
}
.navSearchWrapper::before {
border: 3px solid #e5e5e5;
border-radius: 50%;
content: ' ';
display: block;
height: 6px;
left: 15px;
width: 6px;
position: absolute;
top: 50%;
z-index: 1;
transform: translateY(-58%);
}
.navSearchWrapper::after {
background: #e5e5e5;
content: ' ';
height: 7px;
left: 24px;
position: absolute;
transform: rotate(-45deg);
top: 55%;
width: 3px;
z-index: 1;
}
.navSearchWrapper .aa-dropdown-menu {
background: #f9f9f9;
border: 3px solid rgba(57, 57, 57, 0.25);
color: #393939;
font-size: 14px;
left: auto !important;
line-height: 1.2em;
right: 0 !important;
}
.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--category-header {
background: $primaryColor;
color: white;
font-weight: 400;
font-size: 14px;
}
.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight {
background-color: $primaryColor;
color: #fff;
}
.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--title .algolia-docsearch-suggestion--highlight,
.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight {
color: $primaryColor;
}
.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion__secondary,
.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--subcategory-column {
border-color: rgba(57, 57, 57, 0.3);
}
input#search_input_react {
padding-left: 25px;
font-size: 14px;
font-weight: 300;
line-height: 20px;
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.2);
border: none;
color: #fff;
outline: none;
position: relative;
width: 170px;
transition: .5s width ease;
-webkit-transition: .5s width ease;
-moz-transition: .5s width ease;
-o-transition: .5s width ease;
}
input#search_input_react:focus, input#search_input_react:active {
color: #fff;
width: 220px;
}
@media only screen and (max-width: 735px) {
.navSearchWrapper {
width: 40%;
}
}
input::-webkit-input-placeholder {
color: #e5e5e5;
}
input::-moz-placeholder {
color: #e5e5e5;
}
input::placeholder {
color: #e5e5e5;
}
/* Code */
code {
padding: 2px 0;
background-color: $codeColor;
/* box-shadow acts as padding around inline code snippets
* while not adding any extra spacing between words. */
box-shadow: 2px 0 $codeColor, -2px 0 $codeColor;
color: inherit;
border-radius: .3em;
font-family: 'SFMono-Regular',source-code-pro,Menlo,Monaco,Consolas,'Roboto Mono','Droid Sans Mono','Liberation Mono',Consolas,'Courier New',Courier,monospace;
/* avoids scale issues on mobile */
word-break: break-word;
}
pre code {
display: block;
margin: 20px 0;
font-size: 13px;
overflow-x: auto;
}
.hljs {
padding: 1.25rem 1.5rem;
}
/* GitHub */
.edit-page-link {
float: right;
font-size: 10px;
font-weight: normal;
text-decoration: none;
}
@media only screen and (max-width: 735px) {
.edit-page-link {
display: none;
}
}
/* GridBlock */
.gridBlock {
margin: -5px 0;
padding: 0;
}
.gridBlock .twoByGridBlock,
.gridBlock .threeByGridBlock,
.gridBlock .fourByGridBlock {
padding: 5px 0;
}
.gridBlock .twoByGridBlock img,
.gridBlock .threeByGridBlock img,
.gridBlock .fourByGridBlock img {
max-width: 100%;
}
.gridBlock .gridClear {
clear: both;
}
.alignCenter {
text-align: center;
}
.alignRight {
text-align: right;
}
.imageAlignSide {
display: flex;
flex-flow: row wrap;
}
.blockImage {
max-width: 730px;
}
.imageAlignSide .blockImage {
max-width: 500px;
flex: 0 1 500px;
}
@media only screen and (max-width: 735px) {
.imageAlignSide .blockImage {
display: none;
}
}
.imageAlignSide .blockContent {
flex: 1 1;
}
.imageAlignBottom .blockImage {
max-width: 730px;
margin: 0 auto 20px;
}
.imageAlignBottom.alignCenter .blockImage {
margin-left: auto;
margin-right: auto;
}
.imageAlignTop .blockImage {
max-width: 80px;
margin-bottom: 20px;
}
.imageAlignTop.alignCenter .blockImage {
margin-left: auto;
margin-right: auto;
}
.imageAlignRight .blockImage {
margin-left: 40px;
}
.imageAlignLeft .blockImage {
margin-right: 40px;
}
.container .gridBlock .blockContent p {
padding: 0;
}
.highlightBackground {
background: rgba(153, 66, 79, 0.7);
color: #fff;
}
.highlightBackground a {
border-color: white;
color: #fff;
font-weight: 800;
}
.container.highlightBackground .wrapper h1,
.container.highlightBackground .wrapper h2,
.container.highlightBackground .wrapper h3,
.container.highlightBackground .wrapper h4,
.container.highlightBackground .wrapper h5 {
border-color: white;
color: white;
}
.lightBackground {
background: #e9e9e9;
}
.darkBackground {
background: #808080;
color: #fff;
}
.darkBackground a {
color: #d6b3b8;
}
.darkBackground code {
color: #d6b3b8;
}
.container.darkBackground .wrapper h1,
.container.darkBackground .wrapper h2,
.container.darkBackground .wrapper h3,
.container.darkBackground .wrapper h4,
.container.darkBackground .wrapper h5 {
border-color: white;
color: white;
}
.container.paddingAll {
padding: 40px;
}
.container.paddingBottom {
padding-bottom: 80px;
}
.container.paddingLeft {
padding-left: 40px;
}
.container.paddingRight {
padding-right: 40px;
}
.container.paddingTop {
padding-top: 80px;
}
@media only screen and (max-width: 735px) {
.container.paddingBottom {
padding-bottom: 40px;
}
.container.paddingTop {
padding-top: 20px;
}
}
@media only screen and (max-width: 1023px) {
.responsiveList .blockContent {
position: relative;
}
.responsiveList .blockContent > div {
padding-left: 20px;
}
.responsiveList .blockContent::before {
content: '\2022';
position: absolute;
}
}
@media only screen and (min-width: 736px) {
.gridBlock {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: -10px;
}
.gridBlock .twoByGridBlock {
box-sizing: border-box;
flex: 1 0 40%;
padding: 10px;
}
.gridBlock .threeByGridBlock {
box-sizing: border-box;
flex: 1 0 26%;
padding: 10px;
}
.gridBlock .fourByGridBlock {
box-sizing: border-box;
flex: 1 0 20%;
padding: 10px;
}
h2 + .gridBlock {
padding-top: 20px;
}
}
@media only screen and (min-width: 1400px) {
.gridBlock {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: -10px;
}
.gridBlock .twoByGridBlock {
box-sizing: border-box;
flex: 1 0 40%;
padding: 10px 20px;
}
.gridBlock .threeByGridBlock {
box-sizing: border-box;
flex: 1 0 26%;
padding: 10px;
}
.gridBlock .fourByGridBlock {
box-sizing: border-box;
flex: 1 0 20%;
padding: 10px 20px;
}
}
.navigationSlider .navSlideout {
cursor: pointer;
padding-top: 4px;
position: absolute;
right: 10px;
top: 0;
transition: top 0.3s;
z-index: 101;
}
.navigationSlider .slidingNav {
box-sizing: border-box;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: auto;
}
.navigationSlider .slidingNav.slidingNavActive {
height: auto;
padding-top: 42px;
width: 300px;
}
.navigationSlider .slidingNav ul {
box-sizing: border-box;
display: flex;
flex-wrap: nowrap;
list-style: none;
margin-top: 50px;
width: 100%;
padding: 0;
background: $secondaryColor;
color: #fff;
}
.navigationSlider .slidingNav.slidingNavActive ul {
display: block;
}
.navigationSlider .slidingNav ul li {
flex: 1 1 auto;
text-align: center;
white-space: nowrap;
margin: 0;
}
.navigationSlider .slidingNav ul li a {
color: $primaryColor;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
height: auto;
color: inherit;
transition: background-color 0.3s;
height: 50px;
padding: 10px;
box-sizing: border-box;
font-size: 0.9em;
}
.navigationSlider .slidingNav ul li a:focus,
.navigationSlider .slidingNav ul li a:hover,
.navigationSlider .slidingNav ul li.siteNavItemActive a,
.navigationSlider .slidingNav ul li.siteNavGroupActive a {
background: $primaryColor;
}
.languages-icon {
width: 20px;
}
#languages-dropdown {
position: absolute;
width:100%;
/* positioning can block the main menu on mobile */
pointer-events: none;
}
#languages-dropdown.visible {
display: flex;
}
#languages-dropdown.hide {
display: none;
}
ul#languages-dropdown-items {
display: flex;
background-color: $primaryColor;
flex-direction: column;
min-width: 120px;
pointer-events: all;
}
ul#languages li {
display: block;
}
.navPusher {
padding-top: 100px;
position: relative;
left: 0;
z-index: 99;
min-height: 100%;
}
.navPusher::after {
position: absolute;
top: 0;
right: 0;
width: 0;
height: 0;
background: rgba(0, 0, 0, 0.4);
content: '';
opacity: 0;
-webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
}
@media only screen and (min-width: 736px) {
.navPusher {
padding-top: 50px;
}
}
.sliderActive .navPusher::after {
width: 100%;
height: 100%;
opacity: 1;
-webkit-transition: opacity 0.5s;
transition: opacity 0.5s;
z-index: 100;
}
@media only screen and (max-width: 735px) {
.reactNavSearchWrapper::before {
left: 6px;
}
.reactNavSearchWrapper::after {
left: 15px;
}
.reactNavSearchWrapper input#search_input_react {
box-sizing: border-box;
padding-left: 25px;
font-size: 14px;
line-height: 20px;
border-radius: 20px;
background-color: rgba(242, 196, 178, 0.25);
border: none;
color: #393939;
outline: none;
position: relative;
transition: background-color 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55), width 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.2s ease;
width: 100%;
}
.reactNavSearchWrapper input#search_input_react:focus, .reactNavSearchWrapper input#search_input_react:active {
background-color: $primaryColor;
color: #fff;
}
.reactNavSearchWrapper .algolia-docsearch-suggestion--subcategory-inline {
display: none;
}
.reactNavSearchWrapper > span {
width: 100%;
}
.reactNavSearchWrapper .aa-dropdown-menu {
background: #f9f9f9;
border: 0px solid #f9f9f9;
color: #393939;
font-size: 12px;
line-height: 2em;
max-height: 140px;
min-width: auto;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
padding: 0;
border-radius: 0;
position: relative !important;
width: 100%;
}
#languages-dropdown {
top: 50px;
left: 0px;
}
ul#languages-dropdown-items {
display: flex;
background-color: $primaryColor;
flex-direction: row;
}
}
@media only screen and (min-width: 736px) {
.navSearchWrapper {
position: relative;
top: auto;
right: auto;
padding-left: 10px;
}
.navSearchWrapper .algolia-autocomplete {
display: block;
}
.navigationSlider {
height: 34px;
margin-left: auto;
position: relative;
}
.navigationSlider .navSlideout {
display:none;
}
.navigationSlider nav.slidingNav {
background: none;
height: auto;
position: relative;
right: auto;
top: auto;
width: auto;
}
.navigationSlider .slidingNav ul {
display: flex;
flex-flow: row nowrap;
margin: 0 -10px;
padding: 0;
background: none;
width: auto;
}
.navigationSlider .slidingNav ul li a {
border: 0;
color: rgba(255, 255, 255, 0.8);
display: flex;
margin: 0;
padding: 0;
font-size: 16px;
font-weight: 300;
line-height: 1.2em;
padding: 6px 10px;
height: 32px;
font-size: 1em;
}
.navigationSlider .slidingNav ul li a:hover,
.navigationSlider .slidingNav ul li.siteNavItemActive a,
.navigationSlider .slidingNav ul li.siteNavGroupActive a {
color: #fff;
}
}
@media only screen and (max-width: 735px) {
.navigationSlider .slidingNav ul {
overflow-x: auto;
}
}
/* Docs Navigation */
.docs-prevnext {
margin: 20px 0;
}
.docs-next {
float: right;
}
.docs-prev {
float: left;
}
@media only screen and (max-width: 735px) {
.docs-prevnext {
height: 40px;
}
.docs-prev {
display: none;
}
}
/* Docs Sidebar */
.docsNavContainer {
background: #fff;
height: 35px;
left: 0;
position: fixed;
width: 100%;
z-index: 100;
}
.docMainWrapper .wrapper {
padding-left: 0;
padding-right: 0;
padding-top: 10px;
}
.docsSliderActive.docsNavContainer {
box-sizing: border-box;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding-bottom: 50px;
}
.docsNavContainer nav.toc .navBreadcrumb {
background-color: #fff;
box-sizing: border-box;
display: flex;
flex-flow: row nowrap;
font-size: 12px;
height: 48px;
overflow: hidden;
padding: 8px 20px;
}
.navBreadcrumb a,
.navBreadcrumb span {
border: 0;
color: #393939;
}
.navBreadcrumb i {
padding: 0 4px;
}
nav.toc {
width: 240px;
}
nav.toc section {
padding: 0;
position: relative;
}
nav.toc:last-child {
padding-bottom: 100px;
}
@media only screen and (max-width: 735px) {
nav.toc {
width: 100%;
}
nav.toc:last-child {
padding-bottom: 0;
}
a.anchor {
top: -144px;
}
}
.docsNavContainer nav.toc .navWrapper {
padding: 0;
}
nav.toc section .navGroups {
display: none;
padding: 48px 20px 60px;
}
nav.toc .toggleNav {
color: #393939;
position: relative;
}
nav.toc .toggleNav .navToggle {
cursor: pointer;
height: 32px;
margin-right: 10px;
position: relative;
text-align: left;
width: 18px;
}
nav.toc .toggleNav .navToggle::before,
nav.toc .toggleNav .navToggle::after {
content: '';
position: absolute;
top: 50%;
left: 0;
left: 8px;
width: 3px;
height: 6px;
border: 5px solid #393939;
border-width: 5px 0;
margin-top: -8px;
transform: rotate(45deg);
z-index: 1;
}
nav.toc .toggleNav .navToggle::after {
transform: rotate(-45deg);
}
nav.toc .toggleNav .navToggle i::before,
nav.toc .toggleNav .navToggle i::after {
content: '';
position: absolute;
top: 50%;
left: 2px;
background: transparent;
border-width: 0 5px 5px;
border-style: solid;
border-color: transparent #393939;
height: 0;
margin-top: -7px;
opacity: 1;
width: 5px;
z-index: 10;
}
nav.toc .toggleNav .navToggle i::after {
border-width: 5px 5px 0;
margin-top: 2px;
}
.docsSliderActive nav.toc .toggleNav .navToggle::before,
.docsSliderActive nav.toc .toggleNav .navToggle::after {
border-width: 8px 0;
height: 0;
margin-top: -8px;
}
.docsSliderActive nav.toc .toggleNav .navToggle i {
opacity: 0;
}
nav.toc .toggleNav .navGroup {
margin-bottom: 20px;
}
nav.toc .toggleNav .navGroup h3 {
color: #393939;
font-size: 18px;
font-weight: 500;
line-height: 1.2em;
margin-bottom: 8px;
}
nav.toc .toggleNav .navGroup h3 i:not(:empty) {
width: 16px;
height: 16px;
display: inline-block;
box-sizing: border-box;
text-align: center;
color: rgba(57, 57, 57, 0.5);
margin-right: 10px;
transition: color 0.2s;
}
nav.toc .toggleNav ul {
padding-left: 8px;
}
nav.toc .toggleNav ul li {
list-style-type: none;
padding: 0;
}
nav.toc .toggleNav ul li a {
border: none;
color: #717171;
display: block;
font-size: 14px;
padding: 4px 0;
transition: color 0.3s;
}
nav.toc .toggleNav ul li a:hover,
nav.toc .toggleNav ul li a:focus {
color: $primaryColor;
}
nav.toc .toggleNav ul li a.navItemActive {
color: $primaryColor;
}
.docsSliderActive nav.toc .navBreadcrumb {
border-bottom: 1px solid #ccc;
margin-bottom: 20px;
position: fixed;
width: 100%;
}
nav.toc .toggleNav .navBreadcrumb h2 {
border: 0;
font-weight: 600;
font-size: 16px;
line-height: 32px;
margin: 0;
padding: 0;
}
.docsSliderActive nav.toc section .navGroups {
display: block;
}
@media only screen and (min-width: 736px) {
nav.toc section .navGroups {
padding: 40px 0 0;
}
.navToggle {
display: none;
}
.docsSliderActive .mainContainer {
display: block;
}
.sideNavVisible .navPusher .mainContainer {
padding-top: 0;
max-width: 70%;
}
.docsNavContainer {
background: none;
box-sizing: border-box;
height: auto;
margin: 40px 40px 0 0;
overflow-y: auto;
position: relative;
width: 300px;
}
nav.toc section .navGroups {
display: block;
padding-top: 0px;
}
.docMainWrapper {
display: flex;
flex-flow: row nowrap;
margin-bottom: 50px;
/*margin-bottom: -90px*/
}
.docMainWrapper .wrapper {
padding-left: 0;
padding-right: 0;
}
.docMainWrapper .wrapper {
padding-top: 0;
}
.docsNavContainer nav.toc .navBreadcrumb {
display: none;
}
.navBreadcrumb h2 {
padding: 0 10px;
}
}
.onPageNav {
display: none;
}
.onPageNav::-webkit-scrollbar {
display: none;
}
@supports ((position: -webkit-sticky) or (position: sticky)) {
@media only screen and (min-width: 1024px) {
.separateOnPageNav.doc .wrapper,
.separateOnPageNav .headerWrapper.wrapper {
max-width: 1400px;
}
.doc.separateOnPageNav .docsNavContainer {
flex: 0 0 240px;
margin: 55px 0 0;
}
.doc.separateOnPageNav nav.toc:last-child {
padding-bottom: 0;
width: auto;
}
.doc.separateOnPageNav.sideNavVisible .navPusher .mainContainer {
max-width: 100%;
flex: 1 auto;
padding: 0 40px 50px;
min-width: 0;
}
.onPageNav {
display: block;
position: -webkit-sticky;
position: sticky;
top: 110px;
flex: 0 0 240px;
overflow-y: auto;
max-height: calc(100vh - 110px);
align-self: flex-start;
}
.onPageNav > ul {
border-left: 1px solid #e0e0e0;
padding: 10px 0 2px 15px;
}
.onPageNav a {
color: #717171;
}
.onPageNav ul li {
font-size: 12px;
line-height: 17px;
padding-bottom: 9px;
}
.onPageNav ul ul {
padding: 8px 0 0 20px;
}
.onPageNav ul ul li {
padding-bottom: 5px;
}
}
}
/* Table */
table {
border-collapse: collapse;
border-spacing: 0;
display: table;
font-size: 14px;
margin: 20px 0;
}
table thead {
border-color: inherit;
display: table-header-group;
vertical-align: middle;
}
table tbody {
display: table-row-group;
vertical-align: middle;
}
table th,
table td {
border: 1px solid #dbdbdb;
padding: .5em .75em;
vertical-align: top;
}
table tr {
border-color: inherit;
display: table-row;
vertical-align: inherit;
}
table tr:nth-child(2n) {
background: #f5f5f5;
}
table tr th {
font-weight: bold;
}
.table tbody tr:last-child th,
.table tbody tr:last-child td {
border-bottom-width: 0;
}
table th code,
table td code {
color: #2db04b;
display: inline-block;
font-size: 12px;
}
/* Blog */
.mainContainer:not(.blogContainer) .wrapper .post,
.blogContainer .posts,
.blogContainer .lonePost {
padding-top: 40px;
}
.blogContainer .posts .post {
border-bottom: 1px solid #e0e0e0;
border-radius: 3px;
margin-bottom: 20px;
padding-bottom: 20px;
}
.blogContainer .postHeader {
margin-bottom: 10px;
}
.blogContainer .postHeader a {
text-decoration: none;
}
.blogContainer .postHeader p.post-meta {
padding: 0;
margin-bottom: 10px;
}
.blogContainer .postHeader .authorBlock {
display: flex;
}
.blogContainer .postHeader .post-authorName {
color: rgba(57, 57, 57, 0.7);
display: flex;
flex-direction: column;
font-size: 14px;
font-weight: 400;
justify-content: center;
margin-top: 0;
margin-right: 10px;
padding: 0;
}
.blogContainer .postHeader .authorPhoto {
border-radius: 50%;
height: 30px;
overflow: hidden;
width: 30px;
}
.blogContainer .postHeader .authorPhoto.authorPhoto-big {
height: 50px;
width: 50px;
}
.blog-recent {
margin: 20px 0;
}
.blog-recent > a {
float: left;
}
@media only screen and (max-width: 735px) {
.blog-recent {
height: 40px;
}
}
.header-link {
position: absolute;
margin-left: 0.2em;
opacity: 0;
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
-moz-transition: opacity 0.2s ease-in-out 0.1s;
-ms-transition: opacity 0.2s ease-in-out 0.1s;
}
h2:hover .header-link,
h3:hover .header-link,
h4:hover .header-link,
h5:hover .header-link,
h6:hover .header-link {
opacity: 1;
}
/* Homepage */
.container .wrapper .alignCenter h2 {
text-align: center;
}
.container .wrapper .imageAlignSide h2 {
text-align: left;
}
.container .wrapper .imageAlignSide p {
margin-bottom: 40px;
max-width: 560px;
margin: 0;
}
.more-users {
max-width: 560px;
margin: 0 auto;
text-align: center;
}
.productShowcaseSection {
padding: 0 20px 0;
text-align: center;
}
.productShowcaseSection.paddingTop {
padding-top: 20px;
}
.productShowcaseSection.paddingBottom {
padding-bottom: 80px;
}
.productShowcaseSection h2 {
color: $primaryColor;
font-size: 30px;
line-height: 1em;
margin-top: 20px;
text-align: center;
padding: 10px 0;
}
.productShowcaseSection p {
padding: 0.8em 0;
max-width: 560px;
margin: 0 auto;
}
.productShowcaseSection .logos {
padding: 20px;
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
}
.productShowcaseSection .logos img {
max-height: 110px;
width: 110px;
padding: 20px;
}
@media only screen and (max-width: 735px) {
.gridBlock .fourByGridBlock {
box-sizing: border-box;
flex: 1 0 26%;
padding: 10px;
}
.productShowcaseSection .logos img {
max-height: 64px;
width: 64px;
padding: 20px;
}
}
/* Showcase */
.showcaseSection {
max-width: 900px;
text-align: center;
margin: 0 auto;
}
.showcaseSection .prose h1 {
color: $primaryColor;
text-align: center;
padding: 1.4em 0 0.4em;
}
.showcaseSection .prose {
max-width: 560px;
text-align: center;
margin: 0 auto;
}
.showcaseSection .logos {
align-items: center;
display: flex;
flex-flow: row wrap;
justify-content: center;
}
.showcaseSection .logos img {
max-height: 128px;
width: 128px;
padding: 20px;
}
@media only screen and (max-width: 735px) {
.showcaseSection .logos img {
max-height: 64px;
width: 64px;
padding: 20px;
}
}
/* Footer */
footer.nav-footer {
position: relative;
box-sizing: border-box;
border: none;
font-weight: 400;
color: #202020;
font-size: 15px;
line-height: 24px;
background: #808080;
box-shadow: inset 0 10px 10px -5px rgba(0,0,0,0.2);
padding-top: 2em;
padding-bottom: 2em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
footer .sitemap {
display: flex;
justify-content: space-between;
max-width: 1080px;
margin: 0 auto 3em;
}
footer .sitemap div {
flex: 1;
}
footer .sitemap .nav-home {
display: table;
margin: -12px 20px 0 0;
padding: 10px;
width: 50px;
height: 50px;
opacity: 0.4;
transition: opacity 0.15s ease-in-out;
}
footer .sitemap .nav-home:hover,
footer .sitemap .nav-home:focus {
opacity: 1.0;
}
@media screen and (max-width: 735px) {
footer .sitemap {
display: flex;
flex-direction: column;
margin: 0 2em 3em;
width: calc(100% - 4em);
}
}
footer .sitemap a {
color: rgba(255, 255, 255, 0.6);
display: table;
margin: 2px -10px;
padding: 3px 10px;
}
footer .sitemap a:hover,
footer .sitemap a:focus {
color: white;
text-decoration: none;
}
footer .sitemap h5 > a:hover,
footer .sitemap h5 > a:focus {
color: white;
text-decoration: none;
}
footer .sitemap h5,
footer .sitemap h6 {
margin: 0 0 10px;
}
footer .sitemap h5 {
color: white;
}
footer .sitemap h6,
footer .sitemap h5 > a,
footer .sitemap h6 > a {
color: white;
}
footer .sitemap h5 > a,
footer .sitemap h6 > a {
margin: 0 -10px;
}
footer .fbOpenSource {
display: block;
margin: 1em auto;
opacity: 0.4;
transition: opacity 0.15s ease-in-out;
width: 170px;
}
footer .fbOpenSource:hover {
opacity: 1.0;
}
footer .copyright {
color: rgba(255, 255, 255, 0.4);
text-align: center;
}
footer .social {
padding: 5px 0;
}
.blogSocialSection {
padding: 36px 0;
display: block;
}
.blogSocialSection .blogSocialSectionItem {
padding-bottom: 5px;
}
@media screen and (min-width: 736px) {
body {
display: flex;
flex-direction: column;
}
.fixedHeaderContainer {
flex-shrink: 0;
}
.navPusher {
flex-grow: 1;
display: flex;
flex-direction: column;
padding-top: 50px;
min-height: calc(100vh - 50px);
}
.docMainWrapper {
width: 100%;
box-sizing: border-box;
}
/* those make the footer sticky and work even in IE 11 */
.navPusher > :first-child {
flex-grow: 1;
}
footer.nav-footer {
flex-shrink: 0;
}
}