diff --git a/app/assets/javascripts/admin/templates/users-list.hbs b/app/assets/javascripts/admin/templates/users-list.hbs
index bddc514effa..92c5c689ad8 100644
--- a/app/assets/javascripts/admin/templates/users-list.hbs
+++ b/app/assets/javascripts/admin/templates/users-list.hbs
@@ -14,10 +14,10 @@
{{nav-item route='groups' label='groups.index.title'}}
{{#unless siteSettings.enable_sso}}
- {{d-button action="sendInvites" title="admin.invite.button_title" icon="user-plus" label="admin.invite.button_text"}}
+ {{d-button class="btn-default" action="sendInvites" title="admin.invite.button_title" icon="user-plus" label="admin.invite.button_text"}}
{{/unless}}
{{#if currentUser.admin}}
- {{d-button action="exportUsers" title="admin.export_csv.button_title.user" icon="download" label="admin.export_csv.button_text"}}
+ {{d-button class="btn-default" action="exportUsers" title="admin.export_csv.button_title.user" icon="download" label="admin.export_csv.button_text"}}
{{/if}}
diff --git a/app/assets/javascripts/admin/templates/web-hooks.hbs b/app/assets/javascripts/admin/templates/web-hooks.hbs
index 6a5c57f7dcd..a9d30ac4b9f 100644
--- a/app/assets/javascripts/admin/templates/web-hooks.hbs
+++ b/app/assets/javascripts/admin/templates/web-hooks.hbs
@@ -2,7 +2,7 @@
{{i18n 'admin.web_hooks.instruction'}}
- {{#link-to 'adminWebHooks.show' 'new' tagName='button' classNames='btn'}}
+ {{#link-to 'adminWebHooks.show' 'new' tagName='button' classNames='btn btn-default'}}
{{d-icon 'plus'}} {{i18n 'admin.web_hooks.new'}}
{{/link-to}}
diff --git a/app/assets/javascripts/discourse/components/share-button.js.es6 b/app/assets/javascripts/discourse/components/share-button.js.es6
index 888d8a0c2c6..958f821ce6a 100644
--- a/app/assets/javascripts/discourse/components/share-button.js.es6
+++ b/app/assets/javascripts/discourse/components/share-button.js.es6
@@ -1,7 +1,7 @@
import Button from "discourse/components/d-button";
export default Button.extend({
- classNames: ["share"],
+ classNames: ["btn-default", "share"],
icon: "link",
title: "topic.share.help",
label: "topic.share.title",
diff --git a/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6 b/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6
index 651c9a2e742..8703739cdbd 100644
--- a/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6
+++ b/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js.es6
@@ -21,24 +21,45 @@ function addBulkButton(action, key, opts) {
}
// Default buttons
-addBulkButton("showChangeCategory", "change_category", { icon: "pencil" });
-addBulkButton("closeTopics", "close_topics", { icon: "lock" });
-addBulkButton("archiveTopics", "archive_topics", { icon: "folder" });
-addBulkButton("showNotificationLevel", "notification_level", {
- icon: "d-regular"
+addBulkButton("showChangeCategory", "change_category", {
+ icon: "pencil",
+ class: "btn-default"
+});
+addBulkButton("closeTopics", "close_topics", {
+ icon: "lock",
+ class: "btn-default"
+});
+addBulkButton("archiveTopics", "archive_topics", {
+ icon: "folder",
+ class: "btn-default"
+});
+addBulkButton("showNotificationLevel", "notification_level", {
+ icon: "d-regular",
+ class: "btn-default"
+});
+addBulkButton("resetRead", "reset_read", {
+ icon: "backward",
+ class: "btn-default"
});
-addBulkButton("resetRead", "reset_read", { icon: "backward" });
addBulkButton("unlistTopics", "unlist_topics", {
icon: "eye-slash",
+ class: "btn-default",
buttonVisible: topics => topics.some(t => t.visible)
});
addBulkButton("relistTopics", "relist_topics", {
icon: "eye",
+ class: "btn-default",
buttonVisible: topics => topics.some(t => !t.visible)
});
if (Discourse.SiteSettings.tagging_enabled) {
- addBulkButton("showTagTopics", "change_tags", { icon: "tag" });
- addBulkButton("showAppendTagTopics", "append_tags", { icon: "tag" });
+ addBulkButton("showTagTopics", "change_tags", {
+ icon: "tag",
+ class: "btn-default"
+ });
+ addBulkButton("showAppendTagTopics", "append_tags", {
+ icon: "tag",
+ class: "btn-default"
+ });
}
addBulkButton("deleteTopics", "delete", { icon: "trash", class: "btn-danger" });
diff --git a/app/assets/javascripts/discourse/templates/components/bulk-select-button.hbs b/app/assets/javascripts/discourse/templates/components/bulk-select-button.hbs
index 4dad7efb0c4..822c97b5440 100644
--- a/app/assets/javascripts/discourse/templates/components/bulk-select-button.hbs
+++ b/app/assets/javascripts/discourse/templates/components/bulk-select-button.hbs
@@ -1,5 +1,5 @@
{{#if selected}}
- {{d-button action="showBulkActions" icon="wrench"}}
+ {{d-button class="btn-default" action="showBulkActions" icon="wrench"}}
{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/components/categories-topic-list.hbs b/app/assets/javascripts/discourse/templates/components/categories-topic-list.hbs
index 7761050a38a..1a4314acce7 100644
--- a/app/assets/javascripts/discourse/templates/components/categories-topic-list.hbs
+++ b/app/assets/javascripts/discourse/templates/components/categories-topic-list.hbs
@@ -7,7 +7,7 @@
{{latest-topic-list-item topic=t}}
{{/each}}
{{else}}
diff --git a/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs b/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs
index d1ffffbdee7..bb94b11c99d 100644
--- a/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs
+++ b/app/assets/javascripts/discourse/templates/components/desktop-notification-config.hbs
@@ -1,15 +1,15 @@
{{#if isNotSupported}}
- {{d-button icon="bell-slash" label="user.desktop_notifications.not_supported" disabled="true"}}
+ {{d-button icon="bell-slash" class="btn-default" label="user.desktop_notifications.not_supported" disabled="true"}}
{{/if}}
{{#if isDeniedPermission}}
- {{d-button icon="bell-slash" label="user.desktop_notifications.perm_denied_btn" action="recheckPermission" disabled='true'}}
+ {{d-button icon="bell-slash" class="btn-default" label="user.desktop_notifications.perm_denied_btn" action="recheckPermission" disabled='true'}}
{{i18n "user.desktop_notifications.perm_denied_expl"}}
{{else}}
{{#if isEnabled}}
- {{d-button icon="bell-slash-o" label="user.desktop_notifications.disable" action="turnoff"}}
+ {{d-button icon="bell-slash-o" class="btn-default" label="user.desktop_notifications.disable" action="turnoff"}}
{{i18n "user.desktop_notifications.currently_enabled"}}
{{else}}
- {{d-button icon="bell-o" label="user.desktop_notifications.enable" action="turnon"}}
+ {{d-button icon="bell-o" class="btn-default" label="user.desktop_notifications.enable" action="turnon"}}
{{i18n "user.desktop_notifications.currently_disabled"}}
{{/if}}
{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/components/edit-category-security.hbs b/app/assets/javascripts/discourse/templates/components/edit-category-security.hbs
index ad078cda2f0..dec825ae6a4 100644
--- a/app/assets/javascripts/discourse/templates/components/edit-category-security.hbs
+++ b/app/assets/javascripts/discourse/templates/components/edit-category-security.hbs
@@ -32,7 +32,7 @@
{{/if}}
{{else}}
{{#unless category.is_special}}
-
+
{{/unless}}
{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/components/image-uploader.hbs b/app/assets/javascripts/discourse/templates/components/image-uploader.hbs
index 8eb03a01457..938be5c503c 100644
--- a/app/assets/javascripts/discourse/templates/components/image-uploader.hbs
+++ b/app/assets/javascripts/discourse/templates/components/image-uploader.hbs
@@ -1,6 +1,6 @@