From 8cdb6c40bdf55229459f479111e6a44d49052cf1 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 14 Dec 2021 09:51:31 +0200 Subject: Update stylelint and stylelint-config-twbs-bootstrap (#35438) --- site/content/docs/5.1/examples/features/features.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content/docs/5.1/examples/features/features.css') diff --git a/site/content/docs/5.1/examples/features/features.css b/site/content/docs/5.1/examples/features/features.css index 33942f7f1..cf66e7e20 100644 --- a/site/content/docs/5.1/examples/features/features.css +++ b/site/content/docs/5.1/examples/features/features.css @@ -30,8 +30,8 @@ .icon-link > .bi { margin-top: .125rem; margin-left: .125rem; - transition: transform .25s ease-in-out; fill: currentColor; + transition: transform .25s ease-in-out; } .icon-link:hover > .bi { transform: translate(.25rem); -- cgit v1.2.3 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/features/features.css | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'site/content/docs/5.1/examples/features/features.css') diff --git a/site/content/docs/5.1/examples/features/features.css b/site/content/docs/5.1/examples/features/features.css index cf66e7e20..bc5eae97b 100644 --- a/site/content/docs/5.1/examples/features/features.css +++ b/site/content/docs/5.1/examples/features/features.css @@ -1,16 +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); -} - -.bi { - vertical-align: -.125em; - fill: currentColor; -} - .feature-icon { display: inline-flex; align-items: center; -- 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/features/features.css | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'site/content/docs/5.1/examples/features/features.css') diff --git a/site/content/docs/5.1/examples/features/features.css b/site/content/docs/5.1/examples/features/features.css index bc5eae97b..1f7cd41ce 100644 --- a/site/content/docs/5.1/examples/features/features.css +++ b/site/content/docs/5.1/examples/features/features.css @@ -1,19 +1,8 @@ .feature-icon { - display: inline-flex; - align-items: center; - justify-content: center; width: 4rem; height: 4rem; - margin-bottom: 1rem; - font-size: 2rem; - color: #fff; - border-radius: .75rem; } -.icon-link { - display: inline-flex; - align-items: center; -} .icon-link > .bi { margin-top: .125rem; margin-left: .125rem; @@ -25,18 +14,10 @@ } .icon-square { - display: inline-flex; - align-items: center; - justify-content: center; width: 3rem; height: 3rem; - font-size: 1.5rem; - border-radius: .75rem; } -.rounded-4 { border-radius: .5rem; } -.rounded-5 { border-radius: 1rem; } - .text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); } .text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); } .text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); } -- cgit v1.2.3 From 16711ff5b12df1412e1d4957b64df811e9e3efe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 29 Mar 2022 08:48:56 +0200 Subject: Fix duplicate `.rounded-*` and `.fw-semibold` defs in examples --- site/content/docs/5.1/examples/features/features.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'site/content/docs/5.1/examples/features/features.css') diff --git a/site/content/docs/5.1/examples/features/features.css b/site/content/docs/5.1/examples/features/features.css index 1f7cd41ce..f8322faf0 100644 --- a/site/content/docs/5.1/examples/features/features.css +++ b/site/content/docs/5.1/examples/features/features.css @@ -1,6 +1,7 @@ .feature-icon { width: 4rem; height: 4rem; + border-radius: .75rem; } .icon-link > .bi { @@ -16,6 +17,7 @@ .icon-square { width: 3rem; height: 3rem; + border-radius: .75rem; } .text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); } -- cgit v1.2.3 From 7648848e04d7cf4753d229f467a6b020c92b366e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 8 Apr 2022 09:17:00 +0300 Subject: Update devDependencies (#36120) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update devDependencies * @babel/core ^7.17.8 → ^7.17.9 * @popperjs/core ^2.11.4 → ^2.11.5 * clean-css-cli ^5.5.2 → ^5.6.0 * eslint-plugin-import ^2.25.4 → ^2.26.0 * find-unused-sass-variables ^4.0.3 → ^4.0.4 * karma-rollup-preprocessor ^7.0.8 → ^7.0.7 * sass ^1.49.11 → ^1.50.0 * stylelint 14.2.0 → ^14.6.1 * Fix currentcolor case --- site/content/docs/5.1/examples/features/features.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content/docs/5.1/examples/features/features.css') diff --git a/site/content/docs/5.1/examples/features/features.css b/site/content/docs/5.1/examples/features/features.css index f8322faf0..619222364 100644 --- a/site/content/docs/5.1/examples/features/features.css +++ b/site/content/docs/5.1/examples/features/features.css @@ -7,7 +7,7 @@ .icon-link > .bi { margin-top: .125rem; margin-left: .125rem; - fill: currentColor; + fill: currentcolor; transition: transform .25s ease-in-out; } .icon-link:hover > .bi { -- 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 --- .../docs/5.1/examples/features/features.css | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 site/content/docs/5.1/examples/features/features.css (limited to 'site/content/docs/5.1/examples/features/features.css') diff --git a/site/content/docs/5.1/examples/features/features.css b/site/content/docs/5.1/examples/features/features.css deleted file mode 100644 index 619222364..000000000 --- a/site/content/docs/5.1/examples/features/features.css +++ /dev/null @@ -1,31 +0,0 @@ -.feature-icon { - width: 4rem; - height: 4rem; - border-radius: .75rem; -} - -.icon-link > .bi { - margin-top: .125rem; - margin-left: .125rem; - fill: currentcolor; - transition: transform .25s ease-in-out; -} -.icon-link:hover > .bi { - transform: translate(.25rem); -} - -.icon-square { - width: 3rem; - height: 3rem; - border-radius: .75rem; -} - -.text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); } -.text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); } -.text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); } - -.card-cover { - background-repeat: no-repeat; - background-position: center center; - background-size: cover; -} -- cgit v1.2.3