-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
Drop Normalize, port relevant parts to Reboot #21741
Conversation
…we dropped IE9 support
…tyles anyway in _type.scss already
- Move over background-color and text-decoration - Drop focus outline change given it affects the offset on hover of focused links
- Move over template - Move over summary
abbr[data-original-title] { | ||
cursor: help; | ||
abbr[data-original-title] { // 4 | ||
border-bottom: none; // 1 |
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.
border-bottom: 0
is preferred over border-bottom: none
Properties should be ordered text-decoration, cursor, border-bottom
box-sizing: border-box; // 1 | ||
font-family: sans-serif; // 2 | ||
line-height: 1.15; // 3 | ||
-ms-text-size-adjust: 100%; // 4 |
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.
Avoid vendor prefixes.
font-family: sans-serif; // 2 | ||
line-height: 1.15; // 3 | ||
-ms-text-size-adjust: 100%; // 4 | ||
-webkit-text-size-adjust: 100%; // 4 |
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.
Avoid vendor prefixes.
box-sizing: border-box; // 1 | ||
font-family: sans-serif; // 2 | ||
line-height: 1.15; // 3 | ||
-ms-text-size-adjust: 100%; // 4 |
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.
Avoid vendor prefixes.
@@ -6,7 +6,8 @@ | |||
width: 100%; | |||
max-width: 100%; | |||
margin-bottom: $spacer; | |||
|
|||
background-color: $table-bg; // Reset for nesting within parents with `background-color`. | |||
|
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.
Line contains trailing whitespace
@@ -6,7 +6,8 @@ | |||
width: 100%; | |||
max-width: 100%; | |||
margin-bottom: $spacer; | |||
|
|||
background-color: $table-bg; // Reset for nesting within parents with `background-color`. | |||
|
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.
Line contains trailing whitespace
Just noticed Hound is running twice... 🤔 |
* bootstrap/v4-dev: (979 commits) Add aria-label to docs search field Remove random cursor: default from pill nav (twbs#21835) Allow button toolbars to wrap (twbs#21826) fixes twbs#21567 grunt (fixes twbs#21819) Add align self to navbar brand (twbs#21626) Rename order utilities to intended class names (twbs#21739) Pixel perfect navbar toggler (twbs#21821) Update _custom.scss imports in other builds (twbs#21825) Allow flex-based navs to wrap like they used to (twbs#21824) Remove `cursor: pointer;` (twbs#21812) Fix body padding in Dashboard and Jumbotron examples. Move htmllint to npm script. Change to markdown (twbs#21815) Change header to use markdown (twbs#21809) Update grid layout docs (twbs#21806) grunt Drop Normalize, port relevant parts to Reboot (twbs#21741) grunt Fix container within navbar on smallest breakpoint (twbs#21722) ...
* bootstrap/v4-dev: (979 commits) Add aria-label to docs search field Remove random cursor: default from pill nav (twbs#21835) Allow button toolbars to wrap (twbs#21826) fixes twbs#21567 grunt (fixes twbs#21819) Add align self to navbar brand (twbs#21626) Rename order utilities to intended class names (twbs#21739) Pixel perfect navbar toggler (twbs#21821) Update _custom.scss imports in other builds (twbs#21825) Allow flex-based navs to wrap like they used to (twbs#21824) Remove `cursor: pointer;` (twbs#21812) Fix body padding in Dashboard and Jumbotron examples. Move htmllint to npm script. Change to markdown (twbs#21815) Change header to use markdown (twbs#21809) Update grid layout docs (twbs#21806) grunt Drop Normalize, port relevant parts to Reboot (twbs#21741) grunt Fix container within navbar on smallest breakpoint (twbs#21722) ...
Fixes #21740.
This removes a dedicated Normalize.css from the project, merging the relevant parts into Reboot. With the upcoming removal of "opinionated" styles that we rely on, combined with the growing overrides and inconsistencies between Normalize and Reboot, this should simplify things a bit.
This is missing a good amount of attribution (most obviously from Normalize), organization of rulesets, and lacking any real testing yet.
Looking at other open issues and PRs, this also addresses a few bugs.
Closes #21657, fixes #21588, fixes #21652.