Skip to content

Commit 5ca3879

Browse files
committed
Nac styling
1 parent b07ca71 commit 5ca3879

File tree

2 files changed

+29
-18
lines changed

2 files changed

+29
-18
lines changed

docs/getting-started/installing.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ For VS Code-compatible editors without Marketplace access (like VSCodium and Win
6262
5. Reload if prompted
6363

6464
<img src="/img/installing/installing-3.png" alt="Open VSX Registry with Roo Code extension ready to install" width="400" />
65-
*Open VSX Registry with Roo Code extension ready to install*
66-
---
65+
6766

6867
## Roo Code Nightly
6968

7069
For information on installing Roo Code Nightly (our prerelease build published on each merge to main), please see the [Roo Code Nightly](/advanced-usage/roo-code-nightly) guide in the Advanced Usage section.
7170

72-
---
7371

7472
## Manual Installation from VSIX
7573

src/css/custom.css

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ pre {
390390
backdrop-filter: blur(12px) !important;
391391
-webkit-backdrop-filter: blur(12px) !important;
392392
padding: 0 !important;
393+
box-shadow: none;
393394
}
394395

395396
/* Remove backdrop-filter on mobile to fix menu stacking context issues */
@@ -554,7 +555,11 @@ pre {
554555
/* Clean sidebar like roocode.com */
555556
.theme-doc-sidebar-container {
556557
backdrop-filter: blur(20px);
557-
border-right: 1px solid hsl(var(--border));
558+
border-right: 1px solid hsl(var(--border));
559+
}
560+
561+
.theme-doc-sidebar-menu {
562+
margin: 14px;
558563
}
559564

560565
/* Clean TOC */
@@ -1477,34 +1482,33 @@ body {
14771482
font-weight: 400 !important; /* Normal weight */
14781483
}
14791484

1480-
/* Keep navigation and secondary text slightly dimmer */
14811485
.menu__link,
14821486
.table-of-contents__link,
14831487
.navbar__link,
14841488
.breadcrumbs__link,
14851489
.footer__link-item {
1486-
color: hsl(var(--foreground) / 0.7) !important; /* 70% for secondary text */
1490+
color: hsl(var(--foreground) / 0.7) !important;
1491+
transition: all 0.25s;
14871492
}
14881493

1489-
/* Active/hover states should be full brightness */
14901494
.menu__link:hover,
14911495
.menu__link--active,
14921496
.table-of-contents__link:hover,
14931497
.table-of-contents__link--active,
14941498
.navbar__link:hover,
14951499
.breadcrumbs__link:hover,
14961500
.footer__link-item:hover {
1497-
color: hsl(var(--foreground)) !important; /* 100% on hover/active */
1498-
1501+
color: hsl(var(--foreground)) !important;
1502+
background: none !important;
14991503
}
15001504

15011505
.menu__list-item--collapsed .menu__link--sublist::after,
15021506
.menu__list-item--collapsed .menu__caret::before,
15031507
.menu__link:after,
15041508
.menu__link--active:after {
1505-
height: 1.4em;
1506-
width: 1.4em;
1507-
background: var(--ifm-menu-link-sublist-icon) 50% / 1.4rem 1.4rem;
1509+
height: 1.2em;
1510+
width: 1.2em;
1511+
background: var(--ifm-menu-link-sublist-icon) 50% / 1.2rem 1.2rem;
15081512
transition: transform 0.25s;
15091513
}
15101514

@@ -1767,7 +1771,12 @@ main[class*="docMainContainer"] {
17671771
padding: 0.375rem 0.75rem; /* Reduced vertical padding */
17681772
border-radius: calc(var(--radius));
17691773
transition: all 200ms ease;
1770-
font-size: 0.875rem; /* Ensure consistent font size */
1774+
font-size: var(--text-regular-size); /* Ensure consistent font size */
1775+
}
1776+
1777+
.menu__link:hover,
1778+
.menu__list-item-collapsible:hover {
1779+
background: none !important;
17711780
}
17721781

17731782
/* Nested menu items */
@@ -1776,7 +1785,7 @@ main[class*="docMainContainer"] {
17761785
margin-left: 0.75rem; /* Indentation for nested items */
17771786
margin-top: 0.25rem;
17781787
margin-bottom: 1.5rem;
1779-
padding-left: 0.75em;
1788+
padding-left: 0.5em;
17801789
}
17811790

17821791
/* Category headers */
@@ -1799,9 +1808,13 @@ main[class*="docMainContainer"] {
17991808
background: hsl(var(--background) / 0.5);
18001809
}
18011810

1802-
.menu__link--active {
1803-
background: hsl(var(--background) / 0.7);
1804-
font-weight: 500;
1811+
.menu__link--active,
1812+
.menu__link--active:not(.menu__link--sublist) {
1813+
background: none;
1814+
}
1815+
1816+
.menu__list_item .menu__link--active {
1817+
background: red !important;
18051818
}
18061819

18071820
/* TOC styling */
@@ -2077,7 +2090,7 @@ html {
20772090

20782091
.breadcrumbs__item {
20792092
color: hsl(var(--muted-foreground));
2080-
2093+
cursor: default;
20812094
}
20822095

20832096
.breadcrumbs__link {

0 commit comments

Comments
 (0)