Skip to content

A platform for community discussion. Free, open, simple.

UX: Foundation bug fixes & edits (#38099)

Jordan Vidrine0873467ce449
diff --git a/app/assets/stylesheets/common/base/uc-modernize-foundation-theme.scss b/app/assets/stylesheets/common/base/uc-modernize-foundation-theme.scss
index 9044f159ac4..1c8fdb337b9 100644
--- a/app/assets/stylesheets/common/base/uc-modernize-foundation-theme.scss
+++ b/app/assets/stylesheets/common/base/uc-modernize-foundation-theme.scss
@@ -63,7 +63,10 @@
.user-menu-tab,
.--with-description,
.chat-message-react-btn,
- .profile-tab-btn
+ .profile-tab-btn,
+ .back-button,
+ .composer-actions-btn,
+ .language-switcher-trigger
) {
padding-block: 0;
height: var(--button-height);
@@ -72,7 +75,7 @@
}
.btn.no-text.btn-icon {
- &:not(.user-menu-tab, .user-menu-tab-active, .dropdown-select-box-header) {
+ &:not(.user-menu-tab, .user-menu-tab-active, .composer-actions-btn) {
width: var(--button-height);
}
}
@@ -82,10 +85,6 @@
--d-button-default-icon-color--hover: var(--tertiary);
}
- .select-kit.dropdown-select-box.composer-actions .select-kit-header .d-icon {
- padding: 0;
- }
-
.discourse-reactions-counter .reactions-counter {
align-items: center;
}
@@ -267,10 +266,9 @@
}
// Select Kit
- .select-kit .select-kit-header,
+ .select-kit .select-kit-header:not(.composer-actions-btn),
.d-date-input .date-picker {
height: var(--button-height);
- border: var(--d-button-default-border);
}
.select-kit.is-expanded .select-kit-filter.is-expanded {
@@ -328,6 +326,9 @@
.extra-info-wrapper .title-wrapper {
font-size: var(--font-down-1);
+
+ --category-badge-title-color: var(--primary-800);
+ --tag-text-color: var(--primary-800);
}
.header-sidebar-toggle button,
diff --git a/frontend/discourse/select-kit/components/composer-actions.js b/frontend/discourse/select-kit/components/composer-actions.js
index 6b3eb6a81e2..d47a880a85c 100644
--- a/frontend/discourse/select-kit/components/composer-actions.js
+++ b/frontend/discourse/select-kit/components/composer-actions.js
@@ -37,6 +37,7 @@ export function _clearSnapshots() {
showFullTitle: false,
preventHeaderFocus: true,
customStyle: true,
+ btnCustomClasses: "composer-actions-btn",
})
export default class ComposerActions extends DropdownSelectBoxComponent {
@service dialog;