From cf9454caa00872899215603e5e036d9a824b1b11 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 24 Dec 2022 18:37:22 +0200 Subject: Release v5.3.0-alpha1 (#37661) * Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto --- .../docs/5.3/examples/dropdowns/dropdowns.css | 79 +++++ .../content/docs/5.3/examples/dropdowns/index.html | 338 +++++++++++++++++++++ 2 files changed, 417 insertions(+) create mode 100644 site/content/docs/5.3/examples/dropdowns/dropdowns.css create mode 100644 site/content/docs/5.3/examples/dropdowns/index.html (limited to 'site/content/docs/5.3/examples/dropdowns') diff --git a/site/content/docs/5.3/examples/dropdowns/dropdowns.css b/site/content/docs/5.3/examples/dropdowns/dropdowns.css new file mode 100644 index 000000000..556f310a9 --- /dev/null +++ b/site/content/docs/5.3/examples/dropdowns/dropdowns.css @@ -0,0 +1,79 @@ +.dropdown-menu { + margin: 4rem auto; +} + +.dropdown-item-danger { + color: var(--bs-red); +} +.dropdown-item-danger:hover, +.dropdown-item-danger:focus { + color: #fff; + background-color: var(--bs-red); +} +.dropdown-item-danger.active { + background-color: var(--bs-red); +} + +.btn-hover-light { + background-color: var(--bs-white); +} +.btn-hover-light:hover, +.btn-hover-light:focus { + color: var(--bs-blue); + background-color: var(--bs-light); +} + +.cal-month, +.cal-days, +.cal-weekdays { + display: grid; + grid-template-columns: repeat(7, 1fr); + align-items: center; +} +.cal-month-name { + grid-column-start: 2; + grid-column-end: 7; + text-align: center; +} +.cal-weekday, +.cal-btn { + display: flex; + flex-shrink: 0; + align-items: center; + justify-content: center; + height: 3rem; + padding: 0; +} +.cal-btn:not([disabled]) { + font-weight: 500; +} +.cal-btn:hover, +.cal-btn:focus { + background-color: rgba(0, 0, 0, .05); +} +.cal-btn[disabled] { + border: 0; + opacity: .5; +} + +.form-control-dark { + background-color: rgba(255, 255, 255, .05); + border-color: rgba(255, 255, 255, .15); +} + + +.w-220px { + width: 220px; +} + +.w-280px { + width: 280px; +} + +.w-340px { + width: 340px; +} + +.w-600px { + width: 600px; +} diff --git a/site/content/docs/5.3/examples/dropdowns/index.html b/site/content/docs/5.3/examples/dropdowns/index.html new file mode 100644 index 000000000..f08f69701 --- /dev/null +++ b/site/content/docs/5.3/examples/dropdowns/index.html @@ -0,0 +1,338 @@ +--- +layout: examples +title: Dropdowns +extra_css: + - "dropdowns.css" +body_class: "" +--- + + + + Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + -- cgit v1.2.3 From 9bd7228ed6f3a92d679fbb4eee6f36d6d9d26984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 22 Dec 2022 15:18:46 +0100 Subject: Remove some unused SVGs in Dropdowns example --- .../content/docs/5.3/examples/dropdowns/index.html | 31 ---------------------- 1 file changed, 31 deletions(-) (limited to 'site/content/docs/5.3/examples/dropdowns') diff --git a/site/content/docs/5.3/examples/dropdowns/index.html b/site/content/docs/5.3/examples/dropdowns/index.html index f08f69701..5ff614563 100644 --- a/site/content/docs/5.3/examples/dropdowns/index.html +++ b/site/content/docs/5.3/examples/dropdowns/index.html @@ -7,37 +7,6 @@ body_class: "" --- - - Bootstrap - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3 From 8befabbde90e8ee19f8bf9196840e25c07130710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 29 Dec 2022 07:58:35 +0100 Subject: Docs: display examples based on the docs current color mode (#37562) * Docs: display examples based on the docs current color mode * Fix _default/examples.html --- site/content/docs/5.3/examples/dropdowns/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content/docs/5.3/examples/dropdowns') diff --git a/site/content/docs/5.3/examples/dropdowns/index.html b/site/content/docs/5.3/examples/dropdowns/index.html index 5ff614563..90d41c490 100644 --- a/site/content/docs/5.3/examples/dropdowns/index.html +++ b/site/content/docs/5.3/examples/dropdowns/index.html @@ -70,7 +70,7 @@ body_class: ""