From 7fbd81fb199d5c08ec6ebf8da6c68d039de45040 Mon Sep 17 00:00:00 2001 From: rakeshAlgo Date: Thu, 9 Jul 2020 18:15:03 +0530 Subject: [PATCH 1/6] Fix the alignment issues for icon and defination list --- src/css/doc.css | 9 ++++++++- src/css/nav.css | 22 ++++------------------ 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/css/doc.css b/src/css/doc.css index f2b0c48c..3d5f17e8 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -430,6 +430,13 @@ ul ul ul { width: auto; } +.doc span.image { + line-height: 1; + vertical-align: -0.5em; + display: inline-flex; + padding: 0 0.25ex; +} + .doc .abstract blockquote { font-size: 0.9375rem; margin: 1rem 0 1.5625rem 0; @@ -619,7 +626,7 @@ table.tableblock pre code.language-bash.hljs { } .doc .dlist dt + dd { - margin-top: 0.125rem; + margin-top: var(--base-extra-small-space); } .doc .dlist dd > .openblock > .content > :first-child { diff --git a/src/css/nav.css b/src/css/nav.css index 1072f9af..eff7dd2a 100644 --- a/src/css/nav.css +++ b/src/css/nav.css @@ -137,31 +137,17 @@ } .nav-menu .nav-item[data-depth='0'] > .nav-list { - /* - margin-top: -0.0625rem; - margin-bottom: 0.625rem; - */ margin-bottom: 0.75rem; - /* margin-left: 1rem; */ - /* border-left: 1px solid var(--color-brand-gray5); */ } -/* .nav-menu .nav-item.is-active.is-active-depth-2[data-depth='0'] > .nav-list { - margin-left: 1.875rem; - border-left: none; -} */ - -/* .nav-menu .nav-item.is-active.is-active-depth-2[data-depth='0'] > .nav-line { - display: none; -} */ - .nav-menu .nav-item:not(.is-active) > .nav-list { display: none; } -/* .nav-menu .nav-item { - margin-left: 0.75em; -} */ +.nav-item[data-depth="1"] span.nav-line { + padding-top: var(--base-extra-small-space); + padding-bottom: var(--base-extra-small-space); +} /* NOTE navigation list without a category */ .nav-item[data-depth="0"] > .nav-list:first-child { From 312e23658f25cf145420f9975d1a3f7d3f22e0ff Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 20 Jul 2020 17:47:34 -0600 Subject: [PATCH 2/6] fix conflict between csslint and opal --- gulp.d/tasks/build-preview-pages.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gulp.d/tasks/build-preview-pages.js b/gulp.d/tasks/build-preview-pages.js index 7d2bcdd1..ae1f3fc6 100644 --- a/gulp.d/tasks/build-preview-pages.js +++ b/gulp.d/tasks/build-preview-pages.js @@ -1,5 +1,11 @@ 'use strict' +// NOTE remove patch after upgrading from asciidoctor.js to @asciidoctor/core +Error.call = (self, ...args) => { + const err = new Error(...args) + return Object.assign(self, { message: err.message, stack: err.stack }) +} + const asciidoctor = require('asciidoctor.js')() const fs = require('fs-extra') const handlebars = require('handlebars') From e9fbcb35d2d927f786880ac7598174ac14315c5a Mon Sep 17 00:00:00 2001 From: cb-docs-robot Date: Mon, 20 Jul 2020 16:48:44 -0700 Subject: [PATCH 3/6] Release prod-68 --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 945bd15f..3db1456e 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,6 @@ = Couchbase Documentation UI // Variables: -:current-release: prod-67 +:current-release: prod-68 // Settings: :!example-caption: :experimental: From 3bab009996a3879e5b90117731ac1af1a6b89807 Mon Sep 17 00:00:00 2001 From: rakeshAlgo Date: Thu, 9 Jul 2020 18:15:03 +0530 Subject: [PATCH 4/6] Fix the alignment issues for icon and defination list --- src/css/doc.css | 9 ++++++++- src/css/nav.css | 22 ++++------------------ 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/css/doc.css b/src/css/doc.css index 1dc6a2ed..5508861a 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -448,6 +448,13 @@ ul ul ul { margin-top: var(--base-medium-space); } +.doc span.image { + line-height: 1; + vertical-align: -0.5em; + display: inline-flex; + padding: 0 0.25ex; +} + .doc .abstract blockquote { font-size: 0.9375rem; margin: 0; @@ -645,7 +652,7 @@ table.tableblock pre code.language-bash.hljs { } .doc .dlist dt + dd { - margin-top: var(--base-small-space); + margin-top: var(--base-extra-small-space); } /* .doc .dlist dd > .openblock > .content > :first-child { diff --git a/src/css/nav.css b/src/css/nav.css index a18ccf9b..0762cac6 100644 --- a/src/css/nav.css +++ b/src/css/nav.css @@ -115,31 +115,17 @@ } .nav-menu .nav-item[data-depth='0'] > .nav-list { - /* - margin-top: -0.0625rem; - margin-bottom: 0.625rem; - */ margin-bottom: 0.75rem; - /* margin-left: 1rem; */ - /* border-left: 1px solid var(--color-brand-gray5); */ } -/* .nav-menu .nav-item.is-active.is-active-depth-2[data-depth='0'] > .nav-list { - margin-left: 1.875rem; - border-left: none; -} */ - -/* .nav-menu .nav-item.is-active.is-active-depth-2[data-depth='0'] > .nav-line { - display: none; -} */ - .nav-menu .nav-item:not(.is-active) > .nav-list { display: none; } -/* .nav-menu .nav-item { - margin-left: 0.75em; -} */ +.nav-item[data-depth="1"] span.nav-line { + padding-top: var(--base-extra-small-space); + padding-bottom: var(--base-extra-small-space); +} /* NOTE navigation list without a category */ .nav-item[data-depth="0"] > .nav-list:first-child { From 381b1aeb42bdeaaa8a1531024316b7857e62c8b5 Mon Sep 17 00:00:00 2001 From: bindaasrakesh Date: Tue, 21 Jul 2020 10:39:19 +0530 Subject: [PATCH 5/6] Resolved conflict from doc.css file --- src/css/doc.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/css/doc.css b/src/css/doc.css index ab443b2f..0c7be157 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -449,7 +449,8 @@ ul ul ul { vertical-align: -0.5em; display: inline-flex; padding: 0 0.25ex; - +} + .doc .quoteblock { margin-top: var(--base-medium-space); } From 79d78fb6f8768fa2e435657d75cc3ae8438ffdea Mon Sep 17 00:00:00 2001 From: bindaasrakesh Date: Tue, 21 Jul 2020 10:41:19 +0530 Subject: [PATCH 6/6] Resolved Eslint errors from doc.css file --- src/css/doc.css | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/css/doc.css b/src/css/doc.css index 0c7be157..9c2fb45a 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -455,13 +455,6 @@ ul ul ul { margin-top: var(--base-medium-space); } -.doc span.image { - line-height: 1; - vertical-align: -0.5em; - display: inline-flex; - padding: 0 0.25ex; -} - .doc .abstract blockquote { font-size: 0.9375rem; margin: 0;