2020-01-18 00:18:09 +00:00
|
|
|
/* Global Component Styles */
|
2020-12-17 21:53:33 +00:00
|
|
|
@import '~@hashicorp/mktg-global-styles/style.css';
|
|
|
|
@import '~@hashicorp/mktg-global-styles/_temporary-to-remove/layout.css';
|
2021-02-02 04:24:04 +00:00
|
|
|
@import '~@hashicorp/mktg-global-styles/_temporary-to-remove/tables.css';
|
2020-05-21 17:18:17 +00:00
|
|
|
@import '~@hashicorp/nextjs-scripts/prism/style.css';
|
2020-01-18 00:18:09 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--highlight-color: var(--brand);
|
|
|
|
}
|
|
|
|
|
2021-01-11 16:17:03 +00:00
|
|
|
@import '~@hashicorp/react-alert-banner/style.css';
|
2020-12-17 21:53:33 +00:00
|
|
|
@import '~@hashicorp/react-button/styles/index.css';
|
|
|
|
@import '~@hashicorp/react-case-study-slider/style.css';
|
2021-01-07 19:40:35 +00:00
|
|
|
@import '~@hashicorp/react-code-block/style.css';
|
|
|
|
@import '~@hashicorp/react-consent-manager/style.css';
|
2020-12-17 21:53:33 +00:00
|
|
|
@import '~@hashicorp/react-content/style.css';
|
|
|
|
@import '~@hashicorp/react-docs-page/style.css';
|
2021-01-07 19:40:35 +00:00
|
|
|
@import '~@hashicorp/react-enterprise-alert/style.css';
|
2020-12-17 21:53:33 +00:00
|
|
|
@import '~@hashicorp/react-hero/style.css';
|
2021-01-07 19:40:35 +00:00
|
|
|
@import '~@hashicorp/react-logo-grid/style.css';
|
2020-12-17 21:53:33 +00:00
|
|
|
@import '~@hashicorp/react-search/style.css';
|
|
|
|
@import '~@hashicorp/react-section-header/style.css';
|
2021-01-07 19:40:35 +00:00
|
|
|
@import '~@hashicorp/react-tabs/style.css';
|
|
|
|
@import '~@hashicorp/react-text-split/style.css';
|
|
|
|
@import '~@hashicorp/react-toggle/style.css';
|
2020-09-08 21:17:36 +00:00
|
|
|
@import '~@hashicorp/react-use-cases/dist/style.css';
|
2020-12-17 21:53:33 +00:00
|
|
|
@import '~@hashicorp/react-vertical-text-block-list/style.css';
|
2020-01-18 00:18:09 +00:00
|
|
|
|
|
|
|
/* Global Components - Transpiled */
|
|
|
|
|
|
|
|
/* Local Components */
|
2020-05-21 17:18:17 +00:00
|
|
|
@import '../components/footer/style.css';
|
2020-09-08 21:17:36 +00:00
|
|
|
@import '../components/subnav/style.css';
|
|
|
|
@import '../components/use-case-cta-section/style.css';
|
2020-01-18 00:18:09 +00:00
|
|
|
|
|
|
|
/* Pages */
|
2020-05-21 17:18:17 +00:00
|
|
|
@import './not-found/style.css';
|
2020-01-18 00:18:09 +00:00
|
|
|
@import './community/style.css';
|
|
|
|
@import './use-cases/style.css';
|
|
|
|
|
2020-03-13 17:14:08 +00:00
|
|
|
/* Print Styles */
|
|
|
|
@import './print.css';
|
|
|
|
|
2020-04-02 18:26:24 +00:00
|
|
|
/*
|
|
|
|
* About this selector:
|
|
|
|
* `.g-subnav ~ *` finds all elements after the navigation.
|
|
|
|
* `:target` finds the active permalink on the page.
|
|
|
|
*
|
|
|
|
* About this style:
|
|
|
|
* `scroll-margin-top` adjusts the vertical scroll of a permalink.
|
|
|
|
* `64px` adjusts the scroll to account for the navigation.
|
|
|
|
* `0.5em` further adjusts the scroll to give the permalink breathing room.
|
|
|
|
*
|
|
|
|
* See: https://developer.mozilla.org/en-US/docs/Web/CSS/:target
|
|
|
|
* See: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-margin-top
|
|
|
|
*/
|
|
|
|
.g-subnav ~ * :target {
|
|
|
|
scroll-margin-top: calc(64px + 0.5em);
|
|
|
|
}
|
|
|
|
|
2020-01-18 00:18:09 +00:00
|
|
|
/* Layout Styles */
|
|
|
|
.g-section-block section {
|
|
|
|
padding-top: 96px;
|
|
|
|
padding-bottom: 96px;
|
|
|
|
|
2020-07-02 18:24:34 +00:00
|
|
|
& > .g-section-header + *,
|
|
|
|
& > .g-container > .g-section-header + * {
|
|
|
|
margin-top: 72px;
|
|
|
|
}
|
2020-01-18 00:18:09 +00:00
|
|
|
|
2021-01-07 19:40:35 +00:00
|
|
|
&:not(.no-section-spacing) > * + *,
|
2020-07-02 18:24:34 +00:00
|
|
|
& > .g-container > * + * {
|
|
|
|
margin-top: 96px;
|
|
|
|
}
|
2020-01-18 00:18:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block .button-container {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin: auto -8px -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block section > * + .button-container,
|
|
|
|
.g-section-block section > .g-container > * + .button-container {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block .button-container > * {
|
|
|
|
margin: auto 8px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.g-section-block.theme-black-background-white-text {
|
|
|
|
background: var(--gray-1);
|
|
|
|
color: white;
|
|
|
|
}
|
2021-04-13 19:59:43 +00:00
|
|
|
|
|
|
|
/** DEBT: short term patch until the branding changes roll out. Remove this with this PR — https://github.com/hashicorp/vault/pull/11118 **/
|
|
|
|
.g-content {
|
|
|
|
--brand-text: var(--vagrant) !important;
|
|
|
|
}
|
2021-04-22 17:41:07 +00:00
|
|
|
.g-docs-sidenav {
|
|
|
|
--brand: var(--vagrant) !important;
|
|
|
|
--brand-text: var(--vagrant) !important;
|
|
|
|
}
|