lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc in j1-template-2022.0.1 vs lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc in j1-template-2022.0.2
- old
+ new
@@ -55,11 +55,11 @@
// Include sub-documents (if any)
// -----------------------------------------------------------------------------
Themes for the template system J1 are based on the free and open-source CSS
front-end framework {url-bs--home}[Bootstrap, {browser-window--new}] of
-version V4.
+version V5.
Bootstrap is an HTML, CSS & JS Library that focuses on simplifying the
development of modern web pages. The primary purpose of applying the
framework to J1 is to provide a general standard for colors, sizes, fonts,
and the overall layout of a J1-based site. Bootstrap provides basic style
@@ -156,10 +156,10 @@
++++
<div class="btn-group">
<!-- See: https://stackoverflow.com/questions/47242702/force-bootstrap-dropdown-menu-to-always-display-at-the-bottom-and-allow-it-go-of -->
<!-- NOTE: control the behaviour of popper.js for positioning -->
<!-- NOTE: set attribute data-flip="false" to open the SELECT list at the BOTTOM of the BUTTON -->
- <button class="btn btn-primary btn-raised btn-flex btn-lg dropdown-toggle" data-flip="false" type="button" data-toggle="dropdown" data-target="#navbarDropdown" aria-haspopup="true" aria-expanded="false">
+ <button class="btn btn-primary btn-flex btn-lg dropdown-toggle" data-flip="false" type="button" data-bs-toggle="dropdown" data-bs-target="#navbarDropdown" aria-haspopup="true" aria-expanded="false">
Select Theme<span class="caret"></span>
</button>
<ul class="dropdown-menu scrollable-menu" role="menu">
<li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16</a></li>
<li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.dark</a></li>