Skip to content

Commit 97dac35

Browse files
author
rakeshAlgo
committed
Merge branch 'master' of https://github.com/couchbase/docs-ui-sandbox into ui-bug-fixes
2 parents 1f60be6 + 58e062e commit 97dac35

File tree

11 files changed

+105
-77
lines changed

11 files changed

+105
-77
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Couchbase Documentation UI
22
// Variables:
3-
:current-release: prod-56
3+
:current-release: prod-59
44
// Settings:
55
:!example-caption:
66
:experimental:

src/css/header.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
flex-wrap: wrap;
1414
align-items: center;
1515
justify-content: space-between;
16-
padding: 0.5rem var(--width-container-gutter);
16+
padding: 0.5rem 0;
1717
}
1818

1919
.navbar-toggler {
@@ -44,6 +44,10 @@
4444

4545
.navbar.navbar-new-bottom {
4646
background: var(--color-brand-blue-secondary);
47+
}
48+
49+
.header-bottom-row {
50+
background: var(--color-brand-blue-secondary);
4751
display: none;
4852
}
4953

@@ -204,7 +208,7 @@
204208

205209
.primary-action {
206210
position: absolute;
207-
right: 1.25rem;
211+
right: 0;
208212
top: -137%;
209213
}
210214

@@ -214,6 +218,10 @@
214218
line-height: 1;
215219
}
216220

221+
.header-bottom-row {
222+
display: block;
223+
}
224+
217225
.navbar-new-bottom .nav-item:first-child {
218226
margin-left: 0;
219227
}
@@ -230,7 +238,7 @@
230238
}
231239

232240
.navbar.navbar-new-top {
233-
padding: 1.25rem;
241+
padding: 1.25rem 0;
234242
line-height: 1;
235243
}
236244
}

src/css/nav.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,19 @@
4545
height: 100%;
4646
/* height: var(--height-nav); */
4747
z-index: var(--z-index-nav);
48-
border-left: 2px solid #eee;
48+
/* border-left: 2px solid #eee; */
49+
}
50+
51+
.left-sidebar-menu::before {
52+
position: absolute;
53+
content: '';
54+
display: inline-block;
55+
width: 1000%;
56+
height: 100%;
57+
background: var(--color-brand-gray7);
58+
top: 0;
59+
z-index: 1;
60+
left: -1000%;
4961
}
5062
}
5163

@@ -481,8 +493,6 @@ a.menu-expand-toggle {
481493
top: var(--height-to-body);
482494
margin-bottom: 1.5rem;
483495
/* height: var(--height-nav); */
484-
border-left: 2px solid #eee;
485-
border-right: 2px solid #eee;
486496
}
487497

488498
.nav-control {

src/layouts/landing-page-tutorials.hbs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
</head>
88
<body class="landing-page">
99
{{> header}}
10-
<div class="body container-fluid ">
11-
{{> tutorials-filter}}
1210
{{> body-landing-tutorials}}
13-
</div>
1411
{{> footer}}
1512
</body>
1613
</html>

src/partials/body-home.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="body container-fluid">
1+
<div class="body container">
22
<main class="home" data-ceiling="topbar">
33
<article class="doc">
44
<h1 class="page">{{{page.title}}}</h1>

src/partials/body-landing-core-concept.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="body container-fluid">
1+
<div class="body container">
22
{{> nav}}
33
{{> toc}}
44
<main class="article" data-ceiling="topbar">

src/partials/body-landing-sdk.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="body container-fluid">
1+
<div class="body container">
22
{{> nav}}
33
{{> toc}}
44
<main class="article" data-ceiling="topbar">

src/partials/body-landing-top-level-sdk.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="body container-fluid">
1+
<div class="body container">
22
<main class="article" data-ceiling="topbar">
33
<article class="doc landing-page-doc">
44
{{{page.contents}}}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
1+
<div class="body container ">
2+
{{> tutorials-filter}}
23
<main class="article" data-ceiling="topbar">
34
<article class="doc landing-page-doc">
4-
55
{{{page.contents}}}
66

77
</article>
88
</main>
9+
</div>

src/partials/body.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="body container-fluid{{#with (or page.role page.attributes.role)}} {{{this}}}{{/with}}">
1+
<div class="body container{{#with (or page.role page.attributes.role)}} {{{this}}}{{/with}}">
22
{{> nav}}
33
{{> toc}}
44
{{> main}}

0 commit comments

Comments
 (0)