Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Déramond <julien.deramond@orange.com>2022-01-19 14:27:57 +0300
committerGitHub <noreply@github.com>2022-01-19 14:27:57 +0300
commit520cc8de92ca48d7ac60102d992d7afe9788b239 (patch)
treedbc61e6a807599a8b0befff41b175a37a2f07bb5 /site/layouts
parentcd208341a198f22f60f20e674b8060d5e7d65f92 (diff)
Docs: group together reusable CSS for examples in a single stylesheet (#35649)
* Docs: group together examples reusable CSS in a stylesheet * Use pointer-events utility in sidebars example * Remove @import and move the content into _default/examples.html. Handle 2 sorts of dividers * Remove footers.css extra css declaration * Fix modals example * Review: remove .b-example-hr Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Diffstat (limited to 'site/layouts')
-rw-r--r--site/layouts/_default/examples.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html
index 948c3756fc..6709cdfa79 100644
--- a/site/layouts/_default/examples.html
+++ b/site/layouts/_default/examples.html
@@ -31,6 +31,25 @@
font-size: 3.5rem;
}
}
+
+ .b-example-divider {
+ height: 3rem;
+ background-color: rgba(0, 0, 0, .1);
+ border: solid rgba(0, 0, 0, .15);
+ border-width: 1px 0;
+ box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
+ }
+
+ .b-example-vr {
+ flex-shrink: 0;
+ width: 1.5rem;
+ height: 100vh;
+ }
+
+ .bi {
+ vertical-align: -.125em;
+ fill: currentColor;
+ }
</style>
{{ range .Page.Params.extra_css }}