From a22c696485ff1736140f56cd62d5e69434bf9df6 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 14 Jan 2016 22:27:08 -0800 Subject: [PATCH 01/19] Extract $blockquote-border-width variable [skip sauce] --- scss/_type.scss | 4 ++-- scss/_variables.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scss/_type.scss b/scss/_type.scss index 60f983aaf7..fc45d352db 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -117,7 +117,7 @@ mark, padding: ($spacer / 2) $spacer; margin-bottom: $spacer; font-size: $blockquote-font-size; - border-left: .25rem solid $blockquote-border-color; + border-left: $blockquote-border-width solid $blockquote-border-color; } .blockquote-footer { @@ -136,7 +136,7 @@ mark, padding-right: $spacer; padding-left: 0; text-align: right; - border-right: .25rem solid $blockquote-border-color; + border-right: $blockquote-border-width solid $blockquote-border-color; border-left: 0; } diff --git a/scss/_variables.scss b/scss/_variables.scss index 4042dc8357..7272854ba1 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -185,6 +185,7 @@ $abbr-border-color: $gray-light !default; $blockquote-small-color: $gray-light !default; $blockquote-font-size: ($font-size-base * 1.25) !default; $blockquote-border-color: $gray-lighter !default; +$blockquote-border-width: .25rem !default; $hr-border-color: rgba(0,0,0,.1) !default; $hr-border-width: $border-width !default; From 032adf13242e701acece5bbfe6bfebc4f77707ee Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 17 Jan 2016 22:23:29 -0800 Subject: [PATCH 02/19] Apply word-wrap:break-word to Tooltips and Popovers Fixes #16871 for v4 --- scss/_popover.scss | 2 ++ scss/_tooltip.scss | 2 ++ scss/mixins/_reset-text.scss | 3 +-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scss/_popover.scss b/scss/_popover.scss index 303850cc0c..9ea8c14758 100644 --- a/scss/_popover.scss +++ b/scss/_popover.scss @@ -10,6 +10,8 @@ // So reset our font and text properties to avoid inheriting weird values. @include reset-text(); font-size: $font-size-sm; + // Allow breaking very long words so they don't overflow the popover's bounds + word-wrap: break-word; background-color: $popover-bg; background-clip: padding-box; border: $popover-border-width solid $popover-border-color; diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index a17aefc0ae..e8151af07d 100644 --- a/scss/_tooltip.scss +++ b/scss/_tooltip.scss @@ -7,6 +7,8 @@ // So reset our font and text properties to avoid inheriting weird values. @include reset-text(); font-size: $font-size-sm; + // Allow breaking very long words so they don't overflow the tooltip's bounds + word-wrap: break-word; opacity: 0; &.in { opacity: $tooltip-opacity; } diff --git a/scss/mixins/_reset-text.scss b/scss/mixins/_reset-text.scss index 014dff5665..e1d1725fad 100644 --- a/scss/mixins/_reset-text.scss +++ b/scss/mixins/_reset-text.scss @@ -1,6 +1,6 @@ @mixin reset-text { font-family: $font-family-base; - // We deliberately do NOT reset font-size. + // We deliberately do NOT reset font-size or word-wrap. font-style: normal; font-weight: normal; letter-spacing: normal; @@ -14,5 +14,4 @@ white-space: normal; word-break: normal; word-spacing: normal; - word-wrap: normal; } From 8820c563d2fb5df100b00d95e0306c59067b58a6 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 21 Jan 2016 14:18:54 -0800 Subject: [PATCH 03/19] Remove print-specific img max-width:100%; style so that Google Maps and other widgets print correctly See https://github.com/h5bp/html5-boilerplate/issues/1741 X-Ref: #1506 --- scss/_print.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scss/_print.scss b/scss/_print.scss index e2929bb487..c6b8f35ab2 100644 --- a/scss/_print.scss +++ b/scss/_print.scss @@ -37,10 +37,6 @@ page-break-inside: avoid; } - img { - max-width: 100% !important; - } - p, h2, h3 { From beeafc280836b347b63197a7136910bc7725f08c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 21 Jan 2016 14:28:41 -0800 Subject: [PATCH 04/19] Bump Normalize to https://github.com/necolas/normalize.css/commit/fe567632afcf8afcf17925ab2a507ed87504cce8 So as to pull in https://github.com/necolas/normalize.css/pull/496 --- scss/_normalize.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scss/_normalize.scss b/scss/_normalize.scss index 2e62b53ecf..93dd452172 100644 --- a/scss/_normalize.scss +++ b/scss/_normalize.scss @@ -1,4 +1,4 @@ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +/*! normalize.css commit fe56763 | MIT License | github.com/necolas/normalize.css */ // // 1. Set default font family to sans-serif. @@ -37,7 +37,6 @@ figcaption, figure, footer, header, -hgroup, main, menu, nav, @@ -353,13 +352,11 @@ input[type="number"]::-webkit-outer-spin-button { } // -// 1. Address `appearance` set to `searchfield` in Safari and Chrome. -// 2. Address `box-sizing` set to `border-box` in Safari and Chrome. +// Address `appearance` set to `searchfield` in Safari and Chrome. // input[type="search"] { - -webkit-appearance: textfield; // 1 - box-sizing: content-box; //2 + -webkit-appearance: textfield; } // From 739b51f2643a478acbf8d47ab52e968ce0242112 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 21 Jan 2016 14:38:22 -0800 Subject: [PATCH 05/19] Reboot: Remove now-unnecessary input[type="search"] box-sizing override Revert "fixes #17379: override search input box-sizing to match our global overrides" This reverts commits 468a9d9359a1008675b2c19a1fae1d9016a7686d & 57998dc274a06b64d4caeda372aeea7b9d1af3ee. https://github.com/necolas/normalize.css/pull/496 has made this override unnecessary. [skip sauce] --- scss/_reboot.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 5b0f09bbe4..1920474a96 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -331,8 +331,6 @@ legend { } input[type="search"] { - // Undo Normalize's default here to match our global overrides. - box-sizing: inherit; // This overrides the extra rounded corners on search inputs in iOS so that our // `.form-control` class can properly style them. Note that this cannot simply // be added to `.form-control` as it's not specific enough. For details, see From 497d28843e9e714089759ed192dd95d146930f04 Mon Sep 17 00:00:00 2001 From: Abdullah Alrasheed Date: Sun, 24 Jan 2016 13:31:27 +0800 Subject: [PATCH 06/19] DOCS - Fix a link in popover for v4 --- docs/components/popovers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/popovers.md b/docs/components/popovers.md index 9621bb7d80..7271890835 100644 --- a/docs/components/popovers.md +++ b/docs/components/popovers.md @@ -268,7 +268,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap offsets string '0 0' - Offset of the popover relative to its target. For more information refer to Tether's offset docs. + Offset of the popover relative to its target. For more information refer to Tether's offset docs. From a62f70b42065b2f7512fd22b07270da039add6ba Mon Sep 17 00:00:00 2001 From: mkroeders Date: Sat, 23 Jan 2016 12:30:21 +0100 Subject: [PATCH 07/19] Allow a