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

[OUDS] Docs: Change the classes that were missing #2806

Open
wants to merge 3 commits into
base: ouds/main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions site/content/docs/0.0/content/reboot.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ The `<hr>` element has been simplified. Similar to browser defaults, `<hr>`s are
<hr>
</div>

<hr class="border border-danger border-2 opacity-50">
<hr class="border border-primary border-3 opacity-75">-->
<hr class="border border-danger border-medium opacity-medium">
<hr class="border border-primary border-thick opacity-strong">-->

<!-- ## Lists

Expand Down
4 changes: 2 additions & 2 deletions site/layouts/partials/docs-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<span class="navbar-toggler-icon"></span>
</button>

<div id="bd-navbar1" class="navbar-collapse collapse me-lg-auto bd-navbar mb-none border-0">
<div id="bd-navbar1" class="navbar-collapse collapse me-lg-auto bd-navbar mb-none border-none">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link{{ if .IsHome }} active" aria-current="page{{ end }}" href="/" onclick="dataLayer.push({'event': 'clic', 'site_name':'accessibility-boosted', 'phase':'prod', 'track_category':'navbar', 'track_name':'home'});">Home</a>
Expand All @@ -35,7 +35,7 @@
</li>
</ul>
</div>
<div id="bd-navbar2" class="navbar-collapse collapse bd-navbar border-0">
<div id="bd-navbar2" class="navbar-collapse collapse bd-navbar border-none">
<ul class="navbar-nav flex-row me-lg-tall">
<li class="nav-item">
<a class="nav-link nav-icon" href="{{ .Site.Params.repo }}" target="_blank" rel="noopener">
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/shortcodes/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="bd-example-snippet bd-code-snippet">
{{- if eq $show_preview true }}
<!-- OUDS mod: added `order-first` to handle the focus order -->
<div{{ with $id }} id="{{ . }}"{{ end }} class="bd-example order-first m-none border-0{{ with $class }} {{ . }}{{ end }}">
<div{{ with $id }} id="{{ . }}"{{ end }} class="bd-example order-first m-none border-none{{ with $class }} {{ . }}{{ end }}">
{{ $content }}
</div>
{{- end }}
Expand All @@ -37,7 +37,7 @@

{{- if eq $show_preview true -}}
<!-- OUDS mod: added `order-first` to handle the focus order -->
<div class="d-flex order-first align-items-center highlight-toolbar ps-tall pe-short py-shortest border-0 border-top border-bottom border-subtle border-1">
<div class="d-flex order-first align-items-center highlight-toolbar ps-tall pe-short py-shortest border-none border-top border-bottom border-subtle border-thin">
<small class="font-monospace text-body-secondary text-uppercase">{{ $lang }}</small>
<div class="d-flex ms-auto">
<button type="button" class="btn-edit text-nowrap"{{ with $stackblitz_add_js }} data-sb-js-snippet="{{ $stackblitz_add_js }}"{{ end }} title="Try it on StackBlitz">
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/shortcodes/js-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
{{- end -}}

<div class="bd-example-snippet bd-code-snippet bd-file-ref">
<!-- OUDS mod: added `.border-1` and `.border-subtle` -->
<div class="d-flex align-items-center highlight-toolbar ps-tall pe-short py-shortest border-bottom border-1 border-subtle">
<!-- OUDS mod: added `.border-thin` and `.border-subtle` -->
<div class="d-flex align-items-center highlight-toolbar ps-tall pe-short py-shortest border-bottom border-thin border-subtle">
<!-- OUDS mod: added `me-5` -->
<a class="me-huge font-monospace link-body-emphasis link-underline-secondary link-underline-opacity-0 link-underline-opacity-100-hover small" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/{{ $file | replaceRE `\\` "/" }}">
{{- $file -}}
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/shortcodes/scss-docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
{{- end -}}

<div class="bd-example-snippet bd-code-snippet bd-file-ref">
<!-- OUDS mod: added `.border-1` and `.border-subtle` -->
<div class="d-flex align-items-center highlight-toolbar ps-tall pe-short py-shortest border-bottom border-1 border-subtle">
<!-- OUDS mod: added `.border-thin` and `.border-subtle` -->
<div class="d-flex align-items-center highlight-toolbar ps-tall pe-short py-shortest border-bottom border-thin border-subtle">
<!-- OUDS mod: added `me-5` -->
<a class="me-huge font-monospace link-body-emphasis link-underline-secondary link-underline-opacity-0 link-underline-opacity-100-hover small" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/{{ $file | replaceRE `\\` "/" }}">
{{- $file -}}
Expand Down