Skip to content

Commit 4d8744b

Browse files
committed
Resolve conflicts from main
1 parent c37c4da commit 4d8744b

File tree

12 files changed

+58
-56
lines changed

12 files changed

+58
-56
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#default-search::-webkit-search-cancel-button {
2+
@apply pr-2;
3+
-webkit-appearance: none;
4+
height: 16px;
5+
width: 16px;
6+
margin-left: .4em;
7+
background-image: url("data:image/svg+xml;utf8,<svg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'><path stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 18 17.94 6M18 18 6.06 6'/></svg>");
8+
cursor: pointer;
9+
background-repeat: no-repeat;
10+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#pages-nav {
2+
&::-webkit-scrollbar-track {
3+
background-color: transparent;
4+
}
5+
&:hover::-webkit-scrollbar-thumb {
6+
background-color: var(--color-gray-light);
7+
}
8+
&::-webkit-scrollbar {
9+
width: 8px;
10+
height: 8px;
11+
}
12+
&::-webkit-scrollbar-thumb {
13+
border-radius: 4px;
14+
}
15+
16+
scrollbar-gutter: stable;
17+
}
18+
19+
20+
#pages-nav li.current {
21+
position: relative;
22+
&::before {
23+
content: "";
24+
position: absolute;
25+
top: 50%;
26+
left: -1px;
27+
width: calc(var(--spacing) * 6);
28+
height: 1px;
29+
background-color: var(--color-gray-200);
30+
}
31+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.side-nav-link-text {
2+
font-family: "Mier B", "Inter", sans-serif;
3+
font-size: var(--text-sm);
4+
color: var(--color-ink);
5+
line-height: 1.2em;
6+
letter-spacing: -0.02em;
7+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {initNav} from "./pages-nav";
2-
import {initHighlight} from "./hljs";
1+
import {initNav} from "./layout/pages-nav";
2+
import {initHighlight} from "./markdown/codeblock";
33

44
initNav();
55
initHighlight();

src/Elastic.Markdown/Assets/hljs.ts renamed to src/Elastic.Markdown/Assets/markdown/codeblock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {mergeHTMLPlugin} from "./hljs-merge-html-plugin";
21
import hljs from "highlight.js";
2+
import {mergeHTMLPlugin} from "./hljs-merge-html-plugin";
33

44
hljs.registerLanguage('apiheader', function() {
55
return {

src/Elastic.Markdown/Assets/plugins.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)