Skip to content

Commit 88f7c94

Browse files
Some typos and some specific CSS
1 parent 66aee56 commit 88f7c94

File tree

7 files changed

+18
-10
lines changed

7 files changed

+18
-10
lines changed

scss/_alert.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@include border-top-end-radius(var(--#{$prefix}alert-border-radius));
3131
}
3232

33-
&:not(:has(p:not(.alert-label), .bullet-list, .alert-container .link)) .btn {
33+
&:not(:has(.alert-text-container p:not(.alert-label), .bullet-list, .alert-container .link)) .btn {
3434
@include border-bottom-end-radius(var(--#{$prefix}alert-border-radius));
3535
}
3636
}

site/src/components/head/ScssProd.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
@import '../../../../packages/orange-compact/scss/tokens';
2020
@import '../../scss/docs_prod';
2121
@import '../../../static/orange-compact/docs/[version]/assets/fonts/solaris-icons';
22-
@import '../../scss/docs_search';
2322
}
2423
[data-bs-brand='sosh'] {
2524
$brand: 'sosh';

site/src/content/docs/components/alerts.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ You can set the image via `--bs-alert-icon` wherever inside the `.alert`.
286286
</div>
287287
</div>
288288
289-
<div class="alert alert-message alert-accent" style="--bs-alert-icon: ${getConfig().brand === 'orange' || getConfig().brand === 'orange-business-tools'
289+
<div class="alert alert-message alert-accent" style="--bs-alert-icon: ${getConfig().brand === 'orange' || getConfig().brand === 'orange-compact'
290290
? `url(&#34;data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill-rule='evenodd' d='M15.474 9.514 10 15.577 4.526 9.514l-.002-.003A2.868 2.868 0 0 1 8.69 5.572l.838.796.472.455.472-.455.838-.796.008-.008a2.868 2.868 0 0 1 4.159 3.947l-.003.003Zm1.251-5.302A4.78 4.78 0 0 0 10 4.18a4.78 4.78 0 0 0-6.815 6.7L10 18.393l6.815-7.514a4.78 4.78 0 0 0-.09-6.667Z'/></svg>&#34;)`
291-
: `url(&#34;data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 20a.63.63 0 0 1-.462-.2l-8.16-8.754A5.427 5.427 0 0 1 2 7.436C2 4.439 4.449 2 7.46 2c1.846 0 3.543.938 4.54 2.428A5.476 5.476 0 0 1 16.54 2c.349 0 .63.28.63.627a.629.629 0 0 1-.63.627 4.205 4.205 0 0 0-3.947 2.77.63.63 0 0 1-1.186 0 4.205 4.205 0 0 0-3.948-2.77c-2.316 0-4.2 1.876-4.2 4.182 0 1.02.374 2.003 1.052 2.768L12 18.451l7.699-8.258a4.174 4.174 0 0 0 .058-5.446.626.626 0 0 1 .077-.884.632.632 0 0 1 .887.076 5.418 5.418 0 0 1-.088 7.095L12.462 19.8A.63.63 0 0 1 12 20Z'/><path d='M5.274 8.512a.472.472 0 0 1-.465-.394 3.078 3.078 0 0 1 3.04-3.571c.073 0 .145.006.217.014l.054.005a.47.47 0 0 1 .429.51.475.475 0 0 1-.512.427l-.066-.006c-.04-.004-.081-.01-.123-.01a2.134 2.134 0 0 0-2.107 2.478.47.47 0 0 1-.467.547Z'/></svg>&#34;s)`
291+
: `url(&#34;data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 20a.63.63 0 0 1-.462-.2l-8.16-8.754A5.427 5.427 0 0 1 2 7.436C2 4.439 4.449 2 7.46 2c1.846 0 3.543.938 4.54 2.428A5.476 5.476 0 0 1 16.54 2c.349 0 .63.28.63.627a.629.629 0 0 1-.63.627 4.205 4.205 0 0 0-3.947 2.77.63.63 0 0 1-1.186 0 4.205 4.205 0 0 0-3.948-2.77c-2.316 0-4.2 1.876-4.2 4.182 0 1.02.374 2.003 1.052 2.768L12 18.451l7.699-8.258a4.174 4.174 0 0 0 .058-5.446.626.626 0 0 1 .077-.884.632.632 0 0 1 .887.076 5.418 5.418 0 0 1-.088 7.095L12.462 19.8A.63.63 0 0 1 12 20Z'/><path d='M5.274 8.512a.472.472 0 0 1-.465-.394 3.078 3.078 0 0 1 3.04-3.571c.073 0 .145.006.217.014l.054.005a.47.47 0 0 1 .429.51.475.475 0 0 1-.512.427l-.066-.006c-.04-.004-.081-.01-.123-.01a2.134 2.134 0 0 0-2.107 2.478.47.47 0 0 1-.467.547Z'/></svg>&#34;)`
292292
}">
293293
<div class="alert-icon"><p class="visually-hidden">Emphasized content</p></div>
294294
<div class="alert-container">
@@ -747,7 +747,7 @@ Here, only `.alert-negative`, `.alert-positive`, `.alert-info` and `.alert-warni
747747

748748
##### Non-functional
749749

750-
Non-functional alerts are informative or decorative. They provide context or highlight content without implying a specific state, system event, or user action. These alerts are not tied to UX patterns such as positive, negativepositive, info, or warning, and may use contextual or brand-related icons to enhance recognition or storytelling.
750+
Non-functional alerts are informative or decorative. They provide context or highlight content without implying a specific state, system event, or user action. These alerts are not tied to UX patterns such as positive, negative, info, or warning, and may use contextual or brand-related icons to enhance recognition or storytelling.
751751

752752
Here, only `.alert-neutral` and `.alert-accent` are considered as non-functional.
753753

@@ -791,9 +791,9 @@ You can set the image via `--bs-alert-icon` wherever inside the `.alert`.
791791
<p class="alert-label">Your data plan includes free calls on weekends.</p>
792792
</div>
793793
794-
<div class="alert alert-accent" style="--bs-alert-icon: ${getConfig().brand === 'orange' || getConfig().brand === 'orange-business-tools'
794+
<div class="alert alert-accent" style="--bs-alert-icon: ${getConfig().brand === 'orange' || getConfig().brand === 'orange-compact'
795795
? `url(&#34;data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill-rule='evenodd' d='M15.474 9.514 10 15.577 4.526 9.514l-.002-.003A2.868 2.868 0 0 1 8.69 5.572l.838.796.472.455.472-.455.838-.796.008-.008a2.868 2.868 0 0 1 4.159 3.947l-.003.003Zm1.251-5.302A4.78 4.78 0 0 0 10 4.18a4.78 4.78 0 0 0-6.815 6.7L10 18.393l6.815-7.514a4.78 4.78 0 0 0-.09-6.667Z'/></svg>&#34;)`
796-
: `url(&#34;data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 20a.63.63 0 0 1-.462-.2l-8.16-8.754A5.427 5.427 0 0 1 2 7.436C2 4.439 4.449 2 7.46 2c1.846 0 3.543.938 4.54 2.428A5.476 5.476 0 0 1 16.54 2c.349 0 .63.28.63.627a.629.629 0 0 1-.63.627 4.205 4.205 0 0 0-3.947 2.77.63.63 0 0 1-1.186 0 4.205 4.205 0 0 0-3.948-2.77c-2.316 0-4.2 1.876-4.2 4.182 0 1.02.374 2.003 1.052 2.768L12 18.451l7.699-8.258a4.174 4.174 0 0 0 .058-5.446.626.626 0 0 1 .077-.884.632.632 0 0 1 .887.076 5.418 5.418 0 0 1-.088 7.095L12.462 19.8A.63.63 0 0 1 12 20Z'/><path d='M5.274 8.512a.472.472 0 0 1-.465-.394 3.078 3.078 0 0 1 3.04-3.571c.073 0 .145.006.217.014l.054.005a.47.47 0 0 1 .429.51.475.475 0 0 1-.512.427l-.066-.006c-.04-.004-.081-.01-.123-.01a2.134 2.134 0 0 0-2.107 2.478.47.47 0 0 1-.467.547Z'/></svg>&#34;s)`
796+
: `url(&#34;data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 20a.63.63 0 0 1-.462-.2l-8.16-8.754A5.427 5.427 0 0 1 2 7.436C2 4.439 4.449 2 7.46 2c1.846 0 3.543.938 4.54 2.428A5.476 5.476 0 0 1 16.54 2c.349 0 .63.28.63.627a.629.629 0 0 1-.63.627 4.205 4.205 0 0 0-3.947 2.77.63.63 0 0 1-1.186 0 4.205 4.205 0 0 0-3.948-2.77c-2.316 0-4.2 1.876-4.2 4.182 0 1.02.374 2.003 1.052 2.768L12 18.451l7.699-8.258a4.174 4.174 0 0 0 .058-5.446.626.626 0 0 1 .077-.884.632.632 0 0 1 .887.076 5.418 5.418 0 0 1-.088 7.095L12.462 19.8A.63.63 0 0 1 12 20Z'/><path d='M5.274 8.512a.472.472 0 0 1-.465-.394 3.078 3.078 0 0 1 3.04-3.571c.073 0 .145.006.217.014l.054.005a.47.47 0 0 1 .429.51.475.475 0 0 1-.512.427l-.066-.006c-.04-.004-.081-.01-.123-.01a2.134 2.134 0 0 0-2.107 2.478.47.47 0 0 1-.467.547Z'/></svg>&#34;)`
797797
}">
798798
<div class="alert-icon"><p class="visually-hidden">Emphasized content</p></div>
799799
<p class="alert-label">Upgrade your plan and get a free device.</p>

site/src/content/docs/components/bullet-list.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ To have a different marker icon for each item on the same level, add the class o
154154
155155
The tick marker is not shipped by default in the OUDS Web CSS, set the [`$enable-bullet-list-tick` variable]([[docsref:/foundation/options]]) to `true` to enable the `.bullet-list-tick` class. Do not forget the `.bullet-list-tick` if you have nested lists.
156156
157-
<Example code={`<!--
157+
<Example class="bd-bullet-list" code={`<!--
158158
// in your style.scss file before importing OUDS Web source code
159159
$enable-bullet-list-tick: true;
160160
-->

site/src/content/docs/dual-mode.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: This is a tutorial for the dual-mode using Boosted and OUDS Web.
44
aliases:
55
- "/docs/[[config:docs_version]]/bi-mode/"
66
- "/dual-mode/"
7+
- "/bi-mode/"
78
toc: true
89
---
910

site/src/scss/docs.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ $enable-cssgrid: true;
3232
$enable-bullet-list-tick: true;
3333
// fusv-enable
3434
@import "../../../scss/grid";
35-
@import "../../../scss/bullet-list";
35+
36+
// Here to avoid any edge behavior in the docs
37+
.bd-bullet-list {
38+
@import "../../../scss/bullet-list";
39+
}
3640

3741
// Load docs components
3842
@import "variables";

site/src/scss/docs_prod.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ $enable-cssgrid: true;
3737
$enable-bullet-list-tick: true;
3838
// fusv-enable
3939
@import "../../../scss/grid";
40-
@import "../../../scss/bullet-list";
40+
41+
// Here to avoid any edge behavior in the docs
42+
.bd-bullet-list {
43+
@import "../../../scss/bullet-list";
44+
}
4145

4246
// Load docs components
4347
@import "variables";

0 commit comments

Comments
 (0)