From a451449766d581978068a5b8f8c1e27f50386ea7 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 23 Sep 2021 08:33:36 +0000 Subject: Revert "composer update bootstrap to version 5.1.1" This reverts commit 89e4006b2d84d398e34d407a019854823b1dd37d. --- .../docs/5.0/examples/offcanvas-navbar/index.html | 140 +++++++++++++++++++++ .../5.0/examples/offcanvas-navbar/offcanvas.css | 67 ++++++++++ .../5.0/examples/offcanvas-navbar/offcanvas.js | 7 ++ 3 files changed, 214 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/index.html create mode 100644 vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.css create mode 100644 vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.js (limited to 'vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar') diff --git a/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/index.html b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/index.html new file mode 100644 index 000000000..09c6488a5 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/index.html @@ -0,0 +1,140 @@ +--- +layout: examples +title: Offcanvas navbar template +extra_css: + - "offcanvas.css" +extra_js: + - src: "offcanvas.js" +body_class: "bg-light" +aliases: "/docs/5.0/examples/offcanvas/" +--- + + + + + +
+
+ +
+

Bootstrap

+ Since 2011 +
+
+ +
+
Recent updates
+
+ {{< placeholder width="32" height="32" background="#007bff" color="#007bff" class="flex-shrink-0 me-2 rounded" >}} +

+ @username + Some representative placeholder content, with some information about this user. Imagine this being some sort of status update, perhaps? +

+
+
+ {{< placeholder width="32" height="32" background="#e83e8c" color="#e83e8c" class="flex-shrink-0 me-2 rounded" >}} +

+ @username + Some more representative placeholder content, related to this other user. Another status update, perhaps. +

+
+
+ {{< placeholder width="32" height="32" background="#6f42c1" color="#6f42c1" class="flex-shrink-0 me-2 rounded" >}} +

+ @username + This user also gets some representative placeholder content. Maybe they did something interesting, and you really want to highlight this in the recent updates. +

+
+ + All updates + +
+ +
+
Suggestions
+
+ {{< placeholder width="32" height="32" background="#007bff" color="#007bff" class="flex-shrink-0 me-2 rounded" >}} +
+
+ Full Name + Follow +
+ @username +
+
+
+ {{< placeholder width="32" height="32" background="#007bff" color="#007bff" class="flex-shrink-0 me-2 rounded" >}} +
+
+ Full Name + Follow +
+ @username +
+
+
+ {{< placeholder width="32" height="32" background="#007bff" color="#007bff" class="flex-shrink-0 me-2 rounded" >}} +
+
+ Full Name + Follow +
+ @username +
+
+ + All suggestions + +
+
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.css b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.css new file mode 100644 index 000000000..29e26b11b --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.css @@ -0,0 +1,67 @@ +html, +body { + overflow-x: hidden; /* Prevent scroll on narrow devices */ +} + +body { + padding-top: 56px; +} + +@media (max-width: 991.98px) { + .offcanvas-collapse { + position: fixed; + top: 56px; /* Height of navbar */ + bottom: 0; + left: 100%; + width: 100%; + padding-right: 1rem; + padding-left: 1rem; + overflow-y: auto; + visibility: hidden; + background-color: #343a40; + transition: transform .3s ease-in-out, visibility .3s ease-in-out; + } + .offcanvas-collapse.open { + visibility: visible; + transform: translateX(-100%); + } +} + +.nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; +} + +.nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + color: rgba(255, 255, 255, .75); + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; +} + +.nav-underline .nav-link { + padding-top: .75rem; + padding-bottom: .75rem; + font-size: .875rem; + color: #6c757d; +} + +.nav-underline .nav-link:hover { + color: #007bff; +} + +.nav-underline .active { + font-weight: 500; + color: #343a40; +} + +.text-white-50 { color: rgba(255, 255, 255, .5); } + +.bg-purple { background-color: #6f42c1; } diff --git a/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.js b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.js new file mode 100644 index 000000000..91103b1c4 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/offcanvas-navbar/offcanvas.js @@ -0,0 +1,7 @@ +(function () { + 'use strict' + + document.querySelector('#navbarSideCollapse').addEventListener('click', function () { + document.querySelector('.offcanvas-collapse').classList.toggle('open') + }) +})() -- cgit v1.2.3