From 520cc8de92ca48d7ac60102d992d7afe9788b239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Wed, 19 Jan 2022 12:27:57 +0100 Subject: Docs: group together reusable CSS for examples in a single stylesheet (#35649) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Docs: group together examples reusable CSS in a stylesheet * Use pointer-events utility in sidebars example * Remove @import and move the content into _default/examples.html. Handle 2 sorts of dividers * Remove footers.css extra css declaration * Fix modals example * Review: remove .b-example-hr Co-authored-by: Gaƫl Poupard --- site/content/docs/5.1/examples/headers/headers.css | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'site/content/docs/5.1/examples/headers') diff --git a/site/content/docs/5.1/examples/headers/headers.css b/site/content/docs/5.1/examples/headers/headers.css index 661a74d55..2533841c5 100644 --- a/site/content/docs/5.1/examples/headers/headers.css +++ b/site/content/docs/5.1/examples/headers/headers.css @@ -1,11 +1,3 @@ -.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); -} - .form-control-dark { color: #fff; background-color: var(--bs-dark); @@ -18,11 +10,6 @@ box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25); } -.bi { - vertical-align: -.125em; - fill: currentColor; -} - .text-small { font-size: 85%; } -- cgit v1.2.3 From 333d89e4980863db15d0f639051e3b239e77decc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Wed, 23 Feb 2022 19:31:18 +0100 Subject: Docs: replace CSS by utilities in examples (#35699) * Drop .opacity-50 and .opacity-75 redefinition in examples * Drop unused .card-img-right from blog example CSS files * Use line-height utilities when possible * Use rounded-* utilities in examples * Replace .nav-underline by .nav-scroller and use it in examples.html default * Use .mb-1 for .blog-post-title * Remove unused CSS rule and use .fw-* utilities for carousels examples * Use utilities for cheatsheet examples * Extract some CSS to utilities for .nav-masthead .nav-link in cover example * Dashboard group of minor modifications * Dropdowns example: refactoring * Dropdowns example refactoring: fix linting by removing selector by id * Features example refactoring * Headers example refactoring * List groups example refactoring * Sidebars example refactoring * Sign-in example refactoring * Starter template refactoring * Fix RTL examples Co-authored-by: Mark Otto --- site/content/docs/5.1/examples/headers/headers.css | 4 ---- site/content/docs/5.1/examples/headers/index.html | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'site/content/docs/5.1/examples/headers') diff --git a/site/content/docs/5.1/examples/headers/headers.css b/site/content/docs/5.1/examples/headers/headers.css index 2533841c5..8230c9a5f 100644 --- a/site/content/docs/5.1/examples/headers/headers.css +++ b/site/content/docs/5.1/examples/headers/headers.css @@ -1,11 +1,7 @@ .form-control-dark { - color: #fff; - background-color: var(--bs-dark); border-color: var(--bs-gray); } .form-control-dark:focus { - color: #fff; - background-color: var(--bs-dark); border-color: #fff; box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25); } diff --git a/site/content/docs/5.1/examples/headers/index.html b/site/content/docs/5.1/examples/headers/index.html index 15f82c505..8d82330dc 100644 --- a/site/content/docs/5.1/examples/headers/index.html +++ b/site/content/docs/5.1/examples/headers/index.html @@ -105,7 +105,7 @@ body_class: ""
-- cgit v1.2.3 From f7e8ca91e03165abb82d4c82555dc4ef96340cc9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 6 May 2022 23:57:58 +0300 Subject: Prepare v5.2.0-beta1 --- site/content/docs/5.1/examples/headers/headers.css | 15 -- site/content/docs/5.1/examples/headers/index.html | 295 --------------------- 2 files changed, 310 deletions(-) delete mode 100644 site/content/docs/5.1/examples/headers/headers.css delete mode 100644 site/content/docs/5.1/examples/headers/index.html (limited to 'site/content/docs/5.1/examples/headers') diff --git a/site/content/docs/5.1/examples/headers/headers.css b/site/content/docs/5.1/examples/headers/headers.css deleted file mode 100644 index 8230c9a5f..000000000 --- a/site/content/docs/5.1/examples/headers/headers.css +++ /dev/null @@ -1,15 +0,0 @@ -.form-control-dark { - border-color: var(--bs-gray); -} -.form-control-dark:focus { - border-color: #fff; - box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25); -} - -.text-small { - font-size: 85%; -} - -.dropdown-toggle { - outline: 0; -} diff --git a/site/content/docs/5.1/examples/headers/index.html b/site/content/docs/5.1/examples/headers/index.html deleted file mode 100644 index 8d82330dc..000000000 --- a/site/content/docs/5.1/examples/headers/index.html +++ /dev/null @@ -1,295 +0,0 @@ ---- -layout: examples -title: Headers -extra_css: - - "headers.css" -body_class: "" ---- - - - - Bootstrap - - - - - - - - - - - - - - - - - - - - - -
-

Headers examples

- - - -
- -
-
- -
-
- -
- -
-
- - - - - - -
- - -
-
-
- -
- -
-
-
- - - - - - - - -
- - -
-
-
-
- -
- -
-
-
- - - - - - - - - -
-
-
- -
- -
-
- - -
- - - -
-
-
- -
-
-
-









-
-
-









-
-
-
- -
- - -
- -
- -
- -
- -
-
- - -
- - -
-
-
-
- -
-
-- cgit v1.2.3