diff options
Diffstat (limited to 'site/content/docs/5.2/examples/cheatsheet-rtl/index.html')
-rw-r--r-- | site/content/docs/5.2/examples/cheatsheet-rtl/index.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/site/content/docs/5.2/examples/cheatsheet-rtl/index.html b/site/content/docs/5.2/examples/cheatsheet-rtl/index.html index 91e7e0ecb5..2a1db691cf 100644 --- a/site/content/docs/5.2/examples/cheatsheet-rtl/index.html +++ b/site/content/docs/5.2/examples/cheatsheet-rtl/index.html @@ -692,16 +692,16 @@ direction: rtl <p class="h2">مثال على عنوان <span class="badge bg-secondary">جديد</span></p> <p class="h3">مثال على عنوان <span class="badge bg-success">جديد</span></p> <p class="h4">مثال على عنوان <span class="badge bg-danger">جديد</span></p> - <p class="h5">مثال على عنوان <span class="badge bg-warning text-dark">جديد</span></p> - <p class="h6">مثال على عنوان <span class="badge bg-info text-dark">جديد</span></p> - <p class="h6">مثال على عنوان <span class="badge bg-light text-dark">جديد</span></p> + <p class="h5">مثال على عنوان <span class="badge text-bg-warning">جديد</span></p> + <p class="h6">مثال على عنوان <span class="badge text-bg-info">جديد</span></p> + <p class="h6">مثال على عنوان <span class="badge text-bg-light">جديد</span></p> <p class="h6">مثال على عنوان <span class="badge bg-dark">جديد</span></p> {{< /example >}} {{< example show_markup="false" >}} {{< badge.inline >}} {{- range (index $.Site.Data "theme-colors") }} - <span class="badge rounded-pill bg-{{ .name }}{{ if or (eq .name "light") (eq .name "warning") (eq .name "info") }} text-dark{{ end }}">{{ .name | title }}</span>{{- end -}} + <span class="badge rounded-pill {{ if or (eq .name "light") (eq .name "warning") (eq .name "info") }}text-{{ end }}bg-{{ .name }}">{{ .name | title }}</span>{{- end -}} {{< /badge.inline >}} {{< /example >}} </div> @@ -1395,10 +1395,10 @@ direction: rtl <div class="progress-bar bg-success w-25" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div> </div> <div class="progress mb-3"> - <div class="progress-bar bg-info text-dark w-50" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">50%</div> + <div class="progress-bar text-bg-info w-50" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">50%</div> </div> <div class="progress mb-3"> - <div class="progress-bar bg-warning text-dark w-75" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">75%</div> + <div class="progress-bar text-bg-warning w-75" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">75%</div> </div> <div class="progress"> <div class="progress-bar bg-danger w-100" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">100%</div> |