aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/assets/scss/_component-examples.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/assets/scss/_component-examples.scss')
-rw-r--r--vendor/twbs/bootstrap/site/assets/scss/_component-examples.scss34
1 files changed, 21 insertions, 13 deletions
diff --git a/vendor/twbs/bootstrap/site/assets/scss/_component-examples.scss b/vendor/twbs/bootstrap/site/assets/scss/_component-examples.scss
index 11800a638..14adbe94d 100644
--- a/vendor/twbs/bootstrap/site/assets/scss/_component-examples.scss
+++ b/vendor/twbs/bootstrap/site/assets/scss/_component-examples.scss
@@ -134,7 +134,7 @@
background-color: rgba(var(--bd-violet-rgb), .15);
}
-.bd-example-flex div {
+.bd-example-flex div:not(.vr) {
background-color: rgba(var(--bd-violet-rgb), .15);
border: 1px solid rgba(var(--bd-violet-rgb), .3);
}
@@ -314,8 +314,15 @@
min-height: 15rem;
> div {
- background-color: tint-color($bd-violet, 75%);
- border: 1px solid tint-color($bd-violet, 50%);
+ color: var(--bs-body-bg);
+ background-color: var(--bd-violet);
+ border: 1px solid var(--bd-purple);
+
+ > span {
+ position: absolute;
+ right: 5px;
+ bottom: 0;
+ }
}
> :nth-child(2) {
@@ -344,7 +351,7 @@
position: relative;
padding: .75rem ($bd-gutter-x * .5);
margin-bottom: 1rem;
- background-color: var(--bs-tertiary-bg);
+ background-color: var(--bd-pre-bg);
@include media-breakpoint-up(md) {
padding: .75rem 1.25rem;
@@ -352,10 +359,11 @@
}
pre {
- padding: 0;
- margin-top: .625rem;
+ padding: .25rem 0 .875rem;
+ margin-top: .8125rem;
margin-right: 1.875rem;
- margin-bottom: .625rem;
+ margin-bottom: 0;
+ overflow: overlay;
white-space: pre;
background-color: transparent;
border: 0;
@@ -373,6 +381,7 @@
.highlight {
margin-bottom: 0;
+ @include border-top-radius(0);
}
.bd-example {
@@ -388,12 +397,11 @@
}
.highlight-toolbar {
- background-color: var(--bs-tertiary-bg);
- border: solid var(--bs-border-color);
- border-width: 1px 0;
+ background-color: var(--bd-pre-bg);
+}
- .btn-clipboard {
- margin-top: 0;
- margin-right: 0;
+.bd-scss-docs {
+ .highlight-toolbar {
+ @include border-top-radius(calc(var(--bs-border-radius) + 1px));
}
}