Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1fd0faf
Create index.tsx
josh-wong May 17, 2024
a8d55cf
Comment out tags in footer
josh-wong May 17, 2024
5f76631
Create index.tsx
josh-wong May 17, 2024
28b5612
Add tags to top of page
josh-wong May 17, 2024
feb550d
Add styles for tags at top of page
josh-wong May 17, 2024
17ea5df
Change tag header from `Tags:` to `Editions:`
josh-wong Jun 4, 2024
27fff57
Add Font Awesome plugins
josh-wong Jun 11, 2024
5c5c711
Add styles for Font Awesome question-mark icon
josh-wong Jun 11, 2024
8059caf
Add Font Awesome components and question-mark icon
josh-wong Jun 11, 2024
e0ffc79
Add tooltip for question-mark button/link
josh-wong Jun 12, 2024
c01918a
Add tooltip style and border to tags on hover
josh-wong Jun 12, 2024
582e60d
Create styles.module.css
josh-wong Aug 19, 2024
1476adf
Create index.tsx
josh-wong Aug 19, 2024
8101f02
Remove unnecessary styles
josh-wong Aug 19, 2024
0a6eaf0
Make `Edition` left-aligned
josh-wong Aug 19, 2024
a2b1536
Merge branch 'main' into add-support-for-tags-in-doc-header
josh-wong Aug 19, 2024
bde1a8b
Change component name
josh-wong Aug 19, 2024
e2fb9bd
Justify align tags with version
josh-wong Aug 23, 2024
486e4ae
Comment out "Editions"
josh-wong Aug 23, 2024
76bf675
Merge branch 'main' into add-support-for-tags-in-doc-header
josh-wong Sep 11, 2024
48dc65a
Add tags
josh-wong Sep 11, 2024
1b19e3c
Merge branch 'main' into add-support-for-tags-in-doc-header
josh-wong Sep 13, 2024
2c05748
Add tags
josh-wong Sep 13, 2024
d187d03
Remove awkward margin spacing on mobile
josh-wong Sep 13, 2024
ffd9945
Merge branch 'add-support-for-tags-in-doc-header' into announcement/a…
josh-wong Sep 18, 2024
7952940
Add announcement about unified docs for editions
josh-wong Sep 18, 2024
b14409d
Fix styling for announcement bar
josh-wong Sep 18, 2024
0e01818
Fix issue with tags being left aligned in Firefox
josh-wong Sep 18, 2024
71f4978
Merge branch 'add-support-for-tags-in-doc-header' into announcement/a…
josh-wong Sep 18, 2024
a98cf31
Fix collapse button background for Firefox
josh-wong Sep 18, 2024
30cd371
Revert "Merge branch 'add-support-for-tags-in-doc-header' into announ…
josh-wong Sep 18, 2024
b7b0c8f
Revert "Merge branch 'add-support-for-tags-in-doc-header' into announ…
josh-wong Sep 18, 2024
4d44d71
Revise message in announcement banner
josh-wong Sep 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,14 +456,15 @@ const config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
// announcementBar: {
// id: 'new_version',
// content:
// '<b>ScalarDB X.X is now available!🥳 For details on what\'s included in this new version, see the <a target="_self" rel="noopener noreferrer" href="/docs/latest/releases/release-notes">release notes</a>.<b>',
// backgroundColor: '#2673BB',
// textColor: '#FFFFFF',
// isCloseable: false,
// },
announcementBar: {
id: 'new_version',
content:
'<b>Docs for both ScalarDB Community and Enterprise editions now live on this site!</b> Editions that a doc applies to are in tags at the top of each page 🏷️',
// '<b>The ScalarDB X.X is now available!🥳 For details on what\'s included in this new version, see the <a target="_self" rel="noopener noreferrer" href="/docs/latest/releases/release-notes">release notes</a>.<b>',
backgroundColor: '#2673BB',
textColor: '#FFFFFF',
isCloseable: true,
},
zoom: {
selector: '.markdown :not(em) > img',
background: {
Expand Down
3 changes: 2 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
/* Announcement Bar */
div[class^='announcementBar'] {
font-size: 1.1rem;
padding: 20px 0;
padding: 5px 0;
height: auto;
}

/* Home page cards */
Expand Down
8 changes: 4 additions & 4 deletions src/theme/DocSidebar/Desktop/CollapseButton/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
:root {
--docusaurus-collapse-button-bg: transparent;
--docusaurus-collapse-button-bg-hover: rgb(0 0 0 / 10%);
--docusaurus-collapse-button-bg: rgba(255, 255, 255);
--docusaurus-collapse-button-bg-hover: rgba(246, 248, 250);
}

[data-theme='dark']:root {
--docusaurus-collapse-button-bg: rgb(255 255 255 / 5%);
--docusaurus-collapse-button-bg-hover: rgb(255 255 255 / 10%);
--docusaurus-collapse-button-bg: rgba(36, 37, 38);
--docusaurus-collapse-button-bg-hover: rgba(40, 42, 54);
}

@media (min-width: 997px) {
Expand Down