gatsby-theme-carbon 3.1.13 → 3.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/Grid/Grid.js +1 -5
- package/src/components/InlineNotification/InlineNotification.js +0 -1
- package/src/components/LeftNav/LeftNav.module.scss +6 -4
- package/src/components/markdown/Markdown.module.scss +3 -2
- package/src/styles/internal/_website-side-nav.scss +6 -2
- package/src/templates/Homepage.js +0 -2
package/package.json
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import cx from 'classnames';
|
|
4
|
-
import {
|
|
5
|
-
FlexGrid,
|
|
6
|
-
Row as CarbonRow,
|
|
7
|
-
Column as CarbonColumn,
|
|
8
|
-
} from '@carbon/react';
|
|
4
|
+
import { FlexGrid, Column as CarbonColumn } from '@carbon/react';
|
|
9
5
|
import { column } from './Grid.module.scss';
|
|
10
6
|
|
|
11
7
|
export const Grid = ({ children, className, ...rest }) => (
|
|
@@ -64,8 +64,9 @@ nav.side-nav--dark :global(svg) {
|
|
|
64
64
|
|
|
65
65
|
// Background for selected top level accordion when *not* hovering
|
|
66
66
|
.side-nav--dark
|
|
67
|
-
:global(
|
|
68
|
-
.cds--side-nav__submenu[aria-expanded='false']
|
|
67
|
+
:global(
|
|
68
|
+
.cds--side-nav__item--active .cds--side-nav__submenu[aria-expanded='false']
|
|
69
|
+
) {
|
|
69
70
|
background: $gray-80;
|
|
70
71
|
}
|
|
71
72
|
|
|
@@ -78,8 +79,9 @@ nav.side-nav--dark :global(svg) {
|
|
|
78
79
|
|
|
79
80
|
// Background color for nested accordion items
|
|
80
81
|
.side-nav--dark.side-nav--dark
|
|
81
|
-
:global(
|
|
82
|
-
.cds--side-nav__link.cds--side-nav__link--current
|
|
82
|
+
:global(
|
|
83
|
+
.cds--side-nav__menu .cds--side-nav__link.cds--side-nav__link--current
|
|
84
|
+
) {
|
|
83
85
|
background: $gray-80;
|
|
84
86
|
}
|
|
85
87
|
|
|
@@ -195,8 +195,9 @@ ul :global(.cds--list--unordered) {
|
|
|
195
195
|
text-indent: 0;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
:global(
|
|
199
|
-
> .cds--list__item::before
|
|
198
|
+
:global(
|
|
199
|
+
.cds--list--ordered:not(.cds--list--nested) > .cds--list__item::before
|
|
200
|
+
) {
|
|
200
201
|
display: none;
|
|
201
202
|
}
|
|
202
203
|
|
|
@@ -128,7 +128,9 @@
|
|
|
128
128
|
.cds--side-nav__item:not(.cds--side-nav__item--active):hover
|
|
129
129
|
> .cds--side-nav__submenu,
|
|
130
130
|
.cds--side-nav__menu
|
|
131
|
-
a.cds--side-nav__link:not(.cds--side-nav__link--current):not(
|
|
131
|
+
a.cds--side-nav__link:not(.cds--side-nav__link--current):not(
|
|
132
|
+
[aria-current='page']
|
|
133
|
+
):hover,
|
|
132
134
|
.cds--side-nav__item:not(.cds--side-nav__item--active):hover
|
|
133
135
|
> .cds--side-nav__link {
|
|
134
136
|
background-color: #353535;
|
|
@@ -148,7 +150,9 @@
|
|
|
148
150
|
> .cds--side-nav__submenu,
|
|
149
151
|
.cds--side-nav--website--light
|
|
150
152
|
.cds--side-nav__menu
|
|
151
|
-
a.cds--side-nav__link:not(.cds--side-nav__link--current):not(
|
|
153
|
+
a.cds--side-nav__link:not(.cds--side-nav__link--current):not(
|
|
154
|
+
[aria-current='page']
|
|
155
|
+
):hover,
|
|
152
156
|
.cds--side-nav--website--light
|
|
153
157
|
.cds--side-nav__item:not(.cds--side-nav__item--active):hover
|
|
154
158
|
> .cds--side-nav__link {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Layout from '../components/Layout';
|
|
3
|
-
import { HomepageBanner, HomepageCallout } from '../components/Homepage';
|
|
4
|
-
import Carbon from '../images/carbon.jpg';
|
|
5
3
|
import Main from '../components/Main';
|
|
6
4
|
import useMetadata from '../util/hooks/useMetadata';
|
|
7
5
|
import Utils from '../components/Utils';
|