diff options
author | Julien Déramond <julien.deramond@orange.com> | 2022-02-09 22:12:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 22:12:08 +0300 |
commit | d3babf7d7f684daf2fb53491b3b03c3d77fdaada (patch) | |
tree | a604c524198970eef7e571e425fdbed426f5b5e9 /site/content/docs | |
parent | d19c635f164487b377e72dd56ffff4a64964c0b8 (diff) |
Remove remaining `.navbar-light` classes (#35814)
* Fix typo in CSS variables documentation
* Drop remaining .navbar-light classes
Diffstat (limited to 'site/content/docs')
5 files changed, 10 insertions, 10 deletions
diff --git a/site/content/docs/5.1/components/navbar.md b/site/content/docs/5.1/components/navbar.md index 3c1b7cae9f..08eb705279 100644 --- a/site/content/docs/5.1/components/navbar.md +++ b/site/content/docs/5.1/components/navbar.md @@ -492,7 +492,7 @@ Fixed navbars use `position: fixed`, meaning they're pulled from the normal flow {{< /example >}} {{< example >}} -<nav class="navbar sticky-bottom navbar-light bg-light"> +<nav class="navbar sticky-bottom bg-light"> <div class="container-fluid"> <a class="navbar-brand" href="#">Sticky bottom</a> </div> diff --git a/site/content/docs/5.1/components/scrollspy.md b/site/content/docs/5.1/components/scrollspy.md index aeabb81857..d8a9ef5d9f 100644 --- a/site/content/docs/5.1/components/scrollspy.md +++ b/site/content/docs/5.1/components/scrollspy.md @@ -27,7 +27,7 @@ If you're making a scrollable container (other than the `<body>`), be sure to ha Scroll the area below the navbar and watch the active class change. The dropdown items will be highlighted as well. <div class="bd-example"> - <nav id="navbar-example2" class="navbar navbar-light bg-light px-3"> + <nav id="navbar-example2" class="navbar bg-light px-3"> <a class="navbar-brand" href="#">Navbar</a> <ul class="nav nav-pills"> <li class="nav-item"> @@ -62,7 +62,7 @@ Scroll the area below the navbar and watch the active class change. The dropdown </div> ```html -<nav id="navbar-example2" class="navbar navbar-light bg-light px-3"> +<nav id="navbar-example2" class="navbar bg-light px-3"> <a class="navbar-brand" href="#">Navbar</a> <ul class="nav nav-pills"> <li class="nav-item"> @@ -103,7 +103,7 @@ Scrollspy also works with nested `.nav`s. If a nested `.nav` is `.active`, its p <div class="bd-example"> <div class="row"> <div class="col-4"> - <nav id="navbar-example3" class="navbar navbar-light bg-light flex-column align-items-stretch p-3"> + <nav id="navbar-example3" class="navbar bg-light flex-column align-items-stretch p-3"> <a class="navbar-brand" href="#">Navbar</a> <nav class="nav nav-pills flex-column"> <a class="nav-link" href="#item-1">Item 1</a> @@ -142,7 +142,7 @@ Scrollspy also works with nested `.nav`s. If a nested `.nav` is `.active`, its p </div> ```html -<nav id="navbar-example3" class="navbar navbar-light bg-light flex-column align-items-stretch p-3"> +<nav id="navbar-example3" class="navbar bg-light flex-column align-items-stretch p-3"> <a class="navbar-brand" href="#">Navbar</a> <nav class="nav nav-pills flex-column"> <a class="nav-link" href="#item-1">Item 1</a> diff --git a/site/content/docs/5.1/customize/css-variables.md b/site/content/docs/5.1/customize/css-variables.md index b6a6493348..06a4cbdb98 100644 --- a/site/content/docs/5.1/customize/css-variables.md +++ b/site/content/docs/5.1/customize/css-variables.md @@ -34,7 +34,7 @@ Bootstrap 5 is increasingly making use of custom properties as local variables f Have a look at our table documentation for some [insight into how we're using CSS variables]({{< docsref "/content/tables#how-do-the-variants-and-accented-tables-work" >}}). Our [navbars also use CSS variables]({{< docsref "/components/navbar#css" >}}) as of v5.2.0. We're also using CSS variables across our grids—primarily for gutters the [new opt-in CSS grid]({{< docsref "/layout/css-grid" >}})—with more component usage coming in the future. -Whenever possible, we'll assign CSS variables at the base component level (e.g., `.navbar` for navbar and it's sub-components). This reduces guessing on where and how to customize, and allows for easy modifications by our team in future updates. +Whenever possible, we'll assign CSS variables at the base component level (e.g., `.navbar` for navbar and its sub-components). This reduces guessing on where and how to customize, and allows for easy modifications by our team in future updates. ## Prefix diff --git a/site/content/docs/5.1/examples/cheatsheet-rtl/index.html b/site/content/docs/5.1/examples/cheatsheet-rtl/index.html index 81b56dc78b..7c45f7b91a 100644 --- a/site/content/docs/5.1/examples/cheatsheet-rtl/index.html +++ b/site/content/docs/5.1/examples/cheatsheet-rtl/index.html @@ -1208,7 +1208,7 @@ direction: rtl <div> {{< example show_markup="false" >}} - <nav class="navbar navbar-expand-lg navbar-light bg-light"> + <nav class="navbar navbar-expand-lg bg-light"> <div class="container-fluid"> <a class="navbar-brand" href="#"> <img src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo-white.svg" width="38" height="30" class="d-inline-block align-top" alt="Bootstrap" loading="lazy" @@ -1417,7 +1417,7 @@ direction: rtl <div> <div class="bd-example"> - <nav id="navbar-example2" class="navbar navbar-light bg-light px-3"> + <nav id="navbar-example2" class="navbar bg-light px-3"> <a class="navbar-brand" href="#">شريط التنقل</a> <ul class="nav nav-pills"> <li class="nav-item"> diff --git a/site/content/docs/5.1/examples/cheatsheet/index.html b/site/content/docs/5.1/examples/cheatsheet/index.html index e74a56c764..be7259ec2c 100644 --- a/site/content/docs/5.1/examples/cheatsheet/index.html +++ b/site/content/docs/5.1/examples/cheatsheet/index.html @@ -1207,7 +1207,7 @@ body_class: "bg-light" <div> {{< example show_markup="false" >}} - <nav class="navbar navbar-expand-lg navbar-light bg-light"> + <nav class="navbar navbar-expand-lg bg-light"> <div class="container-fluid"> <a class="navbar-brand" href="#"> <img src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo-white.svg" width="38" height="30" class="d-inline-block align-top" alt="Bootstrap" loading="lazy" @@ -1414,7 +1414,7 @@ body_class: "bg-light" <div> <div class="bd-example"> - <nav id="navbar-example2" class="navbar navbar-light bg-light px-3"> + <nav id="navbar-example2" class="navbar bg-light px-3"> <a class="navbar-brand" href="#">Navbar</a> <ul class="nav nav-pills"> <li class="nav-item"> |