@cbpds/web-components
Version:
Web components for the CBP Design System.
33 lines • 1.17 kB
CSS
/*
* Caution: "global styles" get injected into every component and can cause file size bloat.
* These should only include SASS variables and mixins that are not written out to CSS directly
*/
cbp-footer {
display: block;
}
cbp-footer .cbp-footer-nav {
--cbp-button-height: var(--cbp-space-11x);
--cbp-button-border-radius: 0;
background-color: var(--cbp-color-gray-cool-60);
padding-inline: var(--cbp-responsive-spacing-outer);
}
cbp-footer .cbp-footer-nav cbp-button {
width: 100%;
--cbp-button-width: 100%;
--cbp-button-padding: var(--cbp-space-2x) var(--cbp-space-3x);
}
cbp-footer .cbp-footer-nav cbp-button * {
justify-content: flex-start;
}
cbp-footer .cbp-footer-nav .cbp-flex-linearized cbp-flex-item,
cbp-footer .cbp-footer-nav cbp-flex-item:first-of-type {
margin-inline-start: calc(-1 * var(--cbp-space-3x));
}
cbp-footer .cbp-footer-content {
color: var(--cbp-color-text-lighter);
background-color: var(--cbp-color-gray-cool-70);
font-size: var(--cbp-font-size-body);
font-weight: var(--cbp-font-weight-regular);
line-height: var(--cbp-line-height-xs);
padding: var(--cbp-space-5x) var(--cbp-responsive-spacing-outer);
}