Reference
Browse through the through the CLI and API reference documentation.
diff --git a/_scss/_buttons.scss b/_scss/_buttons.scss
index cc51d3c024..8d78806f78 100755
--- a/_scss/_buttons.scss
+++ b/_scss/_buttons.scss
@@ -27,7 +27,7 @@ a.button.outline-btn.min-hgt {
.button {
margin: 10px 10px 10px 0;
- font-family: Geomanist Book;
+ font-family: Geomanist Book, sans-serif;
padding: 12px 35px 10px;
min-width: 200px;
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
@@ -61,8 +61,7 @@ a.button.outline-btn.min-hgt {
.outline-btn {
background: #fff;
- border: 1px solid;
- border-color: #0087C8;
+ border: 1px solid #0087C8;
text-decoration: none;
margin: 0;
}
diff --git a/_scss/_content.scss b/_scss/_content.scss
index d55f35385d..b71bcd88fb 100755
--- a/_scss/_content.scss
+++ b/_scss/_content.scss
@@ -72,7 +72,7 @@ pre code {
padding: 5px 0 10px 20px;
float: left;
min-height: 100px;
- margin: 0px 0 15px 0;
+ margin: 0 0 15px 0;
width: 100%;
}
diff --git a/_scss/_github.scss b/_scss/_github.scss
index c96c9168ac..b1135a6d99 100755
--- a/_scss/_github.scss
+++ b/_scss/_github.scss
@@ -24,13 +24,15 @@ github.com style (c) Vasily Polovnyov
font-weight: bold;
}
+/*
.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
- // color: #008080;
+ color: #008080;
}
+*/
.hljs-string,
.hljs-doctag {
@@ -61,33 +63,37 @@ github.com style (c) Vasily Polovnyov
font-weight: normal;
}
+/*
.hljs-regexp,
.hljs-link {
- // color: #009926;
+ color: #009926;
}
.hljs-symbol,
.hljs-bullet {
- // color: #990073;
+ color: #990073;
}
.hljs-built_in,
.hljs-builtin-name {
- // color: #0086b3;
+ color: #0086b3;
}
+*/
.hljs-meta {
// color: #999;
font-weight: bold;
}
+/*
.hljs-deletion {
- // background: #fdd;
+ background: #fdd;
}
.hljs-addition {
- // background: #dfd;
+ background: #dfd;
}
+*/
.hljs-emphasis {
font-style: italic;
diff --git a/_scss/_landing.scss b/_scss/_landing.scss
index a934979a57..f6471fedc2 100644
--- a/_scss/_landing.scss
+++ b/_scss/_landing.scss
@@ -13,7 +13,7 @@ body#landing {
overflow-x: hidden;
h2, h5, h6 {
- font-family: 'Geomanist Regular';
+ font-family: 'Geomanist Regular', sans-serif;
}
section {
@@ -117,34 +117,47 @@ body#landing {
padding: 7.5px;
}
- .card {
- background-color: $bg-body;
- box-shadow: 0px 3px 6px rgba(11, 33, 74, 0.09),
- 0px -2px 2px rgba(11, 33, 74, 0.03);
- padding: 24px 36px;
- min-height: 200px;
+ %icon-card {
+ background-image: none;
+ background-origin: content-box;
+ background-repeat: no-repeat;
+ background-size: auto 35px;
- @include sm-width {
- min-height: 230px;
+ @include sm-width { background-size: auto 40px; min-height: 220px; }
+ @include md-width { background-size: auto 50px }
+ @include lg-width { background-size: auto 60px }
+
+ .title {
+ margin-top: 0;
+ margin-left: 60px;
+ @include sm-width { margin-left: 0; margin-top: 60px }
+ @include md-width { margin-left: 0; margin-top: 72px }
+ @include lg-width { margin-left: 0; margin-top: 90px }
}
- img {
- height: 35px;
- margin-bottom: 5px;
+ p {
+ margin-left: 60px;
+ @include sm-width { margin-left: 0 }
+ }
+ }
- @include sm-width {
- height: 40px;
- margin-bottom: 6px;
- }
+ $icons: rocket, download-docker, guides, whats-new, manuals, reference;
- @include md-width {
- height: 50px;
- margin-bottom: 8px;
- }
+ .card {
+ background-color: $bg-body;
+ box-shadow: 0 3px 6px rgba(11, 33, 74, 0.09),
+ 0 -2px 2px rgba(11, 33, 74, 0.03);
+ padding: 24px 36px;
+ min-height: 100px;
- @include lg-width {
- height: 60px;
- margin-bottom: 10px;
+ @include sm-width {
+ min-height: 185px;
+ }
+
+ @each $icon in $icons {
+ &.#{$icon} {
+ @extend %icon-card;
+ background-image: url("/images/#{$icon}.svg");
}
}
@@ -191,6 +204,13 @@ body#landing {
opacity: 1;
transform: scale(1.01);
}
+
+ &[target=_blank] {
+ background-image: url(/images/arrow.svg);
+ background-position: top 10px right 10px;
+ background-repeat: no-repeat;
+ background-size: 15px 15px;
+ }
}
.cardlet {
@@ -198,7 +218,7 @@ body#landing {
padding: 24px 36px;
.title {
- font-family: 'Geomanist Book';
+ font-family: 'Geomanist Book', sans-serif;
line-height: 22px;
font-size: 22px;
}
@@ -238,7 +258,7 @@ body#landing {
a.btn {
background-color: #FF3F73;
color: white;
- font-family: 'Open Sans';
+ font-family: 'Open Sans', sans-serif;
font-size: 17px;
font-weight: bold;
padding: 20px 60px;
@@ -274,12 +294,12 @@ body#landing {
.help-by-product {
.title {
- font-family: 'Geomanist Book';
+ font-family: 'Geomanist Book', sans-serif;
font-size: 22px;
}
ul.nav.nav-tabs li a, h5, h6 {
- font-family: 'Geomanist Regular';
+ font-family: 'Geomanist Regular', sans-serif;
font-size: 18px;
}
@@ -288,6 +308,8 @@ body#landing {
li a {
cursor: pointer;
+ padding: 10px 3px;
+ @include sm-width { padding: 10px 15px; }
}
li.active a {
@@ -332,30 +354,6 @@ body#landing {
}
}
- #community-resources,
- #play-with-docker {
- .card {
- position: relative;
- min-height: 200px;
-
- &::after {
- content: '';
- background-image: url(/images/arrow.svg);
- background-size: contain;
- background-repeat: no-repeat;
- position: absolute;
- top: 10px;
- right: 10px;
- width: 15px;
- height: 15px;
- }
-
- @include sm-width {
- min-height: 185px;
- }
- }
- }
-
footer.footer {
background-color: $dark-blue;
margin-top: 130px;
diff --git a/_scss/_mobile.scss b/_scss/_mobile.scss
index bcede3efb6..233002f816 100755
--- a/_scss/_mobile.scss
+++ b/_scss/_mobile.scss
@@ -26,7 +26,7 @@
h2,
h3 {
margin-top: 10px;
- margin-bottom: 0px;
+ margin-bottom: 0;
}
h1 {
font-size: 24px;
@@ -100,7 +100,7 @@
h2,
h3 {
margin-top: 10px;
- margin-bottom: 0px;
+ margin-bottom: 0;
}
h1 {
font-size: 24px;
@@ -124,8 +124,7 @@
height: 100px;
}
.nav-secondary input[type=search] {
- background: rgb(78, 77, 77) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgb(78, 77, 77) url(/images/search.png) no-repeat 10px 9px;
}
.nav-sidebar a {
color: #a8a8a8;
@@ -221,7 +220,7 @@
h2,
h3 {
margin-top: 10px;
- margin-bottom: 0px;
+ margin-bottom: 0;
}
h1 {
font-size: 24px;
@@ -248,7 +247,7 @@
padding: 120px 20px;
}
.main-content {
- padding: 0px 10px;
+ padding: 0 10px;
}
.nav-sidebar a {
color: #a8a8a8;
@@ -296,7 +295,7 @@
h2,
h3 {
margin-top: 10px;
- margin-bottom: 0px;
+ margin-bottom: 0;
}
h1 {
font-size: 24px;
@@ -322,8 +321,7 @@
and (max-device-width: 1024px)
and (orientation: portrait) {
.nav-secondary input[type=search] {
- background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px;
}
}
@@ -343,8 +341,7 @@
width: 270px;
}
.nav-secondary input[type=search] {
- background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px;
}
}
diff --git a/_scss/_navigation.scss b/_scss/_navigation.scss
index 183078fdf2..fb75a86383 100755
--- a/_scss/_navigation.scss
+++ b/_scss/_navigation.scss
@@ -113,7 +113,7 @@
.nav-sidebar ul {
list-style: none;
- padding: 0px;
+ padding: 0;
text-align: left;
li {
display: block;
@@ -121,7 +121,7 @@
}
.nav-sidebar .nav ul {
- padding: 0px 0px 0px 15px;
+ padding: 0 0 0 15px;
}
.nav-sidebar ul li a:hover {
@@ -204,7 +204,7 @@
.toc-nav i.fa {
font-size: 14px;
- margin: 0px 8px 0 0;
+ margin: 0 8px 0 0;
color: #4fa1d0;
}
@@ -371,12 +371,12 @@ input:checked+.slider:before {
.ctrl-left {
float: left;
width: 20px;
- margin: 3px 0px 0px 0;
+ margin: 3px 0 0 0;
}
.ctrl-right {
float: right;
- padding: 5px 0px;
+ padding: 5px 0;
}
.ctrl-right .btn-group {
diff --git a/_scss/_night-mode.scss b/_scss/_night-mode.scss
index e7f45ae636..5794d15be3 100755
--- a/_scss/_night-mode.scss
+++ b/_scss/_night-mode.scss
@@ -44,21 +44,17 @@ body.night {
background: $bg-secondary-night;
}
.nav-secondary input[type=search] {
- background: rgba(76, 76, 76, 0.47) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(76, 76, 76, 0.47) url(/images/search.png) no-repeat 10px 9px;
color: $white;
}
.nav-secondary-tabs .search-form input[type=search] {
- background: rgba(16, 28, 41, 0.6) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(16, 28, 41, 0.6) url(/images/search.png) no-repeat 10px 9px;
}
.nav-secondary-tabs .search-form input[type=search]:focus {
- background: rgba(255,255,255,0.17) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px;
}
.nav-secondary .search-form input[type=search]:focus {
- background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat!important;
- background-position: 10px 9px!important;
+ background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px !important;
}
.sidebar-home,
.sidebar,
@@ -130,7 +126,7 @@ body.night {
background: #0a121b !important;
}
pre>code {
- padding: 0px;
+ padding: 0;
}
.nav-secondary .dropdown-btn {
color: #d0e8ff;
@@ -175,7 +171,7 @@ body.night {
background: $bg-search-results-night;
border: 1px solid $black;
color: $white;
- padding: 20px 0 15px 0px;
+ padding: 20px 0 15px 0;
margin: 10px 0 0 0;
position: absolute;
width: 800px;
@@ -328,7 +324,6 @@ body.night {
cursor: default;
background-color: #4e6071;
border: 1px solid transparent;
- border-bottom-color: transparent;
}
.popover {
color: $black;
diff --git a/_scss/_overrides.scss b/_scss/_overrides.scss
index 00889a055f..cfd025f52d 100755
--- a/_scss/_overrides.scss
+++ b/_scss/_overrides.scss
@@ -7,7 +7,7 @@
.nav-secondary-tabs .dropdown-btn {
background: transparent;
color: #fff;
- padding: 5px 11px 0px 0px;
+ padding: 5px 11px 0 0;
margin-top: 7px;
border: 0;
font-size: 12px;
@@ -16,7 +16,7 @@
.nav-secondary .dropdown-btn {
background: transparent;
color: #b4d4e4;
- padding: 5px 11px 0px 0px;
+ padding: 5px 11px 0 0;
margin-top: 7px;
border: 0;
font-size: 12px;
@@ -68,8 +68,7 @@
.btn-group.open .dropdown-toggle {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- background: trr;
+ //box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
background: transparent;
color: #fff;
box-shadow: none;
@@ -82,7 +81,7 @@
.open>.dropdown-toggle.btn-default:hover {
color: #fff!important;
background-color: transparent!important;
- border-color: none!important;
+ border-color: transparent !important;
box-shadow: none!important
}
@@ -171,4 +170,4 @@ input.gsc-search-button-v2 {
padding: 6px 27px;
min-width: 13px;
margin-top: 2px;
-}
\ No newline at end of file
+}
diff --git a/_scss/_utilities.scss b/_scss/_utilities.scss
index 316930aff0..f78f843e53 100755
--- a/_scss/_utilities.scss
+++ b/_scss/_utilities.scss
@@ -64,7 +64,7 @@ i.fa.fa-outdent {
.block {
- padding: 0px 15px 10px 15px;
+ padding: 0 15px 10px 15px;
}
@@ -86,14 +86,13 @@ img.inline {
.search-form {
float: left;
- margin: 5px 0 0px;
+ margin: 5px 0 0;
// width: 200px;
& input[type=text] {
- background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat;
- background-position: 10px 9px;
+ background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat 10px 9px;
border: 0;
color: #0C5176;
- border-radius: 0px;
+ border-radius: 0;
margin: 0;
transition: all 0.2s ease;
width: 230px;
@@ -101,8 +100,7 @@ img.inline {
}
.nav-secondary-tabs .search-form input[type=search] {
- background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat;
- background-position: 10px 9px;
+ background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat 10px 9px;
border: 0;
box-shadow: none;
color: #fff;
@@ -111,7 +109,7 @@ img.inline {
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
- padding: 0px 0 0 35px;
+ padding: 0 0 0 35px;
width: 100%;
}
@@ -128,22 +126,19 @@ input[type=text],
}
.nav-secondary-tabs .search-form input[type=search]:focus {
- background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px;
}
.nav-secondary-tabs.affix input[type=search],
input[type=text] {
- background: rgba(0, 0, 0, 0.17) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(0, 0, 0, 0.17) url(/images/search.png) no-repeat 10px 9px;
border: 1px solid transparent;
box-shadow: none;
transition: all 0.2s ease;
}
.nav-secondary input[type=search] {
- background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat;
- background-position: 10px 9px;
+ background: rgba(0, 0, 0, 0.17) url("/images/search.png") no-repeat 10px 9px;
border: 0;
box-shadow: none;
color: #fff;
@@ -152,12 +147,11 @@ input[type=text] {
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
- padding: 0px 0 0 35px;
+ padding: 0 0 0 35px;
}
.nav-secondary .search-form input[type=search]:focus {
- background: rgba(255,255,255,0.17) url(/images/search.png) no-repeat;
- background-position: 10px 9px;
+ background: rgba(255, 255, 255, 0.17) url(/images/search.png) no-repeat 10px 9px;
}
.search-form input[type=search]::-webkit-input-placeholder {
@@ -214,7 +208,7 @@ div#autocompleteResults {
background: #E6F5FD;
border: 1px solid #eee;
box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.28);
- padding: 20px 0 15px 0px;
+ padding: 20px 0 15px 0;
margin: 10px 0 0 0;
position: absolute;
width: 600px!important;
@@ -246,9 +240,9 @@ div#autocompleteResults span {
.autocompleteList {
list-style-type: none;
width: 400px;
-/* commented out 0px padding to allow inherit padding, search results on autocompleteList were getting smashed up against left margin due to this */
-/* padding:0px; */
- margin-bottom: 0px;
+/* commented out 0 padding to allow inherit padding, search results on autocompleteList were getting smashed up against left margin due to this */
+/* padding: 0; */
+ margin-bottom: 0;
}
.autoCompleteResult {
@@ -262,9 +256,9 @@ div#autocompleteResults span {
.autocompleteList li {
width: 380px;
- border: 0px;
+ border: 0;
padding-right: 20px;
- margin: 0px;
+ margin: 0;
}
/*
*
@@ -308,11 +302,9 @@ input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:
}
.alert-info {
- border: 0;
+ border: 0 #bce8f1;
border-radius: 0;
- color: #31708f;
background-color: #3F51B5!important;
- border-color: #bce8f1;
text-align: center;
color: #fff;
margin-bottom: 0;
diff --git a/_scss/_variables.scss b/_scss/_variables.scss
index 5e59b745ca..328d855c93 100755
--- a/_scss/_variables.scss
+++ b/_scss/_variables.scss
@@ -32,7 +32,7 @@ $bg-body: #fff;
$heading-color: #254356;
-$body-text-color: #33444C;//grey #11 in color pallette
+$body-text-color: #33444C;//grey #11 in color palette
$bg-footer: #fff;