Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example: New e-shop example #2434

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/.pa11yci.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"axe"
],
"useIncognitoBrowserContext": false,
"hideElements": "iframe, #text-decoration + p + div a.text-decoration-none, .accordion-collapse, #offcanvas, #offcanvasDark, #offcanvasResponsive, #bdSidebar, .overflow-y-scroll, .overflow-y-auto, .overflow-x-scroll, .overflow-x-auto, .table-responsive, fieldset.star-rating[disabled]",
"hideElements": "iframe, #text-decoration + p + div a.text-decoration-none, .accordion-collapse, #offcanvas, #offcanvasDark, #offcanvasResponsive, #bdSidebar, #filterOffcanvas, .overflow-y-scroll, .overflow-y-auto, .overflow-x-scroll, .overflow-x-auto, .table-responsive, fieldset.star-rating[disabled]",
"ignore": [
"color-contrast"
]
Expand Down
30 changes: 30 additions & 0 deletions site/content/docs/5.3/examples/e-shop/e-shop.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@media screen and (min-width: 768px) {
.card .col-7 p:first-child {
min-height: 2.8125rem;
}
}

.custom-triangle {
border-style: solid;
border-width: 0 19px 41px 0;
border-right-color: transparent !important; /* stylelint-disable-line declaration-no-important */
}

.custom-counter {
padding: 1px 2px;
border-radius: 5px;
}

.ratio-3x4 {
--bs-aspect-ratio: 133%;
}

.border-subtle {
--bs-border-color: var(--bs-border-color-subtle);
border-color: var(--bs-border-color-subtle);
}

.border-supporting-orange {
--bs-border-color: #ff7900;
border-color: #ff7900;
}
1,567 changes: 1,567 additions & 0 deletions site/content/docs/5.3/examples/e-shop/index.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions site/content/docs/5.3/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,11 @@ Color mode mechanism coming from Bootstrap is available from Boosted v5.3.0. How

- <span class="badge text-bg-success">New</span> A download app page is now available.

### Examples

- **Pages**
- <span class="badge bg-success">New</span> An e-shop page example is now available.

### CSS and Sass variables

- Adds additional variables for alerts, `.btn-close`, and `.offcanvas`.
Expand Down
2 changes: 2 additions & 0 deletions site/data/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
examples:
- name: Download app
description: "How to build a download app page (redirect on iOS and Android)."
- name: E-shop
description: "How to build an e-shop page with Boosted."
- name: Form
description: "How to build a form with Boosted."

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading