Skip to content
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
11 changes: 11 additions & 0 deletions css/common-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,14 @@
.search-box:focus-visible {
outline: -webkit-focus-ring-color auto 1px;
}

.note {
border-left: 6px solid;
border-left-color: var(--bs-alert-color, transparent);
}

[dir='rtl'] .note {
border-right: 6px solid;
border-right-color: var(--bs-alert-color, transparent);
border-left: 0;
}
737 changes: 727 additions & 10 deletions css/custom.css

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions xsl/utility-classes.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@
else if (@type='trouble') then 'alert-warning'
else if (@type='danger') then 'alert-danger'
else if (@type='notice') then 'alert-info'
else if (@type='note') then 'alert-primary'
else if (@type='note' or (contains(@class, ' topic/note ') and not(contains(@class, ' bootstrap-d/alert ')) and not(contains(@class, ' topic/section ')) and empty(@type))) then 'alert-primary'
else if (@type='other') then 'alert-dark'
else 'alert-info'"
/>
Expand Down Expand Up @@ -795,7 +795,8 @@
<xsl:variable name="icon">
<xsl:value-of
select="
if (@type='tip') then $BOOTSTRAP_ICON_TIP
if (@icon or contains(@otherprops, 'icon(') or *[contains(@class, ' topic/title ')]/*[contains(@class, ' bootstrap-d/icon ')]) then ''
else if (@type='tip') then $BOOTSTRAP_ICON_TIP
else if (@type='fastpath') then $BOOTSTRAP_ICON_FASTPATH
else if (@type='remember') then $BOOTSTRAP_ICON_REMEMBER
else if (@type='restriction') then $BOOTSTRAP_ICON_RESTRICTION
Expand All @@ -806,7 +807,7 @@
else if (@type='trouble') then $BOOTSTRAP_ICON_TROUBLE
else if (@type='danger') then $BOOTSTRAP_ICON_DANGER
else if (@type='notice') then $BOOTSTRAP_ICON_NOTICE
else if (@type='note') then $BOOTSTRAP_ICON_NOTE
else if (@type='note' or (contains(@class, ' topic/note ') and not(contains(@class, ' bootstrap-d/alert ')) and not(contains(@class, ' topic/section ')) and empty(@type))) then $BOOTSTRAP_ICON_NOTE
else ''"
/>
</xsl:variable>
Expand Down