Skip to content

Comments

Implement disabled select styling in bootstrap theme#675

Merged
wenzhixin merged 1 commit intodevelopfrom
fix/bootstrap-disabled
Feb 5, 2026
Merged

Implement disabled select styling in bootstrap theme#675
wenzhixin merged 1 commit intodevelopfrom
fix/bootstrap-disabled

Conversation

@wenzhixin
Copy link
Owner

No description provided.

@wenzhixin wenzhixin force-pushed the fix/bootstrap-disabled branch from 0d0cda0 to b3ba977 Compare February 5, 2026 07:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements disabled select styling for the Bootstrap theme by adding CSS rules for the .disabled state and providing demonstration examples in the theme documentation.

Changes:

  • Added CSS variable --ms-choice-disabled-bg mapped to Bootstrap's --bs-secondary-bg
  • Implemented .disabled class styling with background color, opacity (0.65), and cursor changes
  • Added two HTML examples: one showing a fully disabled select and another showing individual disabled options

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/themes/bootstrap.scss Adds disabled state styling with Bootstrap-appropriate background color variable and visual indicators
site/website/static/templates/themes.html Adds demonstration examples for disabled selects and disabled options to showcase the new styling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wenzhixin wenzhixin merged commit e30e890 into develop Feb 5, 2026
1 check passed
@wenzhixin wenzhixin deleted the fix/bootstrap-disabled branch February 5, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant