<Spinner />
) : (
<span
- className="me-1 font-weight-bold"
+ className="me-1 fw-bold"
aria-label={I18NextService.i18n.t("number_of_points", {
count: Number(this.commentView.counts.score),
formattedCount: numToSI(
}
/>
)}
- <div className="d-flex justify-content-between justify-content-lg-start flex-wrap text-muted font-weight-bold">
+ <div className="d-flex justify-content-between justify-content-lg-start flex-wrap text-muted fw-bold">
{this.props.showContext && this.linkBtn()}
{this.props.markable && (
<button
render() {
return (
<form className="image-upload-form d-inline">
- <label
- htmlFor={this.id}
- className="pointer text-muted small font-weight-bold"
- >
+ <label htmlFor={this.id} className="pointer text-muted small fw-bold">
{this.props.imageSrc ? (
<span className="d-inline-block position-relative">
<img
onEmojiClick={e => this.handleEmoji(this, e)}
disabled={this.isDisabled}
></EmojiPicker>
- <form className="btn btn-sm text-muted font-weight-bold">
+ <form className="btn btn-sm text-muted fw-bold">
<label
htmlFor={`file-upload-${this.id}`}
className={`mb-0 ${
{this.getFormatButton("spoiler", this.handleInsertSpoiler)}
<a
href={markdownHelpUrl}
- className="btn btn-sm text-muted font-weight-bold"
+ className="btn btn-sm text-muted fw-bold"
title={I18NextService.i18n.t("formatting_help")}
rel={relTags}
>
return (
<span
data-tippy-content={this.createdAndModifiedTimes()}
- className="moment-time font-italics pointer unselectable"
+ className="moment-time fst-italics pointer unselectable"
>
<Icon icon="edit-2" classes="icon-inline me-1" />
{formatPastDate(this.props.updated)}
</button>
)}
{community.removed && (
- <small className="me-2 text-muted font-italic">
+ <small className="me-2 text-muted fst-italic">
{I18NextService.i18n.t("removed")}
</small>
)}
{community.deleted && (
- <small className="me-2 text-muted font-italic">
+ <small className="me-2 text-muted fst-italic">
{I18NextService.i18n.t("deleted")}
</small>
)}
{community.nsfw && (
- <small className="me-2 text-muted font-italic">
+ <small className="me-2 text-muted fst-italic">
{I18NextService.i18n.t("nsfw")}
</small>
)}
const community_view = this.props.community_view;
return (
<>
- <ul className="list-inline mb-1 text-muted font-weight-bold">
+ <ul className="list-inline mb-1 text-muted fw-bold">
{amMod(this.props.moderators) && (
<>
<li className="list-inline-item-action">
<td style="text-align:center;">
<label
htmlFor={index.toString()}
- className="pointer text-muted small font-weight-bold"
+ className="pointer text-muted small fw-bold"
>
{cv.image_url.length > 0 && (
<img
<button
type="button"
onClick={linkEvent(this, this.handlePasswordReset)}
- className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold pointer-events not-allowed"
+ className="btn p-0 btn-link d-inline-block float-right text-muted small fw-bold pointer-events not-allowed"
disabled={
!!this.state.form.username_or_email &&
!validEmail(this.state.form.username_or_email)
</h5>
<span className="d-inline-block ms-2 mb-2 small text-muted">
<a
- className="text-muted font-italic"
+ className="text-muted fst-italic"
href={post.url}
rel={relTags}
>
htmlFor="file-upload"
className={`${
UserService.Instance.myUserInfo && "pointer"
- } d-inline-block float-right text-muted font-weight-bold`}
+ } d-inline-block float-right text-muted fw-bold`}
data-tippy-content={I18NextService.i18n.t("upload_image")}
>
<Icon icon="image" classes="icon-inline" />
<div>
<a
href={`${webArchiveUrl}/save/${encodeURIComponent(url)}`}
- className="me-2 d-inline-block float-right text-muted small font-weight-bold"
+ className="me-2 d-inline-block float-right text-muted small fw-bold"
rel={relTags}
>
archive.org {I18NextService.i18n.t("archive_link")}
href={`${ghostArchiveUrl}/search?term=${encodeURIComponent(
url
)}`}
- className="me-2 d-inline-block float-right text-muted small font-weight-bold"
+ className="me-2 d-inline-block float-right text-muted small fw-bold"
rel={relTags}
>
ghostarchive.org {I18NextService.i18n.t("archive_link")}
href={`${archiveTodayUrl}/?run=1&url=${encodeURIComponent(
url
)}`}
- className="me-2 d-inline-block float-right text-muted small font-weight-bold"
+ className="me-2 d-inline-block float-right text-muted small fw-bold"
rel={relTags}
>
archive.today {I18NextService.i18n.t("archive_link")}
)}
{this.props.crossPosts && this.props.crossPosts.length > 0 && (
<>
- <div className="my-1 text-muted small font-weight-bold">
+ <div className="my-1 text-muted small fw-bold">
{I18NextService.i18n.t("cross_posts")}
</div>
<PostListings
return (
suggestedTitle && (
<div
- className="mt-1 text-muted small font-weight-bold pointer"
+ className="mt-1 text-muted small fw-bold pointer"
role="button"
onClick={linkEvent(
{ i: this, suggestedTitle },
suggestedPosts &&
suggestedPosts.length > 0 && (
<>
- <div className="my-1 text-muted small font-weight-bold">
+ <div className="my-1 text-muted small fw-bold">
{I18NextService.i18n.t("related_posts")}
</div>
<PostListings
)}
{post.deleted && (
<small
- className="unselectable pointer ms-2 text-muted font-italic"
+ className="unselectable pointer ms-2 text-muted fst-italic"
data-tippy-content={I18NextService.i18n.t("deleted")}
>
<Icon icon="trash" classes="icon-inline text-danger" />
)}
{post.locked && (
<small
- className="unselectable pointer ms-2 text-muted font-italic"
+ className="unselectable pointer ms-2 text-muted fst-italic"
data-tippy-content={I18NextService.i18n.t("locked")}
>
<Icon icon="lock" classes="icon-inline text-danger" />
)}
{post.featured_community && (
<small
- className="unselectable pointer ms-2 text-muted font-italic"
+ className="unselectable pointer ms-2 text-muted fst-italic"
data-tippy-content={I18NextService.i18n.t(
"featured_in_community"
)}
)}
{post.featured_local && (
<small
- className="unselectable pointer ms-2 text-muted font-italic"
+ className="unselectable pointer ms-2 text-muted fst-italic"
data-tippy-content={I18NextService.i18n.t("featured_in_local")}
aria-label={I18NextService.i18n.t("featured_in_local")}
>
<p className="d-flex text-muted align-items-center gap-1 small m-0">
{url && !(hostname(url) === getExternalHost()) && (
<a
- className="text-muted font-italic"
+ className="text-muted fst-italic"
href={url}
title={url}
rel={relTags}
{I18NextService.i18n.t("cancel")}
</button>
)}
- <ul className="d-inline-block float-right list-inline mb-1 text-muted font-weight-bold">
+ <ul className="d-inline-block float-right list-inline mb-1 text-muted fw-bold">
<li className="list-inline-item"></li>
</ul>
</div>
dangerouslySetInnerHTML={mdToHtml(this.messageUnlessRemoved)}
/>
)}
- <ul className="list-inline mb-0 text-muted font-weight-bold">
+ <ul className="list-inline mb-0 text-muted fw-bold">
{!this.mine && (
<>
<li className="list-inline-item">