1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 04:41:36 +02:00

Convert popovers to CSS variables

This commit is contained in:
Mark Otto
2021-09-08 20:18:22 -07:00
committed by Mark Otto
parent 91312486b2
commit 2e75ec3c41
5 changed files with 148 additions and 66 deletions

View File

@@ -243,6 +243,17 @@
--bs-tooltip-bg: var(--bs-primary);
}
// scss-docs-start custom-popovers
.custom-popover {
--bs-popover-max-width: 200px;
--bs-popover-border-color: var(--bs-primary);
--bs-popover-header-bg: var(--bs-primary);
--bs-popover-header-color: var(--bs-white);
--bs-popover-body-padding-x: 1rem;
--bs-popover-body-padding-y: .5rem;
}
// scss-docs-end custom-popovers
// Scrollspy demo on fixed height div
.scrollspy-example {
position: relative;