From 2d8da8bcb0432daeb7de9d0042690af3be84f422 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 22 Jun 2021 19:15:02 -0700 Subject: Add four new snippet examples (#33882) * Add four new snippet examples - Dropdowns - Footers - List groups - Modals * Fix HTML linter errors * more linter --- site/content/docs/5.0/examples/modals/index.html | 173 +++++++++++++++++++++++ site/content/docs/5.0/examples/modals/modals.css | 34 +++++ 2 files changed, 207 insertions(+) create mode 100644 site/content/docs/5.0/examples/modals/index.html create mode 100644 site/content/docs/5.0/examples/modals/modals.css (limited to 'site/content/docs/5.0/examples/modals') diff --git a/site/content/docs/5.0/examples/modals/index.html b/site/content/docs/5.0/examples/modals/index.html new file mode 100644 index 000000000..cc0feff87 --- /dev/null +++ b/site/content/docs/5.0/examples/modals/index.html @@ -0,0 +1,173 @@ +--- +layout: examples +title: Modals +extra_css: + - "modals.css" +body_class: "" +--- + + + + Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
diff --git a/site/content/docs/5.0/examples/modals/modals.css b/site/content/docs/5.0/examples/modals/modals.css new file mode 100644 index 000000000..8fda8212a --- /dev/null +++ b/site/content/docs/5.0/examples/modals/modals.css @@ -0,0 +1,34 @@ +.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); +} + +.bi { + vertical-align: -.125em; + fill: currentColor; +} + +.rounded-4 { border-radius: .5rem; } +.rounded-5 { border-radius: .75rem; } +.rounded-6 { border-radius: 1rem; } + +.modal-sheet .modal-dialog { + width: 380px; + transition: bottom .75s ease-in-out; +} +.modal-sheet .modal-footer { + padding-bottom: 2rem; +} + +.modal-alert .modal-dialog { + width: 380px; +} + +.border-right { border-right: 1px solid #eee; } + +.modal-tour .modal-dialog { + width: 380px; +} -- cgit v1.2.3