-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
v4: Custom forms (disabled state, revamp, etc) #18771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Less nesting with more specific classes - New class names for most elements to avoid unnecessary and potentially confusing shorthand - Require new class and markup for the description (though it's only necessary for disable states, it's now part of the entire component's markup for all states just in case) - Change up colors and variables for regular and disabled states
- add more details on custom checkboxes and radios for how we handle the states and how the css works - create a disabled custom checkboxes and radios example
} | ||
.file-custom { | ||
|
||
.custom-file-control { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rule set contains (13/10) properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mdo Looks like there's a SCSS-Lint rule we should disable?
.file-custom { | ||
|
||
// scss-lint:disable DuplicateProperty | ||
.custom-file-control { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rule set contains (13/10) properties
v4: Custom forms (disabled state, revamp, etc)
Squashes the changes from #17921 and makes some additional changes:
.custom-select
/cc @markau