Skip to content

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

Merged
merged 10 commits into from
Jan 6, 2016
Merged

Conversation

mdo
Copy link
Member

@mdo mdo commented Jan 6, 2016

Squashes the changes from #17921 and makes some additional changes:

  • Updates the docs to include disabled example
  • Clarifies some component behavior in the docs
  • Rewrites the styles to use less nesting and more specific class names
  • Overhaul the custom file input with nesting and more specific classes
  • Change custom select menu's class to .custom-select
  • Fix the rounding on the custom select menus

/cc @markau

markau and others added 4 commits January 5, 2016 00:47
- 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
@mdo mdo added this to the v4.0.0-alpha.3 milestone Jan 6, 2016
}
.file-custom {

.custom-file-control {

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

Copy link
Collaborator

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 {

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

mdo added a commit that referenced this pull request Jan 6, 2016
v4: Custom forms (disabled state, revamp, etc)
@mdo mdo merged commit ff07ba3 into v4-dev Jan 6, 2016
@mdo mdo deleted the v4-custom-forms-revamp branch January 6, 2016 08:02
@mdo mdo mentioned this pull request Jan 6, 2016
mdo added a commit that referenced this pull request Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants