discourse/app/assets/stylesheets/common/components/drafts-dropdown-menu.scss
Jarek Radosz 0151699d04
FEATURE: introduce DComboButton and apply to create topic button (#36513)
Introduces DComboButton as a generic component that groups a primary
action button with
   a dropdown menu trigger. 
   
   
<img width="160" alt="image"
src="https://github.com/user-attachments/assets/28ffcc51-33ed-4d02-975d-3131801322ba"
/>

   
   
* Wraps DButton + DMenu in a role="group" container with proper
accessibility
* Refactors TopicDraftsDropdown to build on top of DComboButton
* Replaces the CSS override in uc-modernize-foundation-theme with
@btnTypeClass="btn-primary"
* Restyles button for foundation and horizon themes

---------

Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
2026-02-11 13:21:56 -05:00

14 lines
243 B
SCSS
Vendored

.topic-drafts-menu-content .dropdown-menu {
.btn .d-button-label {
@include ellipsis;
}
.view-all-drafts {
display: flex;
justify-content: space-between;
span:first-child {
color: var(--primary-high);
}
}
}