File tree Expand file tree Collapse file tree 2 files changed +27
-11
lines changed Expand file tree Collapse file tree 2 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const Sidebar: FC<SidebarProps> = ({ ...props }) => {
23
23
< AppContext . Consumer >
24
24
{ ( context ) => (
25
25
< CSidebar
26
- className = "docs-sidebar border-end ps -xl-4 elevation-0"
26
+ className = "docs-sidebar border-end px -xl-4 elevation-0"
27
27
position = "fixed"
28
28
size = "lg"
29
29
visible = { context . sidebarVisible }
@@ -48,8 +48,8 @@ const Sidebar: FC<SidebarProps> = ({ ...props }) => {
48
48
</ g >
49
49
</ svg >
50
50
</ CSidebarBrand >
51
- < div className = "text-body-secondary ms-3 me-5 mb-2 small fw-semibold" > Framework:</ div >
52
- < CDropdown className = "ms-3 me-5 mb-4" >
51
+ < div className = "text-body-secondary mx-3 mb-2 small fw-semibold" > Framework:</ div >
52
+ < CDropdown className = "mx-3 mb-4" >
53
53
< CDropdownToggle color = "primary" variant = "outline" >
54
54
React.js
55
55
</ CDropdownToggle >
Original file line number Diff line number Diff line change 2
2
--cui-sidebar-bg : var (--cui-tertiary-bg );
3
3
--cui-sidebar-brand-bg : transparent ;
4
4
--cui-sidebar-brand-color : var (--cui-body-color );
5
- --cui-sidebar-nav-link-color : var (--cui-body-color );
6
- --cui-sidebar-nav-link-active-bg : transparent ;
7
- --cui-sidebar-nav-link-active-color : var (--cui-primary );
8
- --cui-sidebar-nav-link-hover-bg : transparent ;
9
- --cui-sidebar-nav-link-hover-color : var (--cui-primary );
10
- --cui-sidebar-nav-group-bg : transparent ;
11
- --cui-sidebar-nav-group-toggle-show-color : var (--cui-primary );
12
5
13
- .nav-group-items {
6
+ .sidebar-nav {
14
7
--cui-sidebar-nav-link-color : var (--cui-body-color );
8
+ --cui-sidebar-nav-link-active-bg : transparent ;
9
+ --cui-sidebar-nav-link-active-color : var (--cui-primary );
10
+ --cui-sidebar-nav-link-hover-bg : transparent ;
11
+ --cui-sidebar-nav-link-hover-color : var (--cui-primary );
12
+ --cui-sidebar-nav-link-icon-margin : 1rem ;
13
+ --cui-sidebar-nav-group-bg : transparent ;
14
+ --cui-sidebar-nav-group-toggle-show-color : var (--cui-primary );
15
+
16
+ .compact .nav-link {
17
+ --cui-sidebar-nav-link-padding-y : .375rem ;
18
+ }
19
+
20
+ .nav-group-items {
21
+ --cui-sidebar-nav-link-color : var (--cui-body-color );
22
+ }
23
+ }
24
+ }
25
+
26
+ @if $enable-dark-mode {
27
+ @include color-mode (dark ) {
28
+ .docs-sidebar {
29
+ --cui-sidebar-bg : var (--cui-body-bg );
30
+ }
15
31
}
16
32
}
You can’t perform that action at this time.
0 commit comments