Skip to content
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

Merged
merged 47 commits into from
Jan 21, 2017
Merged

Drop Normalize, port relevant parts to Reboot #21741

merged 47 commits into from
Jan 21, 2017

Conversation

mdo
Copy link
Member

@mdo mdo commented Jan 16, 2017

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.

mdo added 30 commits January 15, 2017 18:13
- 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

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

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

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

Choose a reason for hiding this comment

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

Avoid vendor prefixes.

@mdo mdo mentioned this pull request Jan 16, 2017
@mdo mdo added this to the v4.0.0-beta milestone Jan 21, 2017
@@ -6,7 +6,8 @@
width: 100%;
max-width: 100%;
margin-bottom: $spacer;

background-color: $table-bg; // Reset for nesting within parents with `background-color`.

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`.

Choose a reason for hiding this comment

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

Line contains trailing whitespace

@mdo
Copy link
Member Author

mdo commented Jan 21, 2017

Just noticed Hound is running twice... 🤔

@mdo mdo merged commit 4fa7749 into v4-dev Jan 21, 2017
@mdo mdo deleted the renormalize branch January 21, 2017 22:14
@mdo mdo mentioned this pull request Jan 21, 2017
rudionrails added a commit to joblocal/bootstrap that referenced this pull request Jan 30, 2017
* 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)
  ...
rudionrails added a commit to joblocal/bootstrap that referenced this pull request Jan 30, 2017
* 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)
  ...
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.

3 participants