diff --git a/cookbook/gatsby-browser.js b/cookbook/gatsby-browser.js deleted file mode 100644 index c6c9925..0000000 --- a/cookbook/gatsby-browser.js +++ /dev/null @@ -1 +0,0 @@ -import "./src/styles/index.scss"; diff --git a/cookbook/src/styles/index.scss b/cookbook/src/styles/index.scss deleted file mode 100644 index ecbe08e..0000000 --- a/cookbook/src/styles/index.scss +++ /dev/null @@ -1,175 +0,0 @@ -// This is where your application styles could go. - -[class*="PageHeader-module--page-header"] { - height: auto !important; - min-height: 13rem; - max-height: 15rem; - padding-top: 1rem; -} - -@media (min-width: 99rem) { - [class*="PageHeader-module--text"] { - font-size: 4rem !important; - } -} - -.bx--inline-notification__subtitle .bx--list--unordered { - width: 100%; -} - -.bx--inline-notification__subtitle .bx--list--unordered .bx--list__item { - font-size: 0.875rem; - line-height: 1.2rem; -} - -[class*="Tabs-module--panel"] { - padding-bottom: 1rem; - max-width: calc(67% + 1rem); -} - -[class*="Tabs-module--panel"] ul.bx--list--unordered { - width: 100%; -} - -[class*="Tabs-module--panel"] ul.bx--list--unordered li, -[class*="Tabs-module--panel"] div.bx--row p { - font-size: 14px; -} - -[class*="Tabs-module--panel"] ul + pre { - margin-top: 1rem; -} - -@media (min-width: 66rem) { - [class*="Tabs-module--panel"] { - padding-bottom: 1rem; - max-width: 75%; - } - [class*="Markdown-module--list"] { - max-width: 90%; - margin-bottom: 10px; - } - - [class*="Tabs-module--panel"] [class*="Code-module--row"] { - width: 100%; - } - - [class*="Markdown-module--list"].bx--list--nested { - width: calc(100% - 1rem); - margin-bottom: 10px; - } - - .page-table__container.bx--col-lg-8 { - display: block; - flex: 0 0 90%; - max-width: 90%; - } - .bx--no-gutter-sm.bx--col-lg-8 { - display: block; - flex: 0 0 90%; - max-width: 90%; - } - - li - [class*="InlineNotification-module--notification"].bx--col-md-6.bx--col-lg-8 { - display: block; - flex: 0 0 100%; - max-width: 100%; - } - - h3#global-properties + div.bx--row table.page-table tbody tr td:nth-child(1), - h3#liberty-runtime - + div.bx--row - + div.bx--row - table.page-table - tbody - tr - td:nth-child(1), - h3#batch-jobs - + div.bx--row - + div.bx--row - table.page-table - tbody - tr - td:nth-child(1) { - width: 35%; - } - - h3#ibm-mq - + div.bx--row - + div.bx--row - table.page-table - tbody - tr - td:nth-child(1), - h3#static-content-server - + div.bx--row - table.page-table - tbody - tr - td:nth-child(1), - h3#xml-server + div.bx--row table.page-table tbody tr td:nth-child(1), - h3#universal-access-react-app-optional - + div.bx--row - table.page-table - tbody - tr - td:nth-child(1) { - width: 30%; - } -} - -@media (max-width: 66rem) { - [class*="Tabs-module--panel"] { - max-width: 100%; - } - [class*="Tabs-module--panel"] [class*="Code-module--row"] { - width: 100%; - } -} - -// Hide SideBar and Footer when printing -@media print { - [class*="LeftNavWrapper-module--expanded"] { - display: none; - } - [class*="Footer-module--footer"] { - display: none; - } -} - -[class*="Code-module--row"] { - width: 70%; -} - -[class*="Markdown-module--list"] { - width: 77.5%; -} - -li [class*="Code-module--container"] { - width: 100%; -} - -.container:not(.container--homepage) .bx--grid { - max-width: 115rem; -} - -.bx--inline-notification.bx--inline-notification--low-contrast.bx--inline-notification--hide-close-button { - width: 86%; -} - -[class*="InlineNotification-module--notification"].bx--col-md-6.bx--col-lg-8 { - display: block; - flex: 0 0 80%; - max-width: 80%; -} - -[class*="Markdown-module--list-item"] .bx--row { - max-width: 100%; -} - -[class*="Caption-module--caption"] { - max-width: 95%; -} - -// This is where your application styles could go. diff --git a/packages/carbon-addons-devenv/src/react/addons_samples/Logo/Logo.stories.js b/packages/carbon-addons-devenv/src/react/addons_samples/Logo/Logo.stories.js index 5f5bc73..13cb969 100644 --- a/packages/carbon-addons-devenv/src/react/addons_samples/Logo/Logo.stories.js +++ b/packages/carbon-addons-devenv/src/react/addons_samples/Logo/Logo.stories.js @@ -1,6 +1,7 @@ import React from "react"; import Example from "../../../examples/images/sample-logo.jpg"; import Logo from "./Logo"; +import settings from "../../core/settings"; export default { title: "Logo", @@ -37,25 +38,25 @@ Large.args = { export const All = () => { return (